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 @@ + + + + + +