Browse Source

bug修改

wangfei 6 years ago
parent
commit
4ae409d80e

+ 2
- 2
config/index.js View File

14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
14
         // target: 'https://dp.huiju360.com.cn/hj_operations',
15
         // target: 'http://192.168.0.62:8080', //wf
15
         // target: 'http://192.168.0.62:8080', //wf
16
         // target: 'http://127.0.0.1:8080', 
16
         // target: 'http://127.0.0.1:8080', 
17
-        // target: 'http://192.168.0.62:8080', //wf
17
+        target: 'http://localhost:8080', //wf
18
         // target: 'http://192.168.0.11', //ys
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
         // target: 'http://dev.ycjcjy.com/', //frp
20
         // target: 'http://dev.ycjcjy.com/', //frp
21
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
21
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
22
         // pathRewrite: {
22
         // pathRewrite: {

+ 10
- 12
src/pages/system/cardAndCouponManager/givingRecords.vue View File

91
         page: 1, // 当前页码
91
         page: 1, // 当前页码
92
         pagesize: 10, // 请求数据量
92
         pagesize: 10, // 请求数据量
93
       },
93
       },
94
-      currentList: [{
95
-        xxx: 'xxx'
96
-      }]
94
+      currentList: []
97
     }
95
     }
98
   },
96
   },
99
   mounted () {
97
   mounted () {
100
     this.$nextTick(function () {
98
     this.$nextTick(function () {
101
-      // this.getList()
99
+      this.getList()
102
     })
100
     })
103
   },
101
   },
104
   computed: {
102
   computed: {
122
       this.getList()
120
       this.getList()
123
     },
121
     },
124
     getList () { // 获取列表
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
     handleCurrentChange (val) { // 跳转到分页
132
     handleCurrentChange (val) { // 跳转到分页
135
       this.getList()
133
       this.getList()

+ 1
- 1
src/pages/system/goodsManager/goodsTypeManager/add.vue View File

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

+ 1
- 1
src/pages/system/goodsManager/goodsTypeManager/edit.vue View File

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