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
7f9c8f15
Commit
7f9c8f15
authored
Aug 12, 2019
by
miaohaoyun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mhy' into 'master'
mhy See merge request
!29
parents
b757f25e
7f91c701
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
495 additions
and
443 deletions
+495
-443
index.js
xichongSys/src/router/index.js
+0
-1
application.vue
xichongSys/src/views/Myvue/application.vue
+29
-29
insuranceCancellationAudit.vue
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
+397
-359
table.vue
xichongSys/src/views/Myvue/table.vue
+36
-21
User.vue
xichongSys/src/views/Sys/User.vue
+33
-33
No files found.
xichongSys/src/router/index.js
View file @
7f9c8f15
...
@@ -141,7 +141,6 @@ const router = new Router({
...
@@ -141,7 +141,6 @@ const router = new Router({
name
:
"参保注销审核"
,
name
:
"参保注销审核"
,
component
:
insuranceCancellationAudit
component
:
insuranceCancellationAudit
}
}
]
]
},
},
{
{
...
...
xichongSys/src/views/Myvue/application.vue
View file @
7f9c8f15
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<el-form
:inline=
"true"
label-width=
"110px"
:model=
"form"
class=
"forme"
>
<el-form
:inline=
"true"
label-width=
"110px"
:model=
"form"
class=
"forme"
>
<el-form-item
label=
"姓名"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
readonly
></el-input>
<el-input
v-model=
"form.name"
readonly
></el-input>
...
@@ -37,8 +37,8 @@
...
@@ -37,8 +37,8 @@
<el-form-item
label=
"户籍所在地"
>
<el-form-item
label=
"户籍所在地"
>
<el-input
v-model=
"address"
readonly
></el-input>
<el-input
v-model=
"address"
readonly
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"利息"
>
<el-form-item
label=
"利息"
>
<el-input
v-model=
"form.interest"
readonly
></el-input>
<el-input
v-model=
"form.interest"
readonly
></el-input>
</el-form-item>
</el-form-item>
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"headImg"
>
<div
class=
"headImg"
>
<div
style=
"text-align
;
center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px"
>
领取人照片
</div>
<div
style=
"text-align
:
center;padding:9px;border-bottom:1px solid #EFF0F2;font-size:14px"
>
领取人照片
</div>
<div
class=
"headCon"
>
<div
class=
"headCon"
>
<img
:src=
"form.personPhoto"
alt=
""
>
<img
:src=
"form.personPhoto"
alt=
""
>
</div>
</div>
</div>
</div>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<div
class=
"block"
>
<div
class=
"block"
>
<p
class=
"demonstration"
>
银行卡
</p>
<p
class=
"demonstration"
>
银行卡
</p>
<el-image
:src=
"urls[0]"
></el-image>
<el-image
:src=
"urls[0]"
></el-image>
</div>
</div>
<div
class=
"block"
>
<div
class=
"block"
>
<p
class=
"demonstration"
>
签名
</p>
<p
class=
"demonstration"
>
签名
</p>
...
@@ -106,14 +106,14 @@ export default {
...
@@ -106,14 +106,14 @@ export default {
return
{
return
{
address
:
""
,
address
:
""
,
form
:{
form
:{
},
},
urls
:
[
urls
:
[
],
],
show
:
""
show
:
""
}
}
},
},
methods
:{
methods
:{
//审核通过
//审核通过
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
Loading
.
service
();
Loading
.
service
();
var
data
=
{
var
data
=
{
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
message
:
res
.
message
message
:
res
.
message
});
});
}
}
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
@@ -160,12 +160,12 @@ export default {
...
@@ -160,12 +160,12 @@ export default {
message
:
'操作失败!'
+
res
message
:
'操作失败!'
+
res
});
});
});
});
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'已取消操作'
message
:
'已取消操作'
});
});
});
});
},
},
//审核不通过
//审核不通过
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
}).
then
(({
value
})
=>
{
if
(
value
){
if
(
value
){
Loading
.
service
();
Loading
.
service
();
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
message
:
res
.
message
message
:
res
.
message
});
});
}
}
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
@@ -214,7 +214,7 @@ export default {
...
@@ -214,7 +214,7 @@ export default {
message
:
'操作失败!'
+
res
message
:
'操作失败!'
+
res
});
});
});
});
}
else
{
}
else
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'取消输入'
message
:
'取消输入'
});
});
});
});
},
},
decrypt
(
word
){
decrypt
(
word
){
...
@@ -253,7 +253,7 @@ export default {
...
@@ -253,7 +253,7 @@ export default {
if
(
this
.
$route
.
params
.
info
){
if
(
this
.
$route
.
params
.
info
){
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
}
}
if
(
this
.
$route
.
params
.
info
){
if
(
this
.
$route
.
params
.
info
){
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
sessionStorage
.
setItem
(
"items"
,
a
)
sessionStorage
.
setItem
(
"items"
,
a
)
...
@@ -266,18 +266,18 @@ export default {
...
@@ -266,18 +266,18 @@ export default {
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
this
.
form
.
personPhoto
=
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
this
.
form
.
personPhoto
=
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
signpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
signpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
console
.
log
(
this
.
form
)
console
.
log
(
this
.
form
)
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
}
}
...
@@ -301,7 +301,7 @@ export default {
...
@@ -301,7 +301,7 @@ export default {
border
:
1px
solid
lightgray
;
border
:
1px
solid
lightgray
;
}
}
/* .headCon{
/* .headCon{
} */
} */
.block
{
.block
{
width
:
23%
width
:
23%
...
@@ -346,5 +346,5 @@ export default {
...
@@ -346,5 +346,5 @@ export default {
text-align
:
justify
text-align
:
justify
}
}
/* 这里去除必选字段的*,这个符号会造成一定影响,去掉之后我用了li列表进行定位,在前面加上" * ". */
/* 这里去除必选字段的*,这个符号会造成一定影响,去掉之后我用了li列表进行定位,在前面加上" * ". */
</
style
>
</
style
>
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
View file @
7f9c8f15
<
template
>
<
template
>
<div>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"120px"
>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"120px"
>
<el-form-item
label=
"姓名"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"性别"
>
<el-form-item
label=
"性别"
>
<el-input
v-model=
"form.sex"
></el-input>
<el-input
v-model=
"form.sex"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"民族"
>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
></el-input>
<el-input
v-model=
"form.nation"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"缴费标准"
>
<el-form-item
label=
"缴费标准"
>
<el-input
v-model=
"form.pay_type"
></el-input>
<el-input
v-model=
"form.pay_type"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"特殊参保群体"
>
<el-form-item
label=
"特殊参保群体"
>
<el-input
v-model=
"form.special_type"
></el-input>
<el-input
v-model=
"form.special_type"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"险种类型"
>
<el-form-item
label=
"险种类型"
>
<el-input
v-model=
"form.other_social"
></el-input>
<el-input
v-model=
"form.other_social"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"90px"
>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"90px"
>
<el-form-item
label=
"身份证号"
>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"form.identity_number"
></el-input>
<el-input
v-model=
"form.identity_number"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"户籍性质"
>
<el-form-item
label=
"户籍性质"
>
<el-input
v-model=
"form.nation_type"
></el-input>
<el-input
v-model=
"form.nation_type"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"户籍所在地"
>
<el-form-item
label=
"户籍所在地"
>
<el-input
v-model=
"form.townName"
></el-input>
<el-input
v-model=
"form.townName"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
<el-form-item
label=
"联系电话"
>
</el-form-item>
<el-input
v-model=
"form.telphoneValue"
></el-input>
<el-form-item
label=
"开户银行"
>
</el-form-item>
<el-input
v-model=
"form.pay_bank"
></el-input>
<el-form-item
label=
"开户银行"
>
</el-form-item>
<el-input
v-model=
"form.pay_bank"
></el-input>
<el-form-item
label=
"缴费账号"
>
</el-form-item>
<el-input
v-model=
"form.pay_account"
></el-input>
<el-form-item
label=
"缴费账号"
>
</el-form-item>
<el-input
v-model=
"form.pay_account"
></el-input>
</el-form>
</el-form-item>
</div>
</el-form>
<h2
class=
"imtil"
>
参保注销信息
</h2>
</div>
<div
class=
"wrap"
>
<h2
class=
"imtil"
>
变更信息
</h2>
<div
class=
"masks"
></div>
<div
class=
"wrap"
>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"auto"
>
<div
class=
"masks"
></div>
<el-form-item
label=
"终止原因"
>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"150px"
>
<el-input
v-model=
"form.reason"
></el-input>
<el-form-item
:label=
"old"
>
</el-form-item>
<el-input
v-model=
"form.old"
></el-input>
<el-form-item
label=
"死亡时间"
>
</el-form-item>
<el-input
v-model=
"form.reason"
></el-input>
</el-form>
</el-form-item>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"150px"
>
<el-form-item
label=
"停发时间"
>
<el-form-item
:label=
"now"
>
<el-input
v-model=
"form.reason"
></el-input>
<el-input
v-model=
"form.now"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"重复地区及险种"
>
<el-input
v-model=
"form.reason"
></el-input>
</el-form>
</el-form-item>
</div>
</el-form>
<h2
class=
"imtil"
>
附件
</h2>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"auto"
>
<div
class=
"imgcon"
>
<el-form-item
label=
"户籍迁往地区"
>
<div
class=
"demo-image__placeholder"
>
<el-input
v-model=
"form.reason"
></el-input>
<div
v-show=
"bb"
class=
"block"
>
</el-form-item>
<p
class=
"demonstration"
>
{{
itmebs
}}
</p>
<el-form-item
label=
"丧葬形式"
>
<el-image
:src=
"urls[0]"
></el-image>
<el-input
v-model=
"form.reason"
></el-input>
</div>
</el-form-item>
<div
class=
"block"
>
<el-form-item
label=
"停发追回金额"
>
<p
class=
"demonstration"
>
签名
</p>
<el-input
v-model=
"form.reason"
></el-input>
<el-image
:src=
"urls[1]"
>
</el-form-item>
<div
slot=
"placeholder"
class=
"image-slot"
>
<el-form-item
label=
"重复追回金额"
>
加载中
<span
class=
"dot"
>
...
</span>
<el-input
v-model=
"form.reason"
></el-input>
</el-form-item>
</el-form>
</div>
<h2
class=
"imtil"
>
个人账户终止结算信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"auto"
>
<el-form-item
label=
"个人账户余额"
>
<el-input
v-model=
"form.old"
></el-input>
</el-form-item>
<el-form-item
label=
"丧葬费"
>
<el-input
v-model=
"form.old"
></el-input>
</el-form-item>
<el-form-item
label=
"应抵扣重复领取其他社会保险待遇"
>
<el-input
v-model=
"form.old"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"auto"
>
<el-form-item
label=
"一次性抚恤金"
>
<el-input
v-model=
"form.now"
></el-input>
</el-form-item>
<el-form-item
label=
"应抵扣死亡超期领取待遇"
>
<el-input
v-model=
"form.old"
></el-input>
</el-form-item>
</el-form>
</div>
<h2
class=
"imtil"
>
附件
</h2>
<div
class=
"imgcon"
>
<div
class=
"demo-image__placeholder"
>
<div
v-show=
"bb"
class=
"block"
>
<p
class=
"demonstration"
>
{{
itmebs
}}
</p>
<el-image
:src=
"urls[0]"
></el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
签名
</p>
<el-image
:src=
"urls[1]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证正面
</p>
<el-image
:src=
"urls[2]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证反面
</p>
<el-image
:src=
"urls[3]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
</div>
</div>
</el-image>
</div>
<div
style=
"text-align:center;margin-bottom:40px"
v-show=
"show"
>
<el-button
type=
"success"
@
click=
"pass"
><i
class=
"el-icon-circle-check"
></i>
审核通过
</el-button>
<el-button
type=
"danger"
@
click=
"nopass"
><i
class=
"el-icon-circle-close"
></i>
审核不通过
</el-button>
</div>
</div>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证正面
</p>
<el-image
:src=
"urls[2]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证反面
</p>
<el-image
:src=
"urls[3]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
</div>
</div>
<div
style=
"text-align:center;margin-bottom:40px"
v-show=
"show"
>
<el-button
type=
"success"
@
click=
"pass"
><i
class=
"el-icon-circle-check"
></i>
审核通过
</el-button>
<el-button
type=
"danger"
@
click=
"nopass"
><i
class=
"el-icon-circle-close"
></i>
审核不通过
</el-button>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
import
{
Loading
}
from
'element-ui'
;
export
default
{
export
default
{
data
(){
data
()
{
return
{
return
{
itmebs
:
""
,
itmebs
:
""
,
show
:
''
,
show
:
''
,
old
:
"原姓名"
,
bb
:
false
,
now
:
"变更后姓名"
,
form
:
{
bb
:
false
,
"name"
:
""
,
form
:{
"bank_photo"
:
""
,
"name"
:
""
,
"groupName"
:
""
,
"bank_photo"
:
""
,
"identity_number"
:
""
,
"groupName"
:
""
,
"nation"
:
''
,
"identity_number"
:
""
,
"nation_type"
:
""
,
"nation"
:
''
,
"other_social"
:
""
,
"nation_type"
:
""
,
"pay_account"
:
""
,
"other_social"
:
""
,
"pay_bank"
:
""
,
"pay_account"
:
""
,
"pay_type"
:
''
,
"pay_bank"
:
""
,
"recordType"
:
''
,
"pay_type"
:
''
,
"sex"
:
''
,
"recordType"
:
''
,
"sign_photo"
:
""
,
"sex"
:
''
,
"social_time"
:
""
,
"sign_photo"
:
""
,
"special_type"
:
""
,
"social_time"
:
""
,
"telphoneValue"
:
""
,
"special_type"
:
""
,
"townName"
:
""
,
"telphoneValue"
:
""
,
"villageName"
:
""
,
"townName"
:
""
,
"address"
:
""
,
"villageName"
:
""
,
"wuserId"
:
''
,
"address"
:
""
,
"old"
:
""
,
"wuserId"
:
''
,
"now"
:
""
"old"
:
""
,
"now"
:
""
},
},
urls
:
[
urls
:
[],
show
:
""
],
}
show
:
""
}
},
},
methods
:{
methods
:
{
//审核通过
//审核通过
pass
(){
pass
()
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
Loading
.
service
();
Loading
.
service
();
var
data
=
{
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
examineState
:
1
,
remark
:
""
,
remark
:
""
,
userId
:
1
userId
:
1
};
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
loadingInstance
.
close
();
});
});
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
res
.
data
message
:
res
.
data
});
});
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"信息审核"
name
:
"信息审核"
})
})
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
res
.
message
message
:
res
.
message
});
});
}
}
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
loadingInstance
.
close
();
});
});
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'操作失败!'
+
res
message
:
'操作失败!'
+
res
});
});
});
});
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'已取消操作'
message
:
'已取消操作'
});
});
});
});
},
},
//审核不通过
//审核不通过
nopass
(){
nopass
()
{
var
that
=
this
var
that
=
this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
}).
then
(({
value
})
=>
{
if
(
value
){
if
(
value
)
{
Loading
.
service
();
Loading
.
service
();
var
data
=
{
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
2
,
examineState
:
2
,
remark
:
value
,
remark
:
value
,
userId
:
1
userId
:
1
};
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
){
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
// this.$router.push({
// name:"Xxsh"
// })
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
// this.$router.push({
// name:"Xxsh"
// })
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
loadingInstance
.
close
();
});
});
that
.
$message
({
that
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'请输入原因'
message
:
'请输入原因'
});
});
}
}
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
this
.
$message
({
type
:
'info'
,
type
:
'info'
,
message
:
'取消输入'
message
:
'取消输入'
});
});
});
});
},
},
decrypt
(
word
)
{
decrypt
(
word
)
{
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
},
decryptByDES
(
ciphertext
)
{
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
padding
:
CryptoJS
.
pad
.
Pkcs7
});
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
}
},
},
created
(){
created
()
{
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
if
(
this
.
$route
.
params
.
info
)
{
if
(
this
.
$route
.
params
.
info
)
{
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
}
}
if
(
this
.
$route
.
params
.
info
)
{
if
(
this
.
$route
.
params
.
info
)
{
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
sessionStorage
.
setItem
(
"items"
,
a
)
sessionStorage
.
setItem
(
"items"
,
a
)
}
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
))
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
))
this
.
form
.
special_type
=
this
.
form
.
org_name
.
org_insuranceType
this
.
form
.
special_type
=
this
.
form
.
org_name
.
org_insuranceType
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
org_name
)
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
org_name
)
//this.form.name=this.form.org_name
//this.form.name=this.form.org_name
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
org_idNum
)
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
org_idNum
)
this
.
form
.
telphoneValue
=
this
.
decrypt
(
this
.
form
.
telphoneValue
)
this
.
form
.
telphoneValue
=
this
.
decrypt
(
this
.
form
.
telphoneValue
)
this
.
form
.
nation
=
this
.
form
.
nation
this
.
form
.
nation
=
this
.
form
.
nation
this
.
form
.
pay_bank
=
this
.
form
.
org_bankName
this
.
form
.
pay_bank
=
this
.
form
.
org_bankName
this
.
form
.
pay_type
=
this
.
form
.
org_pay
this
.
form
.
pay_type
=
this
.
form
.
org_pay
this
.
form
.
special_type
=
this
.
form
.
org_position
this
.
form
.
special_type
=
this
.
form
.
org_position
this
.
form
.
telphoneValue
=
this
.
form
.
org_telPhone
this
.
form
.
telphoneValue
=
this
.
form
.
org_telPhone
this
.
form
.
address
=
this
.
form
.
org_address
this
.
form
.
address
=
this
.
form
.
org_address
this
.
form
.
pay_account
=
this
.
form
.
org_bankNum
this
.
form
.
pay_account
=
this
.
form
.
org_bankNum
//根据type_son判断变更内容
//根据type_son判断变更内容
if
(
this
.
form
.
type_son
==
1
){
if
(
this
.
form
.
type_son
==
1
)
{
this
.
form
.
old
=
this
.
form
.
pay_type
,
this
.
form
.
old
=
this
.
form
.
pay_type
,
this
.
form
.
now
=
this
.
form
.
change_pay
this
.
form
.
now
=
this
.
form
.
change_pay
this
.
now
=
"变更后档次"
this
.
now
=
"变更后档次"
this
.
old
=
"变更前档次"
this
.
old
=
"变更前档次"
}
else
if
(
this
.
form
.
type_son
==
2
){
}
else
if
(
this
.
form
.
type_son
==
2
)
{
this
.
bb
=
true
this
.
bb
=
true
this
.
form
.
old
=
this
.
form
.
org_bankNum
,
this
.
form
.
old
=
this
.
form
.
org_bankNum
,
this
.
form
.
now
=
this
.
form
.
change_bankNum
this
.
form
.
now
=
this
.
form
.
change_bankNum
this
.
now
=
"变更后银行卡号"
this
.
now
=
"变更后银行卡号"
this
.
old
=
"变更前银行卡号"
this
.
old
=
"变更前银行卡号"
}
else
if
(
this
.
form
.
type_son
==
3
){
}
else
if
(
this
.
form
.
type_son
==
3
)
{
this
.
form
.
old
=
this
.
form
.
telphoneValue
,
this
.
form
.
old
=
this
.
form
.
telphoneValue
,
this
.
form
.
now
=
this
.
form
.
change_tel
this
.
form
.
now
=
this
.
form
.
change_tel
this
.
now
=
"变更后手机号"
this
.
now
=
"变更后手机号"
this
.
old
=
"变更前手机号"
this
.
old
=
"变更前手机号"
}
else
if
(
this
.
form
.
type_son
==
4
){
}
else
if
(
this
.
form
.
type_son
==
4
)
{
this
.
form
.
old
=
this
.
form
.
special_type
,
this
.
form
.
old
=
this
.
form
.
special_type
,
this
.
form
.
now
=
this
.
form
.
change_position
,
this
.
form
.
now
=
this
.
form
.
change_position
,
this
.
now
=
"变更后参保身份"
this
.
now
=
"变更后参保身份"
this
.
old
=
"变更前参保身份"
this
.
old
=
"变更前参保身份"
}
else
if
(
this
.
form
.
type_son
==
5
){
}
else
if
(
this
.
form
.
type_son
==
5
)
{
this
.
form
.
old
=
this
.
form
.
org_address
,
this
.
form
.
old
=
this
.
form
.
org_address
,
this
.
form
.
now
=
this
.
form
.
change_adress
,
this
.
form
.
now
=
this
.
form
.
change_adress
,
this
.
now
=
"变更后地址"
this
.
now
=
"变更后地址"
this
.
old
=
"变更前地址"
this
.
old
=
"变更前地址"
}
else
if
(
this
.
form
.
type_son
==
6
){
}
else
if
(
this
.
form
.
type_son
==
6
)
{
this
.
form
.
old
=
this
.
form
.
name
,
this
.
form
.
old
=
this
.
form
.
name
,
this
.
form
.
now
=
this
.
form
.
change_name
,
this
.
form
.
now
=
this
.
form
.
change_name
,
this
.
now
=
"变更后姓名"
this
.
now
=
"变更后姓名"
this
.
old
=
"变更前姓名"
this
.
old
=
"变更前姓名"
}
else
if
(
this
.
form
.
type_son
==
7
){
}
else
if
(
this
.
form
.
type_son
==
7
)
{
this
.
form
.
old
=
this
.
form
.
identity_number
,
this
.
form
.
old
=
this
.
form
.
identity_number
,
this
.
form
.
now
=
this
.
decrypt
(
this
.
form
.
change_idNum
),
this
.
form
.
now
=
this
.
decrypt
(
this
.
form
.
change_idNum
),
this
.
now
=
"变更后身份证"
this
.
now
=
"变更后身份证"
this
.
old
=
"变更前身份证"
this
.
old
=
"变更前身份证"
}
}
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
console
.
log
(
obj
)
console
.
log
(
obj
)
if
(
obj
.
bankpic
){
if
(
obj
.
bankpic
)
{
this
.
itmebs
=
"银行卡"
this
.
itmebs
=
"银行卡"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
}
else
if
(
obj
.
bookPic
){
}
else
if
(
obj
.
bookPic
)
{
this
.
itmebs
=
"户口本"
this
.
itmebs
=
"户口本"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
)
}
else
if
(
obj
.
specialPhotoPic
){
}
else
if
(
obj
.
specialPhotoPic
)
{
this
.
itmebs
=
"特殊身份证明"
this
.
itmebs
=
"特殊身份证明"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
)
}
else
{
}
else
{
this
.
urls
.
push
(
" "
)
this
.
urls
.
push
(
" "
)
}
}
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
signpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
signpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardfrontpic
)
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
)
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
this
.
form
.
sex
=
this
.
form
.
sex
==
1
?
"男"
:
"女"
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.wrap
{
.wrap
{
overflow
:
hidden
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
}
}
.masks
{
width
:
100%
;
.masks
{
height
:
100%
;
width
:
100%
;
position
:
absolute
;
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
200
top
:
0
;
}
z-index
:
200
.forml
{
}
float
:
left
;
width
:
45%
.forml
{
}
float
:
left
;
.formr
{
width
:
45%
float
:
left
;
}
width
:
40%
;
margin-left
:
20px
.formr
{
}
float
:
left
;
.imgcon
{
width
:
45%
;
margin
:
0
auto
;
margin-left
:
20px
box-shadow
:
0
0
15px
lightgray
;
}
overflow
:
hidden
;
margin-bottom
:
40px
.imgcon
{
}
margin
:
0
auto
;
.block
{
box-shadow
:
0
0
15px
lightgray
;
width
:
23%
overflow
:
hidden
;
}
margin-bottom
:
40px
.block
{
}
float
:
left
;
height
:
100%
;
.block
{
margin-right
:
20px
width
:
23%
}
}
.block
{
float
:
left
;
height
:
100%
;
margin-right
:
20px
}
.imtil
{
.imtil
{
padding
:
0
0
20px
0
padding
:
0
0
20px
0
}
}
</
style
>
</
style
>
xichongSys/src/views/Myvue/table.vue
View file @
7f9c8f15
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
prop=
"nowExamine"
prop=
"nowExamine"
label=
"当前状态"
>
label=
"当前状态"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"180"
width=
"180"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -106,10 +106,10 @@
...
@@ -106,10 +106,10 @@
.op
{
.op
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.idc
{
.idc
{
width
:
200px
width
:
200px
}
}
.ywtyoe
{
.ywtyoe
{
...
@@ -158,11 +158,11 @@
...
@@ -158,11 +158,11 @@
methods
:
{
methods
:
{
//搜索
//搜索
serch
(){
serch
(){
var
data
=
{
var
data
=
{
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
}
}
this
.
$api
.
getlist
.
getlist
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
getlist
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
.
list
){
for
(
var
i
in
res
.
data
.
list
){
...
@@ -170,15 +170,15 @@
...
@@ -170,15 +170,15 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
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
==
3
?
"待遇申请"
:
res
.
data
.
list
[
i
].
recordtype
==
4
?
"参保注销"
:
""
res
.
data
.
list
[
i
].
recordtype
=
res
.
data
.
list
[
i
].
recordtype
==
1
?
"参保登记"
:
res
.
data
.
list
[
i
].
recordtype
==
2
?
"信息变更"
:
res
.
data
.
list
[
i
].
recordtype
==
3
?
"待遇申请"
:
res
.
data
.
list
[
i
].
recordtype
==
4
?
"参保注销"
:
""
}
}
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
});
});
},
},
//流程
//流程
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
size
:
'large'
size
:
'large'
})
})
}
else
{
}
else
{
this
.
activities
.
push
({
this
.
activities
.
push
({
content
:
res
.
data
[
i
].
role
,
content
:
res
.
data
[
i
].
role
,
timestamp
:
res
.
data
[
i
].
examinePerson
?
res
.
data
[
i
].
examineTime
:
""
,
timestamp
:
res
.
data
[
i
].
examinePerson
?
res
.
data
[
i
].
examineTime
:
""
,
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
})
})
},
},
current_change
(
ss
){
current_change
(
ss
){
var
data
=
{
var
data
=
{
pageNum
:
ss
,
pageNum
:
ss
,
...
@@ -241,13 +241,13 @@
...
@@ -241,13 +241,13 @@
res
.
data
.
list
[
i
].
idcard
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
idcard
)
res
.
data
.
list
[
i
].
idcard
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
idcard
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
var
d
=
new
Date
(
res
.
data
.
list
[
i
].
createtime
)
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
d
.
getMonth
()
+
1
+
"-"
+
d
.
getDate
()
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
createtime
=
d
.
getFullYear
()
+
"-"
+
d
.
getMonth
()
+
1
+
"-"
+
d
.
getDate
()
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
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
this
.
page
=
res
.
data
.
total
.
pageNum
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
show
:
true
show
:
true
}
}
})
})
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
}
}
})
})
}
else
if
(
d
.
recordtype
==
"待遇申请"
){
}
else
if
(
d
.
recordtype
==
"待遇申请"
){
sessionStorage
.
setItem
(
"recordId"
,
this
.
tableData
[
s
].
recordId
)
sessionStorage
.
setItem
(
"recordId"
,
this
.
tableData
[
s
].
recordId
)
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"待遇申请审核"
,
name
:
"待遇申请审核"
,
...
@@ -299,6 +299,21 @@
...
@@ -299,6 +299,21 @@
show
:
true
show
:
true
}
}
})
})
}
else
if
(
d
.
recordtype
==
"参保注销"
)
{
sessionStorage
.
setItem
(
"recordId"
,
this
.
tableData
[
s
].
recordId
)
this
.
$router
.
push
({
name
:
"参保注销审核"
,
params
:{
info
:
this
.
tableData
[
s
].
info
,
bankpic
:
this
.
tableData
[
s
].
bankpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
specialPhotoPic
:
this
.
tableData
[
s
].
specialPhotoPic
,
bookPic
:
this
.
tableData
[
s
].
bookPic
,
show
:
true
}
})
}
}
},
},
handleDelete
(
g
,
h
){
handleDelete
(
g
,
h
){
...
@@ -330,14 +345,14 @@
...
@@ -330,14 +345,14 @@
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
}
},
},
created
(){
created
(){
Loading
.
service
();
Loading
.
service
();
var
data
=
{
var
data
=
{
idcard
:
''
,
idcard
:
''
,
recordType
:
''
recordType
:
''
}
}
this
.
$api
.
getlist
.
getlist
(
data
).
then
((
res
)
=>
{
this
.
$api
.
getlist
.
getlist
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
...
@@ -349,15 +364,15 @@
...
@@ -349,15 +364,15 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
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
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
}
console
.
log
(
12312312
)
console
.
log
(
12312312
)
this
.
tableData
=
res
.
data
.
list
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
xichongSys/src/views/Sys/User.vue
View file @
7f9c8f15
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!--表格显示列界面-->
<!--表格显示列界面-->
<table-column-filter-dialog
ref=
"tableColumnFilterDialog"
:columns=
"columns"
<table-column-filter-dialog
ref=
"tableColumnFilterDialog"
:columns=
"columns"
@
handleFilterColumns=
"handleFilterColumns"
>
@
handleFilterColumns=
"handleFilterColumns"
>
</table-column-filter-dialog>
</table-column-filter-dialog>
</div>
</div>
<!--表格内容栏-->
<!--表格内容栏-->
...
@@ -48,27 +48,28 @@
...
@@ -48,27 +48,28 @@
<el-input
v-model=
"dataForm.id"
:disabled=
"true"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.id"
:disabled=
"true"
auto-complete=
"off"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"用户名"
prop=
"name"
>
<el-form-item
label=
"用户名"
prop=
"name"
>
<el-input
v-model=
"dataForm.name"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.name"
auto-complete=
"off"
:disabled=
"true"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"真实姓名"
prop=
"truename"
>
<el-form-item
label=
"真实姓名"
prop=
"truename"
>
<el-input
v-model=
"dataForm.truename"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.truename"
auto-complete=
"off"
:disabled=
"true"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"密码"
prop=
"password"
>
<el-form-item
label=
"密码"
prop=
"password"
>
<el-input
v-model=
"dataForm.password"
type=
"password"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.password"
type=
"password"
auto-complete=
"off"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"机构"
prop=
"deptName"
>
<el-form-item
label=
"机构"
prop=
"deptName"
>
<el-cascader
<el-cascader
v-model=
"dataForm.dept
Name
"
v-model=
"dataForm.dept
Id
"
size=
"medium"
size=
"medium"
:options=
"list"
:options=
"list"
:props=
"
{ checkStrictly: true }"
:props=
"
{ checkStrictly: true }"
style="width:100%"
style="width:100%"
clearable>
</el-cascader>
clearable
<!--
<popup-tree-input
>
</el-cascader>
:data=
"deptData"
<!--
<popup-tree-input
:props=
"deptTreeProps"
:data=
"deptData"
:prop=
"dataForm.deptName"
:props=
"deptTreeProps"
:nodeKey=
"''+dataForm.deptId"
:prop=
"dataForm.deptName"
:nodeKey=
"''+dataForm.deptId"
:currentChangeHandle=
"deptTreeCurrentChangeHandle"
>
:currentChangeHandle=
"deptTreeCurrentChangeHandle"
>
</popup-tree-input>
-->
</popup-tree-input>
-->
</el-form-item>
</el-form-item>
...
@@ -135,9 +136,9 @@ export default {
...
@@ -135,9 +136,9 @@ export default {
name
:
''
,
name
:
''
,
truename
:
''
,
truename
:
''
,
password
:
''
,
password
:
''
,
deptId
:
1
,
deptId
:
''
,
deptName
:
''
,
deptName
:
''
,
//
email: 'test@qq.com',
email
:
'test@qq.com'
,
mobile
:
'13889700023'
,
mobile
:
'13889700023'
,
status
:
1
,
status
:
1
,
userRoles
:
[]
userRoles
:
[]
...
@@ -167,7 +168,7 @@ export default {
...
@@ -167,7 +168,7 @@ export default {
findUserRoles
:
function
()
{
findUserRoles
:
function
()
{
this
.
$api
.
role
.
findAll
().
then
((
res
)
=>
{
this
.
$api
.
role
.
findAll
().
then
((
res
)
=>
{
// 加载角色集合
// 加载角色集合
this
.
roles
=
res
.
data
this
.
roles
=
res
.
data
})
})
},
},
// 批量删除
// 批量删除
...
@@ -206,8 +207,8 @@ export default {
...
@@ -206,8 +207,8 @@ export default {
this
.
$refs
.
dataForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
dataForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$confirm
(
'确认提交吗?'
,
'提示'
,
{}).
then
(()
=>
{
this
.
$confirm
(
'确认提交吗?'
,
'提示'
,
{}).
then
(()
=>
{
this
.
dataForm
.
dept
Name
=
this
.
dataForm
.
deptName
[
this
.
dataForm
.
deptName
.
length
-
1
]
this
.
dataForm
.
dept
Id
=
this
.
dataForm
.
deptId
[
this
.
dataForm
.
deptId
.
length
-
1
];
this
.
editLoading
=
true
this
.
dataForm
.
deptName
=
""
;
let
params
=
Object
.
assign
({},
this
.
dataForm
)
let
params
=
Object
.
assign
({},
this
.
dataForm
)
let
userRoles
=
[]
let
userRoles
=
[]
for
(
let
i
=
0
,
len
=
params
.
userRoles
.
length
;
i
<
len
;
i
++
)
{
for
(
let
i
=
0
,
len
=
params
.
userRoles
.
length
;
i
<
len
;
i
++
)
{
...
@@ -237,28 +238,27 @@ export default {
...
@@ -237,28 +238,27 @@ export default {
findDeptTree
:
function
()
{
findDeptTree
:
function
()
{
this
.
$api
.
dept
.
findDeptTree
().
then
((
res
)
=>
{
this
.
$api
.
dept
.
findDeptTree
().
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
){
for
(
var
i
in
res
.
data
){
res
.
data
[
i
].
value
=
res
.
data
[
i
].
name
res
.
data
[
i
].
value
=
res
.
data
[
i
].
id
res
.
data
[
i
].
label
=
res
.
data
[
i
].
name
res
.
data
[
i
].
label
=
res
.
data
[
i
].
name
for
(
var
j
in
res
.
data
[
i
].
children
){
for
(
var
j
in
res
.
data
[
i
].
children
){
res
.
data
[
i
].
children
[
j
].
value
=
res
.
data
[
i
].
children
[
j
].
name
res
.
data
[
i
].
children
[
j
].
value
=
res
.
data
[
i
].
children
[
j
].
id
res
.
data
[
i
].
children
[
j
].
label
=
res
.
data
[
i
].
children
[
j
].
name
res
.
data
[
i
].
children
[
j
].
label
=
res
.
data
[
i
].
children
[
j
].
name
for
(
var
n
in
res
.
data
[
i
].
children
[
j
].
children
){
for
(
var
n
in
res
.
data
[
i
].
children
[
j
].
children
){
res
.
data
[
i
].
children
[
j
].
children
[
n
].
value
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
name
res
.
data
[
i
].
children
[
j
].
children
[
n
].
value
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
id
res
.
data
[
i
].
children
[
j
].
children
[
n
].
label
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
name
res
.
data
[
i
].
children
[
j
].
children
[
n
].
label
=
res
.
data
[
i
].
children
[
j
].
children
[
n
].
name
}
}
}
}
}
}
this
.
list
=
res
.
data
this
.
list
=
res
.
data
//this.deptData = res.data
//this.deptData = res.data
})
})
},
},
// 菜单树选中
// 菜单树选中
deptTreeCurrentChangeHandle
(
data
,
node
)
{
deptTreeCurrentChangeHandle
(
data
)
{
this
.
dataForm
.
deptId
=
data
.
id
//
this.dataForm.deptId = data.id
//this.dataForm.deptName = data.name
//this.dataForm.deptName = data.name
this
.
dataForm
.
deptName
=
data
.
name
//
this.dataForm.deptName = data.name
},
},
// 时间格式化
// 时间格式化
dateFormat
:
function
(
row
,
column
,
cellValue
,
index
){
dateFormat
:
function
(
row
,
column
,
cellValue
,
index
){
...
@@ -277,14 +277,14 @@ export default {
...
@@ -277,14 +277,14 @@ export default {
initColumns
:
function
()
{
initColumns
:
function
()
{
this
.
columns
=
[
this
.
columns
=
[
{
prop
:
"id"
,
label
:
"ID"
,
minWidth
:
50
},
{
prop
:
"id"
,
label
:
"ID"
,
minWidth
:
50
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
1
2
0
},
{
prop
:
"name"
,
label
:
"用户名"
,
minWidth
:
1
0
0
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
10
0
},
{
prop
:
"truename"
,
label
:
"真实姓名"
,
minWidth
:
8
0
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
1
2
0
},
{
prop
:
"deptName"
,
label
:
"机构"
,
minWidth
:
1
0
0
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
10
0
},
{
prop
:
"roleNames"
,
label
:
"角色"
,
minWidth
:
8
0
},
{
prop
:
"job"
,
label
:
"职务"
,
minWidth
:
80
},
{
prop
:
"mobile"
,
label
:
"手机"
,
minWidth
:
100
},
{
prop
:
"
status"
,
label
:
"状态"
,
minWidth
:
7
0
},
{
prop
:
"
mobile"
,
label
:
"手机"
,
minWidth
:
8
0
},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createBy", label:"创建人", minWidth:120},
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
// {prop:"createTime", label:"创建时间", minWidth:120, formatter:this.dateFormat}
// {prop:"lastUpdateBy", label:"更新人", minWidth:100},
// {prop:"lastUpdateBy", label:"更新人", minWidth:100},
...
@@ -304,4 +304,4 @@ export default {
...
@@ -304,4 +304,4 @@ export default {
.el-tree-node__children
{
.el-tree-node__children
{
overflow
:
scroll
overflow
:
scroll
}
}
</
style
>
</
style
>
\ No newline at end of file
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