yuantianjiao 6 lat temu
rodzic
commit
0ec46960b8

+ 1
- 1
dist/index.html Wyświetl plik

@@ -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.90669cc3fbc21880e606b85d1375e710.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.ee8ac8bcfdbcedb227c3.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.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
- 1
src/pages/system/cardAndCouponManager/cardManager/index.vue Wyświetl plik

@@ -92,7 +92,7 @@
92 92
               size="mini"
93 93
               type="success"
94 94
               v-if="scope.row.SendType === 'channel'"
95
-              v-clipboard:copy="clientUrl + '/user.html#/receiveChannelShared/' + scope.row.CardId + '/card/receive'"
95
+              v-clipboard:copy="clientUrl + 'user.html#/receiveChannelShared/' + scope.row.CardId + '/card/receive'"
96 96
               v-clipboard:success="onCopy"
97 97
               v-clipboard:error="onError"
98 98
               >点击复制链接</el-button>

+ 1
- 1
src/pages/system/cardAndCouponManager/couponManager/index.vue Wyświetl plik

@@ -87,7 +87,7 @@
87 87
               size="mini"
88 88
               type="success"
89 89
               v-if="scope.row.SendType === 'channel'"
90
-              v-clipboard:copy="clientUrl + '/user.html#/receiveChannelShared/' + scope.row.CouponId + '/coupon/receive'"
90
+              v-clipboard:copy="clientUrl + 'user.html#/receiveChannelShared/' + scope.row.CouponId + '/coupon/receive'"
91 91
               v-clipboard:success="onCopy"
92 92
               v-clipboard:error="onError"
93 93
               >点击复制链接</el-button>

+ 4
- 4
src/pages/system/newOrder/newOrderList/index.vue Wyświetl plik

@@ -8,7 +8,7 @@
8 8
         </div>
9 9
         <ul>
10 10
           <li>
11
-            <el-select v-model="caseid" placeholder="请选择案场">
11
+            <el-select v-model="CaseId" placeholder="请选择案场">
12 12
               <el-option
13 13
                 v-for="item in cases"
14 14
                 :key="item.CaseId"
@@ -151,9 +151,9 @@ export default {
151 151
         console.log(key, this.websockets[key])
152 152
         this.websockets[key].onclose()
153 153
       })
154
-      console.log('init')
154
+      // console.log('init')
155 155
       var param = []
156
-      if (!this.caseid) {
156
+      if (!this.CaseId) {
157 157
         this.$message({
158 158
           type: 'info',
159 159
           message: '请先选择案场'
@@ -161,7 +161,7 @@ export default {
161 161
         return
162 162
       }
163 163
       clearInterval(this.interval)
164
-      this.GetOrdersList({ caseid: this.caseid }).then((res) => {
164
+      this.GetOrdersList({ caseid: this.CaseId }).then((res) => {
165 165
         for (var n = 0; n < (res.list || []).length; n++) {
166 166
           if (res.list[n].IsIntimidate === 0) {
167 167
             param.push(res.list[n].OrdersId)

+ 6
- 4
src/pages/system/systemSet/roleManager/index.vue Wyświetl plik

@@ -67,12 +67,13 @@ export default {
67 67
       key: '',
68 68
       selid: '',
69 69
       dialogTableVisible: false,
70
+      roleMenus: [],
70 71
     }
71 72
   },
72 73
   computed: {
73 74
     ...mapRoleState({
74 75
       roles: x => x.roleList,
75
-      roleMenus: x => x.roleMenus,
76
+      // roleMenus: x => x.roleMenus,
76 77
     }),
77 78
     ...mapState({
78 79
       menus: x => x.app.menus
@@ -136,9 +137,10 @@ export default {
136 137
     },
137 138
     handlePermission (index, row) {
138 139
       this.selid = row.RoleId
139
-      this.GetRoleMenu({id: this.selid})
140
-      console.log(this.roleMenus)
141
-      this.dialogTableVisible = true
140
+      this.GetRoleMenu({id: this.selid}).then((res) => {
141
+        this.roleMenus = res || []
142
+        this.dialogTableVisible = true
143
+      })
142 144
     },
143 145
     handleNodeClick (node) {
144 146
       console.log(node)

+ 1
- 1
src/pages/system/verificationManager/drawVerification/verificationList/index.vue Wyświetl plik

@@ -132,7 +132,7 @@ export default {
132 132
       this.getList()
133 133
     },
134 134
     reback () { // 返回
135
-      this.$router.push({ name: 'drawVerificationList' })
135
+      this.$router.push({ name: 'drawVerification' })
136 136
     },
137 137
   }
138 138
 }

+ 3
- 2
src/pages/system/verificationManager/phoneVerification/verificationList/index.vue Wyświetl plik

@@ -173,6 +173,7 @@ export default {
173 173
         page: 1,
174 174
         pagesize: 10
175 175
       },
176
+      currentItem: {},
176 177
     }
177 178
   },
178 179
   mounted () {
@@ -242,7 +243,7 @@ export default {
242 243
       this.dialogVisible = false
243 244
       this.getKeyList({
244 245
         ...this.postData,
245
-        caseid: this.CaseId,
246
+        caseid: this.currentItem.CaseId,
246 247
       }).then((res) => {
247 248
         // console.log(JSON.stringify(res))
248 249
         this.dialogTotal = res.pagenum
@@ -291,7 +292,7 @@ export default {
291 292
       this.postData.page = val
292 293
       this.getKeyList({
293 294
         ...this.postData,
294
-        caseid: this.CaseId,
295
+        caseid: this.currentItem.CaseId,
295 296
       }).then((res) => {
296 297
         // console.log(JSON.stringify(res))
297 298
         this.dialogTotal = res.pagenum

+ 10
- 7
src/store/system/role.js Wyświetl plik

@@ -79,13 +79,16 @@ export default {
79 79
       commit('updateInfo', {})
80 80
     },
81 81
     GetRoleMenu ({ commit }, payload) {
82
-      ajax(api.role.getmenus.url, {
83
-        method: api.role.getmenus.method,
84
-        urlData: {
85
-          id: payload.id,
86
-        },
87
-      }).then(res => {
88
-        commit('updateRoleMenus', res)
82
+      return new Promise((resolve, reject) => {
83
+        ajax(api.role.getmenus.url, {
84
+          method: api.role.getmenus.method,
85
+          urlData: {
86
+            id: payload.id,
87
+          },
88
+        }).then(res => {
89
+          commit('updateRoleMenus', res)
90
+          resolve(res)
91
+        }).catch(reject)
89 92
       })
90 93
     },
91 94
     SaveRoleMenus ({ commit }, payload) {