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