From ccedc2e714c01d51f8eb986c6549ea701811f4bb Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期六, 08 十月 2022 18:07:44 +0800
Subject: [PATCH] 新增运营管理中基础设置的违规违建类型添加,添加一些取消按钮的实现

---
 src/views/operate/fivepack/shop/components/main/index.vue |   36 ++++++++++++------------------------
 1 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/src/views/operate/fivepack/shop/components/main/index.vue b/src/views/operate/fivepack/shop/components/main/index.vue
index 24d85b0..a1a6dbf 100644
--- a/src/views/operate/fivepack/shop/components/main/index.vue
+++ b/src/views/operate/fivepack/shop/components/main/index.vue
@@ -100,30 +100,18 @@
             const that = this;
             const { currentPage, pageSize, search } = this;
             console.log(typeof search);
-            // 鑾峰彇鎵�鏈夌敤鎴蜂俊鎭�佺敤鎴锋煡璇�(鏆傛椂鏀寔鐢佃瘽鍙风爜)
-            // this.$axios.get(`sccg/store/storeinfo/list?keyword=${search}&pageNum=${currentPage}&pageSize=${pageSize}`).then(res => {
-            //     if (res.code === 200) {
-            //         res.data.records.forEach(item => {
-            //             item.createTime = helper(item.createTime);
-            //             item.status == 1 ? item.status = true : item.status = false;
-            //         })
-            //         that.totalNum = res.data.pages * pageSize;
-            //         that.tableData = res.data.records;
-            //         this.renderFlag = true;
-            //     }
-            // })
-            // this.$axios({
-            //     method: 'get',
-            //     url:`sccg/store/storeinfo/list?keyword=${search}&pageNum=${currentPage}&pageSize=${pageSize}`,
-            //     // data:{
-            //     //     keyword:'',
-            //     //     pageNum:currentPage,
-            //     //     pageSize,
-            //     // }
-            // })
-            //     .then(res => {
-            //         console.log(res);
-            //     })
+            this.$axios.get(`sccg/store/storeinfo/list?keyword=${search}&pageNum=${currentPage}&pageSize=${pageSize}`)
+                .then(res => {
+                    if (res.code === 200) {
+                        res.data.list.forEach(item => {
+                            item.createTime = helper(item.createTime);
+                            item.status == 1 ? item.status = true : item.status = false;
+                        })
+                        that.totalNum = res.data.total;
+                        that.tableData = res.data.list;
+                        this.renderFlag = true;
+                    }
+                })
         },
         // 鏌ョ湅鐢ㄦ埛淇℃伅(涓嶅彲淇敼)
         handleFind(rowData) {

--
Gitblit v1.8.0