Bläddra i källkod

关联取样增加参数

duy 5 månader sedan
förälder
incheckning
9ef4e6f353
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      src/views/tentative/detect/commission.vue

+ 2 - 0
src/views/tentative/detect/commission.vue

@@ -206,6 +206,7 @@ import mainApi from '~api/tentative/detect/commission'
 import samplingApi from '~api/tentative/material/sampling'
 import TestTree from '~src/views/tentative/material/components/TestTree.vue'
 import SamplingPage from './commission/sampling.vue'
+import { isCancel } from 'axios'
 
 //变量
 const router = useRouter()
@@ -392,6 +393,7 @@ const getDelegateDataInfo = async (id, entrustId, formData) => {
         contractId: delegateContractId.value,
         nodeId: primaryKeyId,
         formData: JSON.stringify(formData),
+        isCancel:id ? false : true,
     })
     if (!error && code === 200) {
         delegateHtmlForm.value = getObjValue(data[0])