From f4850af50f7341d6e7ac6637b9297d3edfa7be23 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 23 Mar 2022 09:56:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=B4=A6=E5=8F=B7=E7=BB=84?= =?UTF-8?q?=E7=BB=87=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 5 + package.json | 1 + src/utils/api.js | 11 + src/views/system/manageLog.vue | 1 + src/views/system/staff.vue | 1507 ++++++++++++++++++++------------ src/views/system/staffSide.vue | 387 -------- 6 files changed, 955 insertions(+), 957 deletions(-) delete mode 100644 src/views/system/staffSide.vue diff --git a/package-lock.json b/package-lock.json index 105fa7a..372a0ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7403,6 +7403,11 @@ "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz", "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==" }, + "js-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz", + "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==" + }, "js-levenshtein": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", diff --git a/package.json b/package.json index b1310b0..bb6b76f 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "babel-polyfill": "^6.26.0", "element-theme": "^2.0.1", "element-ui": "^2.13.0", + "js-cookie": "^3.0.1", "mavon-editor": "^2.6.17", "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", diff --git a/src/utils/api.js b/src/utils/api.js index 1212069..f96f436 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -210,6 +210,17 @@ export default { deleteKeyword: `data/keyword/deleteKeyword`, getKeywordByCategoryId: `data/keyword/getKeywordByCategoryId`, + // 后台账号 + deleteArch: `${host1}/nakadai/staffAccountArchitecture/delete`, + saveArch: `${host1}/nakadai/staffAccountArchitecture/save`, + treeListArch: `${host1}/nakadai/staffAccountArchitecture/treeList`, + updateArch: `${host1}/nakadai/staffAccountArchitecture/update`, + delStaff: `${host1}/nakadai/backstageStaff/delStaff`, + modifyStaff: `${host1}/nakadai/backstageStaff/modifyStaff`, + saveStaff: `${host1}/nakadai/backstageStaff/saveStaff`, + staffDetail: `${host1}/nakadai/backstageStaff/staffDetail`, + staffList: `${host1}/nakadai/backstageStaff/staffList`, + // 角色管理 batchRemove: `users/role/batchRemove`, //批量删除角色 checkRoleIsExist: `users/role/checkRoleIsExist`, //判断该角色是否存在 diff --git a/src/views/system/manageLog.vue b/src/views/system/manageLog.vue index 6491483..d08f30e 100644 --- a/src/views/system/manageLog.vue +++ b/src/views/system/manageLog.vue @@ -203,6 +203,7 @@ export default { } .sign { position: relative; + display: inline-block; margin: -11px 0 0 -22%; font-size: 14px; color: #9076FF; diff --git a/src/views/system/staff.vue b/src/views/system/staff.vue index e87ea16..08375a5 100644 --- a/src/views/system/staff.vue +++ b/src/views/system/staff.vue @@ -1,140 +1,257 @@ + + \ No newline at end of file diff --git a/src/views/system/staffSide.vue b/src/views/system/staffSide.vue deleted file mode 100644 index c77057f..0000000 --- a/src/views/system/staffSide.vue +++ /dev/null @@ -1,387 +0,0 @@ - - -