Răsfoiți Sursa

fix:小订单渠道去除人员树形选择

刘恒 2 ani în urmă
părinte
comite
b35b579d46
1 a modificat fișierele cu 18 adăugiri și 18 ștergeri
  1. 18 18
      src/pages/quote/smallorders/channel.vue

+ 18 - 18
src/pages/quote/smallorders/channel.vue

@@ -61,9 +61,9 @@
         </div>
       </div>
       <div style="display: flex">
-        <div style="width: 300px; height: 900px; overflow-y: auto">
+        <!-- <div style="width: 300px; height: 900px; overflow-y: auto">
           <a-tree :tree-data="treeData" :replaceFields="replaceFields"></a-tree>
-        </div>
+        </div> -->
         <standard-table
           bordered
           :columns="columns"
@@ -221,22 +221,22 @@ export default {
     // }, 1000);
   },
   methods: {
-    getAgentTree(id) {
-      this.$API.quote
-        .getAgentTree({
-          deptId: id ? id : "",
-          managementSource: 1,
-          // provinceId: this.formState.provinceId,
-          // cityId: this.formState.cityId,
-          // countyId: this.formState.countyId,
-          // houseId: this.formState.houseId,
-        })
-        .then((res) => {
-          if (res.data.code === 200) {
-            this.treeData = [...res.data.data];
-          }
-        });
-    },
+    // getAgentTree(id) {
+    //   this.$API.quote
+    //     .getAgentTree({
+    //       deptId: id ? id : "",
+    //       managementSource: 1,
+    //       // provinceId: this.formState.provinceId,
+    //       // cityId: this.formState.cityId,
+    //       // countyId: this.formState.countyId,
+    //       // houseId: this.formState.houseId,
+    //     })
+    //     .then((res) => {
+    //       if (res.data.code === 200) {
+    //         this.treeData = [...res.data.data];
+    //       }
+    //     });
+    // },
     onChangeTime(val) {
       // console.log(val);
       this.formState.beginDate = val[0];