USER-20230908AJ\Administrator 1 anno fa
parent
commit
efca218c38
3 ha cambiato i file con 17 aggiunte e 1 eliminazioni
  1. 5 0
      pages.json
  2. 7 1
      pages/index/index.vue
  3. 5 0
      pages/login/await-audit.vue

+ 5 - 0
pages.json

@@ -251,6 +251,11 @@
   "condition": {
     "current": 0,
     "list": [
+      {
+        "name": "审核",
+        "path": "/pages/login/await-audit",
+        "query": "productId=1"
+      },
       {
         "name": "添加任务",
         "path": "/page_task/information/information",

+ 7 - 1
pages/index/index.vue

@@ -95,7 +95,13 @@
 					color: '#3ABF7D',
 					value: "0"
 				}, ],
-				memberData: {},
+				memberData: {
+          draftNum: "0",
+          creditNum: "0",
+          noticeNum: "0",
+          take_num: "0",
+          unreadNum: "0",
+        },
 				statisticsData: {
 					endNum: 0,
 					exceedDate: 0,

+ 5 - 0
pages/login/await-audit.vue

@@ -10,6 +10,9 @@
 </template>
 
 <script>
+import {getMemberInfo} from "@/api/user";
+import tools from "@/service/tools";
+
 export default {
   data() {
     return {
@@ -33,6 +36,8 @@ export default {
               url: '/pages/index/index'
             });
           }
+        }else {
+          tools.error(res.msg)
         }
       })
     },