查看bug修复

1212-八项作业迁移
liujun 2023-12-22 17:41:35 +08:00
parent 40c8761465
commit 6344e5c15a
1 changed files with 15 additions and 6 deletions

View File

@ -34,7 +34,12 @@
border
fit
highlight-current-row>
<el-table-column v-if="false" :selectable="handleSelectWithDifferentStatus" type="selection" width="55" align="center"/>
<el-table-column
v-if="false"
:selectable="handleSelectWithDifferentStatus"
type="selection"
width="55"
align="center"/>
<el-table-column type="index" label="序号" width="50" align="center"/>
<el-table-column prop="USERNAME" label="用户名" align="center"/>
<el-table-column prop="NAME" label="姓名" align="center"/>
@ -172,11 +177,15 @@ export default {
requestFN(
'/trainingbatch/submitApplication', { xgf_user_ids: row.map(item => item.USER_ID).join(',') }
).then((data) => {
this.getList()
})
this.$message({
type: 'success',
message: '申请提交成功!'
if (data.code === '0') {
this.$message({
type: 'success',
message: '申请提交成功!'
})
this.getList()
} else {
this.$message.error(data.msg)
}
})
}).catch(() => {
this.$message({