我的待办页面添加强制注销tab页
- 新增强制注销tab页,支持按子业务类型筛选(强制注销/拟强制注销公告/终止拟强制注销公告/恢复登记申请/营业执照作废公告) - 搜索时bustype固定为50,下拉选择映射到subBusType字段 - 业务状态选项适配强制注销(待受理/待审核/待审批/已通过/未通过/已作废/转办) - 业务类型名称回显支持子类型显示 - 办理按钮根据subBusType跳转到对应的强制注销办理页面 - 修复sessionStorage恢复时bustype=50导致下拉框异常的问题
This commit is contained in:
parent
ebd89a6e06
commit
26383987bc
|
|
@ -119,6 +119,18 @@ export default {
|
||||||
return '除名复议'
|
return '除名复议'
|
||||||
case '1006':
|
case '1006':
|
||||||
return '除名撤销'
|
return '除名撤销'
|
||||||
|
case '50-0':
|
||||||
|
return '强制注销'
|
||||||
|
case '50-1':
|
||||||
|
return '拟强制注销公告'
|
||||||
|
case '50-2':
|
||||||
|
return '终止拟强制注销公告'
|
||||||
|
case '50-4':
|
||||||
|
return '恢复登记申请'
|
||||||
|
case '50-5':
|
||||||
|
return '营业执照作废公告'
|
||||||
|
case '50':
|
||||||
|
return '强制注销'
|
||||||
default:
|
default:
|
||||||
return '未知业务类型'
|
return '未知业务类型'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2272,6 +2272,188 @@
|
||||||
:total="pageParam.total"
|
:total="pageParam.total"
|
||||||
:current-page.sync="pageParam.curPage"
|
:current-page.sync="pageParam.curPage"
|
||||||
|
|
||||||
|
:page-sizes="[10, 20, 30, 40,50,100,200]"
|
||||||
|
layout="slot,total, sizes, prev, pager, next, jumper"
|
||||||
|
@size-change="pageSizeChange"
|
||||||
|
@current-change="pageIndexChange"
|
||||||
|
>
|
||||||
|
<span>
|
||||||
|
第 {{ pageParam.curPage }} 页 /
|
||||||
|
共 {{
|
||||||
|
(pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.pageSize - 1) / pageParam.pageSize) : 1)
|
||||||
|
}} 页
|
||||||
|
</span>
|
||||||
|
</el-pagination>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="强制注销" name="forcederegister">
|
||||||
|
<span slot="label">强制注销<el-badge class="mark" :value="forcederegisternum" :hidden="forcederegisternum>0?false:true" /></span>
|
||||||
|
|
||||||
|
<div class="main-content">
|
||||||
|
<!--头部-查询-->
|
||||||
|
<div class="content-header">
|
||||||
|
<div class="body search-body">
|
||||||
|
<el-row style="margin-bottom:10px">
|
||||||
|
<el-col :span="10">
|
||||||
|
<el-row>
|
||||||
|
<label class="label-name_1u">受理编号:</label>
|
||||||
|
<div class="search-input-box_1u">
|
||||||
|
<el-input
|
||||||
|
v-model="searchForm.acceptno"
|
||||||
|
clearable
|
||||||
|
type="text"
|
||||||
|
class="search-input"
|
||||||
|
placeholder="请输入受理编号"
|
||||||
|
@keyup.enter.native="search"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-row>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="14">
|
||||||
|
<el-row>
|
||||||
|
<label class="label-name_2u">名称(模糊):</label>
|
||||||
|
<div class="search-input-box_2u">
|
||||||
|
<el-input
|
||||||
|
v-model="searchForm.searchName"
|
||||||
|
clearable
|
||||||
|
type="text"
|
||||||
|
class="search-input"
|
||||||
|
placeholder="请输入名称(模糊)"
|
||||||
|
@keyup.enter.native="search"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-row>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row style="margin-bottom:10px">
|
||||||
|
<el-col :span="10">
|
||||||
|
<label class="label-name_3u">业务类型:</label>
|
||||||
|
<el-select
|
||||||
|
v-model="searchForm.bustype"
|
||||||
|
clearable
|
||||||
|
class="custom"
|
||||||
|
placeholder="请选择"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in bustypeOptions"
|
||||||
|
:key="item.label"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="11">
|
||||||
|
<label class="label-name_u">业务状态:</label>
|
||||||
|
<el-select
|
||||||
|
v-model="searchForm.busstatus"
|
||||||
|
clearable
|
||||||
|
size="mini"
|
||||||
|
class="custom"
|
||||||
|
placeholder="请选择"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in sbusstatusOptions"
|
||||||
|
:key="item.label"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row />
|
||||||
|
<el-col :span="24" :offset="1" style="margin-bottom: 10px;margin-top: 10px;">
|
||||||
|
<div class="btn-box" style="font-size: 14px">
|
||||||
|
<el-button type="primary" size="mini" @click="search">查询</el-button>
|
||||||
|
<el-button size="mini" @click="resetSearchForm()">重置</el-button>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="content-body">
|
||||||
|
<div class="body">
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
v-loading="loading"
|
||||||
|
:data="tableData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
:fit="true"
|
||||||
|
:row-class-name="tableRowClassName"
|
||||||
|
:default-sort="{prop: 'sendertime', order: 'descending'}"
|
||||||
|
:header-cell-style="{background:'#8cc3fb',color:'#fff'}"
|
||||||
|
@sort-change="tableSortChange"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
>
|
||||||
|
<el-table-column type="selection" min-width="30" align="center" />
|
||||||
|
<el-table-column prop="index" label="序号" min-width="30" align="center" />
|
||||||
|
<el-table-column prop="acceptno" sortable="custom" label="受理编号" min-width="90" align="left" />
|
||||||
|
<el-table-column
|
||||||
|
prop="busname"
|
||||||
|
sortable="custom"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
|
label="业务名称"
|
||||||
|
min-width="120"
|
||||||
|
align="left"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="bustypename"
|
||||||
|
sortable="custom"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
|
label="业务类型"
|
||||||
|
min-width="80"
|
||||||
|
align="left"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="busStatusName"
|
||||||
|
sortable="custom"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
|
label="业务状态"
|
||||||
|
min-width="80"
|
||||||
|
align="left"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
sortable="custom"
|
||||||
|
label="创建日期"
|
||||||
|
min-width="60"
|
||||||
|
align="left"
|
||||||
|
:formatter="dateFormat"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="sendertime"
|
||||||
|
sortable="custom"
|
||||||
|
label="接收时间"
|
||||||
|
min-width="100"
|
||||||
|
align="left"
|
||||||
|
:formatter="dateFormat1"
|
||||||
|
/>
|
||||||
|
<el-table-column prop="sendername" sortable="custom" label="发送人" min-width="50" align="left" />
|
||||||
|
<el-table-column label="操作" min-width="100" align="left">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div>
|
||||||
|
<el-button type="primary" size="mini" @click="gotoHandle(scope.row)">办理</el-button>
|
||||||
|
<el-button
|
||||||
|
v-if="tableData[scope.$index].isPassDissentApply"
|
||||||
|
type="primary"
|
||||||
|
size="mini"
|
||||||
|
@click="gotoPrintNotice(scope.row)"
|
||||||
|
>打印通知书
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="page-box">
|
||||||
|
<el-pagination
|
||||||
|
:disabled="loading"
|
||||||
|
:page-size="pageParam.pageSize"
|
||||||
|
:total="pageParam.total"
|
||||||
|
:current-page.sync="pageParam.curPage"
|
||||||
|
|
||||||
:page-sizes="[10, 20, 30, 40,50,100,200]"
|
:page-sizes="[10, 20, 30, 40,50,100,200]"
|
||||||
layout="slot,total, sizes, prev, pager, next, jumper"
|
layout="slot,total, sizes, prev, pager, next, jumper"
|
||||||
@size-change="pageSizeChange"
|
@size-change="pageSizeChange"
|
||||||
|
|
@ -2936,6 +3118,7 @@ export default {
|
||||||
risknum: 0,
|
risknum: 0,
|
||||||
gzisnum: 0,
|
gzisnum: 0,
|
||||||
correctnum: 0,
|
correctnum: 0,
|
||||||
|
forcederegisternum: 0,
|
||||||
statparam: {
|
statparam: {
|
||||||
customParamMap: {
|
customParamMap: {
|
||||||
userId: '',
|
userId: '',
|
||||||
|
|
@ -2981,6 +3164,10 @@ export default {
|
||||||
if (pageParam) {
|
if (pageParam) {
|
||||||
this.pageParam = JSON.parse(pageParam)
|
this.pageParam = JSON.parse(pageParam)
|
||||||
this.searchForm = JSON.parse(pageParam).customParamMap
|
this.searchForm = JSON.parse(pageParam).customParamMap
|
||||||
|
// 强制注销tab恢复时,将subBusType还原到bustype下拉框
|
||||||
|
if (this.activeName === 'forcederegister' && this.searchForm.bustype === '50') {
|
||||||
|
this.searchForm.bustype = this.searchForm.subBusType || ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.loadStatistic()
|
this.loadStatistic()
|
||||||
this.search()
|
this.search()
|
||||||
|
|
@ -3143,6 +3330,23 @@ export default {
|
||||||
value: '41',
|
value: '41',
|
||||||
label: '列严勘误'
|
label: '列严勘误'
|
||||||
}]
|
}]
|
||||||
|
} else if (this.activeName === 'forcederegister') { // 强制注销
|
||||||
|
list = [{
|
||||||
|
value: '0',
|
||||||
|
label: '强制注销'
|
||||||
|
}, {
|
||||||
|
value: '1',
|
||||||
|
label: '拟强制注销公告'
|
||||||
|
}, {
|
||||||
|
value: '2',
|
||||||
|
label: '终止拟强制注销公告'
|
||||||
|
}, {
|
||||||
|
value: '4',
|
||||||
|
label: '恢复登记申请'
|
||||||
|
}, {
|
||||||
|
value: '5',
|
||||||
|
label: '营业执照作废公告'
|
||||||
|
}]
|
||||||
} else if (this.activeName === 'all') {
|
} else if (this.activeName === 'all') {
|
||||||
list = [
|
list = [
|
||||||
{
|
{
|
||||||
|
|
@ -3217,9 +3421,39 @@ export default {
|
||||||
}, {
|
}, {
|
||||||
value: '1006',
|
value: '1006',
|
||||||
label: '撤销除名'
|
label: '撤销除名'
|
||||||
|
}, {
|
||||||
|
value: '50',
|
||||||
|
label: '强制注销'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
this.bustypeOptions = list
|
this.bustypeOptions = list
|
||||||
|
// 强制注销tab使用独立的业务状态选项
|
||||||
|
if (this.activeName === 'forcederegister') {
|
||||||
|
this.sbusstatusOptions = [{
|
||||||
|
value: '0',
|
||||||
|
label: '待受理'
|
||||||
|
}, {
|
||||||
|
value: '1',
|
||||||
|
label: '待审核'
|
||||||
|
}, {
|
||||||
|
value: '2',
|
||||||
|
label: '待审批'
|
||||||
|
}, {
|
||||||
|
value: '3',
|
||||||
|
label: '已通过'
|
||||||
|
}, {
|
||||||
|
value: '4',
|
||||||
|
label: '未通过'
|
||||||
|
}, {
|
||||||
|
value: '5',
|
||||||
|
label: '已作废'
|
||||||
|
}, {
|
||||||
|
value: '6',
|
||||||
|
label: '转办'
|
||||||
|
}]
|
||||||
|
} else {
|
||||||
|
this.sbusstatusOptions = this.$options.data().sbusstatusOptions
|
||||||
|
}
|
||||||
this.search()
|
this.search()
|
||||||
},
|
},
|
||||||
cellStyle(row, column, rowIndex, columnIndex) {
|
cellStyle(row, column, rowIndex, columnIndex) {
|
||||||
|
|
@ -3322,6 +3556,11 @@ export default {
|
||||||
this.searchForm.userId = this.user.primaryKey
|
this.searchForm.userId = this.user.primaryKey
|
||||||
this.pageParam.customParamMap = this.searchForm
|
this.pageParam.customParamMap = this.searchForm
|
||||||
this.$set(this.pageParam.customParamMap, 'type', this.activeName)
|
this.$set(this.pageParam.customParamMap, 'type', this.activeName)
|
||||||
|
// 强制注销tab: bustype固定为50,下拉选择映射到subBusType
|
||||||
|
if (this.activeName === 'forcederegister') {
|
||||||
|
this.pageParam.customParamMap = { ...this.searchForm, subBusType: this.searchForm.bustype || '', bustype: '50' }
|
||||||
|
this.$set(this.pageParam.customParamMap, 'type', this.activeName)
|
||||||
|
}
|
||||||
if (!sessionStorage.getItem('pageParam')) {
|
if (!sessionStorage.getItem('pageParam')) {
|
||||||
this.$set(this.pageParam.customParamMap, 'orderName', 'ISBACK')
|
this.$set(this.pageParam.customParamMap, 'orderName', 'ISBACK')
|
||||||
this.$set(this.pageParam.customParamMap, 'orderType', 'DESC')
|
this.$set(this.pageParam.customParamMap, 'orderType', 'DESC')
|
||||||
|
|
@ -3369,6 +3608,7 @@ export default {
|
||||||
this.risknum = res.data.risknum
|
this.risknum = res.data.risknum
|
||||||
this.gzisnum = res.data.gzisnum
|
this.gzisnum = res.data.gzisnum
|
||||||
this.correctnum = res.data.correctnum
|
this.correctnum = res.data.correctnum
|
||||||
|
this.forcederegisternum = res.data.forcederegisternum
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 加载分页汇总
|
// 加载分页汇总
|
||||||
|
|
@ -3388,7 +3628,9 @@ export default {
|
||||||
const pageStart = (this.pageParam.curPage - 1) * this.pageParam.pageSize
|
const pageStart = (this.pageParam.curPage - 1) * this.pageParam.pageSize
|
||||||
res.data.records.forEach(each => {
|
res.data.records.forEach(each => {
|
||||||
each.index = pageStart + i++
|
each.index = pageStart + i++
|
||||||
each.bustypename = this.$util.getTaskBusinessTypeName(each.bustype)
|
each.bustypename = each.bustype === '50' && each.subBusType != null
|
||||||
|
? this.$util.getTaskBusinessTypeName(each.bustype + '-' + each.subBusType)
|
||||||
|
: this.$util.getTaskBusinessTypeName(each.bustype)
|
||||||
each.busStatusName = this.$util.getTaskNodeName(each.currentNodeOrBizStatus)
|
each.busStatusName = this.$util.getTaskNodeName(each.currentNodeOrBizStatus)
|
||||||
// 异议类型判断是否打印受理/不受理通知书
|
// 异议类型判断是否打印受理/不受理通知书
|
||||||
each.isPassDissentApply = false
|
each.isPassDissentApply = false
|
||||||
|
|
@ -4335,6 +4577,24 @@ export default {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 强制注销
|
||||||
|
case '50': {
|
||||||
|
const subTypeRouteMap = {
|
||||||
|
'0': '/forceNotice/force/todo/handle',
|
||||||
|
'1': '/forceNotice/inclusion/todo/handle',
|
||||||
|
'2': '/forceNotice/remove/todo/handle',
|
||||||
|
'4': '/forceNotice/recovery/todo/handle',
|
||||||
|
'5': '/forceNotice/liccan/todo/handle'
|
||||||
|
}
|
||||||
|
const handlePath = subTypeRouteMap[row.subBusType]
|
||||||
|
if (handlePath) {
|
||||||
|
this.$router.push({
|
||||||
|
path: handlePath,
|
||||||
|
query: { bizSeqNo: row.bizseqid }
|
||||||
|
})
|
||||||
|
}
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
goToAbnormal(row) {
|
goToAbnormal(row) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue