diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json
index f5941faef..a98161d6f 100644
--- a/ruoyi-ui/package.json
+++ b/ruoyi-ui/package.json
@@ -101,6 +101,7 @@
"husky": "1.3.1",
"lint-staged": "8.1.5",
"mockjs": "1.0.1-beta3",
+ "mux.js": "^5.6.7",
"plop": "2.3.0",
"runjs": "^4.3.2",
"sass-loader": "^7.1.0",
diff --git a/ruoyi-ui/src/assets/styles/element-ui.scss b/ruoyi-ui/src/assets/styles/element-ui.scss
index 558eea484..a7f5bdf6d 100644
--- a/ruoyi-ui/src/assets/styles/element-ui.scss
+++ b/ruoyi-ui/src/assets/styles/element-ui.scss
@@ -1,84 +1,108 @@
-// cover some element-ui styles
-
-.el-breadcrumb__inner,
-.el-breadcrumb__inner a {
- font-weight: 400 !important;
-}
-
-.el-upload {
- input[type="file"] {
- display: none !important;
- }
-}
-
-.el-upload__input {
- display: none;
-}
-
-.cell {
- .el-tag {
- margin-right: 0px;
- }
-}
-
-.small-padding {
- .cell {
- padding-left: 5px;
- padding-right: 5px;
- }
-}
-
-.fixed-width {
- .el-button--mini {
- padding: 7px 10px;
- width: 60px;
- }
-}
-
-.status-col {
- .cell {
- padding: 0 10px;
- text-align: center;
-
- .el-tag {
- margin-right: 0px;
- }
- }
-}
-
-// to fixed https://github.com/ElemeFE/element/issues/2461
-.el-dialog {
- transform: none;
- left: 0;
- position: relative;
- margin: 0 auto;
-}
-
-// refine element ui upload
-.upload-container {
- .el-upload {
- width: 100%;
-
- .el-upload-dragger {
- width: 100%;
- height: 200px;
- }
- }
-}
-
-// dropdown
-.el-dropdown-menu {
- a {
- display: block
- }
-}
-
-// fix date-picker ui bug in filter-item
-.el-range-editor.el-input__inner {
- display: inline-flex !important;
-}
-
-// to fix el-date-picker css style
-.el-range-separator {
- box-sizing: content-box;
-}
+// cover some element-ui styles
+
+.el-breadcrumb__inner,
+.el-breadcrumb__inner a {
+ font-weight: 400 !important;
+}
+
+.el-upload {
+ input[type="file"] {
+ display: none !important;
+ }
+}
+
+.el-upload__input {
+ display: none;
+}
+
+.cell {
+ .el-tag {
+ margin-right: 0px;
+ }
+}
+
+.small-padding {
+ .cell {
+ padding-left: 5px;
+ padding-right: 5px;
+ }
+}
+
+.fixed-width {
+ .el-button--mini {
+ padding: 7px 10px;
+ width: 60px;
+ }
+}
+
+.status-col {
+ .cell {
+ padding: 0 10px;
+ text-align: center;
+
+ .el-tag {
+ margin-right: 0px;
+ }
+ }
+}
+
+// to fixed https://github.com/ElemeFE/element/issues/2461
+.el-dialog {
+ transform: none;
+ left: 0;
+ position: relative;
+ margin: 0 auto;
+}
+
+// refine element ui upload
+.upload-container {
+ .el-upload {
+ width: 100%;
+
+ .el-upload-dragger {
+ width: 100%;
+ height: 200px;
+ }
+ }
+}
+
+// dropdown
+.el-dropdown-menu {
+ a {
+ display: block
+ }
+}
+
+// fix date-picker ui bug in filter-item
+.el-range-editor.el-input__inner {
+ display: inline-flex !important;
+}
+
+// to fix el-date-picker css style
+.el-range-separator {
+ box-sizing: content-box;
+}
+.v-dialog .el-dialog {
+ width: 500px;
+}
+.big-dialog .el-dialog {
+ width: 800px;
+}
+
+@media (max-width: 768.98px) {
+ .v-dialog .el-dialog, .big-dialog .el-dialog {
+ width: 96%;
+ .el-dialog__body {
+ max-height: 68vh;
+ overflow-y: auto;
+ }
+ }
+ .el-card {
+ .el-card__body {
+ padding: 10px;
+ }
+ }
+ .el-form-item {
+ margin-bottom: 10px;
+ }
+}
diff --git a/ruoyi-ui/src/assets/styles/index.scss b/ruoyi-ui/src/assets/styles/index.scss
index ce1738226..0f4846f48 100644
--- a/ruoyi-ui/src/assets/styles/index.scss
+++ b/ruoyi-ui/src/assets/styles/index.scss
@@ -122,6 +122,9 @@ aside {
//main-container全局样式
.app-container {
padding: 20px;
+ @media (max-width: 768.98px) {
+ padding: 10px;
+ }
}
.components-container {
@@ -230,4 +233,20 @@ p {
ul,
li {
list-style: none;
-}
\ No newline at end of file
+}
+
+@media (max-width: 768.98px) {
+ .btn-list {
+ .el-button--mini {
+ padding: 4px 7px;
+ margin-bottom: 5px;
+ margin-left: 5px;
+ &:nth-of-type(1) {
+ margin-left: 0;
+ }
+ &:nth-of-type(5) {
+ margin-left: 0;
+ }
+ }
+ }
+}
diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss
index 42d90a602..0806eae43 100644
--- a/ruoyi-ui/src/assets/styles/ruoyi.scss
+++ b/ruoyi-ui/src/assets/styles/ruoyi.scss
@@ -1,197 +1,201 @@
- /**
- * 通用css样式布局处理
- * Copyright (c) 2019 ruoyi
- */
-
- /** 基础通用 **/
-.pt5 {
- padding-top: 5px;
-}
-.pr5 {
- padding-right: 5px;
-}
-.pb5 {
- padding-bottom: 5px;
-}
-.mt5 {
- margin-top: 5px;
-}
-.mr5 {
- margin-right: 5px;
-}
-.mb5 {
- margin-bottom: 5px;
-}
-.mb8 {
- margin-bottom: 8px;
-}
-.ml5 {
- margin-left: 5px;
-}
-.mt10 {
- margin-top: 10px;
-}
-.mr10 {
- margin-right: 10px;
-}
-.mb10 {
- margin-bottom: 10px;
-}
-.ml0 {
- margin-left: 10px;
-}
-.mt20 {
- margin-top: 20px;
-}
-.mr20 {
- margin-right: 20px;
-}
-.mb20 {
- margin-bottom: 20px;
-}
-.m20 {
- margin-left: 20px;
-}
-
-.el-dialog {
- margin-top: 6vh !important;
-}
-
-.el-table .el-table__header-wrapper th {
- word-break: break-word;
- background-color: #f8f8f9;
- color: #515a6e;
- height: 40px;
- font-size: 13px;
-}
-
-/** 表单布局 **/
-.form-header {
- font-size:15px;
- color:#6379bb;
- border-bottom:1px solid #ddd;
- margin:8px 10px 25px 10px;
- padding-bottom:5px
-}
-
-/** 表格布局 **/
-.pagination-container {
- position: relative;
- height: 25px;
- margin-bottom: 10px;
- margin-top: 15px;
- padding: 10px 20px !important;
-}
-
-.pagination-container .el-pagination {
- right: 0;
- position: absolute;
-}
-
-.el-table .fixed-width .el-button--mini {
- color: #409EFF;
- padding-left: 0;
- padding-right: 0;
- width: inherit;
-}
-
-.el-tree-node__content > .el-checkbox {
- margin-right: 8px;
-}
-
-.list-group-striped > .list-group-item {
- border-left: 0;
- border-right: 0;
- border-radius: 0;
- padding-left: 0;
- padding-right: 0;
-}
-
-.list-group {
- padding-left: 0px;
- list-style: none;
-}
-
-.list-group-item {
- border-bottom: 1px solid #e7eaec;
- border-top: 1px solid #e7eaec;
- margin-bottom: -1px;
- padding: 11px 0px;
- font-size: 13px;
-}
-
-.pull-right {
- float: right !important;
-}
-
-.el-card__header {
- padding: 14px 15px 7px;
- min-height: 40px;
-}
-
-.el-card__body {
- padding: 15px 20px 20px 20px;
-}
-
-.card-box {
- padding-right: 15px;
- padding-left: 15px;
- margin-bottom: 10px;
-}
-
-/* text color */
-.text-navy {
- color: #1ab394;
-}
-
-.text-primary {
- color: inherit;
-}
-
-.text-success {
- color: #1c84c6;
-}
-
-.text-info {
- color: #23c6c8;
-}
-
-.text-warning {
- color: #f8ac59;
-}
-
-.text-danger {
- color: #ed5565;
-}
-
-.text-muted {
- color: #888888;
-}
-
-/* image */
-.img-circle {
- border-radius: 50%;
-}
-
-.img-lg {
- width: 120px;
- height: 120px;
-}
-
-.avatar-upload-preview {
- position: absolute;
- top: 50%;
- transform: translate(50%, -50%);
- width: 180px;
- height: 180px;
- border-radius: 50%;
- box-shadow: 0 0 4px #ccc;
- overflow: hidden;
-}
-
-/* 拖拽列样式 */
-.sortable-ghost{
- opacity: .8;
- color: #fff!important;
- background: #42b983!important;
-}
\ No newline at end of file
+ /**
+ * 通用css样式布局处理
+ * Copyright (c) 2019 ruoyi
+ */
+
+ /** 基础通用 **/
+.pt5 {
+ padding-top: 5px;
+}
+.pr5 {
+ padding-right: 5px;
+}
+.pb5 {
+ padding-bottom: 5px;
+}
+.mt5 {
+ margin-top: 5px;
+}
+.mr5 {
+ margin-right: 5px;
+}
+.mb5 {
+ margin-bottom: 5px;
+}
+.mb8 {
+ margin-bottom: 8px;
+}
+.ml5 {
+ margin-left: 5px;
+}
+.mt10 {
+ margin-top: 10px;
+}
+.mr10 {
+ margin-right: 10px;
+}
+.mb10 {
+ margin-bottom: 10px;
+}
+.ml0 {
+ margin-left: 10px;
+}
+.mt20 {
+ margin-top: 20px;
+}
+.mr20 {
+ margin-right: 20px;
+}
+.mb20 {
+ margin-bottom: 20px;
+}
+.m20 {
+ margin-left: 20px;
+}
+
+.el-dialog {
+ margin-top: 6vh !important;
+}
+
+.el-table .el-table__header-wrapper th {
+ word-break: break-word;
+ background-color: #f8f8f9;
+ color: #515a6e;
+ height: 40px;
+ font-size: 13px;
+}
+
+/** 表单布局 **/
+.form-header {
+ font-size:15px;
+ color:#6379bb;
+ border-bottom:1px solid #ddd;
+ margin:8px 10px 25px 10px;
+ padding-bottom:5px
+}
+
+/** 表格布局 **/
+.pagination-container {
+ position: relative;
+ margin: 0;
+ background: #fff;
+ padding: 10px 0;
+ display: flex;
+ justify-content: flex-end;
+ @media (max-width: 768.98px) {
+ .el-pagination__sizes, .el-pagination__total {
+ display: none !important;
+ }
+ .el-pagination__jump {
+ margin-left: 5px;
+ }
+ }
+}
+
+.el-table .fixed-width .el-button--mini {
+ color: #409EFF;
+ padding-left: 0;
+ padding-right: 0;
+ width: inherit;
+}
+
+.el-tree-node__content > .el-checkbox {
+ margin-right: 8px;
+}
+
+.list-group-striped > .list-group-item {
+ border-left: 0;
+ border-right: 0;
+ border-radius: 0;
+ padding-left: 0;
+ padding-right: 0;
+}
+
+.list-group {
+ padding-left: 0px;
+ list-style: none;
+}
+
+.list-group-item {
+ border-bottom: 1px solid #e7eaec;
+ border-top: 1px solid #e7eaec;
+ margin-bottom: -1px;
+ padding: 11px 0px;
+ font-size: 13px;
+}
+
+.pull-right {
+ float: right !important;
+}
+
+.el-card__header {
+ padding: 14px 15px 7px;
+ min-height: 40px;
+}
+
+.el-card__body {
+ padding: 15px 20px 20px 20px;
+}
+
+.card-box {
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-bottom: 10px;
+}
+
+/* text color */
+.text-navy {
+ color: #1ab394;
+}
+
+.text-primary {
+ color: inherit;
+}
+
+.text-success {
+ color: #1c84c6;
+}
+
+.text-info {
+ color: #23c6c8;
+}
+
+.text-warning {
+ color: #f8ac59;
+}
+
+.text-danger {
+ color: #ed5565;
+}
+
+.text-muted {
+ color: #888888;
+}
+
+/* image */
+.img-circle {
+ border-radius: 50%;
+}
+
+.img-lg {
+ width: 120px;
+ height: 120px;
+}
+
+.avatar-upload-preview {
+ position: absolute;
+ top: 50%;
+ transform: translate(50%, -50%);
+ width: 180px;
+ height: 180px;
+ border-radius: 50%;
+ box-shadow: 0 0 4px #ccc;
+ overflow: hidden;
+}
+
+/* 拖拽列样式 */
+.sortable-ghost{
+ opacity: .8;
+ color: #fff!important;
+ background: #42b983!important;
+}
diff --git a/ruoyi-ui/src/components/Pagination/index.vue b/ruoyi-ui/src/components/Pagination/index.vue
index 08ff09046..fea499ae6 100644
--- a/ruoyi-ui/src/components/Pagination/index.vue
+++ b/ruoyi-ui/src/components/Pagination/index.vue
@@ -1,101 +1,97 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/benyi/activity/index.vue b/ruoyi-ui/src/views/benyi/activity/index.vue
index 307f9c133..4d649bd67 100644
--- a/ruoyi-ui/src/views/benyi/activity/index.vue
+++ b/ruoyi-ui/src/views/benyi/activity/index.vue
@@ -52,8 +52,8 @@
入场券:一个家庭一张票,所有家庭持票入场,允许一个家长带领一名幼儿,摊主家庭的另外一位家长需要出示摊位号。
入场券可以做成正副联、也可以做成单张。如图:
-
-
+
+
入场券幼儿园可以自己设计制作,正面背景是幼儿园图片,写上活动名称及时间、地点。入场券的背面写上注意事项和活动规则。
摊位号:需要准备2套摊位号。1套在交摊位费报名时发给摊主,方便摊主在活动当天直接按号就位。另1套放在抽奖箱中用于抽奖时使用。
@@ -65,8 +65,8 @@
另一种是不同面值的人民币若干,1元、5元和10元。方便活动结束后家长用剩余的游戏币兑换人民币。
管理员和摊主挂牌:可制作袖章或颈挂牌明确身份。
-
-
+
+
奖品:摊主可凭摊位号参与抽奖活动,根据摊主人数合理安排奖品的等级和每个等级的人数。如:一等奖5名、二等奖10名、三等奖15名。
其他人员可凭入场券每个孩子均可获得一份参与奖品。
@@ -241,6 +241,9 @@ export default {
margin: 0 auto;
color: #333;
height: 100%;
+ @media (max-width: 768.98px) {
+ padding: 0 3%;
+ }
::v-deep .el-tabs__item {
font-weight: bold;
}
@@ -295,6 +298,10 @@ export default {
img {
flex: 1;
padding: 5px;
+ width: 100%;
+ &.img2 {
+ width: 50%;
+ }
}
}
.row-item {
@@ -304,4 +311,4 @@ export default {
}
}
}
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/calendarshow/index.vue b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
index 5bacf2d60..655f014c3 100644
--- a/ruoyi-ui/src/views/benyi/calendarshow/index.vue
+++ b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
@@ -166,6 +166,11 @@ export default {
}
.btn {
width: 96px;
+ @media (max-width: 768.98px) {
+ width: auto;
+ padding: 6px 7px;
+ font-size: 12px;
+ }
}
.no-border-btn {
border: none;
@@ -177,4 +182,12 @@ export default {
}
}
}
+@media (max-width: 768.98px) {
+ .fc button {
+ height: 30px;
+ }
+ .fc-toolbar h2 {
+ font-size: 16px;
+ }
+}
diff --git a/ruoyi-ui/src/views/benyi/checkindetail/index.vue b/ruoyi-ui/src/views/benyi/checkindetail/index.vue
index f6150306a..755348b5f 100644
--- a/ruoyi-ui/src/views/benyi/checkindetail/index.vue
+++ b/ruoyi-ui/src/views/benyi/checkindetail/index.vue
@@ -1,6 +1,11 @@
-
+
-
+
-
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
-
- 新增
-
-
-
+ 新增
+
+ 删除
+ 导出
+
-
-
+
+
-
+
-
-
+
+
{{ parseTime(scope.row.createTime) }}
-
+
修改
+ >修改
删除
+ >删除
-
+
全选
+ >全选
-
+
{{child.name}}
+ >{{ child.name }}
@@ -460,4 +509,4 @@ export default {
}
}
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/checkinstatisticsschool/index.vue b/ruoyi-ui/src/views/benyi/checkinstatisticsschool/index.vue
index ddf1ce5ed..451c711a2 100644
--- a/ruoyi-ui/src/views/benyi/checkinstatisticsschool/index.vue
+++ b/ruoyi-ui/src/views/benyi/checkinstatisticsschool/index.vue
@@ -40,10 +40,10 @@
-
+
{{ this.deptName }}班级儿童考勤表
- 考勤月份:{{ this.month }} ------ 班级总数:{{ this.classcount }} ------
+ 考勤月份:{{ this.month }} ---- 班级总数:{{ this.classcount }} ----
幼儿总数:{{ this.chilidcount }}
\ No newline at end of file
+
+
diff --git a/ruoyi-ui/src/views/benyi/child/index.vue b/ruoyi-ui/src/views/benyi/child/index.vue
index 3ce9914db..c7db80647 100644
--- a/ruoyi-ui/src/views/benyi/child/index.vue
+++ b/ruoyi-ui/src/views/benyi/child/index.vue
@@ -61,19 +61,16 @@
-
-
- 新增
-
-
-
+ 新增
+
+ 删除
+ 调班
+ 导入
+
删除家长填报链接
-
-
- 调班
-
-
- 导入
-
-
-
- 家长填报链接
-
-
-
+
+
-
+
@@ -225,7 +214,7 @@
/>
-
+
@@ -670,7 +659,7 @@ import {
addChild,
updateChild,
updateChild_tb,
- importTemplate,
+ importTemplate
} from "@/api/benyi/child";
import {
listContactpeople,
@@ -678,7 +667,7 @@ import {
getContactpeopleByChildId,
delContactpeople,
addContactpeople,
- updateContactpeople,
+ updateContactpeople
} from "@/api/benyi/contactpeople";
import { listClass } from "@/api/system/class";
@@ -698,22 +687,22 @@ export default {
placeholders: {
province: "请选择省",
city: "请选择市",
- area: "请选择区",
+ area: "请选择区"
},
diglogForm: {
province: null,
city: null,
- area: null,
+ area: null
},
diglogForm1: {
province: null,
city: null,
- area: null,
+ area: null
},
diglogForm2: {
province: null,
city: null,
- area: null,
+ area: null
},
// 连接内容
inviteCode: "",
@@ -761,7 +750,7 @@ export default {
// 设置上传的请求头部
headers: { Authorization: "Bearer " + getToken() },
// 上传的地址
- url: process.env.VUE_APP_BASE_API + "/benyi/child/importData",
+ url: process.env.VUE_APP_BASE_API + "/benyi/child/importData"
},
// 查询参数
queryParams: {
@@ -805,7 +794,7 @@ export default {
firstLanguage: undefined,
seconderLanguage: undefined,
otherLanguage: undefined,
- createuserid: undefined,
+ createuserid: undefined
},
// 表单参数
form: {},
@@ -816,44 +805,44 @@ export default {
// 表单校验
rules: {
name: [
- { required: true, message: "幼儿姓名不能为空", trigger: "blur" },
+ { required: true, message: "幼儿姓名不能为空", trigger: "blur" }
],
phone: [
- { required: true, message: "家长手机号码不能为空", trigger: "blur" },
+ { required: true, message: "家长手机号码不能为空", trigger: "blur" }
],
- classid: [{ required: true, message: "班级不能为空", trigger: "blur" }],
+ classid: [{ required: true, message: "班级不能为空", trigger: "blur" }]
},
rules_tb: {
- classid: [{ required: true, message: "班级不能为空", trigger: "blur" }],
- },
+ classid: [{ required: true, message: "班级不能为空", trigger: "blur" }]
+ }
};
},
created() {
this.getList();
this.getClassList();
- this.getDicts("sys_user_sex").then((response) => {
+ this.getDicts("sys_user_sex").then(response => {
this.sexOptions = response.data;
});
- this.getDicts("sys_normal_disable").then((response) => {
+ this.getDicts("sys_normal_disable").then(response => {
this.statusOptions = response.data;
});
- this.getDicts("sys_dm_mz").then((response) => {
+ this.getDicts("sys_dm_mz").then(response => {
this.mzOptions = response.data;
});
- this.getDicts("sys_yes_no").then((response) => {
+ this.getDicts("sys_yes_no").then(response => {
this.ynOptions = response.data;
});
- this.getDicts("sys_dm_ryqd").then((response) => {
+ this.getDicts("sys_dm_ryqd").then(response => {
this.sourceOptions = response.data;
});
- this.getDicts("sys_dm_jtgx").then((response) => {
+ this.getDicts("sys_dm_jtgx").then(response => {
this.jtgxOptions = response.data;
});
this.getLink();
},
components: {
//省市区三级联动全局组件
- VDistpicker,
+ VDistpicker
},
methods: {
/** 导入按钮操作 */
@@ -863,27 +852,24 @@ export default {
},
// 链接内容
getLink() {
- getUserProfile().then((response) => {
+ getUserProfile().then(response => {
var domain = window.location.host;
//console.log(domain);
//this.user = response.data;
- this.inviteCode =
- "http://" +
- domain +
- "/benyi_child/child_preserve";
+ this.inviteCode = "http://" + domain + "/benyi_child/child_preserve";
});
},
// 给家长发送链接
copy(e, text) {
const clipboard = new Clipboard(e.target, { text: () => text });
- clipboard.on("success", (e) => {
+ clipboard.on("success", e => {
this.msgSuccess("复制成功");
// 释放内存
clipboard.off("error");
clipboard.off("success");
clipboard.destroy();
});
- clipboard.on("error", (e) => {
+ clipboard.on("error", e => {
// 不支持复制
this.msgError("手机权限不支持复制功能");
// 释放内存
@@ -918,7 +904,7 @@ export default {
// return this.selectDictLabel(this.classOptions, row.classid);
var actions = [];
var datas = this.classOptions;
- Object.keys(datas).map((key) => {
+ Object.keys(datas).map(key => {
if (datas[key].bjbh == "" + row.classid) {
actions.push(datas[key].bjmc);
return false;
@@ -927,14 +913,14 @@ export default {
return actions.join("");
},
getClassList() {
- listClass(null).then((response) => {
+ listClass(null).then(response => {
this.classOptions = response.rows;
});
},
/** 查询幼儿信息列表 */
getList() {
this.loading = true;
- listChild(this.queryParams).then((response) => {
+ listChild(this.queryParams).then(response => {
this.childList = response.rows;
this.total = response.total;
this.loading = false;
@@ -993,7 +979,7 @@ export default {
seconderLanguage: undefined,
otherLanguage: undefined,
createuserid: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.diglogForm.province = "";
@@ -1029,7 +1015,7 @@ export default {
gmphone: undefined,
gmaddress: undefined,
gmoffphone: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form_jhr");
},
@@ -1045,7 +1031,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -1059,7 +1045,7 @@ export default {
async handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- await getChild(id).then((response) => {
+ await getChild(id).then(response => {
this.form = response.data;
this.diglogForm.province = response.data.birthProvincename;
@@ -1078,20 +1064,20 @@ export default {
this.title = "修改幼儿信息";
//根据幼儿id获取监护人信息
- getContactpeopleByChildId(this.form.id).then((res) => {
+ getContactpeopleByChildId(this.form.id).then(res => {
// console.log("childid:" + this.form.id + ";jhr:" + res.data);
this.form_jhr = res.data;
});
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateChild(this.form).then((response) => {
+ updateChild(this.form).then(response => {
if (response.code === 200) {
- updateContactpeople(this.form_jhr).then((res) => {
+ updateContactpeople(this.form_jhr).then(res => {
if (res.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -1101,11 +1087,11 @@ export default {
}
});
} else {
- addChild(this.form).then((response) => {
+ addChild(this.form).then(response => {
// console.log(response);
if (response.code === 200) {
this.form_jhr.childid = response.data;
- addContactpeople(this.form_jhr).then((res) => {
+ addContactpeople(this.form_jhr).then(res => {
this.msgSuccess("新增成功");
this.open = false;
this.getList();
@@ -1117,11 +1103,11 @@ export default {
});
},
/** 提交按钮 */
- submitForm_tb: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm_tb: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
console.log(this.ids + "---" + this.form.classid);
- updateChild_tb(this.form, this.ids).then((response) => {
+ updateChild_tb(this.form, this.ids).then(response => {
if (response.code === 200) {
this.msgSuccess("调班成功");
this.open_tb = false;
@@ -1147,17 +1133,17 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return delChild(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
+ .catch(function() {});
},
//所在省市区触发联动方法
onSelected_brith(data) {
@@ -1215,7 +1201,7 @@ export default {
},
/** 下载模板操作 */
importTemplate() {
- importTemplate().then((response) => {
+ importTemplate().then(response => {
this.download(response.msg);
});
},
@@ -1234,7 +1220,7 @@ export default {
// 提交上传文件
submitFileForm() {
this.$refs.upload.submit();
- },
- },
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/contactpeople/index.vue b/ruoyi-ui/src/views/benyi/contactpeople/index.vue
index f6aa34c1f..28d4e68f9 100644
--- a/ruoyi-ui/src/views/benyi/contactpeople/index.vue
+++ b/ruoyi-ui/src/views/benyi/contactpeople/index.vue
@@ -1,6 +1,11 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
+
-
- 修改
-
-
- 删除
-
-
+
+ 删除
+
-
+
-
-
+
+
-
-
-
+
+
+
修改
+ >修改
删除
+ >删除
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -190,7 +238,10 @@
-
+
@@ -202,7 +253,10 @@
-
+
@@ -224,7 +278,10 @@
-
+
@@ -248,7 +305,7 @@ import {
getContactpeople,
delContactpeople,
addContactpeople,
- updateContactpeople,
+ updateContactpeople
} from "@/api/benyi/contactpeople";
import { listChild } from "@/api/benyi/child";
@@ -297,20 +354,20 @@ export default {
gmgx: undefined,
gmphone: undefined,
gmaddress: undefined,
- gmoffphone: undefined,
+ gmoffphone: undefined
},
// 表单参数
form: {},
// 表单校验
rules: {
- childid: [{ required: true, message: "请选择幼儿", trigger: "blur" }],
- },
+ childid: [{ required: true, message: "请选择幼儿", trigger: "blur" }]
+ }
};
},
created() {
this.getList();
this.getChildList();
- this.getDicts("sys_dm_jtgx").then((response) => {
+ this.getDicts("sys_dm_jtgx").then(response => {
this.jtgxOptions = response.data;
});
},
@@ -320,7 +377,7 @@ export default {
// return this.selectDictLabel(this.classOptions, row.classid);
var actions = [];
var datas = this.childOptions;
- Object.keys(datas).map((key) => {
+ Object.keys(datas).map(key => {
if (datas[key].id == "" + row.childid) {
actions.push(datas[key].name);
return false;
@@ -330,14 +387,14 @@ export default {
},
/** 查询幼儿信息列表 */
getChildList() {
- listChild(null).then((response) => {
+ listChild(null).then(response => {
this.childOptions = response.rows;
});
},
/** 查询幼儿紧急情况联系人列表 */
getList() {
this.loading = true;
- listContactpeople(this.queryParams).then((response) => {
+ listContactpeople(this.queryParams).then(response => {
this.contactpeopleList = response.rows;
this.total = response.total;
this.loading = false;
@@ -369,7 +426,7 @@ export default {
gmphone: undefined,
gmaddress: undefined,
gmoffphone: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form");
},
@@ -385,7 +442,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -399,18 +456,18 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getContactpeople(id).then((response) => {
+ getContactpeople(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改幼儿紧急情况联系人";
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateContactpeople(this.form).then((response) => {
+ updateContactpeople(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -418,7 +475,7 @@ export default {
}
});
} else {
- addContactpeople(this.form).then((response) => {
+ addContactpeople(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -432,24 +489,20 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$confirm(
- '是否确认删除幼儿紧急情况联系人数据项?',
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }
- )
- .then(function () {
+ this.$confirm("是否确认删除幼儿紧急情况联系人数据项?", "警告", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning"
+ })
+ .then(function() {
return delContactpeople(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
- },
- },
+ .catch(function() {});
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/dayflow/task.vue b/ruoyi-ui/src/views/benyi/dayflow/task.vue
index 15621f25d..1f7117d72 100644
--- a/ruoyi-ui/src/views/benyi/dayflow/task.vue
+++ b/ruoyi-ui/src/views/benyi/dayflow/task.vue
@@ -1,6 +1,11 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
+
+ 新增
+ 修改
+ 删除
+
-
+
-
+
{{ scope.row.taskLable }}
@@ -77,10 +97,19 @@
:show-overflow-tooltip="true"
/>
-
+
-
-
+
+
修改
+ >修改
删除
+ >删除
-
+
-
+
@@ -195,7 +234,7 @@ export default {
{ required: true, message: "任务名称(标签)不能为空", trigger: "blur" }
],
taskSort: [
- { required: true, message: "任务排序不能为空", trigger: "blur" }
+ { required: true, message: "任务排序不能为空", trigger: "blur" }
]
}
};
@@ -339,4 +378,4 @@ export default {
}
}
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/experience/index.vue b/ruoyi-ui/src/views/benyi/experience/index.vue
index 3658f0293..9399da03b 100644
--- a/ruoyi-ui/src/views/benyi/experience/index.vue
+++ b/ruoyi-ui/src/views/benyi/experience/index.vue
@@ -47,46 +47,40 @@
-
-
-
- 一键复制
-
-
-
+
+
回复一键复制
-
-
- 删除
-
-
+
+ 回复
+ 删除
+
-
+
@@ -344,7 +338,7 @@ import {
delExperience,
addExperience,
updateExperience,
- exportExperience,
+ exportExperience
} from "@/api/benyi/experience";
import { listHalfdayplan } from "@/api/benyi/halfdayplan";
@@ -398,73 +392,73 @@ export default {
yzzs: undefined,
tyjg: undefined,
rysj: undefined,
- tynrid: undefined,
+ tynrid: undefined
},
// 表单参数
form: {},
// 表单校验
rules: {
jzxm: [
- { required: true, message: "家长姓名不能为空", trigger: "blur" },
+ { required: true, message: "家长姓名不能为空", trigger: "blur" }
],
yexm: [
- { required: true, message: "幼儿姓名不能为空", trigger: "blur" },
+ { required: true, message: "幼儿姓名不能为空", trigger: "blur" }
],
csrq: [
- { required: true, message: "幼儿出生日期不能为空", trigger: "blur" },
+ { required: true, message: "幼儿出生日期不能为空", trigger: "blur" }
],
lxfs: [
{
required: true,
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
message: "请输入正确的手机号码",
- trigger: "blur",
- },
+ trigger: "blur"
+ }
],
nrysj: [
- { required: true, message: "拟入园时间不能为空", trigger: "blur" },
+ { required: true, message: "拟入园时间不能为空", trigger: "blur" }
],
sqtysj: [
- { required: true, message: "申请体验时间不能为空", trigger: "blur" },
+ { required: true, message: "申请体验时间不能为空", trigger: "blur" }
],
swxw: [
- { required: true, message: "下午或下午不能为空", trigger: "blur" },
+ { required: true, message: "下午或下午不能为空", trigger: "blur" }
],
hfrn: [
- { required: true, message: "回复内容不能为空", trigger: "blur" },
+ { required: true, message: "回复内容不能为空", trigger: "blur" }
],
yzzs: [
- { required: true, message: "园长指示不能为空", trigger: "blur" },
+ { required: true, message: "园长指示不能为空", trigger: "blur" }
],
tynrid: [
- { required: true, message: "体验内容不能为空", trigger: "blur" },
- ],
- },
+ { required: true, message: "体验内容不能为空", trigger: "blur" }
+ ]
+ }
};
},
created() {
this.getList();
this.getUser();
this.getTynr();
- this.getDicts("sys_dm_swxw").then((response) => {
+ this.getDicts("sys_dm_swxw").then(response => {
this.swxwOptions = response.data;
});
- this.getDicts("sys_yes_no").then((response) => {
+ this.getDicts("sys_yes_no").then(response => {
this.ynOptions = response.data;
});
- this.getDicts("sys_dm_tyjg").then((response) => {
+ this.getDicts("sys_dm_tyjg").then(response => {
this.tyjgOptions = response.data;
});
},
methods: {
getTynr() {
- listHalfdayplan(null).then((response) => {
+ listHalfdayplan(null).then(response => {
//console.log(response.rows);
this.tynrOptions = response.rows;
});
},
getUser() {
- getUserProfile().then((response) => {
+ getUserProfile().then(response => {
var domain = window.location.host;
//console.log(domain);
//this.user = response.data;
@@ -481,7 +475,7 @@ export default {
tynrFormat(row, column) {
var actions = [];
var datas = this.tynrOptions;
- Object.keys(datas).map((key) => {
+ Object.keys(datas).map(key => {
if (datas[key].id == row.tynrid) {
actions.push(datas[key].title);
return false;
@@ -500,7 +494,7 @@ export default {
/** 查询入班体验申请列表 */
getList() {
this.loading = true;
- listExperience(this.queryParams).then((response) => {
+ listExperience(this.queryParams).then(response => {
this.experienceList = response.rows;
this.total = response.total;
this.loading = false;
@@ -531,7 +525,7 @@ export default {
tyjg: undefined,
rysj: undefined,
tynrid: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form");
},
@@ -547,7 +541,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -559,14 +553,14 @@ export default {
},
copy(e, text) {
const clipboard = new Clipboard(e.target, { text: () => text });
- clipboard.on("success", (e) => {
+ clipboard.on("success", e => {
this.msgSuccess("复制成功");
// 释放内存
clipboard.off("error");
clipboard.off("success");
clipboard.destroy();
});
- clipboard.on("error", (e) => {
+ clipboard.on("error", e => {
// 不支持复制
this.msgError("手机权限不支持复制功能");
// 释放内存
@@ -580,7 +574,7 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getExperience(id).then((response) => {
+ getExperience(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改入班体验申请";
@@ -596,11 +590,11 @@ export default {
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateExperience(this.form).then((response) => {
+ updateExperience(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -608,7 +602,7 @@ export default {
}
});
} else {
- addExperience(this.form).then((response) => {
+ addExperience(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -628,18 +622,18 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return delExperience(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
- },
- },
+ .catch(function() {});
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/halfdayplan/index.vue b/ruoyi-ui/src/views/benyi/halfdayplan/index.vue
index 2702d27f3..f1d67530c 100644
--- a/ruoyi-ui/src/views/benyi/halfdayplan/index.vue
+++ b/ruoyi-ui/src/views/benyi/halfdayplan/index.vue
@@ -1,6 +1,11 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
-
- 新增
-
-
+
+ 新增
+
-
+
-
-
+
+
复制
+ >复制
修改
+ >修改
删除
+ >删除
详细
+ >详细
-
+
@@ -89,7 +118,9 @@
@@ -103,7 +134,7 @@ import {
delHalfdayplan,
addHalfdayplan,
updateHalfdayplan,
- copyHalfdayplan,
+ copyHalfdayplan
} from "@/api/benyi/halfdayplan";
import Editor from "@/components/Editor";
@@ -111,7 +142,7 @@ import Editor from "@/components/Editor";
export default {
name: "Halfdayplan",
components: {
- Editor,
+ Editor
},
data() {
return {
@@ -141,20 +172,20 @@ export default {
schoolid: undefined,
classid: undefined,
title: undefined,
- content: undefined,
+ content: undefined
},
// 表单参数
form: { name: "", phone: "" },
// 表单校验
rules: {
title: [{ required: true, message: "标题不能为空", trigger: "blur" }],
- content: [{ required: true, message: "内容不能为空", trigger: "blur" }],
- },
+ content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
+ }
};
},
created() {
this.getList();
- this.getDicts("sys_dm_noticetype").then((response) => {
+ this.getDicts("sys_dm_noticetype").then(response => {
this.typeOptions = response.data;
});
},
@@ -174,7 +205,7 @@ export default {
/** 查询入园半日体验计划列表 */
getList() {
this.loading = true;
- listHalfdayplan(this.queryParams).then((response) => {
+ listHalfdayplan(this.queryParams).then(response => {
this.halfdayplanList = response.rows;
this.total = response.total;
this.loading = false;
@@ -193,7 +224,7 @@ export default {
classid: undefined,
title: undefined,
content: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form");
},
@@ -209,7 +240,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -217,7 +248,7 @@ export default {
handleView(row) {
this.reset();
const id = row.id || this.ids;
- getHalfdayplan(id).then((response) => {
+ getHalfdayplan(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "入园半日体验计划详情";
@@ -235,7 +266,7 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getHalfdayplan(id).then((response) => {
+ getHalfdayplan(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改入园半日体验计划";
@@ -243,11 +274,11 @@ export default {
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateHalfdayplan(this.form).then((response) => {
+ updateHalfdayplan(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -255,7 +286,7 @@ export default {
}
});
} else {
- addHalfdayplan(this.form).then((response) => {
+ addHalfdayplan(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -275,17 +306,17 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return delHalfdayplan(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
+ .catch(function() {});
},
/** 复制按钮操作 */
handleCopy(row) {
@@ -296,18 +327,18 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return copyHalfdayplan(id);
})
.then(() => {
this.getList();
this.msgSuccess("复制成功");
})
- .catch(function () {});
- },
- },
+ .catch(function() {});
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/healthcheck/index.vue b/ruoyi-ui/src/views/benyi/healthcheck/index.vue
index d91fad699..4850c1c4b 100644
--- a/ruoyi-ui/src/views/benyi/healthcheck/index.vue
+++ b/ruoyi-ui/src/views/benyi/healthcheck/index.vue
@@ -26,7 +26,7 @@
-
-
- 新增
-
-
-
+ 新增
+
+ 删除
-
+
@@ -230,7 +225,7 @@
/>
-
+
@@ -254,7 +249,7 @@
{
+ this.getDicts("sys_vision_assessment").then(response => {
this.visionAssessmentOptions = response.data;
});
- this.getDicts("sys_decayed_tooth").then((response) => {
+ this.getDicts("sys_decayed_tooth").then(response => {
this.decayedToothOptions = response.data;
});
- this.getDicts("sys_weight_assessment").then((response) => {
+ this.getDicts("sys_weight_assessment").then(response => {
this.weightAssessmentOptions = response.data;
});
- this.getDicts("sys_height_assessment").then((response) => {
+ this.getDicts("sys_height_assessment").then(response => {
this.heightAssessmentOptions = response.data;
});
- this.getDicts("sys_dm_tyjg").then((response) => {
+ this.getDicts("sys_dm_tyjg").then(response => {
this.totalAssessmentOptions = response.data;
});
},
@@ -525,14 +520,14 @@ export default {
// 班级选择框变化后触发
classInfoChange() {
this.queryParams.childId = null;
- listChild(null).then((response) => {
+ listChild(null).then(response => {
this.childInfoOptions = response.rows;
});
},
/** 查询儿童常规体检记录列表 */
getList() {
this.loading = true;
- listHealthcheck(this.queryParams).then((response) => {
+ listHealthcheck(this.queryParams).then(response => {
this.healthcheckList = response.rows;
this.total = response.total;
this.loading = false;
@@ -540,7 +535,7 @@ export default {
},
// 查询所有班级信息
getclassinfo() {
- listClass(null).then((response) => {
+ listClass(null).then(response => {
this.classInfoOptions = response.rows;
});
},
@@ -600,7 +595,7 @@ export default {
heightAssessment: undefined,
totalAssessment: undefined,
createtime: undefined,
- createuser: undefined,
+ createuser: undefined
};
this.resetForm("form");
},
@@ -616,7 +611,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -630,18 +625,18 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getHealthcheck(id).then((response) => {
+ getHealthcheck(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改儿童常规体检记录";
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateHealthcheck(this.form).then((response) => {
+ updateHealthcheck(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -649,7 +644,7 @@ export default {
}
});
} else {
- addHealthcheck(this.form).then((response) => {
+ addHealthcheck(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -666,17 +661,17 @@ export default {
this.$confirm("是否确认删除儿童常规体检记录数据项?", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
})
- .then(function () {
+ .then(function() {
return delHealthcheck(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
- },
+ .catch(function() {});
+ }
// /** 导出按钮操作 */
// handleExport() {
// const queryParams = this.queryParams;
@@ -693,6 +688,6 @@ export default {
// })
// .catch(function () {});
// },
- },
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue b/ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue
index 2254884b2..3a076d421 100644
--- a/ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue
+++ b/ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue
@@ -1,6 +1,11 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
+
+ 新增
+
+ 删除
+
-
+
-
-
+
+
-
+
修改
+ >修改
删除
+ >删除
-
+
@@ -136,7 +167,11 @@
-
+
@@ -146,7 +181,11 @@
-
+
@@ -156,7 +195,11 @@
-
+
@@ -166,7 +209,11 @@
-
+
@@ -185,7 +232,7 @@ import {
getFamily,
delFamily,
addFamily,
- updateFamily,
+ updateFamily
} from "@/api/benyi/learndevelopmentfamily";
import { listChild } from "@/api/benyi/child";
@@ -195,7 +242,7 @@ import Editor from "@/components/Editor";
export default {
name: "Family",
components: {
- Editor,
+ Editor
},
data() {
return {
@@ -233,23 +280,21 @@ export default {
yqsjremarks: undefined,
jspy: undefined,
jspyremarks: undefined,
- createuserid: undefined,
+ createuserid: undefined
},
// 表单参数
form: {},
// 表单校验
rules: {
childid: [{ required: true, message: "幼儿不能为空", trigger: "blur" }],
- xnxq: [
- { required: true, message: "学年学期不能为空", trigger: "blur" },
- ],
- },
+ xnxq: [{ required: true, message: "学年学期不能为空", trigger: "blur" }]
+ }
};
},
created() {
this.getList();
this.getChildList();
- this.getDicts("sys_xnxq").then((response) => {
+ this.getDicts("sys_xnxq").then(response => {
this.xnxqOptions = response.data;
});
},
@@ -259,7 +304,7 @@ export default {
// return this.selectDictLabel(this.classOptions, row.classid);
var actions = [];
var datas = this.childOptions;
- Object.keys(datas).map((key) => {
+ Object.keys(datas).map(key => {
if (datas[key].id == "" + row.childid) {
actions.push(datas[key].name);
return false;
@@ -273,14 +318,14 @@ export default {
},
//获取幼儿列表
getChildList() {
- listChild(null).then((response) => {
+ listChild(null).then(response => {
this.childOptions = response.rows;
});
},
/** 查询儿童学习与发展档案(家长)列表 */
getList() {
this.loading = true;
- listFamily(this.queryParams).then((response) => {
+ listFamily(this.queryParams).then(response => {
this.familyList = response.rows;
this.total = response.total;
this.loading = false;
@@ -306,7 +351,7 @@ export default {
jspy: undefined,
jspyremarks: undefined,
createuserid: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form");
},
@@ -322,7 +367,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -336,18 +381,18 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getFamily(id).then((response) => {
+ getFamily(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改儿童学习与发展档案(家长)";
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateFamily(this.form).then((response) => {
+ updateFamily(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -355,7 +400,7 @@ export default {
}
});
} else {
- addFamily(this.form).then((response) => {
+ addFamily(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -375,18 +420,18 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return delFamily(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
- },
- },
+ .catch(function() {});
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue b/ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue
index 89261e487..500127915 100644
--- a/ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue
+++ b/ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue
@@ -1,6 +1,11 @@
-
+
- 搜索
- 重置
+ 搜索
+ 重置
-
-
- 新增
-
-
-
+ 新增
+
+ 删除
+
-
+
-
-
+
+
-
+
修改
+ >修改
删除
+ >删除
-
+
@@ -136,7 +166,11 @@
-
+
@@ -146,7 +180,11 @@
-
+
@@ -156,7 +194,11 @@
-
+
@@ -166,7 +208,11 @@
-
+
@@ -185,7 +231,7 @@ import {
getTeacher,
delTeacher,
addTeacher,
- updateTeacher,
+ updateTeacher
} from "@/api/benyi/learndevelopmentteacher";
import { listChild } from "@/api/benyi/child";
@@ -195,7 +241,7 @@ import Editor from "@/components/Editor";
export default {
name: "Teacher",
components: {
- Editor,
+ Editor
},
data() {
return {
@@ -233,23 +279,21 @@ export default {
pgjgremarks: undefined,
jyjh: undefined,
jyjhremarks: undefined,
- createuserid: undefined,
+ createuserid: undefined
},
// 表单参数
form: {},
// 表单校验
rules: {
childid: [{ required: true, message: "幼儿不能为空", trigger: "blur" }],
- xnxq: [
- { required: true, message: "学年学期不能为空", trigger: "blur" },
- ],
- },
+ xnxq: [{ required: true, message: "学年学期不能为空", trigger: "blur" }]
+ }
};
},
created() {
this.getList();
this.getChildList();
- this.getDicts("sys_xnxq").then((response) => {
+ this.getDicts("sys_xnxq").then(response => {
this.xnxqOptions = response.data;
});
},
@@ -259,7 +303,7 @@ export default {
// return this.selectDictLabel(this.classOptions, row.classid);
var actions = [];
var datas = this.childOptions;
- Object.keys(datas).map((key) => {
+ Object.keys(datas).map(key => {
if (datas[key].id == "" + row.childid) {
actions.push(datas[key].name);
return false;
@@ -273,14 +317,14 @@ export default {
},
//获取幼儿列表
getChildList() {
- listChild(null).then((response) => {
+ listChild(null).then(response => {
this.childOptions = response.rows;
});
},
/** 查询儿童学习与发展档案(教师)列表 */
getList() {
this.loading = true;
- listTeacher(this.queryParams).then((response) => {
+ listTeacher(this.queryParams).then(response => {
this.teacherList = response.rows;
this.total = response.total;
this.loading = false;
@@ -306,7 +350,7 @@ export default {
jyjh: undefined,
jyjhremarks: undefined,
createuserid: undefined,
- createTime: undefined,
+ createTime: undefined
};
this.resetForm("form");
},
@@ -322,7 +366,7 @@ export default {
},
// 多选框选中数据
handleSelectionChange(selection) {
- this.ids = selection.map((item) => item.id);
+ this.ids = selection.map(item => item.id);
this.single = selection.length != 1;
this.multiple = !selection.length;
},
@@ -336,18 +380,18 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getTeacher(id).then((response) => {
+ getTeacher(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改儿童学习与发展档案(教师)";
});
},
/** 提交按钮 */
- submitForm: function () {
- this.$refs["form"].validate((valid) => {
+ submitForm: function() {
+ this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != undefined) {
- updateTeacher(this.form).then((response) => {
+ updateTeacher(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -355,7 +399,7 @@ export default {
}
});
} else {
- addTeacher(this.form).then((response) => {
+ addTeacher(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -375,18 +419,18 @@ export default {
{
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning",
+ type: "warning"
}
)
- .then(function () {
+ .then(function() {
return delTeacher(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function () {});
- },
- },
+ .catch(function() {});
+ }
+ }
};
-
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue b/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue
index f0307c945..83e899de2 100644
--- a/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue
+++ b/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue
@@ -60,26 +60,35 @@
-
-
- 审批
-
-
+
+ 审批
+
-
-
+
+
审批
+ >审批
预览
+ >预览
@@ -162,7 +173,7 @@
/>
-
+
-
+
-
+
@@ -195,7 +215,11 @@
-
+