浏览代码

bug修改

wangfei 6 年前
父节点
当前提交
4ae409d80e

+ 2
- 2
config/index.js 查看文件

@@ -14,9 +14,9 @@ module.exports = {
14 14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
15 15
         // target: 'http://192.168.0.62:8080', //wf
16 16
         // target: 'http://127.0.0.1:8080', 
17
-        // target: 'http://192.168.0.62:8080', //wf
17
+        target: 'http://localhost:8080', //wf
18 18
         // target: 'http://192.168.0.11', //ys
19
-        target: 'http://192.168.0.125:8080', //hyq
19
+        // target: 'http://192.168.0.125:8080', //hyq
20 20
         // target: 'http://dev.ycjcjy.com/', //frp
21 21
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
22 22
         // pathRewrite: {

+ 10
- 12
src/pages/system/cardAndCouponManager/givingRecords.vue 查看文件

@@ -91,14 +91,12 @@ export default {
91 91
         page: 1, // 当前页码
92 92
         pagesize: 10, // 请求数据量
93 93
       },
94
-      currentList: [{
95
-        xxx: 'xxx'
96
-      }]
94
+      currentList: []
97 95
     }
98 96
   },
99 97
   mounted () {
100 98
     this.$nextTick(function () {
101
-      // this.getList()
99
+      this.getList()
102 100
     })
103 101
   },
104 102
   computed: {
@@ -122,14 +120,14 @@ export default {
122 120
       this.getList()
123 121
     },
124 122
     getList () { // 获取列表
125
-      // this.$ajax(this.$api.channelManager.getChannelList.url, {
126
-      //   method: this.$api.channelManager.getChannelList.method,
127
-      //   queryData: { ...this.postData, caseid: this.CaseId }
128
-      // }).then(res => {
129
-      //   this.currentList = res.list
130
-      //   this.postData.page = res.page
131
-      //   this.total = res.pagenum
132
-      // })
123
+      this.$ajax(this.$api.channelManager.getChannelList.url, {
124
+        method: this.$api.channelManager.getChannelList.method,
125
+        queryData: { ...this.postData, caseid: this.CaseId }
126
+      }).then(res => {
127
+        this.currentList = res.list
128
+        this.postData.page = res.page
129
+        this.total = res.pagenum
130
+      })
133 131
     },
134 132
     handleCurrentChange (val) { // 跳转到分页
135 133
       this.getList()

+ 1
- 1
src/pages/system/goodsManager/goodsTypeManager/add.vue 查看文件

@@ -9,7 +9,7 @@
9 9
               <el-input
10 10
                 placeholder="请输入商品种类"
11 11
                 v-model="postData.TypeName"
12
-                maxlength="10"
12
+                maxlength="6"
13 13
                 clearable>
14 14
               </el-input>
15 15
             </div>

+ 1
- 1
src/pages/system/goodsManager/goodsTypeManager/edit.vue 查看文件

@@ -9,7 +9,7 @@
9 9
               <el-input
10 10
                 placeholder="请输入商品种类"
11 11
                 v-model="postData.TypeName"
12
-                maxlength="10"
12
+                maxlength="6"
13 13
                 clearable>
14 14
               </el-input>
15 15
             </div>