feat: 添加审批页面跳转,修改wotui版本
This commit is contained in:
parent
c7361586e8
commit
71f5296f7e
@ -96,7 +96,7 @@
|
|||||||
"pinia-plugin-persistedstate": "3.2.1",
|
"pinia-plugin-persistedstate": "3.2.1",
|
||||||
"qs": "6.5.3",
|
"qs": "6.5.3",
|
||||||
"vue": "3.4.21",
|
"vue": "3.4.21",
|
||||||
"wot-design-uni": "1.4.0",
|
"wot-design-uni": "1.5.1",
|
||||||
"z-paging": "^2.8.4"
|
"z-paging": "^2.8.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -72,8 +72,8 @@ importers:
|
|||||||
specifier: 3.4.21
|
specifier: 3.4.21
|
||||||
version: 3.4.21(typescript@5.7.2)
|
version: 3.4.21(typescript@5.7.2)
|
||||||
wot-design-uni:
|
wot-design-uni:
|
||||||
specifier: 1.4.0
|
specifier: 1.5.1
|
||||||
version: 1.4.0(vue@3.4.21(typescript@5.7.2))
|
version: 1.5.1(vue@3.4.21(typescript@5.7.2))
|
||||||
z-paging:
|
z-paging:
|
||||||
specifier: ^2.8.4
|
specifier: ^2.8.4
|
||||||
version: 2.8.4
|
version: 2.8.4
|
||||||
@ -5462,8 +5462,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
|
resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
wot-design-uni@1.4.0:
|
wot-design-uni@1.5.1:
|
||||||
resolution: {integrity: sha512-h6sjrgfg7mP0nJwGTiHn/iTLPFyRswMpQV6MKhWN3skTnXe+FAyndvtXofpXp+uLkTXefGfw5BPI0uuCMD874w==}
|
resolution: {integrity: sha512-jiDRuF8r7+xAldc4Dp+2T1VnqDnOoMWsXu6aRpDg2QG7ZH+/bJl7W8H8hHbKFgA9lu1By/HCDmpG7JC45nYtBw==}
|
||||||
engines: {HBuilderX: ^3.8.7}
|
engines: {HBuilderX: ^3.8.7}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: '>=3.2.47'
|
vue: '>=3.2.47'
|
||||||
@ -12246,7 +12246,7 @@ snapshots:
|
|||||||
|
|
||||||
word-wrap@1.2.5: {}
|
word-wrap@1.2.5: {}
|
||||||
|
|
||||||
wot-design-uni@1.4.0(vue@3.4.21(typescript@5.7.2)):
|
wot-design-uni@1.5.1(vue@3.4.21(typescript@5.7.2)):
|
||||||
dependencies:
|
dependencies:
|
||||||
vue: 3.4.21(typescript@5.7.2)
|
vue: 3.4.21(typescript@5.7.2)
|
||||||
|
|
||||||
|
|||||||
108
src/pages.json
108
src/pages.json
@ -63,6 +63,74 @@
|
|||||||
"path": "pages/application-list/application-list",
|
"path": "pages/application-list/application-list",
|
||||||
"type": "page"
|
"type": "page"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/approval/approval",
|
||||||
|
"type": "page"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/allowed-time",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-rules",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/classes-add-edit",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/classes-manage",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/flexible-punching",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/issue-record-detail",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/issue-record",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/code/code",
|
"path": "pages/code/code",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
@ -110,6 +178,46 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/workbench/workbench",
|
"path": "pages/workbench/workbench",
|
||||||
"type": "page"
|
"type": "page"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-add-group/attendance-add-group",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-add-group/attendance-staff",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-add-group/attendance-time",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-add-group/outside-rules",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/attendance/attendance-add-group/special-date-set",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": []
|
"subPackages": []
|
||||||
|
|||||||
5
src/pages/approval/approval.vue
Normal file
5
src/pages/approval/approval.vue
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<template>
|
||||||
|
<view></view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts"></script>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
import CustomTab from '@/pages/home/HomeTab.vue'
|
import CustomTab from '@/pages/home/HomeTab.vue'
|
||||||
import { useBasicStore, useUserStore } from '@/store'
|
import { useBasicStore, useUserStore } from '@/store'
|
||||||
import { Result } from '@/constants/result'
|
import { Result } from '@/constants/result'
|
||||||
import { HomeTab, TabBarItem } from '@/typings'
|
import { HomeTab } from '@/typings'
|
||||||
import HomeSwiper from '@/pages/home/HomeSwiper.vue'
|
import HomeSwiper from '@/pages/home/HomeSwiper.vue'
|
||||||
import HomeBulletin from '@/pages/home/HomeBulletin.vue'
|
import HomeBulletin from '@/pages/home/HomeBulletin.vue'
|
||||||
import HomeTodo from '@/pages/home/HomeTodo.vue'
|
import HomeTodo from '@/pages/home/HomeTodo.vue'
|
||||||
@ -80,29 +80,6 @@
|
|||||||
|
|
||||||
const teamPopup = ref(null)
|
const teamPopup = ref(null)
|
||||||
|
|
||||||
const list = ref<Array<TabBarItem>>([
|
|
||||||
{
|
|
||||||
title: '首页',
|
|
||||||
isDot: true,
|
|
||||||
icon: 'home'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '我的',
|
|
||||||
value: 0,
|
|
||||||
icon: '/static/tabbar/home.png'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '最大值',
|
|
||||||
value: 200,
|
|
||||||
icon: '/static/tabbar/home.png'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '客服',
|
|
||||||
value: 3,
|
|
||||||
icon: '/static/tabbar/home.png'
|
|
||||||
}
|
|
||||||
])
|
|
||||||
|
|
||||||
const featuresList = ref<Array<HomeTab>>([
|
const featuresList = ref<Array<HomeTab>>([
|
||||||
{
|
{
|
||||||
name: '视频',
|
name: '视频',
|
||||||
@ -235,11 +212,13 @@
|
|||||||
{
|
{
|
||||||
id: 386,
|
id: 386,
|
||||||
icon: 'https://file.hikmall.com/prod/image/c5a56acf8efe47d78fc0107552c98bf8.png',
|
icon: 'https://file.hikmall.com/prod/image/c5a56acf8efe47d78fc0107552c98bf8.png',
|
||||||
|
url: '/pages/approval/approval',
|
||||||
name: '发起审批'
|
name: '发起审批'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 385,
|
id: 385,
|
||||||
icon: 'https://file.hikmall.com/prod/image/6b946ba258234cdc8d447631b07939c3.png',
|
icon: 'https://file.hikmall.com/prod/image/6b946ba258234cdc8d447631b07939c3.png',
|
||||||
|
url: '/pages/approval/approval',
|
||||||
name: '审批记录'
|
name: '审批记录'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
13
src/types/uni-pages.d.ts
vendored
13
src/types/uni-pages.d.ts
vendored
@ -6,7 +6,15 @@
|
|||||||
interface NavigateToOptions {
|
interface NavigateToOptions {
|
||||||
url: "/pages/home/home" |
|
url: "/pages/home/home" |
|
||||||
"/pages/application-list/application-list" |
|
"/pages/application-list/application-list" |
|
||||||
|
"/pages/approval/approval" |
|
||||||
|
"/pages/attendance/allowed-time" |
|
||||||
|
"/pages/attendance/attendance-rules" |
|
||||||
"/pages/attendance/attendance" |
|
"/pages/attendance/attendance" |
|
||||||
|
"/pages/attendance/classes-add-edit" |
|
||||||
|
"/pages/attendance/classes-manage" |
|
||||||
|
"/pages/attendance/flexible-punching" |
|
||||||
|
"/pages/attendance/issue-record-detail" |
|
||||||
|
"/pages/attendance/issue-record" |
|
||||||
"/pages/code/code" |
|
"/pages/code/code" |
|
||||||
"/pages/get-code/get-code" |
|
"/pages/get-code/get-code" |
|
||||||
"/pages/login/login" |
|
"/pages/login/login" |
|
||||||
@ -15,7 +23,10 @@ interface NavigateToOptions {
|
|||||||
"/pages/reset-password/reset-password" |
|
"/pages/reset-password/reset-password" |
|
||||||
"/pages/workbench/workbench" |
|
"/pages/workbench/workbench" |
|
||||||
"/pages/attendance/attendance-add-group/attendance-add-group" |
|
"/pages/attendance/attendance-add-group/attendance-add-group" |
|
||||||
"/pages/attendance/attendance-add-group/outside-rules";
|
"/pages/attendance/attendance-add-group/attendance-staff" |
|
||||||
|
"/pages/attendance/attendance-add-group/attendance-time" |
|
||||||
|
"/pages/attendance/attendance-add-group/outside-rules" |
|
||||||
|
"/pages/attendance/attendance-add-group/special-date-set";
|
||||||
}
|
}
|
||||||
interface RedirectToOptions extends NavigateToOptions {}
|
interface RedirectToOptions extends NavigateToOptions {}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user