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
0e1d1639
Commit
0e1d1639
authored
Aug 15, 2019
by
liucheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'dev'
# Conflicts: # xichongSys/src/utils/global.js
parents
3a0fa14c
4399d297
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
586 additions
and
628 deletions
+586
-628
index.js
xichongSys/src/router/index.js
+10
-9
KtTable.vue
xichongSys/src/views/Core/KtTable.vue
+2
-1
drcbdj.vue
xichongSys/src/views/Myvue/drcbdj.vue
+19
-11
drdcbg.vue
xichongSys/src/views/Myvue/drdcbg.vue
+11
-3
drxxbg.vue
xichongSys/src/views/Myvue/drxxbg.vue
+9
-1
dryhkbg.vue
xichongSys/src/views/Myvue/dryhkbg.vue
+10
-2
flow.vue
xichongSys/src/views/Myvue/flow.vue
+1
-1
importByExcel.vue
xichongSys/src/views/Myvue/importByExcel.vue
+82
-47
insuranceCancellationAudit.vue
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
+143
-185
treatmentApplicationAudit.vue
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
+288
-361
User.vue
xichongSys/src/views/Sys/User.vue
+11
-7
No files found.
xichongSys/src/router/index.js
View file @
0e1d1639
...
...
@@ -121,21 +121,22 @@ const router = new Router({
path
:
"/payInfo"
,
name
:
"缴费记录"
,
component
:
PayInfo
},{
path
:
"/application"
,
name
:
"待遇申请审核"
,
component
:
application
},
// {
// path:"/application",
// name:"待遇申请审核",
// component: application
// },
{
path
:
"/importByExcel"
,
name
:
"数据导入"
,
component
:
importByExcel
},
//
{
//
path:"/treatmentApplicationAudit",
//
name:"待遇申请审核",
//
component: treatmentApplicationAudit
//
},
{
path
:
"/treatmentApplicationAudit"
,
name
:
"待遇申请审核"
,
component
:
treatmentApplicationAudit
},
{
path
:
"/insuranceCancellationAudit"
,
name
:
"参保注销审核"
,
...
...
xichongSys/src/views/Core/KtTable.vue
View file @
0e1d1639
...
...
@@ -12,8 +12,9 @@
</el-table-column>
<el-table-column
:label=
"$t('action.operation')"
width=
"185"
fixed=
"right"
v-if=
"showOperation"
header-align=
"center"
align=
"center"
>
<template
slot-scope=
"scope"
>
<kt-button
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
style=
"float: left"
/>
<kt-button
v-if=
"scope.row.name!=='admin'"
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
style=
"float: left"
/>
<el-switch
v-if=
"scope.row.name!=='admin'"
class=
"statusSwitch"
style=
"display: block;float: left;margin-left: 20px;width: 50px"
v-model=
"scope.row.status==0?true:false"
...
...
xichongSys/src/views/Myvue/drcbdj.vue
View file @
0e1d1639
<
template
>
<div>
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
style=
"width: 100%"
>
...
...
@@ -61,7 +62,7 @@
size=
"mini"
type=
"primary"
@
click=
"toPdf(scope.$index, scope.row)"
>
导出pdf
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -75,7 +76,7 @@
>
</el-pagination>
<el-button
type=
"success"
@
click=
"toexcel"
style=
"margin:50px"
>
导出
</el-button>
<el-button
type=
"success"
@
click=
"toexcel"
style=
"margin:50px"
>
全部
导出
</el-button>
</div>
</template>
<
script
>
...
...
@@ -83,16 +84,18 @@ import { Loading } from 'element-ui';
import
{
baseUrl
}
from
"../../utils/global"
import
axios
from
"axios"
import
Cookies
from
"js-cookie"
;
export
default
{
export
default
{
data
(){
return
{
Page
:
1
,
totals
:
0
,
tableData
:
[]
tableData
:
[],
loading
:
false
}
},
methods
:{
toPdf
(
s
,
d
){
this
.
loading
=
true
;
console
.
log
(
d
)
axios
.
get
(
baseUrl
+
'/exportPdf/insuredRegistration?id='
+
d
.
eventId
,{
headers
:
{
...
...
@@ -108,11 +111,13 @@ export default {
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"西充县城乡居民社会养老保险参保登记表.pdf"
;
a
.
click
();
this
.
loading
=
false
;
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
},
current_change
(
s
){
...
...
@@ -130,12 +135,13 @@ export default {
this
.
tableData
=
res
.
data
.
result
this
.
totals
=
res
.
data
.
total
}
}).
catch
((
res
)
=>
{
});
},
toexcel
(){
this
.
loading
=
true
;
axios
.
get
(
baseUrl
+
'/exportExcel/insuredRegistration'
,{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
...
...
@@ -150,11 +156,13 @@ export default {
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"居民养老保险表.xlsx"
;
a
.
click
();
this
.
loading
=
false
;
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
...
...
@@ -165,9 +173,9 @@ export default {
// this.tableData=res.data.result
// this.totals=res.data.total
// }
// }).catch((res) => {
// });
}
},
...
...
@@ -186,9 +194,9 @@ export default {
this
.
tableData
=
res
.
data
.
result
this
.
totals
=
res
.
data
.
total
}
}).
catch
((
res
)
=>
{
});
},
}
...
...
xichongSys/src/views/Myvue/drdcbg.vue
View file @
0e1d1639
...
...
@@ -2,6 +2,7 @@
<div>
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
style=
"width: 100%"
>
...
...
@@ -46,7 +47,7 @@
>
</el-pagination>
<el-button
type=
"success"
@
click=
"toexcel"
style=
"margin:50px"
>
导出
</el-button>
<el-button
type=
"success"
@
click=
"toexcel"
style=
"margin:50px"
>
全部
导出
</el-button>
</div>
</template>
<
script
>
...
...
@@ -60,11 +61,13 @@
return
{
PageNum
:
1
,
totals
:
0
,
tableData
:
[]
tableData
:
[],
loading
:
false
}
},
methods
:
{
toPdf
(
s
,
d
)
{
this
.
loading
=
true
;
console
.
log
(
d
)
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange?id='
+
d
.
eventId
,
{
headers
:
{
...
...
@@ -82,9 +85,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
},
current_change
(
s
)
{
...
...
@@ -99,7 +104,7 @@
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
resul
t
this
.
tableData
=
res
.
data
.
conten
t
this
.
totals
=
res
.
data
.
totalSize
}
...
...
@@ -108,6 +113,7 @@
});
},
toexcel
()
{
this
.
loading
=
true
;
axios
.
get
(
baseUrl
+
'/exportExcel/modifyPayGrade'
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
...
...
@@ -124,9 +130,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
...
...
xichongSys/src/views/Myvue/drxxbg.vue
View file @
0e1d1639
...
...
@@ -2,6 +2,7 @@
<div>
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
style=
"width: 100%"
>
...
...
@@ -81,11 +82,13 @@
return
{
PageNum
:
1
,
totals
:
0
,
tableData
:
[]
tableData
:
[],
loading
:
false
}
},
methods
:
{
toPdf
(
s
,
d
)
{
this
.
loading
=
true
;
console
.
log
(
d
)
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange?id='
+
d
.
eventId
,
{
headers
:
{
...
...
@@ -103,9 +106,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
},
current_change
(
s
)
{
...
...
@@ -129,6 +134,7 @@
});
},
toexcel
()
{
this
.
loading
=
true
;
axios
.
get
(
baseUrl
+
'/exportExcel/updateBaseInfo'
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
...
...
@@ -145,9 +151,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
...
...
xichongSys/src/views/Myvue/dryhkbg.vue
View file @
0e1d1639
...
...
@@ -2,6 +2,7 @@
<div>
<el-table
v-loading
.
fullscreen
.
lock=
"loading"
:data=
"tableData"
style=
"width: 100%"
>
...
...
@@ -60,11 +61,13 @@
return
{
PageNum
:
1
,
totals
:
0
,
tableData
:
[]
tableData
:
[],
loading
:
false
}
},
methods
:
{
toPdf
(
s
,
d
)
{
this
.
loading
=
true
;
console
.
log
(
d
)
axios
.
get
(
baseUrl
+
'/exportPdf/informationChange?id='
+
d
.
eventId
,
{
headers
:
{
...
...
@@ -82,9 +85,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
},
current_change
(
s
)
{
...
...
@@ -99,7 +104,7 @@
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
resul
t
this
.
tableData
=
res
.
data
.
conten
t
this
.
totals
=
res
.
data
.
totalSize
}
...
...
@@ -108,6 +113,7 @@
});
},
toexcel
()
{
this
.
loading
=
true
;
axios
.
get
(
baseUrl
+
'/exportExcel/updateBankCard'
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
...
...
@@ -124,9 +130,11 @@
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
this
.
loading
=
false
;
})
.
catch
(
err
=>
{
console
.
log
(
err
);
this
.
loading
=
false
;
});
// this.$api.getlist.dccc().then((res) => {
// let loadingInstance = Loading.service();
...
...
xichongSys/src/views/Myvue/flow.vue
View file @
0e1d1639
...
...
@@ -262,7 +262,7 @@ this.$api.getlist.selectflowState(data).then((res) => {
console
.
log
(
d
)
if
(
s
==
1
){
this
.
flowTitle
=
"新增流程"
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
for
(
var
i
=
1
;
i
<=
6
;
i
++
){
this
.
titleList
.
push
({
label
:
this
.
getType
(
i
),
value
:
i
+
","
+
this
.
getType
(
i
)
...
...
xichongSys/src/views/Myvue/importByExcel.vue
View file @
0e1d1639
<
template
>
<div>
<el-tabs
type=
"border-card"
>
<el-tabs
type=
"border-card"
:v-loading=
"loading"
>
<el-tab-pane
label=
"参保覆盖人员"
v-loading=
"loading"
>
<div
style=
"width: 25%;float: left"
>
<el-upload
class=
"upload-demo"
ref=
"upload1"
:action=
"baseInfoUrl"
multiple
drag
accept=
".xls,.xlsx"
:limit=
"5"
:headers=
"myHeader"
:before-upload=
"handleBeforeUpload"
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:on-success=
"uploadSuccess"
: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=
"submitUpload1"
>
数据导入
</el-button>
</div>
<div
style=
"width: 75%;float: left"
>
<el-alert
align=
"left"
title=
"请上传格式完全相同的excel,格式如下:"
type=
"warning"
description=
"统筹区,街道或乡镇名称,社区名称,所属组,户口所在地,户口性质,个人编号,证件号码,姓名,性别,民族,出生日期,险种类型,参保状态,是否老农保,缴费状态,缴费档次,人员类别,离退休标志,个人身份,参保日期,档案编号"
show-icon
>
</el-alert>
</div>
<el-alert
align=
"left"
title=
"请上传格式完全相同的excel,格式如下:"
type=
"warning"
show-icon
>
</el-alert>
<table
style=
"text-align: center;border-collapse: collapse"
cellspacing=
"0px"
cellpadding=
"0px"
>
<tr>
<td
style=
"border: 1px solid black"
>
统筹区
</td>
<td
style=
"border: 1px solid black"
>
街道或乡镇名称
</td>
<td
style=
"border: 1px solid black"
>
社区名称
</td>
<td
style=
"border: 1px solid black"
>
所属组
</td>
<td
style=
"border: 1px solid black"
>
户口所在地
</td>
<td
style=
"border: 1px solid black"
>
户口性质
</td>
<td
style=
"border: 1px solid black"
>
个人编号
</td>
<td
style=
"border: 1px solid black"
>
证件号码
</td>
<td
style=
"border: 1px solid black"
>
姓名
</td>
<td
style=
"border: 1px solid black"
>
性别
</td>
<td
style=
"border: 1px solid black"
>
民族
</td>
<td
style=
"border: 1px solid black"
>
出生日期
</td>
<td
style=
"border: 1px solid black"
>
险种类型
</td>
<td
style=
"border: 1px solid black"
>
参保状态
</td>
<td
style=
"border: 1px solid black"
>
是否老农保
</td>
<td
style=
"border: 1px solid black"
>
缴费状态
</td>
<td
style=
"border: 1px solid black"
>
缴费档次
</td>
<td
style=
"border: 1px solid black"
>
人员类别
</td>
<td
style=
"border: 1px solid black"
>
离退休标志
</td>
<td
style=
"border: 1px solid black"
>
个人身份
</td>
<td
style=
"border: 1px solid black"
>
参保日期
</td>
<td
style=
"border: 1px solid black"
>
档案编号
</td>
</tr>
</table>
<el-upload
style=
"margin-top: 10px"
class=
"upload-demo"
ref=
"upload1"
:action=
"baseInfoUrl"
multiple
drag
accept=
".xls,.xlsx"
:limit=
"5"
:headers=
"myHeader"
:before-upload=
"handleBeforeUpload"
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:on-success=
"uploadSuccess"
: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=
"submitUpload1"
>
数据导入
</el-button>
</el-tab-pane>
<el-tab-pane
label=
"缴费情况明细"
>
<el-upload
...
...
@@ -70,6 +94,13 @@
</el-upload>
</el-tab-pane>
</el-tabs>
<el-dialog
ref=
"dialog"
:title=
"dialogTitle"
width=
"30%"
:visible
.
sync=
"dialogVisible"
>
<span
v-text=
"dialogContent"
style=
"font-size: 16px"
></span>
</el-dialog>
</div>
</
template
>
...
...
@@ -86,7 +117,11 @@
myHeader
:
{
token
:
Cookies
.
get
(
"token"
)
},
fileList
:
[]
fileList
:
[],
dialogTitle
:
""
,
dialogVisible
:
false
,
dialogContent
:
""
,
loading
:
false
};
},
methods
:
{
...
...
@@ -103,6 +138,7 @@
this
.
$message
.
warning
(
"当前限制选择 1 个文件,请删除后继续上传"
);
},
handleBeforeUpload
(
file
)
{
this
.
loading
=
true
;
if
(
!
file
.
name
.
endsWith
(
".xls"
)
&&
!
file
.
name
.
endsWith
(
".xlsx"
))
{
this
.
$message
.
warning
(
file
.
name
+
"不是excel文件"
);
return
false
;
...
...
@@ -114,21 +150,20 @@
// uploadedList.push(file.name);
},
uploadSuccess
(
response
)
{
console
.
log
(
response
)
this
.
$alert
(
response
.
data
,
'导入结果'
,
{
confirmButtonText
:
'确定'
,
callback
:
action
=>
{
// this.$message({
// type: 'info',
// message: `action: ${ action }`
// });
}
});
// this.$message.success({
// message: response.data,
// duration: 0,
// showClose: true
// })
this
.
dialogTitle
=
"导入结果"
;
this
.
dialogContent
=
response
.
data
;
this
.
dialogVisible
=
true
;
this
.
loading
=
false
;
// console.log(response);
// this.$alert(response.data, '导入结果', {
// confirmButtonText: '确定',
// callback: action => {
// // this.$message({
// // type: 'info',
// // message: `action: ${ action }`
// // });
// }
// });
}
}
}
...
...
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
View file @
0e1d1639
...
...
@@ -2,100 +2,108 @@
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div
>
<el-form
ref=
"form"
:model=
"form"
class=
"form
l"
label-width=
"120px
"
>
<el-form-item
label=
"姓名"
>
<!--
<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.sex"
></el-input>
</el-form-item>
<el-form-item
label=
"民族"
>
<el-input
v-model=
"form.nation"
></el-input>
<el-form-item
label=
"出生日期"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员"
></el-input>
</el-form-item>
<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.special_type"
></el-input>
</el-form-item>
<el-form-item
label=
"险种类型"
>
<el-input
v-model=
"form.other_social"
></el-input>
<el-form-item
label=
"人员类型"
>
<el-input
v-model=
"form.per_type"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"90px"
>
<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.nation_type"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍所在地"
>
<el-input
v-model=
"form.townName"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.telphoneValue"
></el-input>
<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.
pay_bank
"
></el-input>
<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.pay_account
"
></el-input>
<el-form-item
label=
"
户籍地址
"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></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
l
"
label-width=
"auto"
>
<!--
<div
class=
"masks"
></div>
--
>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"终止原因"
>
<el-input
v-model=
"form.
reason
"
></el-input>
<el-input
v-model=
"form.
cancel_res
"
></el-input>
</el-form-item>
<el-form-item
label=
"死亡时间"
>
<el-input
v-model=
"form.
reason
"
></el-input>
<el-input
v-model=
"form.
death_day
"
></el-input>
</el-form-item>
<el-form-item
label=
"停发时间"
>
<el-input
v-model=
"form.
reason
"
></el-input>
<el-input
v-model=
"form.
stop_time
"
></el-input>
</el-form-item>
<el-form-item
label=
"重复地区及险种"
>
<el-input
v-model=
"form.re
ason
"
></el-input>
<el-input
v-model=
"form.re
pet_type
"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form
r
"
label-width=
"auto"
>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"户籍迁往地区"
>
<el-input
v-model=
"form.
reason
"
></el-input>
<el-input
v-model=
"form.
addres_new
"
></el-input>
</el-form-item>
<el-form-item
label=
"丧葬形式"
>
<el-input
v-model=
"form.
reason
"
></el-input>
<el-input
v-model=
"form.
bad_type
"
></el-input>
</el-form-item>
<el-form-item
label=
"停发追回金额"
>
<el-input
v-model=
"form.re
ason
"
></el-input>
<el-form-item
label=
"停发
的
追回金额"
>
<el-input
v-model=
"form.re
back_money
"
></el-input>
</el-form-item>
<el-form-item
label=
"重复追回金额"
>
<el-input
v-model=
"form.reason
"
></el-input>
<el-form-item
label=
"重复
地区及险种的
追回金额"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员
"
></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
l
"
label-width=
"auto"
>
<!--
<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
"
></el-input>
<el-input
v-model=
"form.
account_balance
"
></el-input>
</el-form-item>
<el-form-item
label=
"丧葬费"
>
<el-input
v-model=
"form.
old
"
></el-input>
<el-input
v-model=
"form.
bad_subsidy
"
></el-input>
</el-form-item>
<el-form-item
label=
"应抵扣重复领取其他社会保险待遇"
>
<el-input
v-model=
"form.o
ld
"
></el-input>
<el-input
v-model=
"form.o
ther_overApply
"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"form
r
"
label-width=
"auto"
>
<el-form
ref=
"form"
:model=
"form"
class=
"form"
label-width=
"auto"
>
<el-form-item
label=
"一次性抚恤金"
>
<el-input
v-model=
"form.
now
"
></el-input>
<el-input
v-model=
"form.
once_pension
"
></el-input>
</el-form-item>
<el-form-item
label=
"应抵扣死亡超期领取待遇"
>
<el-input
v-model=
"form.old"
></el-input>
<el-input
v-model=
"form.death_overspend"
></el-input>
</el-form-item>
<el-form-item
label=
"合计发放金额"
>
<el-input
v-model=
"form.account_totle"
></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.bailor_name"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
>
<el-input
v-model=
"form.bailor_tel"
></el-input>
</el-form-item>
<el-form-item
label=
"与终止人关系"
>
<el-input
v-model=
"form.relation"
></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.bailor_sex"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号码"
>
<el-input
v-model=
"form.bailor_idNo"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -133,8 +141,8 @@
</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>
<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
>
...
...
@@ -146,37 +154,54 @@
export
default
{
data
()
{
return
{
test
:
"sadgsdg"
,
itmebs
:
""
,
show
:
''
,
bb
:
false
,
form
:
{
"name"
:
""
,
"bank_photo"
:
""
,
"groupName"
:
""
,
"identity_number"
:
""
,
"nation"
:
''
,
"nation_type"
:
""
,
"other_social"
:
""
,
"pay_account"
:
""
,
"pay_bank"
:
""
,
"pay_type"
:
''
,
"recordType"
:
''
,
"sex"
:
''
,
"sign_photo"
:
""
,
"social_time"
:
""
,
"special_type"
:
""
,
"telphoneValue"
:
""
,
"townName"
:
""
,
"villageName"
:
""
,
"address"
:
""
,
"wuserId"
:
''
,
"old"
:
""
,
"now"
:
""
account_balance
:
""
,
account_totle
:
""
,
addres_new
:
""
,
bad_subsidy
:
""
,
bad_type
:
""
,
bailor_idNo
:
""
,
bailor_idPhoto
:
""
,
bailor_name
:
""
,
bailor_sex
:
""
,
bailor_tel
:
""
,
bank_photo
:
""
,
book_photo
:
""
,
cancel_res
:
""
,
death_day
:
""
,
death_overspend
:
""
,
groupName
:
""
,
hospital_photo
:
""
,
idBackPic
:
""
,
idFortPic
:
""
,
identity_number
:
""
,
name
:
""
,
nation
:
""
,
nation_type
:
""
,
once_pension
:
""
,
other_SocialPhoto
:
""
,
other_overApply
:
""
,
per_type
:
""
,
provide_account
:
""
,
reback_money
:
""
,
recordType
:
""
,
relation
:
""
,
relation_photo
:
""
,
repet_type
:
""
,
sex
:
""
,
sign_photo
:
""
,
stop_time
:
""
,
telphoneValue
:
""
,
townName
:
""
,
villageName
:
""
,
wuserId
:
""
,
},
urls
:
[],
show
:
""
}
},
methods
:
{
//审核通过
...
...
@@ -184,27 +209,27 @@
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
remark
:
""
,
userId
:
1
userId
:
1
,
// InsuredCancelEntity: this.form,
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
=
200
)
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
this
.
$router
.
push
({
name
:
"
信息
审核"
name
:
"
参保注销
审核"
})
}
else
{
this
.
$message
({
...
...
@@ -212,7 +237,6 @@
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -223,7 +247,6 @@
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
...
...
@@ -237,7 +260,6 @@
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
Loading
.
service
();
...
...
@@ -252,7 +274,7 @@
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
=
200
)
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
...
...
@@ -266,7 +288,6 @@
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -277,7 +298,6 @@
message
:
'操作失败!'
+
res
});
});
}
else
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
...
...
@@ -291,7 +311,7 @@
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
message
:
'
已
取消输入'
});
});
},
...
...
@@ -312,94 +332,40 @@
}
},
created
()
{
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
;
if
(
this
.
$route
.
params
.
info
)
{
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
}
if
(
this
.
$route
.
params
.
info
)
{
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
sessionStorage
.
setItem
(
"items"
,
a
)
}
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
))
this
.
form
.
special_type
=
this
.
form
.
org_name
.
org_insuranceType
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
org_name
)
//this.form.name=this.form.org_name
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
org_idNum
)
this
.
form
.
telphoneValue
=
this
.
decrypt
(
this
.
form
.
telphoneValue
)
this
.
form
.
nation
=
this
.
form
.
nation
this
.
form
.
pay_bank
=
this
.
form
.
org_bankName
this
.
form
.
pay_type
=
this
.
form
.
org_pay
this
.
form
.
special_type
=
this
.
form
.
org_position
this
.
form
.
telphoneValue
=
this
.
form
.
org_telPhone
this
.
form
.
address
=
this
.
form
.
org_address
this
.
form
.
pay_account
=
this
.
form
.
org_bankNum
//根据type_son判断变更内容
if
(
this
.
form
.
type_son
==
1
)
{
this
.
form
.
old
=
this
.
form
.
pay_type
,
this
.
form
.
now
=
this
.
form
.
change_pay
this
.
now
=
"变更后档次"
this
.
old
=
"变更前档次"
}
else
if
(
this
.
form
.
type_son
==
2
)
{
this
.
bb
=
true
this
.
form
.
old
=
this
.
form
.
org_bankNum
,
this
.
form
.
now
=
this
.
form
.
change_bankNum
this
.
now
=
"变更后银行卡号"
this
.
old
=
"变更前银行卡号"
}
else
if
(
this
.
form
.
type_son
==
3
)
{
this
.
form
.
old
=
this
.
form
.
telphoneValue
,
this
.
form
.
now
=
this
.
form
.
change_tel
this
.
now
=
"变更后手机号"
this
.
old
=
"变更前手机号"
}
else
if
(
this
.
form
.
type_son
==
4
)
{
this
.
form
.
old
=
this
.
form
.
special_type
,
this
.
form
.
now
=
this
.
form
.
change_position
,
this
.
now
=
"变更后参保身份"
this
.
old
=
"变更前参保身份"
}
else
if
(
this
.
form
.
type_son
==
5
)
{
this
.
form
.
old
=
this
.
form
.
org_address
,
this
.
form
.
now
=
this
.
form
.
change_adress
,
this
.
now
=
"变更后地址"
this
.
old
=
"变更前地址"
}
else
if
(
this
.
form
.
type_son
==
6
)
{
this
.
form
.
old
=
this
.
form
.
name
,
this
.
form
.
now
=
this
.
form
.
change_name
,
this
.
now
=
"变更后姓名"
this
.
old
=
"变更前姓名"
}
else
if
(
this
.
form
.
type_son
==
7
)
{
this
.
form
.
old
=
this
.
form
.
identity_number
,
this
.
form
.
now
=
this
.
decrypt
(
this
.
form
.
change_idNum
),
this
.
now
=
"变更后身份证"
this
.
old
=
"变更前身份证"
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
);
sessionStorage
.
setItem
(
"items"
,
JSON
.
stringify
(
this
.
$route
.
params
));
}
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
console
.
log
(
obj
)
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
));
console
.
log
(
this
.
form
);
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
name
);
this
.
form
.
bailor_name
=
this
.
decrypt
(
this
.
form
.
bailor_name
);
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
identity_number
);
this
.
form
.
bailor_idNo
=
this
.
decrypt
(
this
.
form
.
bailor_idNo
);
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
));
console
.
log
(
obj
);
if
(
obj
.
bankpic
)
{
this
.
itmebs
=
"银行卡"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
this
.
bb
=
true
;
this
.
itmebs
=
"银行卡"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
);
}
else
if
(
obj
.
bookPic
)
{
this
.
itmebs
=
"户口本"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
)
this
.
bb
=
true
;
this
.
itmebs
=
"户口本"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
)
;
}
else
if
(
obj
.
specialPhotoPic
)
{
this
.
itmebs
=
"特殊身份证明"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
)
this
.
bb
=
true
;
this
.
itmebs
=
"特殊身份证明"
;
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
);
}
else
{
this
.
urls
.
push
(
" "
)
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
?
"男"
:
"女"
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
?
"男"
:
"女"
;
this
.
form
.
bailor_sex
=
this
.
form
.
bailor_sex
===
1
?
"男"
:
"女"
;
}
}
</
script
>
...
...
@@ -418,35 +384,27 @@
z-index
:
200
}
.forml
{
float
:
left
;
width
:
45%
}
.formr
{
.form
{
float
:
left
;
width
:
45%
;
margin-left
:
20px
margin-left
:
20px
;
}
.imgcon
{
margin
:
0
auto
;
box-shadow
:
0
0
15px
lightgray
;
overflow
:
hidden
;
margin-bottom
:
40px
}
.block
{
width
:
23%
margin-bottom
:
40px
;
}
.block
{
width
:
23%
;
float
:
left
;
height
:
100%
;
margin-right
:
20px
margin-right
:
20px
;
}
.imtil
{
padding
:
0
0
20px
0
padding
:
0
0
20px
0
;
}
</
style
>
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
View file @
0e1d1639
<
template
>
<div>
<h2
class=
"imtil"
>
基础信息
</h2>
<div
class=
"wrap"
>
<div
class=
"masks"
></div>
<el-form
ref=
"form"
:model=
"form"
class=
"formr"
label-width=
"120px"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<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.pay_type"
></el-input>
</el-form-item>
<el-form-item
label=
"特殊参保群体"
>
<el-input
v-model=
"form.special_type"
></el-input>
</el-form-item>
<el-form-item
label=
"险种类型"
>
<el-input
v-model=
"form.other_social"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"90px"
>
<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.nation_type"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍所在地"
>
<el-input
v-model=
"form.townName"
></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.pay_bank"
></el-input>
</el-form-item>
<el-form-item
label=
"缴费账号"
>
<el-input
v-model=
"form.pay_account"
></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=
"formr"
label-width=
"150px"
>
<el-form-item
:label=
"old"
>
<el-input
v-model=
"form.old"
></el-input>
</el-form-item>
</el-form>
<el-form
ref=
"form"
:model=
"form"
class=
"forml"
label-width=
"150px"
>
<el-form-item
:label=
"now"
>
<el-input
v-model=
"form.now"
></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>
<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
placeholder=
"该框暂无对应字段,请联系开发人员"
></el-input>
</el-form-item>
<el-form-item
label=
"户籍地地址"
>
<el-input
placeholder=
"该框暂无对应字段,请联系开发人员"
></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
placeholder=
"该框暂无对应字段,请联系开发人员"
></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.apply_way"
></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.mon_annuityPre"
></el-input>
</el-form-item>
<el-form-item
label=
"财政补贴"
>
<el-input
v-model=
"form.mon_annuityGov"
></el-input>
</el-form-item>
<el-form-item
label=
"个人账户积累额"
>
<el-input
v-model=
"form.payTotalMoney"
></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-form-item>
<el-form-item
label=
"利息"
>
<el-input
v-model=
"form.interest"
></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>
</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
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'
;
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
(){
return
{
itmebs
:
""
,
show
:
''
,
old
:
"原姓名"
,
now
:
"变更后姓名"
,
bb
:
false
,
form
:{
"name"
:
""
,
"bank_photo"
:
""
,
"groupName"
:
""
,
"identity_number"
:
""
,
"nation"
:
''
,
"nation_type"
:
""
,
"other_social"
:
""
,
"pay_account"
:
""
,
"pay_bank"
:
""
,
"pay_type"
:
''
,
"recordType"
:
''
,
"sex"
:
''
,
"sign_photo"
:
""
,
"social_time"
:
""
,
"special_type"
:
""
,
"telphoneValue"
:
""
,
"townName"
:
""
,
"villageName"
:
""
,
"address"
:
""
,
"wuserId"
:
''
,
"old"
:
""
,
"now"
:
""
export
default
{
data
()
{
return
{
itmebs
:
""
,
show
:
""
,
bb
:
false
,
form
:
{
"name"
:
""
,
"bank_photo"
:
""
,
"groupName"
:
""
,
"identity_number"
:
""
,
"nation"
:
''
,
"nation_type"
:
""
,
"other_social"
:
""
,
"pay_account"
:
""
,
"pay_bank"
:
""
,
"pay_type"
:
''
,
"recordType"
:
''
,
"sex"
:
''
,
"sign_photo"
:
""
,
"social_time"
:
""
,
"special_type"
:
""
,
"telphoneValue"
:
""
,
"townName"
:
""
,
"villageName"
:
""
,
"address"
:
""
,
"wuserId"
:
''
,
apply_way
:
""
,
mon_annuityPre
:
""
,
mon_annuityGov
:
""
,
mon_annuity
:
""
,
interest
:
""
,
payTotalMoney
:
""
},
urls
:
[
],
show
:
""
}
urls
:
[],
}
},
methods
:{
methods
:
{
//审核通过
pass
(){
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
pass
()
{
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
remark
:
""
,
userId
:
1
};
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
remark
:
""
,
userId
:
1
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
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
:
"信息审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
if
(
res
.
code
===
200
)
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
this
.
$router
.
push
({
name
:
"待遇申请审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
});
},
//审核不通过
nopass
(){
var
that
=
this
nopass
()
{
var
that
=
this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
){
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"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
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}
else
{
}).
then
(({
value
})
=>
{
if
(
value
)
{
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"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
});
}
}).
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 需要异步关闭
loadingInstance
.
close
();
});
that
.
$message
({
type
:
'info'
,
message
:
'请输入原因'
});
that
.
$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
();
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
);
}
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
(){
this
.
show
=
this
.
$route
.
params
.
show
this
.
show
=
this
.
$route
.
params
.
show
if
(
this
.
$route
.
params
.
info
){
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
)
created
()
{
this
.
show
=
this
.
$route
.
params
.
show
;
if
(
this
.
$route
.
params
.
info
)
{
sessionStorage
.
setItem
(
"info"
,
this
.
$route
.
params
.
info
);
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
);
sessionStorage
.
setItem
(
"items"
,
a
);
}
if
(
this
.
$route
.
params
.
info
){
var
a
=
JSON
.
stringify
(
this
.
$route
.
params
)
sessionStorage
.
setItem
(
"items"
,
a
)
this
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
));
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"
));
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
.
form
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"info"
))
this
.
form
.
special_type
=
this
.
form
.
org_name
.
org_insuranceType
this
.
form
.
name
=
this
.
decrypt
(
this
.
form
.
org_name
)
//this.form.name=this.form.org_name
this
.
form
.
identity_number
=
this
.
decrypt
(
this
.
form
.
org_idNum
)
this
.
form
.
telphoneValue
=
this
.
decrypt
(
this
.
form
.
telphoneValue
)
this
.
form
.
nation
=
this
.
form
.
nation
this
.
form
.
pay_bank
=
this
.
form
.
org_bankName
this
.
form
.
pay_type
=
this
.
form
.
org_pay
this
.
form
.
special_type
=
this
.
form
.
org_position
this
.
form
.
telphoneValue
=
this
.
form
.
org_telPhone
this
.
form
.
address
=
this
.
form
.
org_address
this
.
form
.
pay_account
=
this
.
form
.
org_bankNum
//根据type_son判断变更内容
if
(
this
.
form
.
type_son
==
1
){
this
.
form
.
old
=
this
.
form
.
pay_type
,
this
.
form
.
now
=
this
.
form
.
change_pay
this
.
now
=
"变更后档次"
this
.
old
=
"变更前档次"
}
else
if
(
this
.
form
.
type_son
==
2
){
this
.
bb
=
true
this
.
form
.
old
=
this
.
form
.
org_bankNum
,
this
.
form
.
now
=
this
.
form
.
change_bankNum
this
.
now
=
"变更后银行卡号"
this
.
old
=
"变更前银行卡号"
}
else
if
(
this
.
form
.
type_son
==
3
){
this
.
form
.
old
=
this
.
form
.
telphoneValue
,
this
.
form
.
now
=
this
.
form
.
change_tel
this
.
now
=
"变更后手机号"
this
.
old
=
"变更前手机号"
}
else
if
(
this
.
form
.
type_son
==
4
){
this
.
form
.
old
=
this
.
form
.
special_type
,
this
.
form
.
now
=
this
.
form
.
change_position
,
this
.
now
=
"变更后参保身份"
this
.
old
=
"变更前参保身份"
}
else
if
(
this
.
form
.
type_son
==
5
){
this
.
form
.
old
=
this
.
form
.
org_address
,
this
.
form
.
now
=
this
.
form
.
change_adress
,
this
.
now
=
"变更后地址"
this
.
old
=
"变更前地址"
}
else
if
(
this
.
form
.
type_son
==
6
){
this
.
form
.
old
=
this
.
form
.
name
,
this
.
form
.
now
=
this
.
form
.
change_name
,
this
.
now
=
"变更后姓名"
this
.
old
=
"变更前姓名"
}
else
if
(
this
.
form
.
type_son
==
7
){
this
.
form
.
old
=
this
.
form
.
identity_number
,
this
.
form
.
now
=
this
.
decrypt
(
this
.
form
.
change_idNum
),
this
.
now
=
"变更后身份证"
this
.
old
=
"变更前身份证"
}
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"items"
))
console
.
log
(
obj
)
if
(
obj
.
bankpic
){
this
.
itmebs
=
"银行卡"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bankpic
)
}
else
if
(
obj
.
bookPic
){
this
.
itmebs
=
"户口本"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
bookPic
)
}
else
if
(
obj
.
specialPhotoPic
){
this
.
itmebs
=
"特殊身份证明"
this
.
urls
.
push
(
"http://socialsecurity.oss-cn-beijing.aliyuncs.com/"
+
obj
.
specialPhotoPic
)
}
else
{
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
?
"男"
:
"女"
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
}
.forml
{
float
:
left
;
width
:
45%
}
.formr
{
float
:
left
;
width
:
40%
;
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
}
.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
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
xichongSys/src/views/Sys/User.vue
View file @
0e1d1639
...
...
@@ -48,12 +48,11 @@
<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"
:disabled
=
"true"
></el-input>
<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"
></el-input>
</el-form-item>
<el-form-item
label=
"真实姓名"
prop=
"truename"
>
<el-input
v-if=
"!operation"
v-model=
"dataForm.truename"
auto-complete=
"off"
:disabled=
"true"
></el-input>
<el-input
v-if=
"operation"
v-model=
"dataForm.truename"
auto-complete=
"off"
></el-input>
<el-input
v-model=
"dataForm.truename"
auto-complete=
"off"
></el-input>
</el-form-item>
<el-form-item
label=
"密码"
prop=
"password"
>
<el-input
v-model=
"dataForm.password"
type=
"password"
auto-complete=
"off"
></el-input>
...
...
@@ -91,7 +90,7 @@
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
:size=
"size"
@
click
.
native=
"dialogVisible = false"
>
{{
$t
(
'action.cancel'
)
}}
</el-button>
<el-button
:size=
"size"
@
click
.
native=
"dialogVisible = false"
@
click=
"cancelRules('dataForm')"
>
{{
$t
(
'action.cancel'
)
}}
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click
.
native=
"submitForm"
:loading=
"editLoading"
>
{{
$t
(
'action.submit'
)
}}
</el-button>
</div>
</el-dialog>
...
...
@@ -118,7 +117,6 @@ export default {
size
:
'small'
,
filters
:
{
name
:
''
,
truename
:
''
},
columns
:
[],
filterColumns
:
[],
...
...
@@ -131,7 +129,10 @@ export default {
dataFormRules
:
{
name
:
[
{
required
:
true
,
message
:
'请输入用户名'
,
trigger
:
'blur'
}
]
],
truename
:
[
{
required
:
true
,
message
:
'请输入真实姓名'
,
trigger
:
'blur'
}
]
},
// 新增编辑界面数据
dataForm
:
{
...
...
@@ -296,7 +297,10 @@ export default {
// {prop:"lastUpdateTime", label:"更新时间", minWidth:120, formatter:this.dateFormat}
]
this
.
filterColumns
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
columns
));
}
},
cancelRules
:
function
(
formName
)
{
this
.
$refs
[
formName
].
resetFields
();
}
},
mounted
()
{
this
.
findDeptTree
()
...
...
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