Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xichonght
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangdishen
xichonght
Commits
1b22e458
Commit
1b22e458
authored
Aug 09, 2019
by
qddidi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程
123
parent
d55dabcd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
13 deletions
+18
-13
main.js
xichongSys/src/main.js
+3
-0
type.js
xichongSys/src/utils/type.js
+6
-1
examRecord.vue
xichongSys/src/views/Myvue/examRecord.vue
+9
-12
No files found.
xichongSys/src/main.js
View file @
1b22e458
...
...
@@ -11,6 +11,9 @@ import 'font-awesome/css/font-awesome.min.css'
import
'@/assets/iconfont/iconfont.css'
import
getType
from
"@/utils/type.js"
Vue
.
prototype
.
getType
=
getType
.
getType
Vue
.
prototype
.
regetType
=
getType
.
regetType
Vue
.
use
(
ElementUI
)
Vue
.
use
(
api
)
...
...
xichongSys/src/utils/type.js
View file @
1b22e458
...
...
@@ -2,6 +2,11 @@ function getType(s){
let
a
=
s
==
1
?
"参保登记"
:
s
==
2
?
"信息变更"
:
s
==
3
?
"待遇申请"
:
s
==
4
?
"参保注销"
:
s
==
5
?
"补缴保费"
:
s
==
6
?
"升档改办"
:
s
==
7
?
"关系转移"
:
""
return
a
}
function
regetType
(
s
){
let
a
=
s
==
"参保登记"
?
1
:
s
==
"信息变更"
?
2
:
s
==
"待遇申请"
?
3
:
s
==
"参保注销"
?
4
:
s
==
"补缴保费"
?
5
:
s
==
"升档改办"
?
6
:
s
==
"关系转移"
?
7
:
""
return
a
}
export
default
{
getType
getType
,
regetType
}
\ No newline at end of file
xichongSys/src/views/Myvue/examRecord.vue
View file @
1b22e458
...
...
@@ -159,16 +159,7 @@
list
:[],
name
:
""
,
activities
:
[],
options1
:
[{
value
:
'1'
,
label
:
'参保登记'
},
{
value
:
'2'
,
label
:
'信息变更'
},
{
value
:
'3'
,
label
:
'待遇申请'
}],
options1
:
[],
Page
:
1
,
totals
:
0
,
idcard
:
""
,
...
...
@@ -196,7 +187,7 @@
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
''
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
...
...
@@ -212,7 +203,7 @@
this
.
activities
=
[]
var
data
=
{
recordId
:
s
.
id
,
type
:
s
.
recordtype
==
"参保登记"
?
1
:
s
.
recordtype
==
"信息变更"
?
2
:
''
type
:
this
.
regetType
(
s
.
recordtype
)
}
this
.
$api
.
getlist
.
progress
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
){
...
...
@@ -367,6 +358,12 @@
},
created
(){
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
this
.
options1
.
push
({
label
:
this
.
getType
(
i
),
value
:
i
})
}
for
(
var
i
in
listtown
){
this
.
list
.
push
({
value
:
listtown
[
i
].
town_name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment