asd26269546 1 ano atrás
pai
commit
cca49099be

+ 1 - 1
src/views/salesMange/saleContract/contract/index.vue

@@ -462,7 +462,7 @@ const config = computed(() => {
                 type: "warning",
               }).then(() => {
                 proxy
-                  .post("/contract/edit", {
+                  .post("/contract/cancels", {
                     id: row.id,
                     status: 88,
                   })

+ 6 - 4
src/views/salesMange/salesMange/performance/index.vue

@@ -572,9 +572,11 @@ const getList = async (req) => {
       loading.value = false;
     }, 200);
   });
-  proxy.post("/commission/getHeadStatistics",{...sourceList.value.pagination}).then((res) => {
-    headerData.value = res;
-  });
+  proxy
+    .post("/commission/getHeadStatistics", sourceList.value.pagination)
+    .then((res) => {
+      headerData.value = res;
+    });
 };
 
 const onQuery = () => {
@@ -824,7 +826,7 @@ const submitChangeForm = () => {
           });
           openChange.value = false;
           getList();
-          getHeaderData();
+          // getHeaderData();
         },
         (err) => {
           console.log(err);