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
cedda986
Commit
cedda986
authored
Aug 16, 2019
by
ytbdmhy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补缴保费、升档改办、关系转移及其他的优化
parent
838116ea
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1319 additions
and
140 deletions
+1319
-140
index.js
xichongSys/src/router/index.js
+19
-1
examRecord.vue
xichongSys/src/views/Myvue/examRecord.vue
+34
-34
importByExcel.vue
xichongSys/src/views/Myvue/importByExcel.vue
+39
-20
insuranceCancellationAudit.vue
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
+38
-24
supPaymentAudit.vue
xichongSys/src/views/Myvue/supPaymentAudit.vue
+352
-0
table.vue
xichongSys/src/views/Myvue/table.vue
+81
-33
traRelationsAudit.vue
xichongSys/src/views/Myvue/traRelationsAudit.vue
+340
-0
treatmentApplicationAudit.vue
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
+39
-25
upgradeReoAudit.vue
xichongSys/src/views/Myvue/upgradeReoAudit.vue
+347
-0
User.vue
xichongSys/src/views/Sys/User.vue
+30
-3
No files found.
xichongSys/src/router/index.js
View file @
cedda986
...
...
@@ -28,6 +28,9 @@ import application from "@/views/Myvue/application"
import
importByExcel
from
"@/views/Myvue/importByExcel"
import
treatmentApplicationAudit
from
"@/views/Myvue/treatmentApplicationAudit"
import
insuranceCancellationAudit
from
"@/views/Myvue/insuranceCancellationAudit"
import
supPaymentAudit
from
"@/views/Myvue/supPaymentAudit"
import
traRelationsAudit
from
"@/views/Myvue/traRelationsAudit"
import
upgradeReoAudit
from
"@/views/Myvue/upgradeReoAudit"
Vue
.
use
(
Router
)
...
...
@@ -141,7 +144,22 @@ const router = new Router({
path
:
"/insuranceCancellationAudit"
,
name
:
"参保注销审核"
,
component
:
insuranceCancellationAudit
}
},
{
path
:
"/supPaymentAudit"
,
name
:
"补缴保费审核"
,
component
:
supPaymentAudit
},
{
path
:
"/upgradeReoAudit"
,
name
:
"升档改办审核"
,
component
:
upgradeReoAudit
},
{
path
:
"/traRelationsAudit"
,
name
:
"关系转移审核"
,
component
:
traRelationsAudit
},
]
},
{
...
...
xichongSys/src/views/Myvue/examRecord.vue
View file @
cedda986
...
...
@@ -64,7 +64,7 @@
prop=
"nowExamine"
label=
"当前状态"
>
</el-table-column>
<el-table-column
<el-table-column
width=
"180"
label=
"操作"
>
<template
slot-scope=
"scope"
>
...
...
@@ -119,10 +119,10 @@
.op
{
display
:
flex
;
align-items
:
center
;
}
.idc
{
width
:
200px
}
.nam
{
...
...
@@ -154,7 +154,7 @@
// import baseUrl from "../../globe/globeUrl"
export
default
{
data
()
{
return
{
list
:[],
name
:
""
,
...
...
@@ -172,13 +172,13 @@
methods
:
{
//搜索
serch
(){
var
data
=
{
idcard
:
this
.
idcard
?
this
.
Encrypt
(
this
.
idcard
):
""
,
recordType
:
this
.
ywtype
?
parseInt
(
this
.
ywtype
):
""
,
townName
:
''
,
villageName
:
''
}
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
.
list
){
...
...
@@ -186,15 +186,15 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
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
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
});
},
//流程
...
...
@@ -215,8 +215,8 @@
size
:
'large'
})
}
else
{
if
(
res
.
data
[
i
].
examineState
==
"审核失败"
){
this
.
activities
.
push
({
content
:
res
.
data
[
i
].
role
+
":"
+
"审核失败"
,
...
...
@@ -268,7 +268,7 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
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
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
this
.
tableData
=
res
.
data
.
list
...
...
@@ -292,7 +292,7 @@
idcardbackpic
:
this
.
tableData
[
s
].
idcardbackpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfrontpic
,
signpic
:
this
.
tableData
[
s
].
signpic
,
show
:
false
}
})
...
...
@@ -311,21 +311,21 @@
}
})
}
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
:
false
}
})
}
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
:
false
}
})
}
},
handleDelete
(
g
,
h
){
console
.
log
(
g
)
...
...
@@ -356,7 +356,7 @@
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
(){
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
this
.
options1
.
push
({
...
...
@@ -382,7 +382,7 @@
var
data
=
{
idcard
:
''
,
recordType
:
''
}
this
.
$api
.
getlist
.
record
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
...
...
@@ -394,13 +394,13 @@
res
.
data
.
list
[
i
].
name
=
this
.
decrypt
(
res
.
data
.
list
[
i
].
name
)
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
].
createtime
=
d
.
getFullYear
()
+
"-"
+
mon
+
"-"
+
d
.
getDate
()
+
" "
+
d
.
getHours
()
+
':'
+
d
.
getMinutes
()
+
':'
+
d
.
getSeconds
();
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
this
.
page
=
res
.
data
.
total
.
pageNum
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -424,8 +424,8 @@
// that.tableData=res.data.list
// that.totals=res.data.total
// that.page=res.data.total.pageNum
// }
// })
}
...
...
xichongSys/src/views/Myvue/importByExcel.vue
View file @
cedda986
...
...
@@ -51,6 +51,7 @@
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:on-success=
"uploadSuccess"
:on-error=
"uploadError"
:auto-upload=
"false"
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
...
...
@@ -97,7 +98,7 @@
<el-upload
style=
"margin-top: 10px"
class=
"upload-demo"
ref=
"upload
1
"
ref=
"upload
2
"
:action=
"payInfoUrl"
multiple
drag
...
...
@@ -108,12 +109,13 @@
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:on-success=
"uploadSuccess"
:on-error=
"uploadError"
:auto-upload=
"false"
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传xls/xlsx文件,一次最多只能上传5个文件
</div>
</el-upload>
<el-button
style=
"margin-top: 10px"
size=
"small"
type=
"success"
@
click=
"submitUpload
1
"
>
数据导入
</el-button>
<el-button
style=
"margin-top: 10px"
size=
"small"
type=
"success"
@
click=
"submitUpload
2
"
>
数据导入
</el-button>
</el-tab-pane>
<el-tab-pane
label=
"领取人员"
>
<el-alert
...
...
@@ -155,7 +157,7 @@
<el-upload
style=
"margin-top: 10px"
class=
"upload-demo"
ref=
"upload
1
"
ref=
"upload
3
"
:action=
"grantInfoUrl"
multiple
drag
...
...
@@ -166,12 +168,13 @@
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:on-success=
"uploadSuccess"
:on-error=
"uploadError"
:auto-upload=
"false"
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传xls/xlsx文件,一次最多只能上传5个文件
</div>
</el-upload>
<el-button
style=
"margin-top: 10px"
size=
"small"
type=
"success"
@
click=
"submitUpload
1
"
>
数据导入
</el-button>
<el-button
style=
"margin-top: 10px"
size=
"small"
type=
"success"
@
click=
"submitUpload
3
"
>
数据导入
</el-button>
</el-tab-pane>
</el-tabs>
<el-dialog
...
...
@@ -194,8 +197,8 @@
data
()
{
return
{
baseInfoUrl
:
baseUrl
+
"/baseInfo/importFromNewExcel"
,
payInfoUrl
:
baseUrl
+
"/payInfo/importFrom
New
Excel"
,
grantInfoUrl
:
baseUrl
+
"/grantInfo/importFrom
New
Excel"
,
payInfoUrl
:
baseUrl
+
"/payInfo/importFromExcel"
,
grantInfoUrl
:
baseUrl
+
"/grantInfo/importFromExcel"
,
myHeader
:
{
token
:
Cookies
.
get
(
"token"
)
},
...
...
@@ -220,9 +223,10 @@
this
.
$message
.
warning
(
"当前限制选择 1 个文件,请删除后继续上传"
);
},
handleBeforeUpload
(
file
)
{
this
.
loading
=
true
;
//
this.loading = true;
if
(
!
file
.
name
.
endsWith
(
".xls"
)
&&
!
file
.
name
.
endsWith
(
".xlsx"
))
{
this
.
$message
.
warning
(
file
.
name
+
"不是excel文件"
);
this
.
loading
=
false
;
return
false
;
}
// if (uploadedList.includes(file.name)) {
...
...
@@ -231,22 +235,37 @@
// }
// uploadedList.push(file.name);
},
uploadSuccess
(
response
)
{
async
uploadSuccess
(
response
)
{
this
.
fileList
=
[];
this
.
dialogTitle
=
"导入结果"
;
this
.
dialogContent
=
response
.
data
;
this
.
dialogVisible
=
true
;
//
this.dialogVisible = true;
this
.
loading
=
false
;
// console.log(response);
// this.$alert(response.data, '导入结果', {
// confirmButtonText: '确定',
// callback: action => {
// // this.$message({
// // type: 'info',
// // message: `action: ${ action }`
// // });
// }
// });
}
console
.
log
(
"upload success"
);
this
.
$message
({
type
:
"success"
,
message
:
response
.
data
,
showClose
:
true
,
duration
:
0
});
},
async
uploadError
(
response
)
{
this
.
fileList
=
[];
this
.
dialogTitle
=
"导入结果"
;
this
.
dialogContent
=
"导入失败"
;
// this.dialogVisible = true;
this
.
loading
=
false
;
console
.
log
(
response
);
this
.
$alert
(
response
.
data
,
'导入结果'
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
// this.$message({
// type: 'info',
// message: `action: ${ action }`
// });
}
});
},
}
}
</
script
>
...
...
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
View file @
cedda986
...
...
@@ -8,7 +8,7 @@
<el-input
v-model=
"form4.name"
></el-input>
</el-form-item>
<el-form-item
label=
"出生日期"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form4.birth_day
"
></el-input>
</el-form-item>
<el-form-item
label=
"人员类型"
>
<el-input
v-model=
"form4.per_type"
></el-input>
...
...
@@ -22,7 +22,7 @@
<el-input
v-model=
"form4.identity_number"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍地址"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form4.address
"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -54,7 +54,7 @@
<el-input
v-model=
"form4.reback_money"
></el-input>
</el-form-item>
<el-form-item
label=
"重复地区及险种的追回金额"
>
<el-input
placeholder=
"
该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
placeholder=
"
如有金额请输入
"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -71,6 +71,9 @@
<el-form-item
label=
"应抵扣重复领取其他社会保险待遇"
>
<el-input
v-model=
"form4.other_overApply"
></el-input>
</el-form-item>
<el-form-item
label=
"发放账户"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form4"
:model=
"form4"
class=
"form4"
label-width=
"auto"
>
<el-form-item
label=
"一次性抚恤金"
>
...
...
@@ -82,6 +85,9 @@
<el-form-item
label=
"合计发放金额"
>
<el-input
v-model=
"form4.account_totle"
></el-input>
</el-form-item>
<el-form-item
label=
"发放账户的账号"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员"
></el-input>
</el-form-item>
</el-form>
</div>
<h2
class=
"imtil"
>
指定受益人或法定继承人
</h2>
...
...
@@ -198,6 +204,8 @@
townName
:
""
,
villageName
:
""
,
wuserId
:
""
,
address
:
""
,
birth_day
:
""
,
},
urls
:
[],
show
:
""
...
...
@@ -232,13 +240,13 @@
name
:
"参保注销审核"
});
// 关闭当前标签
var
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
closeAll
.
forEach
(
icon
=>
{
if
(
icon
.
previousSibling
.
innerText
===
"参保注销审核 "
)
{
icon
.
click
();
throw
new
Error
()
;
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
]
.
previousSibling
.
innerText
===
"参保注销审核 "
)
{
closeAll
[
j
]
.
click
();
return
;
}
}
)
}
}
else
{
this
.
$message
({
type
:
'info'
,
...
...
@@ -247,7 +255,7 @@
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
th
at
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
th
is
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
...
...
@@ -264,7 +272,7 @@
},
//审核不通过
nopass
()
{
var
that
=
this
//
var that = this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -296,6 +304,14 @@
message
:
res
.
message
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"参保注销审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -308,10 +324,10 @@
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
th
at
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
th
is
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
th
at
.
$message
({
th
is
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
...
...
@@ -337,20 +353,18 @@
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
}
,
},
created
()
{
this
.
show
=
this
.
$route
.
params
.
insCan
.
show
;
if
(
this
.
$route
.
params
.
insCan
.
info
)
{
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
insCan
.
info
);
sessionStorage
.
setItem
(
"items"
,
JSON
.
stringify
(
this
.
$route
.
params
.
insCan
));
if
(
typeof
(
this
.
$route
.
params
.
insCan
)
!==
"undefined"
&&
this
.
$route
.
params
.
insCan
.
info
)
{
this
.
show
=
this
.
$route
.
params
.
insCan
.
show
;
sessionStorage
.
setItem
(
"in
sCanIn
fo"
,
this
.
$route
.
params
.
insCan
.
info
);
sessionStorage
.
setItem
(
"i
nsCanI
tems"
,
JSON
.
stringify
(
this
.
$route
.
params
.
insCan
));
}
this
.
form4
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
));
this
.
form4
.
name
=
this
.
decrypt
(
this
.
form4
.
name
);
this
.
form4
.
bailor_name
=
this
.
decrypt
(
this
.
form4
.
bailor_name
);
this
.
form4
.
identity_number
=
this
.
decrypt
(
this
.
form4
.
identity_number
);
this
.
form4
.
bailor_idNo
=
this
.
decrypt
(
this
.
form4
.
bailor_idNo
);
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
));
this
.
form4
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"insCanInfo"
));
this
.
form4
.
name
=
this
.
form4
.
name
?
this
.
decrypt
(
this
.
form4
.
name
)
:
""
;
this
.
form4
.
identity_number
=
this
.
form4
.
identity_number
?
this
.
decrypt
(
this
.
form4
.
identity_number
)
:
""
;
let
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"insCanItems"
));
if
(
obj
.
bankpic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
...
...
xichongSys/src/views/Myvue/supPaymentAudit.vue
0 → 100644
View file @
cedda986
<
template
>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"form.identity_number"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"性别"
>
<el-input
v-model=
"form.sex"
></el-input>
</el-form-item>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍地地址"
>
<el-input
v-model=
"form.address"
></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=
"form"
label-width=
"auto"
>
<el-form-item
label=
"补缴类型"
>
<el-input
v-model=
"form.pay_type"
></el-input>
</el-form-item>
<el-form-item
label=
"补缴标准"
>
<el-input
v-model=
"form.pay_stand"
></el-input>
</el-form-item>
<el-form-item
label=
"补缴合计"
>
<el-input
v-model=
"form.pay_numTol"
></el-input>
</el-form-item>
<el-form-item
label=
"所属银行"
>
<el-input
v-model=
"form.bank_Name"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"补缴年限"
>
<el-input
v-model=
"form.pay_years"
></el-input>
</el-form-item>
<el-form-item
label=
"补缴金额"
>
<el-input
v-model=
"form.pay_num"
></el-input>
</el-form-item>
<el-form-item
label=
"银行账号"
>
<el-input
v-model=
"form.bank_Account"
></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>
<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
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
()
{
return
{
itmebs
:
""
,
show
:
""
,
bb
:
false
,
form
:
{
bank_Account
:
""
,
bank_Name
:
""
,
bank_photo
:
""
,
groupName
:
""
,
idBackPic
:
""
,
idFortPic
:
""
,
identity_number
:
""
,
nation
:
""
,
nation_type
:
""
,
pay_num
:
""
,
pay_numTol
:
""
,
pay_stand
:
""
,
pay_type
:
""
,
pay_years
:
""
,
recordType
:
""
,
sex
:
""
,
sign_photo
:
""
,
telphoneValue
:
""
,
townName
:
""
,
villageName
:
""
,
wuserId
:
""
,
},
urls
:
[],
}
},
methods
:
{
//审核通过
pass
()
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
this
.
$route
.
params
.
supPay
.
recordId
,
examineState
:
1
,
remark
:
""
,
userId
:
1
};
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
:
"补缴保费审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"补缴保费审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
},
//审核不通过
nopass
()
{
// var that = this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
Loading
.
service
();
var
data
=
{
recordId
:
this
.
$route
.
params
.
supPay
.
recordId
,
examineState
:
2
,
remark
:
value
,
userId
:
1
};
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
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"补缴保费审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
});
});
},
decrypt
(
word
)
{
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
()
{
if
(
typeof
(
this
.
$route
.
params
.
supPay
)
!==
"undefined"
&&
this
.
$route
.
params
.
supPay
.
info
)
{
this
.
show
=
this
.
$route
.
params
.
supPay
.
show
;
sessionStorage
.
setItem
(
"supPayInfo"
,
this
.
$route
.
params
.
supPay
.
info
);
sessionStorage
.
setItem
(
"supPayItems"
,
JSON
.
stringify
(
this
.
$route
.
params
.
supPay
));
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"supPayInfo"
));
this
.
form
.
name
=
this
.
form
.
name
?
this
.
decrypt
(
this
.
form
.
name
)
:
""
;
this
.
form
.
identity_number
=
this
.
form
.
identity_number
?
this
.
decrypt
(
this
.
form
.
identity_number
)
:
""
;
this
.
form
.
telphoneValue
=
this
.
form
.
telphoneValue
?
this
.
decrypt
(
this
.
form
.
telphoneValue
)
:
""
;
let
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"supPayItems"
));
if
(
obj
.
bankpic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
);
}
else
if
(
obj
.
bookPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"户口本"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
);
}
else
if
(
obj
.
specialPhotoPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"特殊身份证明"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
);
}
else
{
this
.
itmebs
=
""
;
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
.
idcardfrontpic
);
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
);
this
.
form
.
sex
=
this
.
form
.
sex
===
1
?
"男"
:
"女"
;
}
}
</
script
>
<
style
>
.wrap
{
overflow
:
hidden
;
position
:
relative
;
}
.masks
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
200
}
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
}
.block
{
float
:
left
;
height
:
100%
;
margin-right
:
20px
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
xichongSys/src/views/Myvue/table.vue
View file @
cedda986
...
...
@@ -136,22 +136,12 @@
data
()
{
return
{
activities
:
[],
options1
:
[{
value
:
'1'
,
label
:
'参保登记'
},
{
value
:
'2'
,
label
:
'信息变更'
},
{
value
:
'3'
,
label
:
'待遇申请'
}],
options1
:
[],
Page
:
1
,
totals
:
0
,
idcard
:
""
,
ywtype
:
""
,
info
:
''
,
ywtype
:
''
,
tableData
:
[]
}
},
...
...
@@ -171,7 +161,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
==
3
?
"待遇申请"
:
res
.
data
.
list
[
i
].
recordtype
==
4
?
"参保注销"
:
""
res
.
data
.
list
[
i
].
recordtype
=
this
.
getType
(
res
.
data
.
list
[
i
].
recordtype
)
}
this
.
tableData
=
res
.
data
.
list
this
.
totals
=
res
.
data
.
total
...
...
@@ -187,7 +177,7 @@
this
.
activities
=
[]
var
data
=
{
recordId
:
s
.
id
,
type
:
s
.
recordtype
==
"参保登记"
?
1
:
s
.
recordtype
==
"信息变更"
?
2
:
s
.
recordtype
==
"待遇申请"
?
3
:
s
.
recordtype
==
"参保注销"
?
4
:
''
type
:
this
.
regetType
(
s
.
recordtype
)
}
this
.
$api
.
getlist
.
progress
(
data
).
then
((
res
)
=>
{
for
(
var
i
in
res
.
data
){
...
...
@@ -284,26 +274,25 @@
show
:
true
}
})
}
else
if
(
d
.
recordtype
==
"待遇申请"
){
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"待遇申请审核"
,
params
:
{
treApp
:
{
recordId
:
this
.
tableData
[
s
].
recordId
,
info
:
this
.
tableData
[
s
].
info
,
bankpic
:
this
.
tableData
[
s
].
ban
kpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardback
pic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfront
pic
,
signpic
:
this
.
tableData
[
s
].
signp
ic
,
specialPhotoPic
:
this
.
tableData
[
s
].
specialPhoto
Pic
,
bookPic
:
this
.
tableData
[
s
].
bookPic
,
show
:
true
}
else
if
(
d
.
recordtype
===
"待遇申请"
){
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"待遇申请审核"
,
params
:{
treApp
:
{
recordId
:
this
.
tableData
[
s
].
recordId
,
info
:
this
.
tableData
[
s
].
info
,
bankpic
:
this
.
tableData
[
s
].
bankpic
,
idcardbackpic
:
this
.
tableData
[
s
].
idcardbac
kpic
,
idcardfrontpic
:
this
.
tableData
[
s
].
idcardfront
pic
,
signpic
:
this
.
tableData
[
s
].
sign
pic
,
specialPhotoPic
:
this
.
tableData
[
s
].
specialPhotoP
ic
,
bookPic
:
this
.
tableData
[
s
].
book
Pic
,
show
:
true
}
}
}
})
}
else
if
(
d
.
recordtype
==
"参保注销"
)
{
})
}
else
if
(
d
.
recordtype
===
"参保注销"
)
{
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"参保注销审核"
,
...
...
@@ -321,6 +310,60 @@
}
}
})
}
else
if
(
d
.
recordtype
===
"补缴保费"
)
{
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"补缴保费审核"
,
params
:{
supPay
:
{
recordId
:
this
.
tableData
[
s
].
recordId
,
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
}
}
})
}
else
if
(
d
.
recordtype
===
"升档改办"
)
{
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"升档改办审核"
,
params
:{
upgReo
:
{
recordId
:
this
.
tableData
[
s
].
recordId
,
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
}
}
})
}
else
if
(
d
.
recordtype
===
"关系转移"
)
{
// sessionStorage.setItem("recordId",this.tableData[s].recordId)
this
.
$router
.
push
({
name
:
"关系转移审核"
,
params
:{
traRel
:
{
recordId
:
this
.
tableData
[
s
].
recordId
,
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
){
...
...
@@ -354,8 +397,13 @@
},
created
(){
Loading
.
service
();
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
this
.
options1
.
push
({
label
:
this
.
getType
(
i
),
value
:
i
})
}
var
data
=
{
idcard
:
''
,
recordType
:
''
...
...
xichongSys/src/views/Myvue/traRelationsAudit.vue
0 → 100644
View file @
cedda986
<
template
>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"form.identity_number"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"性别"
>
<el-input
v-model=
"form.sex"
></el-input>
</el-form-item>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
></el-input>
</el-form-item>
<el-form-item
label=
"户口类型"
>
<el-input
v-model=
"form.nation_type"
></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=
"form"
label-width=
"auto"
>
<el-form-item
label=
"原户籍地地址"
>
<el-input
v-model=
"form.old_Address"
></el-input>
</el-form-item>
<el-form-item
label=
"所属银行"
>
<el-input
v-model=
"form.bank_Name"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"原户籍地地址"
>
<el-input
v-model=
"form.new_Address"
></el-input>
</el-form-item>
<el-form-item
label=
"银行账号"
>
<el-input
v-model=
"form.bank_Account"
></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>
<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
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
()
{
return
{
itmebs
:
""
,
show
:
""
,
bb
:
false
,
form
:
{
bank_Account
:
""
,
bank_Name
:
""
,
book_photo
:
""
,
groupName
:
""
,
idBackPic
:
""
,
idFortPic
:
""
,
identity_number
:
""
,
nation
:
""
,
nation_type
:
""
,
new_Address
:
""
,
old_Address
:
""
,
recordType
:
""
,
sex
:
""
,
sign_photo
:
""
,
telphoneValue
:
""
,
townName
:
""
,
villageName
:
""
,
wuserId
:
""
,
},
urls
:
[],
}
},
methods
:
{
//审核通过
pass
()
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
this
.
$route
.
params
.
traRel
.
recordId
,
examineState
:
1
,
remark
:
""
,
userId
:
1
};
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
:
"关系转移审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"关系转移审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
},
//审核不通过
nopass
()
{
// var that = this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
Loading
.
service
();
var
data
=
{
recordId
:
this
.
$route
.
params
.
traRel
.
recordId
,
examineState
:
2
,
remark
:
value
,
userId
:
1
};
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
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"关系转移审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
});
});
},
decrypt
(
word
)
{
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
()
{
if
(
typeof
(
this
.
$route
.
params
.
traRel
)
!==
"undefined"
&&
this
.
$route
.
params
.
traRel
.
info
)
{
this
.
show
=
this
.
$route
.
params
.
traRel
.
show
;
sessionStorage
.
setItem
(
"traRelInfo"
,
this
.
$route
.
params
.
traRel
.
info
);
sessionStorage
.
setItem
(
"traRelItems"
,
JSON
.
stringify
(
this
.
$route
.
params
.
traRel
));
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"traRelInfo"
));
this
.
form
.
name
=
this
.
form
.
name
?
this
.
decrypt
(
this
.
form
.
name
)
:
""
;
this
.
form
.
identity_number
=
this
.
form
.
identity_number
?
this
.
decrypt
(
this
.
form
.
identity_number
)
:
""
;
this
.
form
.
telphoneValue
=
this
.
form
.
telphoneValue
?
this
.
decrypt
(
this
.
form
.
telphoneValue
)
:
""
;
let
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"supPayItems"
));
if
(
obj
.
bankpic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
);
}
else
if
(
obj
.
bookPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"户口本"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
);
}
else
if
(
obj
.
specialPhotoPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"特殊身份证明"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
);
}
else
{
this
.
itmebs
=
""
;
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
.
idcardfrontpic
);
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
);
this
.
form
.
sex
=
this
.
form
.
sex
===
1
?
"男"
:
"女"
;
}
}
</
script
>
<
style
>
.wrap
{
overflow
:
hidden
;
position
:
relative
;
}
.masks
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
200
}
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
}
.block
{
float
:
left
;
height
:
100%
;
margin-right
:
20px
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
View file @
cedda986
...
...
@@ -11,10 +11,10 @@
<el-input
v-model=
"form.identity_number"
></el-input>
</el-form-item>
<el-form-item
label=
"领取账号"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form.bank_Account
"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍地地址"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form.address
"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
...
...
@@ -22,7 +22,7 @@
<el-input
v-model=
"form.sex"
></el-input>
</el-form-item>
<el-form-item
label=
"缴费年限"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form.payNum
"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
...
...
@@ -37,18 +37,18 @@
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"个人缴费"
>
<el-input
v-model=
"form.
mon_annuityPre
"
></el-input>
<el-input
v-model=
"form.
payTotalMoney
"
></el-input>
</el-form-item>
<el-form-item
label=
"财政补贴"
>
<el-input
v-model=
"form.
mon_annuityGov
"
></el-input>
<el-input
v-model=
"form.
benefits
"
></el-input>
</el-form-item>
<el-form-item
label=
"个人账户积累额"
>
<el-input
v-model=
"form.
payTotalMoney
"
></el-input>
<el-input
v-model=
"form.
account_balance
"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"集体补助"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></el-input>
<el-input
v-model=
"form.collectivePercent
"
></el-input>
</el-form-item>
<el-form-item
label=
"利息"
>
<el-input
v-model=
"form.interest"
></el-input>
...
...
@@ -131,7 +131,12 @@
mon_annuityGov
:
""
,
mon_annuity
:
""
,
interest
:
""
,
payTotalMoney
:
""
payTotalMoney
:
""
,
collectivePercent
:
0
,
bank_Account
:
""
,
address
:
""
,
payNum
:
""
,
benefits
:
""
,
},
urls
:
[],
}
...
...
@@ -169,9 +174,18 @@
message
:
res
.
message
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"待遇申请审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
console
.
log
(
"进入catch: "
+
res
);
let
loadingInstance
=
Loading
.
service
();
th
at
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
th
is
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
...
...
@@ -188,7 +202,7 @@
},
//审核不通过
nopass
()
{
var
that
=
this
// let that = this;
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -221,13 +235,13 @@
});
}
// 关闭当前标签
var
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
closeAll
.
forEach
(
icon
=>
{
if
(
icon
.
previousSibling
.
innerText
===
"待遇申请审核 "
)
{
icon
.
click
();
throw
new
Error
()
;
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
]
.
previousSibling
.
innerText
===
"待遇申请审核 "
)
{
closeAll
[
j
]
.
click
();
return
;
}
}
)
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -240,10 +254,10 @@
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
th
at
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
th
is
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
th
at
.
$message
({
th
is
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
...
...
@@ -272,16 +286,16 @@
}
},
created
()
{
this
.
show
=
this
.
$route
.
params
.
treApp
.
show
;
if
(
this
.
$route
.
params
.
treApp
.
info
)
{
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
treApp
.
info
);
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
.
treApp
);
sessionStorage
.
setItem
(
"items"
,
a
);
if
(
typeof
(
this
.
$route
.
params
.
treApp
)
!==
"undefined"
&&
this
.
$route
.
params
.
treApp
.
info
)
{
this
.
show
=
this
.
$route
.
params
.
treApp
.
show
;
sessionStorage
.
setItem
(
"treAppInfo"
,
this
.
$route
.
params
.
treApp
.
info
);
sessionStorage
.
setItem
(
"treAppItems"
,
JSON
.
stringify
(
this
.
$route
.
params
.
treApp
));
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"
i
nfo"
));
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"
treAppI
nfo"
));
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
name
);
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
identity_number
);
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
));
this
.
form
.
telphoneValue
=
this
.
decrypt
(
this
.
form
.
telphoneValue
);
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"treAppItems"
));
if
(
obj
.
bankpic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
...
...
xichongSys/src/views/Myvue/upgradeReoAudit.vue
0 → 100644
View file @
cedda986
<
template
>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"form.identity_number"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍地地址"
>
<el-input
v-model=
"form.address"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"性别"
>
<el-input
v-model=
"form.sex"
></el-input>
</el-form-item>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
></el-input>
</el-form-item>
<el-form-item
label=
"户口类型"
>
<el-input
v-model=
"form.nation_type"
></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=
"form"
label-width=
"auto"
>
<el-form-item
label=
"原缴费档次"
>
<el-input
v-model=
"form.old_Grade"
></el-input>
</el-form-item>
<el-form-item
label=
"缴费金额"
>
<el-input
v-model=
"form.pay_num"
></el-input>
</el-form-item>
<el-form-item
label=
"所属银行"
>
<el-input
v-model=
"form.bank_Name"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"升档缴费档次"
>
<el-input
v-model=
"form.new_Grade"
></el-input>
</el-form-item>
<el-form-item
label=
"缴费人员类型"
>
<el-input
v-model=
"form.personAplly_type"
></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>
<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
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
()
{
return
{
itmebs
:
""
,
show
:
""
,
bb
:
false
,
form
:
{
bank_Account
:
""
,
bank_Name
:
""
,
groupName
:
""
,
idBackPic
:
""
,
idFortPic
:
""
,
identity_number
:
""
,
nation
:
""
,
nation_type
:
""
,
new_Grade
:
""
,
old_Grade
:
""
,
pay_num
:
""
,
personAplly_type
:
""
,
recordType
:
""
,
sex
:
""
,
sign_photo
:
""
,
telphoneValue
:
""
,
townName
:
""
,
villageName
:
""
,
wuserId
:
""
},
urls
:
[],
}
},
methods
:
{
//审核通过
pass
()
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
this
.
$route
.
params
.
upgReo
.
recordId
,
examineState
:
1
,
remark
:
""
,
userId
:
1
};
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
:
"升档改办审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"升档改办审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
},
//审核不通过
nopass
()
{
// var that = this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
Loading
.
service
();
let
data
=
{
recordId
:
this
.
$route
.
params
.
upgReo
.
recordId
,
examineState
:
2
,
remark
:
value
,
userId
:
1
};
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
});
}
// 关闭当前标签
let
closeAll
=
document
.
querySelectorAll
(
".el-icon-close"
);
for
(
let
j
=
0
,
len
=
closeAll
.
length
;
j
<
len
;
j
++
)
{
if
(
closeAll
[
j
].
previousSibling
.
innerText
===
"升档改办审核 "
)
{
closeAll
[
j
].
click
();
return
;
}
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
});
});
},
decrypt
(
word
)
{
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
()
{
if
(
typeof
(
this
.
$route
.
params
.
upgReo
)
!==
"undefined"
&&
this
.
$route
.
params
.
upgReo
.
info
)
{
this
.
show
=
this
.
$route
.
params
.
upgReo
.
show
;
sessionStorage
.
setItem
(
"upgReoInfo"
,
this
.
$route
.
params
.
upgReo
.
info
);
sessionStorage
.
setItem
(
"upgReoItems"
,
JSON
.
stringify
(
this
.
$route
.
params
.
upgReo
));
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"upgReoInfo"
));
this
.
form
.
name
=
this
.
form
.
name
?
this
.
decrypt
(
this
.
form
.
name
)
:
""
;
this
.
form
.
identity_number
=
this
.
form
.
identity_number
?
this
.
decrypt
(
this
.
form
.
identity_number
)
:
""
;
this
.
form
.
telphoneValue
=
this
.
form
.
telphoneValue
?
this
.
decrypt
(
this
.
form
.
telphoneValue
)
:
""
;
let
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"supPayItems"
));
if
(
obj
.
bankpic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
);
}
else
if
(
obj
.
bookPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"户口本"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
);
}
else
if
(
obj
.
specialPhotoPic
)
{
this
.
bb
=
true
;
this
.
itmebs
=
"特殊身份证明"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
);
}
else
{
this
.
itmebs
=
""
;
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
.
idcardfrontpic
);
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
idcardbackpic
);
this
.
form
.
sex
=
this
.
form
.
sex
===
1
?
"男"
:
"女"
;
}
}
</
script
>
<
style
>
.wrap
{
overflow
:
hidden
;
position
:
relative
;
}
.masks
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
200
}
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
}
.block
{
float
:
left
;
height
:
100%
;
margin-right
:
20px
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
xichongSys/src/views/Sys/User.vue
View file @
cedda986
...
...
@@ -48,7 +48,7 @@
<el-input
v-model=
"dataForm.id"
:disabled=
"true"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"用户名"
prop=
"name"
>
<el-input
v-if=
"!operation"
v-model=
"dataForm.name"
auto-complete=
"off"
readonly
=
"true"
></el-input>
<el-input
v-if=
"!operation"
v-model=
"dataForm.name"
auto-complete=
"off"
readonly
></el-input>
<el-input
v-if=
"operation"
v-model=
"dataForm.name"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"真实姓名"
prop=
"truename"
>
...
...
@@ -142,7 +142,7 @@ export default {
{
required
:
true
,
message
:
'请输入真实姓名'
,
trigger
:
'blur'
}
],
deptId
:
[
{
type
:
'array'
,
required
:
true
,
message
:
'请选择机构'
,
trigger
:
'change'
}
{
required
:
true
,
message
:
'请选择机构'
,
trigger
:
'change'
}
]
},
// 新增编辑界面数据
...
...
@@ -165,7 +165,8 @@ export default {
label
:
'name'
,
children
:
'children'
},
roles
:
[]
roles
:
[],
dParentId
:
''
,
}
},
methods
:
{
...
...
@@ -215,6 +216,20 @@ export default {
this
.
dialogVisible
=
true
this
.
operation
=
false
this
.
dataForm
=
Object
.
assign
({},
params
.
row
)
this
.
treeData
(
this
.
list
,
this
.
dataForm
.
deptId
);
let
deptId
=
[];
deptId
.
push
(
1
);
if
(
this
.
dParentId
>
1
)
{
deptId
.
push
(
this
.
dParentId
);
}
if
(
this
.
dataForm
.
deptId
!==
1
)
{
deptId
.
push
(
this
.
dataForm
.
deptId
);
}
console
.
log
(
deptId
);
this
.
dataForm
.
deptId
=
deptId
;
// for (let i=0;i
<
this
.
list
.
length
;
i
++
)
{
// console.log(this.list[i]);
// }
let
userRoles
=
[]
for
(
let
i
=
0
,
len
=
params
.
row
.
userRoles
.
length
;
i
<
len
;
i
++
)
{
userRoles
.
push
(
params
.
row
.
userRoles
[
i
].
roleId
)
...
...
@@ -223,6 +238,7 @@ export default {
},
// 编辑
submitForm
:
function
()
{
console
.
log
(
this
.
dataForm
);
this
.
$refs
.
dataForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$confirm
(
'确认提交吗?'
,
'提示'
,
{}).
then
(()
=>
{
...
...
@@ -318,6 +334,17 @@ export default {
// 清空验证的提示信息
cancelRules
:
function
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
},
treeData
:
function
(
tree
,
deptId
)
{
for
(
let
i
in
tree
){
if
(
tree
[
i
].
id
===
deptId
)
{
this
.
dParentId
=
tree
[
i
].
parentId
;
return
;
}
if
(
tree
[
i
].
children
)
{
this
.
treeData
(
tree
[
i
].
children
,
deptId
);
}
}
}
},
mounted
()
{
...
...
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