diff --git a/client/src/api/file.js b/client/src/api/file.js
index 259e70e..01c683e 100644
--- a/client/src/api/file.js
+++ b/client/src/api/file.js
@@ -1,7 +1,7 @@
import { getToken } from "@/utils/auth"
import request from '@/utils/request'
-export function uploadUrl() {
+export function upUrl() {
return process.env.VUE_APP_BASE_API + '/file/'
}
diff --git a/client/src/api/implementrule.js b/client/src/api/implementrule.js
new file mode 100644
index 0000000..781af7f
--- /dev/null
+++ b/client/src/api/implementrule.js
@@ -0,0 +1,32 @@
+import request from '@/utils/request'
+
+export function getImplementRuleList(query) {
+ return request({
+ url: '/certset/implementrule/',
+ method: 'get',
+ params: query
+ })
+}
+
+export function createImplementRule(data) {
+ return request({
+ url: '/certset/implementrule/',
+ method: 'post',
+ data
+ })
+}
+
+export function updateImplementRule(id, data) {
+ return request({
+ url: `/certset/implementrule/${id}/`,
+ method: 'put',
+ data
+ })
+}
+
+export function deleteImplementRule(id) {
+ return request({
+ url: `/certset/implementrule/${id}/`,
+ method: 'delete'
+ })
+}
\ No newline at end of file
diff --git a/client/src/api/standard.js b/client/src/api/standard.js
new file mode 100644
index 0000000..823b71f
--- /dev/null
+++ b/client/src/api/standard.js
@@ -0,0 +1,32 @@
+import request from '@/utils/request'
+
+export function getStandardList(query) {
+ return request({
+ url: '/certset/standard/',
+ method: 'get',
+ params: query
+ })
+}
+
+export function createStandard(data) {
+ return request({
+ url: '/certset/standard/',
+ method: 'post',
+ data
+ })
+}
+
+export function updateStandard(id, data) {
+ return request({
+ url: `/certset/standard/${id}/`,
+ method: 'put',
+ data
+ })
+}
+
+export function deleteStandard(id) {
+ return request({
+ url: `/certset/standard/${id}/`,
+ method: 'delete'
+ })
+}
\ No newline at end of file
diff --git a/client/src/router/index.js b/client/src/router/index.js
index 1a2c4d9..5ace654 100644
--- a/client/src/router/index.js
+++ b/client/src/router/index.js
@@ -61,6 +61,27 @@ export const constantRoutes = [
* the routes that need to be dynamically loaded based on user perms
*/
export const asyncRoutes = [
+ {
+ path: '/certset',
+ component: Layout,
+ redirect: '/certset/implementrule',
+ name: 'certset',
+ meta: { title: '认证配置', icon: 'example'},
+ children: [
+ {
+ path: 'implementrule',
+ name: 'ImplementRule',
+ component: () => import('@/views/implementrule/implementrule'),
+ meta: { title: '认证规则', icon: 'example', perms: ['implementrule_manage'] }
+ },
+ {
+ path: 'standard',
+ name: 'Standard',
+ component: () => import('@/views/standard/standard'),
+ meta: { title: '标准库', icon: 'example', perms: ['standard_manage'] }
+ }
+ ]
+ },
{
path: '/system',
component: Layout,
@@ -71,7 +92,7 @@ export const asyncRoutes = [
{
path: 'user',
name: 'User',
- component: () => import('@/views/system/user.vue'),
+ component: () => import('@/views/system/user'),
meta: { title: '用户管理', icon: 'user', perms: ['user_manage'] }
},
{
diff --git a/client/src/views/implementrule/implementrule.vue b/client/src/views/implementrule/implementrule.vue
new file mode 100644
index 0000000..a32523e
--- /dev/null
+++ b/client/src/views/implementrule/implementrule.vue
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+ 搜索
+ 刷新重置
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+ {{ scope.row.type }}
+
+
+ {{ scope.row.mime }}
+
+
+ {{ scope.row.size }}
+
+
+ {{ scope.row.path }}
+
+
+
+ {{ scope.row.create_time }}
+
+
+
+
+
+
+
+
diff --git a/client/src/views/standard/standard.vue b/client/src/views/standard/standard.vue
new file mode 100644
index 0000000..9d5bf28
--- /dev/null
+++ b/client/src/views/standard/standard.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+ 搜索
+ 刷新重置
+
+
+ 新增
+
+
+
+
+ {{ scope.row.code }}
+
+
+
+ {{ scope.row.name }}
+ {{ scope.row.name }}
+
+
+
+ {{ scope.row.publish_date }}
+
+
+ {{ scope.row.implement_date }}
+
+
+ {{ scope.row.status }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+ 取消
+ 确认
+
+
+
+
+
diff --git a/client/src/views/system/user.vue b/client/src/views/system/user.vue
index 85042ed..c690684 100644
--- a/client/src/views/system/user.vue
+++ b/client/src/views/system/user.vue
@@ -143,7 +143,7 @@