fix
This commit is contained in:
parent
4fc5089f7b
commit
79a2569146
|
|
@ -53,6 +53,15 @@ export function expelledObjectSave(data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 新增、更新、删除除名决定管理
|
||||||
|
export function expelledAuditSave(data) {
|
||||||
|
return request({
|
||||||
|
url: '/expelled/audit/save',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export function expelledAnnouncementListBase(data) {
|
export function expelledAnnouncementListBase(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/expelled/announcement/listEntBase',
|
url: '/expelled/announcement/listEntBase',
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,9 @@
|
||||||
<el-table-column prop="reason" :show-overflow-tooltip="true" label="除名决定的理由" min-width="180" align="left" />
|
<el-table-column prop="reason" :show-overflow-tooltip="true" label="除名决定的理由" min-width="180" align="left" />
|
||||||
<el-table-column prop="law" :show-overflow-tooltip="true" label="除名决定的依据" min-width="180" align="left" />
|
<el-table-column prop="law" :show-overflow-tooltip="true" label="除名决定的依据" min-width="180" align="left" />
|
||||||
<el-table-column prop="result" :show-overflow-tooltip="true" label="除名决定的后果" min-width="80" align="left" />
|
<el-table-column prop="result" :show-overflow-tooltip="true" label="除名决定的后果" min-width="80" align="left" />
|
||||||
|
<el-table-column prop="objectionOpinion" :show-overflow-tooltip="true" label="异议意见" min-width="80" align="left" />
|
||||||
|
<el-table-column prop="isRemove" :show-overflow-tooltip="true" label="除名状态" :formatter="formatterIsRemove" min-width="80" align="left" />
|
||||||
|
<el-table-column prop="removeOpinion" :show-overflow-tooltip="true" label="除名意见" min-width="80" align="left" />
|
||||||
<el-table-column :show-overflow-tooltip="true" label="操作" align="left">
|
<el-table-column :show-overflow-tooltip="true" label="操作" align="left">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" size="mini" @click="openDialog(scope.row)">查看详情</el-button>
|
<el-button type="text" size="mini" @click="openDialog(scope.row)">查看详情</el-button>
|
||||||
|
|
@ -147,6 +150,9 @@ export default {
|
||||||
},
|
},
|
||||||
openDialog(row) {
|
openDialog(row) {
|
||||||
this.$refs.DismissalObjectionAppeal.openDialog(row)
|
this.$refs.DismissalObjectionAppeal.openDialog(row)
|
||||||
|
},
|
||||||
|
formatterIsRemove(row) {
|
||||||
|
return row.isRemove === '0' ? '不同意除名' : (row.isRemove === '1' ? '同意除名' : '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
width="50%"
|
width="50%"
|
||||||
>
|
>
|
||||||
<el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="160px" class="demo-ruleForm">
|
<el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="160px" class="demo-ruleForm">
|
||||||
<el-form-item label="理由" prop="reason">
|
<el-form-item label="理由" prop="removeOpinion">
|
||||||
<el-input v-model="ruleForm.reason" type="textarea" placeholder="请输入理由" />
|
<el-input v-model="ruleForm.removeOpinion" type="textarea" placeholder="请输入理由" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
|
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { expelledObjectSave } from '@/api/除名公告.js'
|
import { expelledAuditSave } from '@/api/除名公告.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -31,12 +31,12 @@ export default {
|
||||||
id: '',
|
id: '',
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
reason: ''
|
removeOpinion: ''
|
||||||
},
|
},
|
||||||
entList: [],
|
entList: [],
|
||||||
rules: {
|
rules: {
|
||||||
reason: [
|
removeOpinion: [
|
||||||
{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }
|
{ required: true, message: '请输入理由', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -53,9 +53,9 @@ export default {
|
||||||
...this.ruleForm,
|
...this.ruleForm,
|
||||||
bizType: '2',
|
bizType: '2',
|
||||||
id: this.id,
|
id: this.id,
|
||||||
isRemove: this.title === '同意除名' ? '1' : '2'
|
isRemove: this.title === '同意除名' ? '1' : '0'
|
||||||
}
|
}
|
||||||
expelledObjectSave(submitForm).then(res => {
|
expelledAuditSave(submitForm).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,10 @@
|
||||||
>
|
>
|
||||||
<el-table-column prop="index" label="序号" min-width="50" align="center" />
|
<el-table-column prop="index" label="序号" min-width="50" align="center" />
|
||||||
<el-table-column prop="bizNo" label="业务号" min-width="120" align="left" />
|
<el-table-column prop="bizNo" label="业务号" min-width="120" align="left" />
|
||||||
<el-table-column prop="truth" :show-overflow-tooltip="true" label="除名决定事实" min-width="100" align="left" />
|
<el-table-column prop="objectionOpinion" :show-overflow-tooltip="true" label="异议意见" min-width="100" align="left" />
|
||||||
<el-table-column prop="reason" :show-overflow-tooltip="true" label="除名决定的理由" min-width="180" align="left" />
|
<!-- <el-table-column prop="reason" :show-overflow-tooltip="true" label="除名决定的理由" min-width="180" align="left" />-->
|
||||||
<el-table-column prop="law" :show-overflow-tooltip="true" label="除名决定的依据" min-width="180" align="left" />
|
<!-- <el-table-column prop="law" :show-overflow-tooltip="true" label="除名决定的依据" min-width="180" align="left" />-->
|
||||||
<el-table-column prop="result" :show-overflow-tooltip="true" label="除名决定的后果" min-width="80" align="left" />
|
<!-- <el-table-column prop="result" :show-overflow-tooltip="true" label="除名决定的后果" min-width="80" align="left" />-->
|
||||||
<el-table-column width="200px" label="操作" align="left">
|
<el-table-column width="200px" label="操作" align="left">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button type="text" size="mini" @click="openDialog(scope.row, '同意除名')">同意除名</el-button>
|
<el-button type="text" size="mini" @click="openDialog(scope.row, '同意除名')">同意除名</el-button>
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ export default {
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.loadPage()
|
// this.loadPage()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
tableRowClassName({ row, rowIndex }) {
|
tableRowClassName({ row, rowIndex }) {
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
<span>{{ index + 1 }}、{{ item.entName }}(统一社会信用代码:{{ item.uscc }})</span>
|
<span>{{ index + 1 }}、{{ item.entName }}(统一社会信用代码:{{ item.uscc }})</span>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="申辩意见" prop="reason">
|
<el-form-item label="异议意见" prop="objectionOpinion">
|
||||||
<el-input v-model="ruleForm.reason" type="textarea" placeholder="请输入申辩意见" />
|
<el-input v-model="ruleForm.objectionOpinion" type="textarea" placeholder="请输入异议意见" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
|
<el-button type="primary" @click="submitForm('ruleForm')">确定</el-button>
|
||||||
|
|
@ -35,12 +35,12 @@ export default {
|
||||||
title: '',
|
title: '',
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
reason: ''
|
objectionOpinion: ''
|
||||||
},
|
},
|
||||||
entList: [],
|
entList: [],
|
||||||
rules: {
|
rules: {
|
||||||
reason: [
|
objectionOpinion: [
|
||||||
{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }
|
{ required: true, message: '请输入异议意见', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -56,7 +56,7 @@ export default {
|
||||||
const submitForm = {
|
const submitForm = {
|
||||||
...this.ruleForm,
|
...this.ruleForm,
|
||||||
entIds: this.entList.map((item) => {
|
entIds: this.entList.map((item) => {
|
||||||
return item.id
|
return item.entId
|
||||||
}),
|
}),
|
||||||
bizType: '2',
|
bizType: '2',
|
||||||
noticeBizId: this.noticeBizId
|
noticeBizId: this.noticeBizId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue