From 42adf7605b0d7f272e1f26b22e5b92c00b293d80 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 22 三月 2024 15:35:52 +0800
Subject: [PATCH] 登录页面接口、订单管理列表页面接口先跟进aps项目接口联调及部分代码删减

---
 src/views/other/commonDialog/EditDropdownDialog.vue |   49 +++++--------------------------------------------
 1 files changed, 5 insertions(+), 44 deletions(-)

diff --git a/src/views/other/commonDialog/EditDropdownDialog.vue b/src/views/other/commonDialog/EditDropdownDialog.vue
index e67830f..b72f925 100644
--- a/src/views/other/commonDialog/EditDropdownDialog.vue
+++ b/src/views/other/commonDialog/EditDropdownDialog.vue
@@ -55,7 +55,7 @@
 </template>
 
 <script>
-import { getSupplierTypeList, updateSupplierType, updateIndustry, getIndustryList } from "@/api/supplierManage/supplier"
+// import { getSupplierTypeList, updateSupplierType, updateIndustry, getIndustryList } from "@/api/supplierManage/supplier"
 export default {
   name: "EditDropdownDialog",
   props: {
@@ -95,26 +95,7 @@
         this.getIndustryList()
       }
     },
-    // 渚涘簲鍟嗙被鍨�
-    async getSupplierTypeList() {
-      await getSupplierTypeList({
-        page: 1,
-        pageSize: 100
-      }).then((res) => {
-        console.log(res.data)
-        this.tableData = res.data.list
-      })
-    },
-    // 鎵�灞炶涓�
-    async getIndustryList() {
-      await getIndustryList({
-        page: 1,
-        pageSize: 100
-      }).then((res) => {
-        console.log(res.data)
-        this.tableData = res.data.list
-      })
-    },
+
     handleClose() {
       this.editConfig.editVisible = false
     },
@@ -186,29 +167,9 @@
           ite.ID = 0
           return { ...ite }
         })
-        if (this.editConfig.title === "渚涘簲鍟嗙被鍨�") {
-          updateSupplierType({
-            supplierTypes: this.tableData
-          }).then((res) => {
-            console.log(res)
-            if (res.code === 200) {
-              this.$message.success("缂栬緫鎴愬姛")
-              this.$parent.getSupplierTypeList()
-              this.handleClose()
-            }
-          })
-        } else if (this.editConfig.title === "鎵�灞炶涓�") {
-          updateIndustry({
-            industries: this.tableData
-          }).then((res) => {
-            console.log(res)
-            if (res.code === 200) {
-              this.$message.success("缂栬緫鎴愬姛")
-              this.$parent.getIndustryList()
-              this.handleClose()
-            }
-          })
-        }
+        // if (this.editConfig.title === "渚涘簲鍟嗙被鍨�") {
+        // } else if (this.editConfig.title === "鎵�灞炶涓�") {
+        // }
       }
     }
   }

--
Gitblit v1.8.0