|
@@ -29,6 +29,9 @@
|
|
is-new is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
|
|
is-new is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
|
|
is-current-row @selection-change="tableCheckChange" @row-click="hanleRow"
|
|
is-current-row @selection-change="tableCheckChange" @row-click="hanleRow"
|
|
>
|
|
>
|
|
|
|
+ <template #approveStatusName="{ row }">
|
|
|
|
+ <el-link type="primary" @click="rowTableClick(row)">{{ row.approveStatusName }}</el-link>
|
|
|
|
+ </template>
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
<el-link type="success" :disabled="approveStatus !== 0" @click="rowEditClick(row)">
|
|
<el-link type="success" :disabled="approveStatus !== 0" @click="rowEditClick(row)">
|
|
修改
|
|
修改
|
|
@@ -89,6 +92,9 @@
|
|
|
|
|
|
<!-- 上报弹窗 -->
|
|
<!-- 上报弹窗 -->
|
|
<hc-report-dialog v-model="isReport" :info="reportInfo" @finish="reportFinish" />
|
|
<hc-report-dialog v-model="isReport" :info="reportInfo" @finish="reportFinish" />
|
|
|
|
+
|
|
|
|
+ <!-- 任务流程 -->
|
|
|
|
+ <HcTaskModal v-model="isTaskModal" :data="taskData" />
|
|
</hc-new-card>
|
|
</hc-new-card>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -96,6 +102,7 @@
|
|
import { nextTick, onActivated, ref } from 'vue'
|
|
import { nextTick, onActivated, ref } from 'vue'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
import HcDataModal from './components/order/dataModal.vue'
|
|
import HcDataModal from './components/order/dataModal.vue'
|
|
|
|
+import HcTaskModal from './components/order/task-modal.vue'
|
|
import { deepClone, getArrValue, getObjValue } from 'js-fast-way'
|
|
import { deepClone, getArrValue, getObjValue } from 'js-fast-way'
|
|
import mainApi from '~api/debit-pay/start-work/order.js'
|
|
import mainApi from '~api/debit-pay/start-work/order.js'
|
|
import periodApi from '~api/debit-pay/material/periods.js'
|
|
import periodApi from '~api/debit-pay/material/periods.js'
|
|
@@ -264,6 +271,14 @@ const reportFinish = () => {
|
|
window.location.reload()
|
|
window.location.reload()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+//审批状态
|
|
|
|
+const isTaskModal = ref(false)
|
|
|
|
+const taskData = ref({})
|
|
|
|
+const rowTableClick = (row) => {
|
|
|
|
+ taskData.value = deepClone(row)
|
|
|
|
+ isTaskModal.value = true
|
|
|
|
+}
|
|
|
|
+
|
|
//撤销上报
|
|
//撤销上报
|
|
const undoReportClick = async () => {
|
|
const undoReportClick = async () => {
|
|
|
|
|