ZaiZai 1 年間 前
コミット
c2f9d4ea2e

+ 8 - 0
src/api/modules/tentative/detect/commission.js

@@ -33,4 +33,12 @@ export default {
             data: form,
         }, msg)
     },
+    //删除
+    async remove(ids, msg = true) {
+        return HcApi({
+            url: '/api/blade-business/entrustinfo/remove',
+            method: 'post',
+            params: { ids },
+        }, msg)
+    },
 }

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

@@ -145,12 +145,12 @@ import { useAppStore } from '~src/store'
 import { useRouter } from 'vue-router'
 import { getStoreValue, setStoreValue } from '~src/utils/storage'
 import { deepClone, formValidate, getArrValue, getObjValue, isNullES, isString } from 'js-fast-way'
-import TestTree from '~src/views/tentative/material/components/TestTree.vue'
 import { getDictionaryData } from '~uti/tools'
-import SamplingPage from './commission/sampling.vue'
 import { getErtractInfo } from '~api/other'
 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'
 
 //变量
 const router = useRouter()
@@ -254,6 +254,8 @@ const tableSelection = (rows) => {
 
 //删除
 const delModalClick = async (_, resolve) => {
+    //remove
+
     resolve()
 }