Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
new-zhengjiang
zj-manage
Commits
68ffbe7e
Commit
68ffbe7e
authored
Sep 22, 2023
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
81dc0d2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
262 additions
and
120 deletions
+262
-120
.DS_Store
.DS_Store
+0
-0
talentwindow.vue
src/views/Policy/talentwindow.vue
+262
-120
No files found.
.DS_Store
View file @
68ffbe7e
No preview for this file type
src/views/Policy/talentwindow.vue
View file @
68ffbe7e
<
template
>
<
template
>
<div
class=
"policy"
>
<div
class=
"policy"
>
<div
class=
"search-wrapper"
>
<div
class=
"search-wrapper"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align: left"
>
<el-form
:inline=
"true"
:model=
"searchForm"
class=
"search_form"
style=
"text-align: left"
>
<el-form-item
label=
"姓名"
>
<el-form-item
label=
"姓名"
>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入姓名"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
<el-input
v-model=
"searchForm.name"
placeholder=
"请输入姓名"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"手机号码"
>
<el-form-item
label=
"手机号码"
>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入手机号码"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
<el-input
v-model=
"searchForm.phone"
placeholder=
"请输入手机号码"
@
keyup
.
enter
.
native=
"onSubmit"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
...
@@ -14,28 +27,58 @@
...
@@ -14,28 +27,58 @@
<br
/>
<br
/>
<el-form-item
label=
"状态"
style=
"margin-top: 10px"
>
<el-form-item
label=
"状态"
style=
"margin-top: 10px"
>
<el-radio-group
v-model=
"searchForm.state"
@
change=
"onSubmit"
>
<el-radio-group
v-model=
"searchForm.state"
@
change=
"onSubmit"
>
<el-radio
:label=
"item.state"
v-for=
"item in stateList"
:key=
"item.state"
>
{{
item
.
stateName
}}
</el-radio>
<el-radio
:label=
"item.state"
v-for=
"item in stateList"
:key=
"item.state"
>
{{
item
.
stateName
}}
</el-radio
>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
class=
"table-wrapper"
>
<div
class=
"table-wrapper"
>
<table-template
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
<table-template
@
Jump=
"jumpPage"
>
:tableData=
"tableData"
:tableColumns=
"tableColumns"
:loading=
"loading"
:pagination=
"pagination"
@
Jump=
"jumpPage"
>
<el-table-column
slot=
"housingType"
label=
"事项类型"
align=
"center"
>
<el-table-column
slot=
"housingType"
label=
"事项类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-tag>
{{
scope
.
row
.
housingType
==
2
?
'住房'
:
scope
.
row
.
housingType
==
3
?
'商办'
:
'-'
}}
</el-tag>
<el-tag>
{{
scope
.
row
.
housingType
==
2
?
"住房"
:
scope
.
row
.
housingType
==
3
?
"商办"
:
"-"
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"120"
key=
"stateName"
prop=
"stateName"
label=
"状态"
align=
"center"
>
<el-table-column
width=
"120"
key=
"stateName"
prop=
"stateName"
label=
"状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-tag
:type=
"scope.row.type"
>
{{
scope
.
row
.
stateName
}}
</el-tag>
<el-tag
:type=
"scope.row.type"
>
{{
scope
.
row
.
stateName
}}
</el-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"380"
align=
"left"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"380"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
>
查看
</el-button>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"view(scope.row)"
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"record(scope.row)"
>
记录
</el-button>
>
查看
</el-button
>
<el-button
type=
"primary"
size=
"mini"
round
@
click=
"record(scope.row)"
>
记录
</el-button
>
<!-- 待复审的单子有通过拒绝-->
<!-- 待复审的单子有通过拒绝-->
<!--
<template
v-if=
"scope.row.state === 1"
>
<!--
<template
v-if=
"scope.row.state === 1"
>
<el-button
<el-button
...
@@ -54,29 +97,40 @@
...
@@ -54,29 +97,40 @@
>
>
</
template
>
-->
</
template
>
-->
<
template
v-if=
"scope.row.state === 6"
>
<
template
v-if=
"scope.row.state === 6"
>
<el-button
type=
"success"
size=
"mini"
round
@
click=
"passData(scope.row)"
>
资料通过
</el-button>
</
template
>
<!-- <template v-if="scope.row.state === 2">
<el-button
<el-button
type=
"success"
type=
"success"
size=
"mini"
size=
"mini"
round
round
@
click=
"passData(scope.row)"
>
资料通过
</el-button
>
</
template
>
<
template
v-if=
"scope.row.state === 6"
>
<!--
<el-button
type=
"success"
size=
"mini"
round
@
click=
"passFinal(scope.row)"
@
click=
"passFinal(scope.row)"
>
终审通过
</el-button
>
终审通过
</el-button
>
>
-->
<el-button
<el-button
type=
"danger"
type=
"danger"
size=
"mini"
size=
"mini"
round
round
@
click=
"deny(scope.row)"
@
click=
"deny(scope.row)"
>
终审
拒绝</el-button
>
资料
拒绝
</el-button
>
>
</template>
-->
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
</table-template>
</table-template>
</div>
</div>
<el-dialog
title=
"申报详情"
:visible
.
sync=
"viewShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<el-dialog
title=
"申报详情"
:visible
.
sync=
"viewShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<div
class=
"content"
>
<div
class=
"content"
>
<!-- 新增start -->
<!-- 新增start -->
<el-table
:data=
"totalList"
style=
"width: 100%"
>
<el-table
:data=
"totalList"
style=
"width: 100%"
>
...
@@ -88,18 +142,41 @@
...
@@ -88,18 +142,41 @@
</el-table>
</el-table>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
是否享受过相关政策
</p>
<p
class=
"label"
>
是否享受过相关政策
</p>
<p
:class=
"['value', viewDetail.enjoyFlag == true ? 'value2' : 'value1']"
>
{{ viewDetail.enjoyFlag ? '否' : '是'
<p
}}
</p>
:class=
"[
'value',
viewDetail.enjoyFlag == true ? 'value2' : 'value1',
]"
>
{{ viewDetail.enjoyFlag ? "否" : "是" }}
</p>
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
市契税系统
</p>
<p
class=
"label"
>
市契税系统
</p>
<p
class=
"value"
>
{{ viewDetail.tradeStatus === 0 ? '未支付' : viewDetail.tradeStatus === 1 ? '已支付' :
<p
class=
"value"
>
viewDetail.tradeStatus === 2 ? '不予发放' : '未审核' }}
</p>
{{
viewDetail.tradeStatus === 0
? "未支付"
: viewDetail.tradeStatus === 1
? "已支付"
: viewDetail.tradeStatus === 2
? "不予发放"
: "未审核"
}}
</p>
</div>
</div>
<!-- 新增end -->
<!-- 新增end -->
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
事项类型
</p>
<p
class=
"label"
>
事项类型
</p>
<p
class=
"value"
>
{{ viewDetail.housingType == 2 ? '住房' : viewDetail.housingType == 3 ? '商办' : '-' }}
</p>
<p
class=
"value"
>
{{
viewDetail.housingType == 2
? "住房"
: viewDetail.housingType == 3
? "商办"
: "-"
}}
</p>
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
事项名称
</p>
<p
class=
"label"
>
事项名称
</p>
...
@@ -161,61 +238,100 @@
...
@@ -161,61 +238,100 @@
<p
class=
"label"
>
所属银行
</p>
<p
class=
"label"
>
所属银行
</p>
<p
class=
"value"
>
{{ viewDetail.bank }}
</p>
<p
class=
"value"
>
{{ viewDetail.bank }}
</p>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.bankPicture && viewDetail.bankPicture.length > 0"
>
<div
class=
"cell"
v-if=
"viewDetail.bankPicture && viewDetail.bankPicture.length > 0"
>
<p
class=
"label"
>
银行卡照片
</p>
<p
class=
"label"
>
银行卡照片
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
v-for=
"(item, index) in viewDetail.bankPicture"
:key=
"index"
<el-image
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
v-for=
"(item, index) in viewDetail.bankPicture"
:preview-src-list=
"[item.picture]"
>
:key=
"index"
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
:preview-src-list=
"[item.picture]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0"
>
<div
class=
"cell"
v-if=
"viewDetail.idCardPicture && viewDetail.idCardPicture.length > 0"
>
<p
class=
"label"
>
身份证照片
</p>
<p
class=
"label"
>
身份证照片
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
v-for=
"(item, index) in viewDetail.idCardPicture"
:key=
"index"
<el-image
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
v-for=
"(item, index) in viewDetail.idCardPicture"
:preview-src-list=
"[item.picture]"
>
:key=
"index"
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
:preview-src-list=
"[item.picture]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
商品房买卖合同3张
</p>
<p
class=
"label"
>
商品房买卖合同3张
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
v-for=
"(item, index) in viewDetail.contract"
:key=
"index"
<el-image
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
v-for=
"(item, index) in viewDetail.contract"
:preview-src-list=
"[item.picture]"
>
:key=
"index"
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
:preview-src-list=
"[item.picture]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
不动产权证书
</p>
<p
class=
"label"
>
不动产权证书
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
style=
"width: 100px; height: 100px"
:src=
"viewDetail.certificate"
:z-index=
"7777777"
<el-image
:preview-src-list=
"[viewDetail.certificate]"
>
style=
"width: 100px; height: 100px"
:src=
"viewDetail.certificate"
:z-index=
"7777777"
:preview-src-list=
"[viewDetail.certificate]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
<div
class=
"cell"
>
<div
class=
"cell"
>
<p
class=
"label"
>
契税完税凭证
</p>
<p
class=
"label"
>
契税完税凭证
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
style=
"width: 100px; height: 100px"
:src=
"viewDetail.voucher"
:z-index=
"7777777"
<el-image
:preview-src-list=
"[viewDetail.voucher]"
>
style=
"width: 100px; height: 100px"
:src=
"viewDetail.voucher"
:z-index=
"7777777"
:preview-src-list=
"[viewDetail.voucher]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
<div
class=
"cell"
v-if=
"viewDetail.labour.length > 0"
>
<div
class=
"cell"
v-if=
"viewDetail.labour.length > 0"
>
<p
class=
"label"
>
上传一年以上劳动合同的项目
</p>
<p
class=
"label"
>
上传一年以上劳动合同的项目
</p>
<p
class=
"value"
>
<p
class=
"value"
>
<el-image
v-for=
"(item, index) in viewDetail.labour"
:key=
"index"
<el-image
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
v-for=
"(item, index) in viewDetail.labour"
:preview-src-list=
"[item.picture]"
>
:key=
"index"
style=
"width: 100px; height: 100px; margin-right: 10px"
:src=
"item.picture"
:z-index=
"7777777"
:preview-src-list=
"[item.picture]"
>
</el-image>
</el-image>
</p>
</p>
</div>
</div>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<el-dialog
title=
"操作记录"
:visible
.
sync=
"recordShow"
width=
"800px"
:close-on-press-escape=
"false"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"cell"
v-for=
"item in recordList"
:key=
"item.createTime"
>
<div
class=
"cell"
v-for=
"item in recordList"
:key=
"item.createTime"
>
<p
class=
"label"
style=
"margin-right: 20px"
>
<p
class=
"label"
style=
"margin-right: 20px"
>
...
@@ -255,105 +371,105 @@ export default {
...
@@ -255,105 +371,105 @@ export default {
name
:
""
,
name
:
""
,
phone
:
""
,
phone
:
""
,
state
:
""
,
state
:
""
,
departmentCode
:
""
departmentCode
:
""
,
},
},
stateList
:
[
stateList
:
[
{
{
state
:
""
,
state
:
""
,
stateName
:
"全部"
,
stateName
:
"全部"
,
type
:
""
type
:
""
,
},
},
{
{
state
:
0
,
state
:
0
,
stateName
:
"待审核"
,
stateName
:
"待审核"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
1
,
state
:
1
,
stateName
:
"待复审"
,
stateName
:
"待复审"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
6
,
state
:
6
,
stateName
:
"资料审核"
,
stateName
:
"资料审核"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
2
,
state
:
2
,
stateName
:
"待终审"
,
stateName
:
"待终审"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
3
,
state
:
3
,
stateName
:
"已完结"
,
stateName
:
"已完结"
,
type
:
"success"
type
:
"success"
,
},
},
{
{
state
:
4
,
state
:
4
,
stateName
:
"已驳回"
,
stateName
:
"已驳回"
,
type
:
"danger"
type
:
"danger"
,
},
},
{
{
state
:
5
,
state
:
5
,
stateName
:
"已撤销"
,
stateName
:
"已撤销"
,
type
:
"info"
type
:
"info"
,
},
},
{
{
state
:
7
,
state
:
7
,
stateName
:
"发放补贴"
,
stateName
:
"发放补贴"
,
type
:
"success"
type
:
"success"
,
}
}
,
],
],
stateList1
:
[
stateList1
:
[
{
{
state
:
0
,
state
:
0
,
stateName
:
"待审核"
,
stateName
:
"待审核"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
1
,
state
:
1
,
stateName
:
"待复审"
,
stateName
:
"待复审"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
6
,
state
:
6
,
stateName
:
"资料审核"
,
stateName
:
"资料审核"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
2
,
state
:
2
,
stateName
:
"待终审"
,
stateName
:
"待终审"
,
type
:
"warning"
type
:
"warning"
,
},
},
{
{
state
:
3
,
state
:
3
,
stateName
:
"已完结"
,
stateName
:
"已完结"
,
type
:
"success"
type
:
"success"
,
},
},
{
{
state
:
4
,
state
:
4
,
stateName
:
"已驳回"
,
stateName
:
"已驳回"
,
type
:
"danger"
type
:
"danger"
,
},
},
{
{
state
:
5
,
state
:
5
,
stateName
:
"已撤销"
,
stateName
:
"已撤销"
,
type
:
"info"
type
:
"info"
,
},
},
{
{
state
:
7
,
state
:
7
,
stateName
:
"发放补贴"
,
stateName
:
"发放补贴"
,
type
:
"success"
type
:
"success"
,
},
},
{
{
state
:
8
,
state
:
8
,
stateName
:
"初审通过"
,
stateName
:
"初审通过"
,
type
:
"success"
type
:
"success"
,
},
},
{
{
state
:
9
,
state
:
9
,
stateName
:
"已驳回"
,
stateName
:
"已驳回"
,
type
:
"danger"
type
:
"danger"
,
},
},
],
],
loading
:
false
,
loading
:
false
,
...
@@ -362,45 +478,45 @@ export default {
...
@@ -362,45 +478,45 @@ export default {
{
{
key
:
"code"
,
key
:
"code"
,
label
:
"申请编号"
,
label
:
"申请编号"
,
width
:
200
width
:
200
,
},
},
{
{
key
:
"name"
,
key
:
"name"
,
label
:
"姓名"
label
:
"姓名"
,
},
},
{
{
key
:
"phone"
,
key
:
"phone"
,
label
:
"手机号"
,
label
:
"手机号"
,
width
:
150
width
:
150
,
},
},
{
{
key
:
"housingType"
,
key
:
"housingType"
,
label
:
"事项类型"
,
label
:
"事项类型"
,
type
:
"slot"
type
:
"slot"
,
},
},
{
{
key
:
"guideName"
,
key
:
"guideName"
,
label
:
"事项名称"
,
label
:
"事项名称"
,
width
:
200
width
:
200
,
},
},
{
{
key
:
"departmentName"
,
key
:
"departmentName"
,
label
:
"实施主体"
label
:
"实施主体"
,
},
},
{
{
key
:
"createTime"
,
key
:
"createTime"
,
label
:
"更新时间"
,
label
:
"更新时间"
,
width
:
180
width
:
180
,
}
}
,
],
],
pagination
:
{
pagination
:
{
total
:
0
,
total
:
0
,
pageSize
:
10
,
pageSize
:
10
,
currentPage
:
1
currentPage
:
1
,
},
},
viewShow
:
false
,
viewShow
:
false
,
viewDetail
:
{
viewDetail
:
{
labour
:
[]
labour
:
[]
,
},
},
recordShow
:
false
,
recordShow
:
false
,
recordList
:
[],
recordList
:
[],
...
@@ -409,7 +525,7 @@ export default {
...
@@ -409,7 +525,7 @@ export default {
housingList
:
[],
housingList
:
[],
category
:
""
,
category
:
""
,
contentName
:
""
,
contentName
:
""
,
unitName
:
""
unitName
:
""
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -421,23 +537,23 @@ export default {
...
@@ -421,23 +537,23 @@ export default {
state
:
this
.
searchForm
.
state
,
state
:
this
.
searchForm
.
state
,
departmentCode
:
this
.
searchForm
.
departmentCode
,
departmentCode
:
this
.
searchForm
.
departmentCode
,
pageNum
:
this
.
pagination
.
currentPage
,
pageNum
:
this
.
pagination
.
currentPage
,
pageSize
:
this
.
pagination
.
pageSize
pageSize
:
this
.
pagination
.
pageSize
,
};
};
mattersHousingList
(
parmas
).
then
(
res
=>
{
mattersHousingList
(
parmas
).
then
(
(
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
pagination
.
total
=
res
.
data
.
total
;
this
.
pagination
.
total
=
res
.
data
.
total
;
if
(
res
.
data
.
total
)
{
if
(
res
.
data
.
total
)
{
this
.
tableData
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
tableData
=
res
.
data
.
list
.
map
(
(
item
)
=>
{
item
.
stateName
=
this
.
getSatusArr
(
item
.
state
).
stateName
;
item
.
stateName
=
this
.
getSatusArr
(
item
.
state
).
stateName
;
item
.
type
=
this
.
getSatusArr
(
item
.
state
).
type
;
item
.
type
=
this
.
getSatusArr
(
item
.
state
).
type
;
return
item
;
return
item
;
});
});
if
(
localStorage
.
getItem
(
'userName'
)
==
'admin'
)
{
if
(
localStorage
.
getItem
(
"userName"
)
==
"admin"
)
{
this
.
tableData
=
changeList
(
this
.
tableData
)
this
.
tableData
=
changeList
(
this
.
tableData
)
;
}
}
}
else
{
}
else
{
this
.
tableData
=
[]
this
.
tableData
=
[]
;
}
}
}
}
});
});
...
@@ -452,38 +568,38 @@ export default {
...
@@ -452,38 +568,38 @@ export default {
view
(
row
)
{
view
(
row
)
{
let
params
=
{
let
params
=
{
code
:
row
.
code
,
code
:
row
.
code
,
matterType
:
row
.
matterType
matterType
:
row
.
matterType
,
};
};
let
params2
=
{
let
params2
=
{
appId
:
"1234"
,
appId
:
"1234"
,
code
:
row
.
code
,
code
:
row
.
code
,
name
:
this
.
userName
name
:
this
.
userName
,
};
};
// 查询四个部门的记录 mattersHousingReason
// 查询四个部门的记录 mattersHousingReason
mattersHousingReason
(
params2
).
then
(
res
=>
{
mattersHousingReason
(
params2
).
then
(
(
res
)
=>
{
// console.log("操作记录res--", res);
// console.log("操作记录res--", res);
this
.
examineList
=
res
.
data
;
this
.
examineList
=
res
.
data
;
this
.
examineList
.
forEach
(
item
=>
{
this
.
examineList
.
forEach
(
(
item
)
=>
{
item
.
state
==
8
?
(
item
.
state
=
"通过"
)
:
(
item
.
state
=
"拒绝"
);
item
.
state
==
8
?
(
item
.
state
=
"通过"
)
:
(
item
.
state
=
"拒绝"
);
});
});
this
.
totalList
=
this
.
examineList
.
concat
(
this
.
housingList
);
this
.
totalList
=
this
.
examineList
.
concat
(
this
.
housingList
);
});
});
// // 查询最后审批的记录
// // 查询最后审批的记录
mattersGetReason
(
params2
).
then
(
res
=>
{
mattersGetReason
(
params2
).
then
(
(
res
)
=>
{
this
.
housingList
=
res
.
data
;
this
.
housingList
=
res
.
data
;
this
.
housingList
.
forEach
(
item
=>
{
this
.
housingList
.
forEach
(
(
item
)
=>
{
item
.
state
==
1
||
item
.
state
==
1
||
item
.
state
==
2
||
item
.
state
==
2
||
item
.
state
==
3
||
item
.
state
==
3
||
item
.
state
==
6
||
item
.
state
==
6
||
item
.
state
==
7
item
.
state
==
7
?
(
item
.
state
=
"通过"
)
?
(
item
.
state
=
"通过"
)
:
(
item
.
state
=
"拒绝"
);
:
(
item
.
state
=
"拒绝"
);
});
});
this
.
totalList
=
this
.
examineList
.
concat
(
this
.
housingList
);
this
.
totalList
=
this
.
examineList
.
concat
(
this
.
housingList
);
});
});
mattersHousingGet
(
params
).
then
(
res
=>
{
mattersHousingGet
(
params
).
then
(
(
res
)
=>
{
// console.log("人才码res---", res.data);
// console.log("人才码res---", res.data);
// get({ talentCode: res.data.talentCode }).then(res => {
// get({ talentCode: res.data.talentCode }).then(res => {
this
.
category
=
res
.
data
.
categoryName
;
this
.
category
=
res
.
data
.
categoryName
;
...
@@ -492,22 +608,18 @@ export default {
...
@@ -492,22 +608,18 @@ export default {
// });
// });
// console.log(res);
// console.log(res);
this
.
viewDetail
=
res
.
data
;
this
.
viewDetail
=
res
.
data
;
if
(
localStorage
.
getItem
(
'userName'
)
==
'admin'
)
{
if
(
localStorage
.
getItem
(
"userName"
)
==
"admin"
)
{
this
.
viewDetail
.
name
=
setName
(
this
.
viewDetail
.
name
)
this
.
viewDetail
.
name
=
setName
(
this
.
viewDetail
.
name
)
;
this
.
viewDetail
.
phone
=
setTel
(
this
.
viewDetail
.
phone
)
this
.
viewDetail
.
phone
=
setTel
(
this
.
viewDetail
.
phone
)
;
this
.
viewDetail
.
idCard
=
setCertNo
(
this
.
viewDetail
.
idCard
)
this
.
viewDetail
.
idCard
=
setCertNo
(
this
.
viewDetail
.
idCard
)
;
}
}
this
.
viewDetail
.
idCardPicture
=
res
.
data
.
pictureList
.
filter
(
item
=>
{
this
.
viewDetail
.
idCardPicture
=
res
.
data
.
pictureList
.
filter
((
item
)
=>
{
return
(
return
item
.
pictureType
===
1
;
item
.
pictureType
===
1
)
});
});
this
.
viewDetail
.
bankPicture
=
res
.
data
.
pictureList
.
filter
((
item
)
=>
{
this
.
viewDetail
.
bankPicture
=
res
.
data
.
pictureList
.
filter
((
item
)
=>
{
return
(
return
item
.
pictureType
===
8
;
item
.
pictureType
===
8
);
});
});
this
.
viewDetail
.
contract
=
res
.
data
.
pictureList
.
filter
(
item
=>
{
this
.
viewDetail
.
contract
=
res
.
data
.
pictureList
.
filter
(
(
item
)
=>
{
return
(
return
(
item
.
pictureType
!==
1
&&
item
.
pictureType
!==
1
&&
item
.
pictureType
!==
5
&&
item
.
pictureType
!==
5
&&
...
@@ -516,14 +628,14 @@ export default {
...
@@ -516,14 +628,14 @@ export default {
item
.
pictureType
!==
8
item
.
pictureType
!==
8
);
);
});
});
this
.
viewDetail
.
certificate
=
res
.
data
.
pictureList
.
find
(
item
=>
{
this
.
viewDetail
.
certificate
=
res
.
data
.
pictureList
.
find
(
(
item
)
=>
{
return
item
.
pictureType
===
5
;
return
item
.
pictureType
===
5
;
}).
picture
;
}).
picture
;
this
.
viewDetail
.
voucher
=
res
.
data
.
pictureList
.
find
(
item
=>
{
this
.
viewDetail
.
voucher
=
res
.
data
.
pictureList
.
find
(
(
item
)
=>
{
return
item
.
pictureType
===
6
;
return
item
.
pictureType
===
6
;
}).
picture
;
}).
picture
;
this
.
viewDetail
.
labour
=
[];
this
.
viewDetail
.
labour
=
[];
res
.
data
.
pictureList
.
map
(
item
=>
{
res
.
data
.
pictureList
.
map
(
(
item
)
=>
{
if
(
item
.
pictureType
==
7
)
{
if
(
item
.
pictureType
==
7
)
{
return
this
.
viewDetail
.
labour
.
push
(
item
);
return
this
.
viewDetail
.
labour
.
push
(
item
);
}
}
...
@@ -532,13 +644,13 @@ export default {
...
@@ -532,13 +644,13 @@ export default {
});
});
},
},
record
(
row
)
{
record
(
row
)
{
mattersGetReason
({
code
:
row
.
code
}).
then
(
res
=>
{
mattersGetReason
({
code
:
row
.
code
}).
then
(
(
res
)
=>
{
// console.log("住建局res---", res);
// console.log("住建局res---", res);
let
getReason
=
res
.
data
;
let
getReason
=
res
.
data
;
mattersHousingReason
({
code
:
row
.
code
}).
then
(
res
=>
{
mattersHousingReason
({
code
:
row
.
code
}).
then
(
(
res
)
=>
{
let
housingReason
=
res
.
data
;
let
housingReason
=
res
.
data
;
let
reason
=
housingReason
.
concat
(
getReason
);
let
reason
=
housingReason
.
concat
(
getReason
);
this
.
recordList
=
reason
.
map
(
item
=>
{
this
.
recordList
=
reason
.
map
(
(
item
)
=>
{
item
.
stateName
=
this
.
getSatusArr1
(
item
.
state
)
item
.
stateName
=
this
.
getSatusArr1
(
item
.
state
)
?
this
.
getSatusArr1
(
item
.
state
).
stateName
?
this
.
getSatusArr1
(
item
.
state
).
stateName
:
"未知状态"
;
:
"未知状态"
;
...
@@ -550,6 +662,7 @@ export default {
...
@@ -550,6 +662,7 @@ export default {
this
.
recordShow
=
true
;
this
.
recordShow
=
true
;
});
});
},
},
pass
(
row
)
{
pass
(
row
)
{
// console.log(row);
// console.log(row);
this
.
$prompt
(
`确定通过该申请的复审吗?`
,
"提示"
,
{
this
.
$prompt
(
`确定通过该申请的复审吗?`
,
"提示"
,
{
...
@@ -557,7 +670,7 @@ export default {
...
@@ -557,7 +670,7 @@ export default {
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
inputPlaceholder
:
"请输入原因"
,
inputPlaceholder
:
"请输入原因"
,
inputType
:
"textarea"
,
inputType
:
"textarea"
,
type
:
"warning"
type
:
"warning"
,
})
})
.
then
(({
value
})
=>
{
.
then
(({
value
})
=>
{
if
(
!
value
)
{
if
(
!
value
)
{
...
@@ -569,9 +682,9 @@ export default {
...
@@ -569,9 +682,9 @@ export default {
name
:
this
.
userName
,
name
:
this
.
userName
,
state
:
2
,
state
:
2
,
reason
:
value
,
reason
:
value
,
reviewerId
:
row
.
reviewerId
reviewerId
:
row
.
reviewerId
,
};
};
mattersHousingUpdate
(
params
).
then
(
res
=>
{
mattersHousingUpdate
(
params
).
then
(
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
`复审通过`
);
this
.
$message
.
success
(
`复审通过`
);
this
.
init
();
this
.
init
();
...
@@ -582,13 +695,42 @@ export default {
...
@@ -582,13 +695,42 @@ export default {
// console.log("取消审核");
// console.log("取消审核");
});
});
},
},
deny
(
row
)
{
this
.
$prompt
(
`确定拒绝该申请的资料审核吗?`
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputPlaceholder
:
"请输入原因"
,
inputType
:
"textarea"
,
})
.
then
(({
value
})
=>
{
if
(
!
value
)
{
this
.
$message
.
error
(
"未输入原因"
);
return
;
}
let
params
=
{
code
:
row
.
code
,
name
:
this
.
userName
,
state
:
4
,
reviewerId
:
row
.
reviewerId
,
reason
:
value
,
};
mattersHousingUpdate
(
params
).
then
(()
=>
{
this
.
$message
.
success
(
`资料拒绝成功`
);
this
.
init
();
});
})
.
catch
(()
=>
{
// console.log("取消审核");
});
},
passData
(
row
)
{
passData
(
row
)
{
this
.
$prompt
(
`确定通过该申请的资料审核吗?`
,
"提示"
,
{
this
.
$prompt
(
`确定通过该申请的资料审核吗?`
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
inputPlaceholder
:
"请输入原因"
,
inputPlaceholder
:
"请输入原因"
,
inputType
:
"textarea"
,
inputType
:
"textarea"
,
type
:
"warning"
type
:
"warning"
,
})
})
.
then
(({
value
})
=>
{
.
then
(({
value
})
=>
{
if
(
!
value
)
{
if
(
!
value
)
{
...
@@ -600,9 +742,9 @@ export default {
...
@@ -600,9 +742,9 @@ export default {
name
:
this
.
userName
,
name
:
this
.
userName
,
state
:
2
,
state
:
2
,
reviewerId
:
row
.
reviewerId
,
reviewerId
:
row
.
reviewerId
,
reason
:
value
reason
:
value
,
};
};
mattersHousingUpdate
(
params
).
then
(
res
=>
{
mattersHousingUpdate
(
params
).
then
(
(
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$message
.
success
(
`资料审核通过`
);
this
.
$message
.
success
(
`资料审核通过`
);
this
.
init
();
this
.
init
();
...
@@ -613,7 +755,7 @@ export default {
...
@@ -613,7 +755,7 @@ export default {
// }
// }
// })
// })
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
msg
||
'资料审核失败'
);
this
.
$message
.
error
(
res
.
msg
||
"资料审核失败"
);
}
}
});
});
})
})
...
@@ -622,21 +764,21 @@ export default {
...
@@ -622,21 +764,21 @@ export default {
});
});
},
},
getSatusArr
(
state
)
{
getSatusArr
(
state
)
{
return
this
.
stateList
.
filter
(
item
=>
{
return
this
.
stateList
.
filter
(
(
item
)
=>
{
return
item
.
state
===
state
;
return
item
.
state
===
state
;
})[
0
];
})[
0
];
},
},
getSatusArr1
(
state
)
{
getSatusArr1
(
state
)
{
return
this
.
stateList1
.
filter
(
item
=>
{
return
this
.
stateList1
.
filter
(
(
item
)
=>
{
return
item
.
state
===
state
;
return
item
.
state
===
state
;
})[
0
];
})[
0
];
}
}
,
},
},
created
()
{
created
()
{
this
.
userName
=
localStorage
.
getItem
(
'userName'
);
this
.
userName
=
localStorage
.
getItem
(
"userName"
);
this
.
searchForm
.
departmentCode
=
this
.
$route
.
query
.
departmentCode
;
this
.
searchForm
.
departmentCode
=
this
.
$route
.
query
.
departmentCode
;
this
.
init
();
this
.
init
();
}
}
,
};
};
</
script
>
</
script
>
...
...
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