Explorar o código

委托单获取文件题名修改

duy hai 2 meses
pai
achega
cd91ad046c
Modificáronse 1 ficheiros con 5 adicións e 11 borrados
  1. 5 11
      src/views/tentative/detect/commission.vue

+ 5 - 11
src/views/tentative/detect/commission.vue

@@ -222,17 +222,10 @@ const contractInfo = ref(useAppState.getContractInfo)
 onActivated(() => {
     getContractData()
     getEntrustStatusData()
-    setContractType(contractInfo.value?.contractType)
+    
 })
-const authBtnTabKey = ref('1')
-const setContractType = (contractType) => {
-    let typeValue = '1'
-    if (contractType > 0) {
-        typeValue = contractType + ''
-    }
-    authBtnTabKey.value = typeValue
- 
-}
+
+
 //搜索表单
 const searchForm = ref({ entrustName: null, current: 1, size: 20, total: 0 })
 
@@ -633,7 +626,8 @@ const reportClick = async () => {
      const { data } = await wbsApi.queryDocumentTitle({
                     // primaryKeyId: info['primaryKeyId'],
                     primaryKeyId: rows[0].id,
-                    classify: authBtnTabKey.value,
+                    classify: '1',
+
                 })
                 reportTaskName.value = isString(data) ? data : ''
     //显示任务上报