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
b4eb20cc
Commit
b4eb20cc
authored
Aug 09, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://ops.weface.com.cn:8022/zhangdishen/xichonght
into dev
parents
e0357f61
1b22e458
Changes
3
Hide 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 @
b4eb20cc
...
@@ -11,6 +11,9 @@ import 'font-awesome/css/font-awesome.min.css'
...
@@ -11,6 +11,9 @@ import 'font-awesome/css/font-awesome.min.css'
import
'@/assets/iconfont/iconfont.css'
import
'@/assets/iconfont/iconfont.css'
import
getType
from
"@/utils/type.js"
import
getType
from
"@/utils/type.js"
Vue
.
prototype
.
getType
=
getType
.
getType
Vue
.
prototype
.
getType
=
getType
.
getType
Vue
.
prototype
.
regetType
=
getType
.
regetType
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
api
)
Vue
.
use
(
api
)
...
...
xichongSys/src/utils/type.js
View file @
b4eb20cc
...
@@ -2,6 +2,11 @@ function getType(s){
...
@@ -2,6 +2,11 @@ function getType(s){
let
a
=
s
==
1
?
"参保登记"
:
s
==
2
?
"信息变更"
:
s
==
3
?
"待遇申请"
:
s
==
4
?
"参保注销"
:
s
==
5
?
"补缴保费"
:
s
==
6
?
"升档改办"
:
s
==
7
?
"关系转移"
:
""
let
a
=
s
==
1
?
"参保登记"
:
s
==
2
?
"信息变更"
:
s
==
3
?
"待遇申请"
:
s
==
4
?
"参保注销"
:
s
==
5
?
"补缴保费"
:
s
==
6
?
"升档改办"
:
s
==
7
?
"关系转移"
:
""
return
a
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
{
export
default
{
getType
getType
,
regetType
}
}
\ No newline at end of file
xichongSys/src/views/Myvue/examRecord.vue
View file @
b4eb20cc
...
@@ -159,16 +159,7 @@
...
@@ -159,16 +159,7 @@
list
:[],
list
:[],
name
:
""
,
name
:
""
,
activities
:
[],
activities
:
[],
options1
:
[{
options1
:
[],
value
:
'1'
,
label
:
'参保登记'
},
{
value
:
'2'
,
label
:
'信息变更'
},
{
value
:
'3'
,
label
:
'待遇申请'
}],
Page
:
1
,
Page
:
1
,
totals
:
0
,
totals
:
0
,
idcard
:
""
,
idcard
:
""
,
...
@@ -196,7 +187,7 @@
...
@@ -196,7 +187,7 @@
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
mon
=
(
parseInt
(
d
.
getMonth
())
+
1
)
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
].
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
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
totals
=
res
.
data
.
total
...
@@ -212,7 +203,7 @@
...
@@ -212,7 +203,7 @@
this
.
activities
=
[]
this
.
activities
=
[]
var
data
=
{
var
data
=
{
recordId
:
s
.
id
,
recordId
:
s
.
id
,
type
:
s
.
recordtype
==
"参保登记"
?
1
:
s
.
recordtype
==
"信息变更"
?
2
:
''
type
:
this
.
regetType
(
s
.
recordtype
)
}
}
this
.
$api
.
getlist
.
progress
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
progress
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
){
for
(
var
i
in
res
.
data
){
...
@@ -367,6 +358,12 @@
...
@@ -367,6 +358,12 @@
},
},
created
(){
created
(){
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
this
.
options1
.
push
({
label
:
this
.
getType
(
i
),
value
:
i
})
}
for
(
var
i
in
listtown
){
for
(
var
i
in
listtown
){
this
.
list
.
push
({
this
.
list
.
push
({
value
:
listtown
[
i
].
town_name
,
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