From 23542f9779be70e09057bd4b83e799a937fb12c2 Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Mon, 30 Dec 2024 20:46:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=AE=AF=E5=BD=95=EF=BC=8C=E6=88=91?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 16 + pages/login.vue | 3 +- pages/realName/my/my.vue | 205 ++++++++++++- pages/realName/my/news.vue | 2 +- pages/realName/workbench/index.vue | 20 +- .../realName/workbench/myOrg/addressBook.vue | 288 ++++++++++++++++++ pages/realName/workbench/myOrg/index.vue | 257 ++++++++++++++++ 7 files changed, 773 insertions(+), 18 deletions(-) create mode 100644 pages/realName/workbench/myOrg/addressBook.vue create mode 100644 pages/realName/workbench/myOrg/index.vue diff --git a/pages.json b/pages.json index 3bc0656..bab88ea 100644 --- a/pages.json +++ b/pages.json @@ -625,6 +625,22 @@ "navigationStyle": "custom" } }, + + { + //我的组织--通讯录 + "path": "pages/realName/workbench/myOrg/index", + "style": { + "navigationStyle": "custom" + } + }, + + { + //通讯录 + "path": "pages/realName/workbench/myOrg/addressBook", + "style": { + "navigationStyle": "custom" + } + }, { //人员暂退-暂退人员选择 diff --git a/pages/login.vue b/pages/login.vue index fc91ac2..e543466 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -242,7 +242,7 @@ export default { return { selectTab: 1, loginForm: { - phone: '14769014289', // 18955734761 18700000001 17681010134 15955147005 15656751631 + phone: '19388390926', // 18955734761 18700000001 17681010134 15955147005 15656751631 pd: 'Lphd@123456' //YNsbd@123456 Lv@200018 }, loginForm0: { @@ -431,6 +431,7 @@ export default { if (res.data.code == 200) { uni.setStorageSync('realNameToken', res.data.data.access_token) uni.setStorageSync('realNameUser', res.data.data.loginUser.sysUser) + uni.setStorageSync('realNamePermissions', res.data.data.loginUser.permissions) setTimeout(() => { uni.reLaunch({ url: '/pages/realName/index/index' diff --git a/pages/realName/my/my.vue b/pages/realName/my/my.vue index ba1e180..95b2cd3 100644 --- a/pages/realName/my/my.vue +++ b/pages/realName/my/my.vue @@ -18,10 +18,10 @@ 我的消息 - + + + + + + + + + @@ -280,7 +288,11 @@ uni.navigateTo({ url: `/pages/realName/workbench/cutToPlace/index` }) - } + } else if (name=='我的组织'){ + uni.navigateTo({ + url: `/pages/realName/workbench/myOrg/index` + }) + } }, //监督端 @@ -317,6 +329,12 @@ }) }, + goMyOrg() { + uni.navigateTo({ //人员资质检查 + url: `/pages/realName/workbench/myOrg/index` + }) + }, + goDailyPlanManagement() { uni.navigateTo({ //日计划管理 url: `/pages/realName/workbench/dailyPlanManagement/index` diff --git a/pages/realName/workbench/myOrg/addressBook.vue b/pages/realName/workbench/myOrg/addressBook.vue new file mode 100644 index 0000000..d4e9daa --- /dev/null +++ b/pages/realName/workbench/myOrg/addressBook.vue @@ -0,0 +1,288 @@ + + + + + \ No newline at end of file diff --git a/pages/realName/workbench/myOrg/index.vue b/pages/realName/workbench/myOrg/index.vue new file mode 100644 index 0000000..819eb93 --- /dev/null +++ b/pages/realName/workbench/myOrg/index.vue @@ -0,0 +1,257 @@ + + + + + +