ZaiZai пре 11 месеци
родитељ
комит
4f7512973f
1 измењених фајлова са 3 додато и 7 уклоњено
  1. 3 7
      src/views/tentative/detect/commission.vue

+ 3 - 7
src/views/tentative/detect/commission.vue

@@ -173,7 +173,7 @@
 </template>
 
 <script setup>
-import { onActivated, ref } from 'vue'
+import { onActivated, onMounted, ref } from 'vue'
 import { useAppStore } from '~src/store'
 import { useRouter } from 'vue-router'
 import { getStoreValue, setStoreValue } from '~src/utils/storage'
@@ -547,17 +547,13 @@ const reportClick = () => {
         return
     }
     //判断状态
-    const { id, status, entrustName, contractId: contractIds } = { ...rows[0] }
+    const { status, entrustName } = { ...rows[0] }
     if (status !== 1) {
         window.$message.warning('只能选择未上报的数据进行上报')
         return
     }
-    console.log(contractIds)
-    //reportContractId.value = contractIds
-    //处理类型
-    //const { contractType } = contractInfo.value
     // 委托单上报设置为1
-    classifyType.value = '1' //contractType > 0 ? contractType + '' : '1'
+    classifyType.value = '1'
     //其它数据
     reportIds.value = rows[0].id //数据ID
     reportTaskName.value = entrustName //任务名称