ouyj 4 mesi fa
parent
commit
2b0ce3067d
3 ha cambiato i file con 24 aggiunte e 2 eliminazioni
  1. 10 0
      api/index/index.uts
  2. 9 0
      pages.json
  3. 5 2
      pages/login/index.uvue

+ 10 - 0
api/index/index.uts

@@ -23,3 +23,13 @@ export const registerServer = (cid: string): Promise<any> => {
         method: 'GET',
     })
 }
+
+/**
+ * 查询首页工单统计数据
+ */
+export const selectHomePageData = (): Promise<any> => {
+    return request({
+        url: '/gxt/repairOrder/selectHomePageData',
+        method: 'GET'
+    })
+}

+ 9 - 0
pages.json

@@ -182,6 +182,15 @@
 				"navigationBarTitleText": "修改密码",
 				"navigationStyle": "#custom"
 			}
+		},
+		{
+			"path": "pages/splash/index",
+			"style": {
+				"navigationBarTitleText": "",
+				"navigationStyle": "custom",
+				"enablePullDownRefresh": false,
+				"backgroundColor": "#ffffff"
+			}
 		}
 	],
 	"globalStyle": {

+ 5 - 2
pages/login/index.uvue

@@ -237,9 +237,12 @@
 
             // 跳转到首页
             setTimeout(() => {
-                uni.redirectTo({
+                /* uni.redirectTo({
                     url: '/pages/index/index'
-                })
+                }) */
+				uni.redirectTo({
+				    url: '/pages/splash/index'
+				}) 
             }, 1000)
 
         } catch (e: any) {