冒用他人身份取得公司登记处理决定
This commit is contained in:
parent
18ca4046af
commit
a81dd12cd1
File diff suppressed because it is too large
Load Diff
|
|
@ -3003,6 +3003,18 @@ export const constantRoutes = [{
|
|||
name: 'susnateList',
|
||||
meta: { title: '涉嫌冒用他人身份取得登记信息' }
|
||||
},
|
||||
{
|
||||
path: 'falsePersonInfoAnnouncement',
|
||||
component: () => import('@/views/announcement/falsePersonInfo/index.vue'),
|
||||
name: 'falsePersonInfoAnnouncement',
|
||||
meta: { title: '虚假登记责任人信息' }
|
||||
},
|
||||
{
|
||||
path: 'nateOperRegDec',
|
||||
component: () => import('@/views/entManage/nateOperRegDec/index.vue'),
|
||||
name: 'nateOperRegDec',
|
||||
meta: { title: '冒用他人身份取得公司登记处理决定' }
|
||||
},
|
||||
{
|
||||
path: 'superviseAdjust',
|
||||
component: () => import('@/views/superviseAdjust/index.vue'),
|
||||
|
|
@ -3242,12 +3254,6 @@ export const constantRoutes = [{
|
|||
name: 'revokeDecisionAnnouncement',
|
||||
meta: { title: '撤销登记(备案)决定公告' }
|
||||
},
|
||||
{
|
||||
path: 'falsePersonInfoAnnouncement',
|
||||
component: () => import('@/views/announcement/falsePersonInfo/index.vue'),
|
||||
name: 'falsePersonInfoAnnouncement',
|
||||
meta: { title: '虚假登记责任人信息公告' }
|
||||
},
|
||||
{
|
||||
path: 'forceNotice',
|
||||
name: 'forceNotice',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,588 @@
|
|||
<template>
|
||||
<div class="page">
|
||||
<edit-table
|
||||
ref="EditTable"
|
||||
v-model="data"
|
||||
:table-prop="tableProp"
|
||||
:fields="fields"
|
||||
:show-search-form="true"
|
||||
row-key="personatresId"
|
||||
:search-form-prop="searchFormProp"
|
||||
:form-prop="formProp"
|
||||
:search-loader="searchLoader"
|
||||
/>
|
||||
|
||||
<!-- 选择市场主体弹窗 -->
|
||||
<el-dialog
|
||||
title="选择市场主体"
|
||||
:visible.sync="entDialogVisible"
|
||||
width="900px"
|
||||
:close-on-click-modal="false"
|
||||
>
|
||||
<div class="ent-search">
|
||||
<el-form :inline="true" :model="entSearchForm" class="search-form">
|
||||
<el-form-item label="统一社会信用代码">
|
||||
<el-input v-model="entSearchForm.uniscid" placeholder="请输入" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="主体名称">
|
||||
<el-input v-model="entSearchForm.entname" placeholder="请输入" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="searchEntList">查询</el-button>
|
||||
<el-button @click="resetEntSearch">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<el-table
|
||||
v-loading="entLoading"
|
||||
:data="entList"
|
||||
border
|
||||
style="width: 100%"
|
||||
:header-cell-style="{ background: '#8cc3fb', color: '#fff' }"
|
||||
>
|
||||
<el-table-column prop="entname" label="主体名称" />
|
||||
<el-table-column prop="uniscid" label="统一社会信用代码" width="200" />
|
||||
<el-table-column prop="regno" label="注册号" width="150" />
|
||||
<el-table-column prop="regorgCn" label="登记机关" width="200" />
|
||||
<el-table-column label="操作" width="100" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" @click="selectEnt(scope.row)">选择</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-pagination
|
||||
style="margin-top: 15px; text-align: right;"
|
||||
:current-page="entPagination.current"
|
||||
:page-sizes="[10, 20, 50]"
|
||||
:page-size="entPagination.size"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="entPagination.total"
|
||||
@size-change="handleEntSizeChange"
|
||||
@current-change="handleEntCurrentChange"
|
||||
/>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 新增/编辑弹窗 -->
|
||||
<el-dialog
|
||||
:title="dialogTitle"
|
||||
:visible.sync="formDialogVisible"
|
||||
width="800px"
|
||||
:close-on-click-modal="false"
|
||||
>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="formData"
|
||||
:rules="formRules"
|
||||
label-width="180px"
|
||||
:disabled="isView"
|
||||
>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="市场主体名称" prop="entname">
|
||||
<el-input v-model="formData.entname" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="统一社会信用代码" prop="uniscid">
|
||||
<el-input v-model="formData.uniscid" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="注册号" prop="regno">
|
||||
<el-input v-model="formData.regno" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="登记机关" prop="regOrgCn">
|
||||
<el-input v-model="formData.regOrgCn" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="作出决定机关" prop="judAuthPath">
|
||||
<el-cascader
|
||||
v-model="formData.judAuthPath"
|
||||
:options="orgTreeList"
|
||||
:props="{ checkStrictly: true, value: 'id', label: 'label', children: 'children' }"
|
||||
:show-all-levels="false"
|
||||
placeholder="请选择"
|
||||
style="width: 100%;"
|
||||
clearable
|
||||
filterable
|
||||
@change="handleJudAuthChange"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="作出决定日期" prop="judDate">
|
||||
<el-date-picker
|
||||
v-model="formData.judDate"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
style="width: 100%;"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="公告日期" prop="noticeDate">
|
||||
<el-date-picker
|
||||
v-model="formData.noticeDate"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
style="width: 100%;"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="公告内容" prop="noticeContent">
|
||||
<el-input
|
||||
v-model="formData.noticeContent"
|
||||
type="textarea"
|
||||
:rows="4"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="formDialogVisible = false">取 消</el-button>
|
||||
<el-button v-if="!isView" type="primary" @click="submitForm">保 存</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
eNateOperRegDecListNateOperRegDec,
|
||||
eNateOperRegDecAddNateOperRegDec,
|
||||
eNateOperRegDecUpdateNateOperRegDec,
|
||||
eNateOperRegDecDeleteNateOperRegDecPersonatresId,
|
||||
eNateOperRegDecGetByIdId,
|
||||
eNateOperRegDecListEntBaseWithNateOperRegDec
|
||||
} from '@/api/auto-baseapi.js'
|
||||
import { getOrgTreeList } from '@/api/system.js'
|
||||
|
||||
export default {
|
||||
name: 'NateOperRegDec',
|
||||
data() {
|
||||
return {
|
||||
data: [],
|
||||
tableProp: {
|
||||
emitLoadOnCreate: true,
|
||||
tableConfig: {
|
||||
showIndex: true,
|
||||
selection: false,
|
||||
indexWidth: '60px',
|
||||
handlerWidth: '150px',
|
||||
showPagination: true,
|
||||
tableProps: {
|
||||
headerCellStyle: { background: '#8cc3fb!important', color: '#fff!important', padding: '0px' },
|
||||
headerRowStyle: { height: '48px' },
|
||||
rowStyle: { height: '48px' },
|
||||
cellStyle: { padding: '16px 0', color: '#333' },
|
||||
rowClassName: (row) => {
|
||||
if (row.rowIndex % 2 === 1) {
|
||||
return 'warning-row'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
label: '编辑/查看',
|
||||
type: 'text',
|
||||
show: true,
|
||||
handler: (scope, { row }) => {
|
||||
this.handleEdit(row)
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '删除',
|
||||
type: 'text',
|
||||
show: true,
|
||||
handler: (scope, { row }) => {
|
||||
this.handleDelete(row)
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
searchFormProp: {
|
||||
formConfig: {
|
||||
labelWidth: '120px',
|
||||
labelPosition: 'right',
|
||||
gutter: 32
|
||||
}
|
||||
},
|
||||
formProp: {
|
||||
formConfig: {
|
||||
labelWidth: '180px',
|
||||
labelPosition: 'right',
|
||||
gutter: 32,
|
||||
buttonPosition: 'right'
|
||||
}
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
type: 'input',
|
||||
label: '统一社会信用代码',
|
||||
prop: 'uniscid',
|
||||
span: 6,
|
||||
showInForm: ({ meta }) => meta.isSearchForm === true,
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '主体名称',
|
||||
prop: 'entname',
|
||||
span: 6,
|
||||
showInForm: ({ meta }) => meta.isSearchForm === true,
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'buttons',
|
||||
showInTable: false,
|
||||
showInForm: ({ meta }) => meta.isSearchForm === true,
|
||||
hiddenLabel: true,
|
||||
label: '搜索操作',
|
||||
prop: '搜索操作',
|
||||
span: 12,
|
||||
formItemProp: { labelWidth: '0px' },
|
||||
buttons: [
|
||||
{
|
||||
label: '查询',
|
||||
type: 'primary',
|
||||
handler: (scope) => {
|
||||
const { meta } = scope
|
||||
const { _editTable } = meta
|
||||
const { editTableInstance } = _editTable
|
||||
editTableInstance.search()
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '重置',
|
||||
type: 'primary',
|
||||
buttonProps: { plain: true },
|
||||
handler: (scope) => {
|
||||
const { meta } = scope
|
||||
const { _editTable } = meta
|
||||
const { editTableInstance } = _editTable
|
||||
editTableInstance.search({ reset: true })
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '增加',
|
||||
type: 'primary',
|
||||
handler: () => {
|
||||
this.handleAdd()
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '主体名称',
|
||||
prop: 'entname',
|
||||
showInForm: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '统一社会信用代码',
|
||||
prop: 'uniscid',
|
||||
showInForm: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '登记机关',
|
||||
prop: 'regOrgCn',
|
||||
showInForm: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '作出决定机关',
|
||||
prop: 'judAuthCn',
|
||||
showInForm: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '作出决定日期',
|
||||
prop: 'judDate',
|
||||
showInForm: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '公告日期',
|
||||
prop: 'noticeDate',
|
||||
showInForm: false
|
||||
}
|
||||
],
|
||||
// 选择市场主体弹窗
|
||||
entDialogVisible: false,
|
||||
entLoading: false,
|
||||
entList: [],
|
||||
entSearchForm: {
|
||||
uniscid: '',
|
||||
entname: ''
|
||||
},
|
||||
entPagination: {
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0
|
||||
},
|
||||
// 表单弹窗
|
||||
formDialogVisible: false,
|
||||
dialogTitle: '新增',
|
||||
isView: false,
|
||||
formData: {
|
||||
personatresId: '',
|
||||
pripid: '',
|
||||
entname: '',
|
||||
uniscid: '',
|
||||
regno: '',
|
||||
regOrg: '',
|
||||
regOrgCn: '',
|
||||
judAuth: '',
|
||||
judAuthCn: '',
|
||||
judAuthPath: [],
|
||||
judDate: '',
|
||||
noticeDate: '',
|
||||
noticeContent: ''
|
||||
},
|
||||
formRules: {
|
||||
judAuthPath: [{ required: true, message: '请选择作出决定机关', trigger: 'change' }],
|
||||
judDate: [{ required: true, message: '请选择作出决定日期', trigger: 'change' }],
|
||||
noticeDate: [{ required: true, message: '请选择公告日期', trigger: 'change' }],
|
||||
noticeContent: [{ required: true, message: '请输入公告内容', trigger: 'blur' }]
|
||||
},
|
||||
// 机关树形列表
|
||||
orgTreeList: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.loadOrgTreeList()
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next((vm) => {
|
||||
vm.$nextTick(() => {
|
||||
if (vm.$refs.EditTable) {
|
||||
vm.$refs.EditTable.search({ reset: true })
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
searchLoader(pageParam, parseSearchFormData) {
|
||||
return eNateOperRegDecListNateOperRegDec({
|
||||
size: pageParam.size,
|
||||
current: pageParam.current,
|
||||
entity: {
|
||||
...parseSearchFormData
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.code === 0) {
|
||||
// 处理日期字段,只保留日期部分
|
||||
const records = (res.data.records || []).map(item => ({
|
||||
...item,
|
||||
judDate: item.judDate ? item.judDate.split(' ')[0] : '',
|
||||
noticeDate: item.noticeDate ? item.noticeDate.split(' ')[0] : ''
|
||||
}))
|
||||
return {
|
||||
tableData: records,
|
||||
total: res.data.total || 0
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
tableData: [],
|
||||
total: 0
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
// 新增
|
||||
handleAdd() {
|
||||
this.entDialogVisible = true
|
||||
this.resetEntSearch()
|
||||
this.searchEntList()
|
||||
},
|
||||
// 编辑/查看
|
||||
handleEdit(row) {
|
||||
this.dialogTitle = '编辑/查看'
|
||||
this.isView = false
|
||||
eNateOperRegDecGetByIdId({ id: row.personatresId }).then((res) => {
|
||||
if (res.code === 0) {
|
||||
const data = res.data
|
||||
// 获取作出决定机关的树形路径
|
||||
const judAuthPath = data.judAuth ? this.getPathById(this.orgTreeList, data.judAuth) : []
|
||||
// 处理日期字段,只保留日期部分
|
||||
this.formData = {
|
||||
...data,
|
||||
judAuthPath: judAuthPath || [],
|
||||
judDate: data.judDate ? data.judDate.split(' ')[0] : '',
|
||||
noticeDate: data.noticeDate ? data.noticeDate.split(' ')[0] : ''
|
||||
}
|
||||
this.formDialogVisible = true
|
||||
}
|
||||
})
|
||||
},
|
||||
// 删除
|
||||
handleDelete(row) {
|
||||
this.$confirm('确定要删除该记录吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
eNateOperRegDecDeleteNateOperRegDecPersonatresId({ personatresId: row.personatresId }).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.$message.success('删除成功')
|
||||
this.$refs.EditTable.search()
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
// 选择市场主体后
|
||||
selectEnt(row) {
|
||||
this.entDialogVisible = false
|
||||
this.dialogTitle = '新增'
|
||||
this.isView = false
|
||||
this.formData = {
|
||||
personatresId: '',
|
||||
pripid: row.pripid,
|
||||
entname: row.entname,
|
||||
uniscid: row.uniscid,
|
||||
regno: row.regno,
|
||||
regOrg: row.regorg || '',
|
||||
regOrgCn: row.regorgCn || '',
|
||||
judAuth: '',
|
||||
judAuthCn: '',
|
||||
judAuthPath: [],
|
||||
judDate: '',
|
||||
noticeDate: '',
|
||||
noticeContent: ''
|
||||
}
|
||||
this.formDialogVisible = true
|
||||
},
|
||||
// 搜索市场主体
|
||||
searchEntList() {
|
||||
this.entLoading = true
|
||||
eNateOperRegDecListEntBaseWithNateOperRegDec({
|
||||
current: this.entPagination.current,
|
||||
size: this.entPagination.size,
|
||||
entity: {
|
||||
uniscid: this.entSearchForm.uniscid,
|
||||
entname: this.entSearchForm.entname
|
||||
}
|
||||
}).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.entList = res.data.records || []
|
||||
this.entPagination.total = res.data.total || 0
|
||||
} else {
|
||||
this.entList = []
|
||||
this.entPagination.total = 0
|
||||
}
|
||||
}).finally(() => {
|
||||
this.entLoading = false
|
||||
})
|
||||
},
|
||||
resetEntSearch() {
|
||||
this.entSearchForm = { uniscid: '', entname: '' }
|
||||
this.entPagination.current = 1
|
||||
},
|
||||
handleEntSizeChange(size) {
|
||||
this.entPagination.size = size
|
||||
this.searchEntList()
|
||||
},
|
||||
handleEntCurrentChange(current) {
|
||||
this.entPagination.current = current
|
||||
this.searchEntList()
|
||||
},
|
||||
// 作出决定机关变化
|
||||
handleJudAuthChange(val) {
|
||||
if (val && val.length > 0) {
|
||||
const lastId = val[val.length - 1]
|
||||
const node = this.findNodeById(this.orgTreeList, lastId)
|
||||
this.formData.judAuth = lastId
|
||||
this.formData.judAuthCn = node ? node.label : ''
|
||||
} else {
|
||||
this.formData.judAuth = ''
|
||||
this.formData.judAuthCn = ''
|
||||
}
|
||||
},
|
||||
// 在树形数据中查找节点
|
||||
findNodeById(tree, id) {
|
||||
for (const node of tree) {
|
||||
if (node.id === id) {
|
||||
return node
|
||||
}
|
||||
if (node.children && node.children.length > 0) {
|
||||
const found = this.findNodeById(node.children, id)
|
||||
if (found) return found
|
||||
}
|
||||
}
|
||||
return null
|
||||
},
|
||||
// 根据id获取从根到该节点的路径
|
||||
getPathById(tree, id, path = []) {
|
||||
for (const node of tree) {
|
||||
const currentPath = [...path, node.id]
|
||||
if (node.id === id) {
|
||||
return currentPath
|
||||
}
|
||||
if (node.children && node.children.length > 0) {
|
||||
const found = this.getPathById(node.children, id, currentPath)
|
||||
if (found) return found
|
||||
}
|
||||
}
|
||||
return null
|
||||
},
|
||||
// 加载机关树形列表
|
||||
loadOrgTreeList() {
|
||||
getOrgTreeList().then(res => {
|
||||
if (res.code === 0) {
|
||||
this.orgTreeList = res.data || []
|
||||
}
|
||||
})
|
||||
},
|
||||
// 提交表单
|
||||
submitForm() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
const api = this.formData.personatresId
|
||||
? eNateOperRegDecUpdateNateOperRegDec
|
||||
: eNateOperRegDecAddNateOperRegDec
|
||||
api(this.formData).then((res) => {
|
||||
if (res.code === 0) {
|
||||
this.$message.success('保存成功')
|
||||
this.formDialogVisible = false
|
||||
this.$refs.EditTable.search()
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "~@/styles/abnormal-list.scss";
|
||||
.page {
|
||||
background: #fff;
|
||||
margin: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
.ent-search {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
:fields="fields"
|
||||
:dialog-prop="dialogProp"
|
||||
:show-search-form="true"
|
||||
row-key="id"
|
||||
row-key="personateId"
|
||||
:search-form-prop="searchFormProp"
|
||||
:form-prop="formProp"
|
||||
:search-loader="searchLoader"
|
||||
|
|
@ -40,9 +40,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ESusNateOperRegList, eSusNateVoUpdate, eSusNateVoSave, eSusNateVoRemove } from '@/api/susnate'
|
||||
import {
|
||||
eSusNateOperRegListSusNateOperReg,
|
||||
eSusNateOperRegAddSusNateOperReg,
|
||||
eSusNateOperRegUpdateSusNateOperReg,
|
||||
eSusNateOperRegDeleteSusNateOperRegPersonateId
|
||||
} from '@/api/auto-baseapi.js'
|
||||
import EntList from './EntList.vue'
|
||||
import { getConstant } from '@/api/system'
|
||||
export default {
|
||||
components: {
|
||||
EntList
|
||||
|
|
@ -60,11 +64,6 @@ export default {
|
|||
indexWidth: '80px',
|
||||
handlerWidth: '120px',
|
||||
showPagination: true,
|
||||
tableSelectionProps: {
|
||||
selectable: (row, index) => {
|
||||
return row.status === '1'
|
||||
}
|
||||
},
|
||||
tableProps: {
|
||||
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' },
|
||||
headerRowStyle: { height: '48px' },
|
||||
|
|
@ -94,8 +93,8 @@ export default {
|
|||
type: 'info',
|
||||
customClass: 'type-1',
|
||||
confirmHandlerPromise: () => {
|
||||
return eSusNateVoRemove({
|
||||
...row
|
||||
return eSusNateOperRegDeleteSusNateOperRegPersonateId({
|
||||
personateId: row.personateId
|
||||
}).then(() => {
|
||||
this.$refs.EditTable.search({ reset: true })
|
||||
})
|
||||
|
|
@ -146,9 +145,9 @@ export default {
|
|||
.then(() => {
|
||||
return (() => {
|
||||
if (formData._isAdd) {
|
||||
return eSusNateVoSave
|
||||
return eSusNateOperRegAddSusNateOperReg
|
||||
} else {
|
||||
return eSusNateVoUpdate
|
||||
return eSusNateOperRegUpdateSusNateOperReg
|
||||
}
|
||||
})()(formData)
|
||||
.then(() => {
|
||||
|
|
@ -193,7 +192,7 @@ export default {
|
|||
width: '150px',
|
||||
showOverflowTooltip: true,
|
||||
formatter: (row, column, cellValue, index) => {
|
||||
return `${row.uniscId || row.regno || ''}`
|
||||
return `${row.uniscid || row.regno || ''}`
|
||||
}
|
||||
},
|
||||
showInForm: ({ meta }) => {
|
||||
|
|
@ -246,10 +245,7 @@ export default {
|
|||
const { _editTable } = meta
|
||||
const { editTableInstance } = _editTable
|
||||
editTableInstance.search({
|
||||
reset: true,
|
||||
resetData: {
|
||||
status: '1'
|
||||
}
|
||||
reset: true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
@ -308,14 +304,17 @@ export default {
|
|||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
tableProps: {
|
||||
showOverflowTooltip: true,
|
||||
formatter: (row, column, cellValue, index) => {
|
||||
return `${row.regOrgCn || ''}`
|
||||
}
|
||||
},
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '登记机关',
|
||||
prop: 'regOrgCn',
|
||||
showInForm: false,
|
||||
tableProps: {
|
||||
showOverflowTooltip: true
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '姓名(当事人)',
|
||||
|
|
@ -361,26 +360,6 @@ export default {
|
|||
},
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '责任人姓名',
|
||||
prop: 'resName',
|
||||
required: true,
|
||||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
showInTable: true
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '责任人证件号码',
|
||||
prop: 'cerNo',
|
||||
required: true,
|
||||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '作出决定机关',
|
||||
|
|
@ -389,7 +368,7 @@ export default {
|
|||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
showInTable: true,
|
||||
showInTable: false,
|
||||
optionConfig: {
|
||||
labelKeyName: 'name',
|
||||
valueKeyName: 'id',
|
||||
|
|
@ -400,12 +379,15 @@ export default {
|
|||
options: () => {
|
||||
return this.authItemMap
|
||||
}
|
||||
// tableProps: {
|
||||
// showOverflowTooltip: true,
|
||||
// formatter: (row, column, cellValue, index) => {
|
||||
// return `${row.judAuthCn || ''}`
|
||||
// }
|
||||
// }
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '作出决定机关',
|
||||
prop: 'judAuthCn',
|
||||
showInForm: false,
|
||||
tableProps: {
|
||||
showOverflowTooltip: true
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'date-picker',
|
||||
|
|
@ -422,16 +404,6 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'date-picker',
|
||||
label: '公告日期',
|
||||
prop: 'noticeDate',
|
||||
required: true,
|
||||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
showInTable: true
|
||||
},
|
||||
{
|
||||
type: 'date-picker',
|
||||
label: '冒名登记时间',
|
||||
|
|
@ -462,17 +434,6 @@ export default {
|
|||
},
|
||||
showInTable: false
|
||||
},
|
||||
// {
|
||||
// type: 'select',
|
||||
// label: '处理原因',
|
||||
// prop: 'handlRea',
|
||||
// required: true,
|
||||
// showInForm: ({ meta }) => {
|
||||
// return meta.isForm === true
|
||||
// },
|
||||
// showInTable: false,
|
||||
// optionsBaseCode: 'CD96'
|
||||
// },
|
||||
{
|
||||
type: 'input',
|
||||
label: '处理结果',
|
||||
|
|
@ -482,16 +443,6 @@ export default {
|
|||
return meta.isForm === true
|
||||
},
|
||||
showInTable: false
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
label: '公告内容',
|
||||
prop: 'noticeContent',
|
||||
required: true,
|
||||
showInForm: ({ meta }) => {
|
||||
return meta.isForm === true
|
||||
},
|
||||
showInTable: false
|
||||
}
|
||||
// {
|
||||
// type: 'file',
|
||||
|
|
@ -519,27 +470,10 @@ export default {
|
|||
created() {
|
||||
},
|
||||
mounted() {
|
||||
// 加载处理原因
|
||||
const p1 = getConstant('CD96').then(res => {
|
||||
if (res.code === 0) {
|
||||
const list = []
|
||||
res.data.forEach(each => {
|
||||
list.push({
|
||||
value: each.code,
|
||||
label: each.name
|
||||
})
|
||||
})
|
||||
this.handlreaList = list
|
||||
}
|
||||
})
|
||||
this.fullscreenLoading = true
|
||||
Promise.all([p1]).finally(() => {
|
||||
this.fullscreenLoading = false
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
searchLoader(pageParam, parseSearchFormData, instance) {
|
||||
return ESusNateOperRegList({
|
||||
return eSusNateOperRegListSusNateOperReg({
|
||||
size: pageParam.size,
|
||||
current: pageParam.current,
|
||||
entity: {
|
||||
|
|
@ -572,7 +506,8 @@ export default {
|
|||
entname: ent.entname,
|
||||
uniscid: ent.uniscid,
|
||||
regno: ent.regno,
|
||||
regOrg: ent.regorgCn,
|
||||
regOrg: ent.regorg,
|
||||
regOrgCn: ent.regorgCn,
|
||||
pripid: ent.pripid,
|
||||
_isAdd: true
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue