|
@@ -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])
|