|
@@ -66,7 +66,7 @@
|
|
|
<hc-view-report v-model="isReportDrawer" />
|
|
|
|
|
|
<!-- 任务流程 -->
|
|
|
- <HcTaskModal v-model="isTaskModal" :data="taskData" />
|
|
|
+ <HcTaskModal v-model="isTaskModal" :ids="taskDataId" @close="taskDataId = ''" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -74,7 +74,7 @@
|
|
|
import { nextTick, onActivated, onMounted, ref, watch } from 'vue'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
-import { deepClone, getArrValue, getObjVal, getObjValue, getRandom, isNullES } from 'js-fast-way'
|
|
|
+import { getArrValue, getObjVal, getObjValue, getRandom, isNullES } from 'js-fast-way'
|
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
|
import { backMeterTask } from '~api/other'
|
|
|
import { delMessage } from '~uti/tools'
|
|
@@ -385,14 +385,16 @@ const autoClick = async ()=>{
|
|
|
|
|
|
//审批状态
|
|
|
const isTaskModal = ref(false)
|
|
|
-const taskData = ref({})
|
|
|
-const rowTableClick = (row) => {
|
|
|
- if (isNullES(row.taskId)) {
|
|
|
+const taskDataId = ref('')
|
|
|
+const rowTableClick = ({ taskId }) => {
|
|
|
+ if (isNullES(taskId)) {
|
|
|
window.$message.warning('暂无审批数据')
|
|
|
return
|
|
|
}
|
|
|
- taskData.value = row
|
|
|
- isTaskModal.value = true
|
|
|
+ taskDataId.value = taskId
|
|
|
+ setTimeout(()=> {
|
|
|
+ isTaskModal.value = true
|
|
|
+ }, 200)
|
|
|
}
|
|
|
|
|
|
//撤销上报
|