许成详 il y a 6 ans
Parent
révision
5407bc312f
2 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 0
    1
      dist/index.html
  2. 9
    8
      src/pages/system/newOrder/newOrderList/index.vue

+ 0
- 1
dist/index.html Voir le fichier

@@ -1 +0,0 @@
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.37bf117acf0136ecd09ddd44368577a7.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.6b74243060a3ebebe6d1.js></script></body></html>

+ 9
- 8
src/pages/system/newOrder/newOrderList/index.vue Voir le fichier

@@ -126,8 +126,8 @@ export default {
126 126
   },
127 127
   created () {
128 128
     this.updateSystemInfo().then(() => {
129
-      if (this.caseid) {
130
-        console.log(this.caseid)
129
+      console.log(this.CaseId)
130
+      if (this.CaseId) {
131 131
         this.init()
132 132
       }
133 133
     })
@@ -161,6 +161,7 @@ export default {
161 161
         return
162 162
       }
163 163
       clearInterval(this.interval)
164
+      console.log(this.CaseId)
164 165
       this.GetOrdersList({ caseid: this.CaseId }).then((res) => {
165 166
         for (var n = 0; n < (res.list || []).length; n++) {
166 167
           if (res.list[n].IsIntimidate === 0) {
@@ -182,7 +183,7 @@ export default {
182 183
             clearInterval(timer)
183 184
           }
184 185
         }, 300)
185
-        this.getBusinessStatus(this.caseid).then(() => {
186
+        this.getBusinessStatus(this.CaseId).then(() => {
186 187
           if (this.businessStatus) {
187 188
             this.initWebSocket()
188 189
           }
@@ -277,7 +278,7 @@ export default {
277 278
     initWebSocket () {
278 279
       console.log('initWebSocket')
279 280
       // console.log(this.user)
280
-      let caseid = this.caseid
281
+      let caseid = this.CaseId
281 282
       let id = this.userInfo.UserId
282 283
       const wsPath = this.$api.system.notify.newGoodsOrders.url
283 284
       const wsRealPath = replaceURLParams(wsPath, { grps: caseid, id })
@@ -309,26 +310,26 @@ export default {
309 310
       }
310 311
     },
311 312
     open () {
312
-      if (!this.caseid) {
313
+      if (!this.CaseId) {
313 314
         this.$message({
314 315
           type: 'info',
315 316
           message: '请先选择案场'
316 317
         })
317 318
         return
318 319
       }
319
-      this.openBusiness(this.caseid).then(() => {
320
+      this.openBusiness(this.CaseId).then(() => {
320 321
         this.init()
321 322
       })
322 323
     },
323 324
     close () {
324
-      if (!this.caseid) {
325
+      if (!this.CaseId) {
325 326
         this.$message({
326 327
           type: 'info',
327 328
           message: '请先选择案场'
328 329
         })
329 330
         return
330 331
       }
331
-      this.closeBusiness(this.caseid)
332
+      this.closeBusiness(this.CaseId)
332 333
     }
333 334
   }
334 335
 }