diff --git a/src/api/model/system.js b/src/api/model/system.js
index c1b3b76d..155fa53c 100644
--- a/src/api/model/system.js
+++ b/src/api/model/system.js
@@ -262,15 +262,6 @@ export default {
return await http.post(this.url,data);
}
},
- /*update: {
- name: "更新岗位",
- req: async function(id, data){
- return await http.put(
- `${config.API_URL}/system/post_role/${id}/`,
- data
- );
- }
- },*/
delete: {
name: "删除岗位",
req: async function(id){
diff --git a/src/config/route.js b/src/config/route.js
index f83a9376..5f60b9b9 100644
--- a/src/config/route.js
+++ b/src/config/route.js
@@ -603,7 +603,8 @@ const routes = [
"meta": {
"title": "相关证书",
"icon": "el-icon-menu",
- "hidden": true
+ "hidden": true,
+ "perms": ["certificates"]
},
"component": "hrm/certificate"
},
diff --git a/src/views/sys/post.vue b/src/views/sys/post.vue
index d32c9869..cf39ccd6 100644
--- a/src/views/sys/post.vue
+++ b/src/views/sys/post.vue
@@ -1,199 +1,259 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{scope.row.post_.name}}
-
-
- {{scope.row.role_.name}}
-
-
- {{options[scope.row.data_range]}}
-
-
-
- 编辑
-
- 删除
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.post_.name }}
+
+
+ {{ scope.row.role_.name }}
+
+
+ {{
+ options[scope.row.data_range]
+ }}
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+