diff --git a/public/admin.js b/public/admin.js
index c538f00..c027175 100644
--- a/public/admin.js
+++ b/public/admin.js
@@ -638,5 +638,20 @@ export default {
icon: 'el-icon-collection',
},
},
+ {
+ path: '/regulation',
+ name: 'regulation',
+ component: 'regulation',
+ meta: {
+ title: 'message.router.regulation',
+ isLink: '',
+ isHide: false,
+ isKeepAlive: true,
+ isAffix: false,
+ isIframe: false,
+ roles: ['admin', 'common'],
+ icon: 'el-icon-collection',
+ },
+ },
],
};
diff --git a/src/i18n/lang/en.js b/src/i18n/lang/en.js
index a9f6144..f2fabca 100644
--- a/src/i18n/lang/en.js
+++ b/src/i18n/lang/en.js
@@ -58,6 +58,7 @@ export default {
evaluate: 'evaluate',
classList: 'classList',
department: 'department',
+ regulation: 'regulation'
},
staticRoutes: {
signIn: 'signIn',
diff --git a/src/i18n/lang/zh-cn.js b/src/i18n/lang/zh-cn.js
index f8f7aae..fea3294 100644
--- a/src/i18n/lang/zh-cn.js
+++ b/src/i18n/lang/zh-cn.js
@@ -57,7 +57,8 @@ export default {
recipe: '每周食谱',
evaluate: '幼儿评价表',
classList: '班级管理',
- department: '部门管理'
+ department: '部门管理',
+ regulation: '规则管理'
},
staticRoutes: {
diff --git a/src/i18n/lang/zh-tw.js b/src/i18n/lang/zh-tw.js
index 3cb501d..27132ae 100644
--- a/src/i18n/lang/zh-tw.js
+++ b/src/i18n/lang/zh-tw.js
@@ -58,6 +58,8 @@ export default {
evaluate: '幼儿评价表',
classList: '班级管理',
department: '部门管理',
+ regulation: '规则管理',
+
},
staticRoutes: {
signIn: '登入',
diff --git a/src/views/classList/classList/index.vue b/src/views/classList/classList/index.vue
index d673266..fed75e3 100644
--- a/src/views/classList/classList/index.vue
+++ b/src/views/classList/classList/index.vue
@@ -35,6 +35,8 @@
修改名称
删除
+ 设置规则
+
@@ -124,15 +126,53 @@
确 定
+
+
+
+
+
+ {{ item.groupName }}
+
+
+
+
+
+
+
+
+ 进校
+ 出校
+
+
+ 早上到校时间
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/regulation/components/CommonTablesImg.vue b/src/views/regulation/components/CommonTablesImg.vue
new file mode 100644
index 0000000..c5d3705
--- /dev/null
+++ b/src/views/regulation/components/CommonTablesImg.vue
@@ -0,0 +1,115 @@
+
+
+
+
+ {{ scope.row[column.prop] }}
+
+
![]()
+
+
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
diff --git a/src/views/regulation/index.vue b/src/views/regulation/index.vue
new file mode 100644
index 0000000..7649240
--- /dev/null
+++ b/src/views/regulation/index.vue
@@ -0,0 +1,573 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 进校
+ 出校
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file