yuantianjiao 6 years ago
parent
commit
3bbb7167e1
2 changed files with 10 additions and 9 deletions
  1. 1
    1
      dist/index.html
  2. 9
    8
      src/pages/system/newOrder/newOrderList/index.vue

+ 1
- 1
dist/index.html View File

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.716ad2278248b4a8df5c21977ed2e460.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.24e7c3d97dc17a7e8e9a.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.d246d7e75035e2104e2b8e5e9f8f5f5f.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.7e921535e20f729cf046.js></script><script type=text/javascript src=./static/js/app.05cecd511c12d1e1b7da.js></script></body></html>

+ 9
- 8
src/pages/system/newOrder/newOrderList/index.vue View File

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