许成详 6 лет назад
Родитель
Сommit
a6e9feccbd

+ 2
- 2
config/index.js Просмотреть файл

@@ -12,9 +12,9 @@ module.exports = {
12 12
     proxyTable: {
13 13
       '/api': {
14 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 16
         // target: 'http://127.0.0.1:8080', 
17
-        target: 'http://192.168.0.11:8080', //ys
17
+        // target: 'http://192.168.0.11:8080', //ys
18 18
         // target: 'http://192.168.0.125:8080', //hyq
19 19
         // target: 'http://dev.ycjcjy.com/', //frp
20 20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置

+ 1
- 1
dist/index.html Просмотреть файл

@@ -1 +1 @@
1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.ea06fddef5fc59dd1e98f5e2f0fce613.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.1fa8953994752a35e5fd.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.459c8e767ce942c562b95ba6d2ff2393.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.1fa8953994752a35e5fd.js></script></body></html>

+ 2
- 1
src/pages/system/dataStatistics/cardCouponList/index.vue Просмотреть файл

@@ -171,7 +171,8 @@ export default {
171 171
       })
172 172
     },
173 173
     exportExcel () {
174
-      window.open(`${this.toolClass.ReplaceOrg(this.$api.statistics.cardCouponListExcel.url)}?token=${localStorage.getItem('JWT')}`, '_blank')
174
+      // console.log(`${this.toolClass.ReplaceOrg(this.$api.statistics.cardCouponListExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}&ctype=${this.postData.ctype}&name=${this.postData.name}`)
175
+      window.open(`${this.toolClass.ReplaceOrg(this.$api.statistics.cardCouponListExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}&ctype=${this.postData.ctype}&name=${this.postData.name}`, '_blank')
175 176
     },
176 177
   }
177 178
 }

+ 2
- 1
src/pages/system/dataStatistics/cardCouponUsedList/index.vue Просмотреть файл

@@ -253,7 +253,8 @@ export default {
253 253
       })
254 254
     },
255 255
     exportExcel () {
256
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.cardCouponUsedListExcel.url)}?token=${localStorage.getItem('JWT')}`
256
+      var url = '&tel=' + this.postData.tel + '&status' + this.postData.status + '&receivetype' + this.postData.receivetype + '&begindate' + this.postData.begindate + '&enddate' + this.postData.enddate + '&name' + this.postData.name
257
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.cardCouponUsedListExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
257 258
     },
258 259
   }
259 260
 }

+ 2
- 1
src/pages/system/dataStatistics/courseOrderList/index.vue Просмотреть файл

@@ -201,7 +201,8 @@ export default {
201 201
       })
202 202
     },
203 203
     exportExcel () {
204
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseOrderExcel.url)}?token=${localStorage.getItem('JWT')}`
204
+      var url = '&typeid=' + this.postData.typeid + '&begindate=' + this.postData.begindate + '&enddate=' + this.postData.enddate + '&name=' + this.postData.name
205
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseOrderExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
205 206
     },
206 207
   }
207 208
 }

+ 3
- 2
src/pages/system/dataStatistics/courseStatisticsList/index.vue Просмотреть файл

@@ -167,13 +167,14 @@ export default {
167 167
     },
168 168
     getList () {
169 169
       this.getCourseList(this.postData).then((res) => {
170
-        console.log(JSON.stringify(res))
170
+        // console.log(JSON.stringify(res))
171 171
         this.postData.page = res.page
172 172
         this.total = res.pagenum
173 173
       })
174 174
     },
175 175
     exportExcel () {
176
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseListExcel.url)}?token=${localStorage.getItem('JWT')}`
176
+      var url = '&typeid' + this.postData.typeid + '&name' + this.postData.name
177
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseListExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
177 178
     },
178 179
   }
179 180
 }

+ 2
- 1
src/pages/system/dataStatistics/courseVerifyList/index.vue Просмотреть файл

@@ -198,7 +198,8 @@ export default {
198 198
       })
199 199
     },
200 200
     exportExcel () {
201
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseVerifyListExcel.url)}?token=${localStorage.getItem('JWT')}`
201
+      var url = '&tel' + this.postData.tel + '&status' + this.postData.status + '&name' + this.postData.name
202
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.courseVerifyListExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
202 203
     },
203 204
   }
204 205
 }

+ 2
- 1
src/pages/system/dataStatistics/goodsOrderList/index.vue Просмотреть файл

@@ -251,7 +251,8 @@ export default {
251 251
       LODOP.ADD_PRINT_HTM(0, 0, document.getElementsByClassName(cl)[0].offsetWidth, document.getElementsByClassName(cl)[0].offsetHeight, document.getElementsByClassName(cl)[0].innerHTML)
252 252
     },
253 253
     exportExcel () {
254
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.goodsOrderExcel.url)}?token=${localStorage.getItem('JWT')}`
254
+      var url = '&status' + this.postData.status + '&usertype' + this.postData.usertype + '&begindate' + this.postData.begindate + '&enddate' + this.postData.enddate
255
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.goodsOrderExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
255 256
     },
256 257
   }
257 258
 }

+ 2
- 1
src/pages/system/dataStatistics/goodsStatisticsList/index.vue Просмотреть файл

@@ -161,7 +161,8 @@ export default {
161 161
       })
162 162
     },
163 163
     exportExcel () {
164
-      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.goodsExcel.url)}?token=${localStorage.getItem('JWT')}`
164
+      var url = '&typeid' + this.postData.typeid + '&name' + this.postData.name
165
+      window.location.href = `${this.toolClass.ReplaceOrg(this.$api.statistics.goodsExcel.url)}?token=${localStorage.getItem('JWT')}&caseid=${this.CaseId === 'all' ? '' : this.CaseId}${url}`
165 166
     },
166 167
   }
167 168
 }