Pārlūkot izejas kodu

build:成本字段权限判断更改

snow 1 gadu atpakaļ
vecāks
revīzija
72d06f3cb9

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/index.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/css/app.d97354e8.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.16ecb479.js


BIN
dist/static/js/app.16ecb479.js.gz


+ 27 - 27
src/pages/newResultsInfo.vue

@@ -96,33 +96,33 @@ export default {
       this.state.loading = true
       const openid = getOpenid()
       const code = getParameterByName('code')
-      // const result = await userRequest.userinfo({ ...(openid ? { openid } : { code }) })
-         const result = {
-          "code": 0,
-          "message": "获取成功",
-          "data": {
-            "openid": "oOpc26KiZFBKIm7SB8knFGvov1qg",
-            "subscribe_time": "2022-12-21 15:52:14",
-            "updatetime": "2023-05-09 16:22:33",
-            "addtime": "2023-04-10 18:11:17",
-            "is_show": ["1", "2", "4", "6", "cost_field"],
-            "nickname": "雪寒",
-            "addr": "\/\/",
-            "gender": "0",
-            "mobile": "",
-            "avatar": "",
-            "status": "1",
-            "id": "1",
-            "companyArr": [
-              {"companyNo": "GS2302231125079621", "companyName": "北京百辰荣达国际科贸有限公司", "info": [1, 2, 6]}, 
-              {"companyNo": "GS2302231323386950","companyName": "北京泓源广诚国际商贸有限公司", "info": [1, 2, 6]}, 
-              {"companyNo": "GS2203161855277894","companyName": "北京万宇恒通国际科贸有限公司", "info": [1, 2, 6]},
-              {"companyNo": "GS2304031312553746","companyName": "北京锦兴弘昌科技有限公司",  "info": [1, 2, 6]}, 
-              {"companyNo": "GS2302231124114965","companyName": "北京普润心堂商贸有限公司", "info": [1, 2, 6]},
-              {"companyNo": "GS2401181650538135","companyName": "北京知事文化产业发展有限公司", "info": [1, 2, 6]}
-            ]
-        	}
-        }
+      const result = await userRequest.userinfo({ ...(openid ? { openid } : { code }) })
+        //  const result = {
+        //   "code": 0,
+        //   "message": "获取成功",
+        //   "data": {
+        //     "openid": "oOpc26KiZFBKIm7SB8knFGvov1qg",
+        //     "subscribe_time": "2022-12-21 15:52:14",
+        //     "updatetime": "2023-05-09 16:22:33",
+        //     "addtime": "2023-04-10 18:11:17",
+        //     "is_show": ["1", "2", "4", "6", "cost_field"],
+        //     "nickname": "雪寒",
+        //     "addr": "\/\/",
+        //     "gender": "0",
+        //     "mobile": "",
+        //     "avatar": "",
+        //     "status": "1",
+        //     "id": "1",
+        //     "companyArr": [
+        //       {"companyNo": "GS2302231125079621", "companyName": "北京百辰荣达国际科贸有限公司", "info": [1, 2, 6]}, 
+        //       {"companyNo": "GS2302231323386950","companyName": "北京泓源广诚国际商贸有限公司", "info": [1, 2, 6]}, 
+        //       {"companyNo": "GS2203161855277894","companyName": "北京万宇恒通国际科贸有限公司", "info": [1, 2, 6]},
+        //       {"companyNo": "GS2304031312553746","companyName": "北京锦兴弘昌科技有限公司",  "info": [1, 2, 6]}, 
+        //       {"companyNo": "GS2302231124114965","companyName": "北京普润心堂商贸有限公司", "info": [1, 2, 6]},
+        //       {"companyNo": "GS2401181650538135","companyName": "北京知事文化产业发展有限公司", "info": [1, 2, 6]}
+        //     ]
+        // 	}
+        // }
 
       this.companies = result.data.companyArr.reduce((prev, current) => {
         return current.info.includes(6) || current.info.includes('6') ? [...prev, {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels