From 68c1124ad660c69612cc22a5561e8ef0f2521f17 Mon Sep 17 00:00:00 2001
From: wyw <571921741@qq.com>
Date: Wed, 20 Nov 2024 16:42:15 +0800
Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E7=82=B9=E5=87=BB?=
=?UTF-8?q?=E6=96=B9=E6=B3=95=202=E3=80=81=E6=B7=BB=E5=8A=A0=20=E5=BD=93?=
=?UTF-8?q?=E7=8F=AD=E5=91=98=E5=B7=A5=E9=A1=B5=E9=9D=A2=20=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=E8=B7=AF=E7=94=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 6 +
pages/apply/user.vue | 342 ++++++++++++++++++++++++++++++++++++++++++
pages/index/index.vue | 31 ++--
3 files changed, 367 insertions(+), 12 deletions(-)
create mode 100644 pages/apply/user.vue
diff --git a/pages.json b/pages.json
index 2c62ee5..b7f8316 100644
--- a/pages.json
+++ b/pages.json
@@ -31,6 +31,12 @@
// "navigationBarBackgroundColor": "#fff"
}
},
+ {
+ "path": "pages/apply/user",
+ "style": {
+ "navigationBarTitleText": "当班员工"
+ }
+ },
{
"path": "pages/apply/complete",
"style": {
diff --git a/pages/apply/user.vue b/pages/apply/user.vue
new file mode 100644
index 0000000..d99ecdc
--- /dev/null
+++ b/pages/apply/user.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+ *
+
+ 组织信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 重置
+ 提交
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 08377a2..8df7118 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,9 +1,10 @@
-
+
-
+
{{baseListItem.name}}
@@ -53,7 +54,7 @@
const pages = getCurrentPages()
const currentPage = pages[pages.length - 1]
const Options = currentPage.options
- uni.setStorageSync('Company', Options.Company?Options.Company:'XLK')
+ uni.setStorageSync('Company', Options.Company ? Options.Company : 'XLK')
},
onLoad() {
this.getCaidan()
@@ -66,15 +67,21 @@
})
},
methods: {
- click(name) {
- this.baseList.map((item, index) => {
- if (index == name) {
- if (item.name == '新增用户') {
- uni.navigateTo({
- url: '/pages/apply/index'
- })
- }
- }
+ // click(name) {
+ // this.baseList.map((item, index) => {
+ // if (index == name) {
+ // if (item.name == '新增用户') {
+ // uni.navigateTo({
+ // url: '/pages/apply/index'
+ // })
+ // }
+ // }
+ // })
+ // },
+
+ menuClick(linkToUrl) {
+ uni.navigateTo({
+ url: linkToUrl
})
},
goCamera() {