|
@@ -126,8 +126,12 @@
|
|
|
<el-form-item>
|
|
|
<div style="text-align: right">
|
|
|
<el-button @click="shenheClose">取消</el-button>
|
|
|
- <el-button type="primary" v-if="[2].includes(openType)" @click="examineWait">确定</el-button>
|
|
|
- <el-button type="primary" v-if="[3].includes(openType)" @click="workerManagerExamine">确定</el-button>
|
|
|
+ <el-button type="primary" v-if="[2].includes(openType)" @click="examineWait(data.removeTab())"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
+ <el-button type="primary" v-if="[3].includes(openType)" @click="workerManagerExamine(data.removeTab())"
|
|
|
+ >确定</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -1174,24 +1178,26 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- examineWait() {
|
|
|
+ examineWait(Close_) {
|
|
|
this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
workerManagerExamineWait(this.getPam()).then(res => {
|
|
|
this.$message({ type: 'success', message: `保存成功!` })
|
|
|
this.shenheClose()
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
+ Close_?.()
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- workerManagerExamine() {
|
|
|
+ workerManagerExamine(Close_) {
|
|
|
this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
workerManagerExamine(this.getPam()).then(res => {
|
|
|
this.$message({ type: 'success', message: `保存成功!` })
|
|
|
this.shenheClose()
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
+ Close_?.()
|
|
|
})
|
|
|
}
|
|
|
})
|