|
@@ -5,12 +5,7 @@
|
|
|
<a-row :gutter="48">
|
|
|
<a-col :md="8" :sm="24">
|
|
|
<a-form-item label="计划名称">
|
|
|
- <a-input v-model="queryParam.planName" placeholder="请输入计划名称"/>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="8" :sm="24">
|
|
|
- <a-form-item label="负责人">
|
|
|
- <a-input v-model.trim="queryParam.keyword" placeholder="请输入负责人"/>
|
|
|
+ <a-input v-model="queryParam.keyword" placeholder="请输入计划名称"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="8" :sm="24">
|
|
@@ -279,10 +274,8 @@ export default {
|
|
|
modal.base(record)
|
|
|
},
|
|
|
handleFinish (record) {
|
|
|
- fetchCheckJob({ id: record.id }).then(res => {
|
|
|
- const modal = this.$refs.baseModal
|
|
|
- modal.base(res.data)
|
|
|
- })
|
|
|
+ const modal = this.$refs.baseModal
|
|
|
+ modal.base(record)
|
|
|
},
|
|
|
handleExecute (record) {
|
|
|
executeJob({ id: record.id }).then(res => {
|
|
@@ -290,10 +283,8 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleView (record) {
|
|
|
- fetchCheckJob({ id: record.id }).then(res => {
|
|
|
- const modal = this.$refs.detailModal
|
|
|
- modal.base(res.data)
|
|
|
- })
|
|
|
+ const modal = this.$refs.detailModal
|
|
|
+ modal.base(record)
|
|
|
},
|
|
|
handleOk () {
|
|
|
this.$refs.table.refresh()
|