|
|
|
|
@ -35,7 +35,7 @@ |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="closeDialog">取 消</el-button> |
|
|
|
|
<el-button type="primary" @click="submit">确 定</el-button> |
|
|
|
|
<el-button type="primary" @click="submit" :loading="loading">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
@ -56,6 +56,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
loading: false, |
|
|
|
|
openShow: false, |
|
|
|
|
formData: {}, |
|
|
|
|
rules: { |
|
|
|
|
@ -68,15 +69,16 @@ export default { |
|
|
|
|
this.openShow = this.showDialog; |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
closeDialog() { |
|
|
|
|
closeDialog(type) { |
|
|
|
|
this.openShow = false; |
|
|
|
|
this.$emit('closeDialog'); |
|
|
|
|
this.$emit('closeDialog',type); |
|
|
|
|
}, |
|
|
|
|
submit() { |
|
|
|
|
this.$refs.form.validate(valid => { |
|
|
|
|
if (valid) { |
|
|
|
|
this.loading = true; |
|
|
|
|
let query = { |
|
|
|
|
ddtIdList:[this.rowItem.ddtId], //调度任务ID |
|
|
|
|
ddtIdList:[this.rowItem.id], //调度任务ID |
|
|
|
|
rsCode: this.formData.rsCode, //审理单号 |
|
|
|
|
handleResult: this.formData.handleResult, //处理结果 |
|
|
|
|
loginUser: '', //登录用户 |
|
|
|
|
@ -90,7 +92,7 @@ export default { |
|
|
|
|
}; |
|
|
|
|
taskComplete(query).then(res => { |
|
|
|
|
this.$message.success('处理成功'); |
|
|
|
|
this.closeDialog(); |
|
|
|
|
this.closeDialog(true); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|