|
@@ -76,33 +76,25 @@
|
|
|
@click="handleEdit(record)"
|
|
|
>填报</operation-button>
|
|
|
<operation-button
|
|
|
- :type="2"
|
|
|
v-if="$auth('fill-tasks-dispatch')"
|
|
|
v-show="record.status!== 2"
|
|
|
- title="是否要转派该任务"
|
|
|
- @confirm="handleDispatch(record)"
|
|
|
+ @click="handleDispatch(record)"
|
|
|
>转派</operation-button>
|
|
|
<operation-button
|
|
|
v-if="$auth('fill-tasks-overtime')"
|
|
|
v-show="record.status!== 2"
|
|
|
- :type="2"
|
|
|
- title="是否要延时该任务"
|
|
|
- @confirm="handleOvertime(record)"
|
|
|
+ @click="handleOvertime(record)"
|
|
|
>延时</operation-button>
|
|
|
|
|
|
<operation-button
|
|
|
v-if="$auth('fill-tasks-pause')"
|
|
|
v-show="record.status!== 2 && record.status===5"
|
|
|
- :type="2"
|
|
|
- title="是否取消暂停要该任务"
|
|
|
- @confirm="handlePause(record)"
|
|
|
+ @click="handlePause(record)"
|
|
|
>取消暂停</operation-button>
|
|
|
<operation-button
|
|
|
v-if="$auth('fill-tasks-pause')"
|
|
|
v-show="record.status!== 2 && record.status!==5"
|
|
|
- :type="2"
|
|
|
- title="是否暂停要该任务"
|
|
|
- @confirm="handlePause(record)"
|
|
|
+ @click="handlePause(record)"
|
|
|
>暂停</operation-button>
|
|
|
<!-- <operation-button
|
|
|
v-if="$auth('fill-fills-del')"
|
|
@@ -321,12 +313,10 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleDispatch (record) {
|
|
|
- this.visible = false
|
|
|
const modal = this.$refs.dispatchModal
|
|
|
modal.base(record)
|
|
|
},
|
|
|
handleOvertime (record) {
|
|
|
- this.visible = false
|
|
|
const modal = this.$refs.overtimeModal
|
|
|
modal.base(record)
|
|
|
},
|