diff --git a/src/api/system/pilot.js b/src/api/system/pilot.js
new file mode 100644
index 0000000..fe0f276
--- /dev/null
+++ b/src/api/system/pilot.js
@@ -0,0 +1,45 @@
+import request from '@/utils/request'
+import { encrypt } from '@/utils/rsaEncrypt'
+
+export function add(data) {
+ data.password = encrypt(data.password)
+ console.log(data);
+
+ return request({
+ url: 'api/emEmployees',
+ method: 'post',
+ data
+ })
+}
+
+export function del(ids) {
+ return request({
+ url: 'api/emEmployees',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function edit(data) {
+ if(data.password) data.password = encrypt(data.password)
+ return request({
+ url: 'api/emEmployees',
+ method: 'put',
+ data
+ })
+}
+
+export function updatePass(user) {
+ const data = {
+ oldPass: encrypt(user.oldPass),
+ newPass: encrypt(user.newPass)
+ }
+ return request({
+ url: 'api/emEmployees/updatePass/',
+ method: 'post',
+ data
+ })
+}
+
+export default { add, edit, del }
+
diff --git a/src/views/features/404.vue b/src/views/features/404.vue
index 237d81f..9df8382 100644
--- a/src/views/features/404.vue
+++ b/src/views/features/404.vue
@@ -11,7 +11,7 @@
OOPS!
{{ message }}
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
- 返回首页
+ 返回首页
@@ -21,6 +21,11 @@
export default {
name: 'Page404',
+ data(){
+ return {
+ backUrl: process.env.VUE_APP_BASE_PATH
+ }
+ },
computed: {
message() {
return '网管说这个页面你不能进......'
diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue
index 564eba1..b42d6ad 100644
--- a/src/views/system/area/index.vue
+++ b/src/views/system/area/index.vue
@@ -11,7 +11,7 @@
:props="{ children: 'sons', label: 'name' }" @node-click="handleNodeClick">
@@ -121,6 +121,7 @@ export default {
this.lamLoading = true;
await crudArea.tree().then(async(res) => {
res.id = 0;
+ res.type = 'area';
this.list[0] = res;
await this.getTree();
})
@@ -141,9 +142,9 @@ export default {
parentId: data.parentId,
parentName: data.parentName
}])
- const type = node.level === 1
+ const type = node.level === 1 || node.level === 2
this.crud.title = type ? '区域' : '景区'
- this.form.type = type ? 'area' : 'spot'
+ this.form.type = type ? 'area' : 'scenic'
this.getList(id,data)
},
handleSourceClick(){
diff --git a/src/views/system/pilot/index.vue b/src/views/system/pilot/index.vue
new file mode 100644
index 0000000..96fc033
--- /dev/null
+++ b/src/views/system/pilot/index.vue
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![Preview Image]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/user/center.vue b/src/views/system/user/center.vue
index dc64481..4f1c5c7 100644
--- a/src/views/system/user/center.vue
+++ b/src/views/system/user/center.vue
@@ -21,7 +21,6 @@
- 用户昵称
{{ user.nickName }}
- - 所属部门
{{ user.dept.name }}
- 手机号码
{{ user.phone }}
- 用户邮箱
{{ user.email }}
-
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index c98950a..0259b20 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -30,8 +30,7 @@
-
+
@@ -76,56 +75,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 上传
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![Preview Image]()
-
-
-
-