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