sunlupeng 1 jaar geleden
bovenliggende
commit
cfc72e73e5
6 gewijzigde bestanden met toevoegingen van 236 en 188 verwijderingen
  1. 17 0
      api/index.js
  2. 2 2
      manifest.json
  3. 3 2
      pages.json
  4. 212 184
      pages/index.vue
  5. 1 0
      static/svg/right_arrow.svg
  6. 1 0
      static/svg/yingtao.svg

+ 17 - 0
api/index.js

@@ -0,0 +1,17 @@
+import request from '@/utils/request'
+
+//获取所有一、二级菜单
+export function appList() {
+	return request({
+		url: '/system/menu/getPrimarySecondaryMenus',
+		method: 'get'
+	})
+}
+
+//获取我的待办任务数量
+export function getTodoCount() {
+	return request({
+		url: '/bpm/task/todo-count',
+		method: 'get',
+	})
+}

+ 2 - 2
manifest.json

@@ -1,7 +1,7 @@
 {
     "name" : "智企云",
-    "appid" : "__UNI__25A9D80",
-    "description" : "",
+    "appid" : "__UNI__DEE5D4F",
+    "descrip__UNI__DEE5D4Ftion" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",
     "transformPx" : false,

+ 3 - 2
pages.json

@@ -1,9 +1,10 @@
 {
+
   "pages": [{
     "path": "pages/index",
     "style": {
-      "navigationBarTitleText": "智企云",
-      "navigationStyle": "custom"
+      "navigationBarTitleText": "智企云"
+      // "navigationStyle": "custom"
     }
   }, {
     "path": "pages/login",

File diff suppressed because it is too large
+ 212 - 184
pages/index.vue


File diff suppressed because it is too large
+ 1 - 0
static/svg/right_arrow.svg


File diff suppressed because it is too large
+ 1 - 0
static/svg/yingtao.svg