From c0efa47d1fac1fef4e5557133783332a9028d6a6 Mon Sep 17 00:00:00 2001
From: xiayuping666 <1269237624@qq.com>
Date: Fri, 26 Apr 2024 18:02:23 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99=E5=AF=B9=E6=8E=A5=E5=AE=8C?=
=?UTF-8?q?=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/admin.js | 15 +
src/i18n/lang/en.js | 1 +
src/i18n/lang/zh-cn.js | 3 +-
src/i18n/lang/zh-tw.js | 2 +
src/views/classList/classList/index.vue | 92 ++-
src/views/department/index.vue | 2 +
src/views/regulation/api.js | 69 +++
src/views/regulation/columns.js | 52 ++
.../regulation/components/CommonHead.vue | 75 +++
.../regulation/components/CommonTablesImg.vue | 115 ++++
src/views/regulation/index.vue | 573 ++++++++++++++++++
11 files changed, 995 insertions(+), 4 deletions(-)
create mode 100644 src/views/regulation/api.js
create mode 100644 src/views/regulation/columns.js
create mode 100644 src/views/regulation/components/CommonHead.vue
create mode 100644 src/views/regulation/components/CommonTablesImg.vue
create mode 100644 src/views/regulation/index.vue
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