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
933edc6d
Commit
933edc6d
authored
Aug 12, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://ops.weface.com.cn:8022/zhangdishen/xichonght
into dev
parents
b4eb20cc
d5e1c8fb
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
3405 additions
and
2411 deletions
+3405
-2411
package-lock.json
xichongSys/package-lock.json
+2371
-2371
user.js
xichongSys/src/http/moudules/user.js
+3
-3
user.js
xichongSys/src/mock/modules/user.js
+3
-3
index.js
xichongSys/src/router/index.js
+20
-0
KtTable.vue
xichongSys/src/views/Core/KtTable.vue
+12
-7
drdysq.vue
xichongSys/src/views/Myvue/drdysq.vue
+25
-22
drxxbg.vue
xichongSys/src/views/Myvue/drxxbg.vue
+2
-2
dryhkbg.vue
xichongSys/src/views/Myvue/dryhkbg.vue
+1
-1
importByExcel.vue
xichongSys/src/views/Myvue/importByExcel.vue
+139
-0
insuranceCancellationAudit.vue
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
+414
-0
receivePersonnel.vue
xichongSys/src/views/Myvue/receivePersonnel.vue
+1
-2
treatmentApplicationAudit.vue
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
+414
-0
No files found.
xichongSys/package-lock.json
View file @
933edc6d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
xichongSys/src/http/moudules/user.js
View file @
933edc6d
import
axios
from
'../axios'
/*
/*
* 用户管理模块
*/
...
...
@@ -15,7 +15,7 @@ export const save = (data) => {
// 删除
export
const
batchDelete
=
(
data
)
=>
{
return
axios
({
url
:
'/user/
forbiddenUser
'
,
url
:
'/user/
updateUserStatus
'
,
method
:
'post'
,
data
})
...
...
@@ -35,4 +35,4 @@ export const findPermissions = (params) => {
method
:
'get'
,
params
})
}
\ No newline at end of file
}
xichongSys/src/mock/modules/user.js
View file @
933edc6d
/*
/*
* 用户管理模块
*/
...
...
@@ -17,7 +17,7 @@ export function save() {
// 批量删除
export
function
batchDelete
()
{
return
{
url
:
'/user/
forbiddenUser
'
,
url
:
'/user/
updateUserStatus
'
,
type
:
'post'
,
data
:
{
"code"
:
200
,
...
...
@@ -114,4 +114,4 @@ export function findPermissions() {
type
:
'get'
,
data
:
permsData
}
}
\ No newline at end of file
}
xichongSys/src/router/index.js
View file @
933edc6d
...
...
@@ -25,6 +25,10 @@ import receivePersonnel from "@/views/Myvue/receivePersonnel";
import
AllbaseInfo
from
"@/views/Myvue/allbaseInfo"
import
PayInfo
from
"@/views/Myvue/payInfo"
import
application
from
"@/views/Myvue/application"
import
importByExcel
from
"@/views/Myvue/importByExcel"
import
treatmentApplicationAudit
from
"@/views/Myvue/treatmentApplicationAudit"
import
insuranceCancellationAudit
from
"@/views/Myvue/insuranceCancellationAudit"
Vue
.
use
(
Router
)
const
router
=
new
Router
({
...
...
@@ -121,7 +125,23 @@ const router = new Router({
path
:
"/application"
,
name
:
"待遇申请审核"
,
component
:
application
},
{
path
:
"/importByExcel"
,
name
:
"数据导入"
,
component
:
importByExcel
},
// {
// path:"/treatmentApplicationAudit",
// name:"待遇申请审核",
// component: treatmentApplicationAudit
// },
{
path
:
"/insuranceCancellationAudit"
,
name
:
"参保注销审核"
,
component
:
insuranceCancellationAudit
}
]
},
{
...
...
xichongSys/src/views/Core/KtTable.vue
View file @
933edc6d
<
template
>
<div>
<!--表格栏-->
<el-table
:data=
"data.content"
:highlight-current-row=
"highlightCurrentRow"
@
selection-change=
"selectionChange"
<el-table
:data=
"data.content"
:highlight-current-row=
"highlightCurrentRow"
@
selection-change=
"selectionChange"
@
current-change=
"handleCurrentChange"
v-loading=
"loading"
:element-loading-text=
"$t('action.loading')"
:border=
"border"
:stripe=
"stripe"
:show-overflow-tooltip=
"showOverflowTooltip"
:max-height=
"maxHeight"
:height=
"height"
:size=
"size"
:align=
"align"
style=
"width:100%;"
>
<el-table-column
type=
"selection"
width=
"40"
v-if=
"showBatchDelete & showOperation"
></el-table-column>
<el-table-column
v-for=
"column in columns"
header-align=
"center"
align=
"center"
:prop=
"column.prop"
:label=
"column.label"
:width=
"column.width"
:min-width=
"column.minWidth"
:prop=
"column.prop"
:label=
"column.label"
:width=
"column.width"
:min-width=
"column.minWidth"
:fixed=
"column.fixed"
:key=
"column.prop"
:type=
"column.type"
:formatter=
"column.formatter"
:sortable=
"column.sortable==null?true:column.sortable"
>
</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)"
/>
<kt-button
icon=
"fa fa-trash"
label=
"禁用"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
<kt-button
icon=
"fa fa-edit"
:label=
"$t('action.edit')"
:perms=
"permsEdit"
:size=
"size"
@
click=
"handleEdit(scope.$index, scope.row)"
style=
"float: left"
/>
<div
v-if=
"scope.row.status == 1"
>
<kt-button
icon=
"fa fa-trash"
label=
"禁用"
:perms=
"permsDelete"
:size=
"size"
type=
"danger"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
</div>
<div
v-else
>
<kt-button
icon=
"fa fa-check-circle"
label=
"启用"
:perms=
"permsDelete"
:size=
"size"
type=
"success"
@
click=
"handleDelete(scope.$index, scope.row)"
/>
</div>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -21,7 +26,7 @@
<div
class=
"toolbar"
style=
"padding:10px;"
>
<!-- <kt-button :label="$t('action.batchDelete')" :perms="permsDelete" :size="size" type="danger" @click="handleBatchDelete()" -->
<!-- :disabled="this.selections.length===0" style="float:left;" v-if="showBatchDelete & showOperation"/> -->
<el-pagination
layout=
"total, prev, pager, next, jumper"
@
current-change=
"refreshPageRequest"
<el-pagination
layout=
"total, prev, pager, next, jumper"
@
current-change=
"refreshPageRequest"
:current-page=
"pageRequest.pageNum"
:page-size=
"pageRequest.pageSize"
:total=
"data.totalSize"
style=
"float:right;"
>
</el-pagination>
</div>
...
...
@@ -130,7 +135,7 @@ export default {
},
// 删除操作
delete
:
function
(
ids
)
{
this
.
$confirm
(
'确认
禁用
选中记录吗?'
,
'提示'
,
{
this
.
$confirm
(
'确认
操作
选中记录吗?'
,
'提示'
,
{
type
:
'warning'
}).
then
(()
=>
{
let
params
=
[]
...
...
@@ -161,4 +166,4 @@ export default {
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
xichongSys/src/views/Myvue/drdysq.vue
View file @
933edc6d
...
...
@@ -60,26 +60,27 @@
methods
:
{
toPdf
(
s
,
d
)
{
console
.
log
(
d
)
// axios.get(baseUrl + '/exportPdf/insuredRegistration?id=' + d.eventId, {
// headers: {
// "token": Cookies.get("token")
// },
// responseType: 'blob' //告诉服务器我们需要的响应格式
// })
// .then(res => {
// let a = document.createElement("a");
// let blob = new Blob([res.data], {
// type: 'application/vnd.ms-excel' //将会被放入到blob中的数组内容的MIME类型
// });
// a.href = URL.createObjectURL(blob); //生成一个url
// a.download = "西充县城乡居民社会养老保险待遇领取审核表.pdf";
// a.click();
// // let objectUrl = URL.createObjectURL(blob); //生成一个url
// // window.location.href = objectUrl; //浏览器打开这个url
// })
// .catch(err => {
// console.log(err);
// });
axios
.
get
(
baseUrl
+
'/exportPdf/specialAudit?id='
+
d
.
eventId
,
{
headers
:
{
"token"
:
Cookies
.
get
(
"token"
)
},
responseType
:
'blob'
//告诉服务器我们需要的响应格式
})
.
then
(
res
=>
{
let
a
=
document
.
createElement
(
"a"
);
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
//将会被放入到blob中的数组内容的MIME类型
});
a
.
href
=
URL
.
createObjectURL
(
blob
);
//生成一个url
a
.
download
=
"西充县城乡居民社会养老保险待遇领取审核表.pdf"
;
a
.
click
();
// let objectUrl = URL.createObjectURL(blob); //生成一个url
// window.location.href = objectUrl; //浏览器打开这个url
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
},
current_change
(
s
)
{
var
data
=
{
...
...
@@ -93,8 +94,10 @@
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
result
this
.
totals
=
res
.
data
.
total
this
.
tableData
=
res
.
data
.
content
this
.
totals
=
res
.
data
.
totalSize
this
.
pageNum
=
res
.
data
.
pageNum
}
}).
catch
((
res
)
=>
{
...
...
xichongSys/src/views/Myvue/drxxbg.vue
View file @
933edc6d
...
...
@@ -67,7 +67,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
>
...
...
@@ -120,7 +120,7 @@
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
data
.
resul
t
this
.
tableData
=
res
.
data
.
conten
t
this
.
totals
=
res
.
data
.
totalSize
}
...
...
xichongSys/src/views/Myvue/dryhkbg.vue
View file @
933edc6d
...
...
@@ -46,7 +46,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
>
...
...
xichongSys/src/views/Myvue/importByExcel.vue
0 → 100644
View file @
933edc6d
<
template
>
<div>
<el-tabs
type=
"border-card"
>
<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-tab-pane>
<el-tab-pane
label=
"缴费情况明细"
>
<el-upload
class=
"upload-demo"
ref=
"upload2"
action=
"/"
multiple
accept=
".xls,.xlsx"
:limit=
"5"
:headers=
"myHeader"
:before-upload=
"handleBeforeUpload"
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:auto-upload=
"false"
>
<el-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
选取文件
</el-button>
<el-button
style=
"margin-left: 10px;"
size=
"small"
type=
"success"
@
click=
"submitUpload2"
>
数据导入
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传xls/xlsx文件,一次最多只能上传5个文件
</div>
</el-upload>
</el-tab-pane>
<el-tab-pane
label=
"领取人员"
>
<el-upload
class=
"upload-demo"
ref=
"upload3"
action=
"/"
multiple
accept=
".xls,.xlsx"
:limit=
"5"
:headers=
"myHeader"
:before-upload=
"handleBeforeUpload"
:file-list=
"fileList"
:on-exceed=
"handleExceed"
:auto-upload=
"false"
>
<el-button
slot=
"trigger"
size=
"small"
type=
"primary"
>
选取文件
</el-button>
<el-button
style=
"margin-left: 10px;"
size=
"small"
type=
"success"
@
click=
"submitUpload3"
>
数据导入
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传xls/xlsx文件,一次最多只能上传5个文件
</div>
</el-upload>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
{
baseUrl
}
from
"../../utils/global"
;
import
Cookies
from
"js-cookie"
;
let
uploadedList
=
[];
export
default
{
name
:
"importByExcel"
,
data
()
{
return
{
baseInfoUrl
:
baseUrl
+
"/baseInfo/importFromNewExcel"
,
myHeader
:
{
token
:
Cookies
.
get
(
"token"
)
},
fileList
:
[]
};
},
methods
:
{
submitUpload1
()
{
this
.
$refs
.
upload1
.
submit
();
},
submitUpload2
()
{
this
.
$refs
.
upload2
.
submit
();
},
submitUpload3
()
{
this
.
$refs
.
upload3
.
submit
();
},
handleExceed
()
{
this
.
$message
.
warning
(
"当前限制选择 1 个文件,请删除后继续上传"
);
},
handleBeforeUpload
(
file
)
{
if
(
!
file
.
name
.
endsWith
(
".xls"
)
&&
!
file
.
name
.
endsWith
(
".xlsx"
))
{
this
.
$message
.
warning
(
file
.
name
+
"不是excel文件"
);
return
false
;
}
// if (uploadedList.includes(file.name)) {
// this.$message.warning(file.name + "已被选中过,请勿重复选择");
// return false;
// }
// 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
// })
}
}
}
</
script
>
<
style
scoped
>
</
style
>
xichongSys/src/views/Myvue/insuranceCancellationAudit.vue
0 → 100644
View file @
933edc6d
<
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>
</el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证反面
</p>
<el-image
:src=
"urls[3]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
</div>
</div>
<div
style=
"text-align:center;margin-bottom:40px"
v-show=
"show"
>
<el-button
type=
"success"
@
click=
"pass"
><i
class=
"el-icon-circle-check"
></i>
审核通过
</el-button>
<el-button
type=
"danger"
@
click=
"nopass"
><i
class=
"el-icon-circle-close"
></i>
审核不通过
</el-button>
</div>
</div>
</
template
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
(){
return
{
itmebs
:
""
,
show
:
''
,
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"
:
""
},
urls
:
[
],
show
:
""
}
},
methods
:{
//审核通过
pass
(){
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
remark
:
""
,
userId
:
1
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
){
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
this
.
$router
.
push
({
name
:
"信息审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
},
//审核不通过
nopass
(){
var
that
=
this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
){
Loading
.
service
();
var
data
=
{
recordId
:
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
:
'请输入原因'
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
});
});
},
decrypt
(
word
){
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
(){
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
=
"变更前身份证"
}
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
>
<
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
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
xichongSys/src/views/Myvue/receivePersonnel.vue
View file @
933edc6d
...
...
@@ -24,8 +24,7 @@
<el-table
:data=
"tableData"
style=
"width: 100%"
stripe
:row-class-name=
"tableRowClassName"
>
stripe
>
<el-table-column
prop=
"idcard"
label=
"身份证号"
...
...
xichongSys/src/views/Myvue/treatmentApplicationAudit.vue
0 → 100644
View file @
933edc6d
<
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>
</el-image>
</div>
<div
class=
"block"
>
<p
class=
"demonstration"
>
身份证反面
</p>
<el-image
:src=
"urls[3]"
>
<div
slot=
"placeholder"
class=
"image-slot"
>
加载中
<span
class=
"dot"
>
...
</span>
</div>
</el-image>
</div>
</div>
</div>
<div
style=
"text-align:center;margin-bottom:40px"
v-show=
"show"
>
<el-button
type=
"success"
@
click=
"pass"
><i
class=
"el-icon-circle-check"
></i>
审核通过
</el-button>
<el-button
type=
"danger"
@
click=
"nopass"
><i
class=
"el-icon-circle-close"
></i>
审核不通过
</el-button>
</div>
</div>
</
template
>
<
script
>
import
CryptoJS
from
'crypto-js'
import
{
Loading
}
from
'element-ui'
;
export
default
{
data
(){
return
{
itmebs
:
""
,
show
:
''
,
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"
:
""
},
urls
:
[
],
show
:
""
}
},
methods
:{
//审核通过
pass
(){
this
.
$confirm
(
'是否审核通过?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
Loading
.
service
();
var
data
=
{
recordId
:
sessionStorage
.
getItem
(
"recordId"
),
examineState
:
1
,
remark
:
""
,
userId
:
1
};
this
.
$api
.
getlist
.
shenhe
(
data
).
then
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
this
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
if
(
res
.
code
==
200
){
this
.
$message
({
type
:
'success'
,
message
:
res
.
data
});
this
.
$router
.
push
({
name
:
"信息审核"
})
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
res
.
message
});
}
}).
catch
((
res
)
=>
{
let
loadingInstance
=
Loading
.
service
();
that
.
$nextTick
(()
=>
{
// 以服务的方式调用的 Loading 需要异步关闭
loadingInstance
.
close
();
});
this
.
$message
({
type
:
'info'
,
message
:
'操作失败!'
+
res
});
});
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消操作'
});
});
},
//审核不通过
nopass
(){
var
that
=
this
this
.
$prompt
(
'请输入原因'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
){
Loading
.
service
();
var
data
=
{
recordId
:
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
:
'请输入原因'
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
});
});
},
decrypt
(
word
){
var
key
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweInfo23255625"
);
var
decrypt
=
CryptoJS
.
AES
.
decrypt
(
word
,
key
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
CryptoJS
.
enc
.
Utf8
.
stringify
(
decrypt
).
toString
();
},
decryptByDES
(
ciphertext
)
{
var
keyHex
=
CryptoJS
.
enc
.
Utf8
.
parse
(
"KkweFace95271124"
);
var
decrypted
=
CryptoJS
.
DES
.
decrypt
({
ciphertext
:
CryptoJS
.
enc
.
Base64
.
parse
(
ciphertext
)
},
keyHex
,
{
mode
:
CryptoJS
.
mode
.
ECB
,
padding
:
CryptoJS
.
pad
.
Pkcs7
});
return
decrypted
.
toString
(
CryptoJS
.
enc
.
Utf8
);
}
},
created
(){
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
=
"变更前身份证"
}
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
>
<
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
}
.imtil
{
padding
:
0
0
20px
0
}
</
style
>
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