diff --git a/ruoyi-ui/src/views/benyi/calendarshow/index.vue b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
index 655f014c3..34d02ce3a 100644
--- a/ruoyi-ui/src/views/benyi/calendarshow/index.vue
+++ b/ruoyi-ui/src/views/benyi/calendarshow/index.vue
@@ -7,8 +7,9 @@
{{item.title}}
+ :style="{ background: `${item.color}` }"
+ >{{ item.title }}
@@ -45,32 +46,32 @@ import { getAllSchoolCalendars } from "@/api/benyi/calendar";
export default {
name: "fullcalendar_page",
components: {
- FullCalendar
+ FullCalendar,
},
data() {
return {
btns: [
{
color: "#52c41a",
- title: "家长参与"
+ title: "家长参与",
},
{
color: "#135200",
- title: "大型活动"
+ title: "大型活动",
},
{
color: "#1890ff",
- title: "教学活动"
+ title: "教学活动",
},
{
color: "#eb2f96",
- title: "节假日"
- }
+ title: "节假日",
+ },
],
views: {
list: {
- noEventsMessage: "暂无日程"
- }
+ noEventsMessage: "暂无日程",
+ },
},
// header: {
// left: "prev,next today",
@@ -84,22 +85,22 @@ export default {
// day: "日",
// list: "周列表"
// },
- header: {
+ header: {
left: "prev,next today",
center: "title",
- right: "dayGridMonth, listWeek"
+ right: "dayGridMonth, listWeek",
},
buttonText: {
today: "今天",
month: "月",
- list: "周列表"
+ list: "周列表",
},
calendarPlugins: [
// plugins must be defined in the JS
dayGridPlugin,
//timeGridPlugin,
//interactionPlugin, // needed for dateClick
- listPlugin
+ listPlugin,
],
calendarWeekends: true,
calendarEvents: [
@@ -112,22 +113,22 @@ export default {
],
calendarApi: null,
calendarData: [],
- queryParams: {}
+ queryParams: {},
};
},
created() {
- getAllSchoolCalendars(this.queryParams).then(response => {
+ getAllSchoolCalendars(this.queryParams).then((response) => {
this.calendarEvents = response.calendarData;
});
},
methods: {
handleEventClick(info) {
- this.msgSuccess("活动: " + info.event.title);
- }
+ this.msgSuccess("活动: " + info.event.title);
+ },
},
mounted() {
this.calendarApi = this.$refs.fullCalendar.getApi();
- }
+ },
};
@@ -143,12 +144,15 @@ export default {
height: 100%;
}
.fc-widget-content {
- .fc-sun,
- .fc-sat {
- background: rgba(245, 246, 248, 0.6);
- //background: rgba(109, 113, 121, 0.6);
- }
- }
+ .fc-scroller.fc-day-grid-container {
+ height: 100% !important;
+ }
+ .fc-sun,
+ .fc-sat {
+ background: rgba(245, 246, 248, 0.6);
+ //background: rgba(109, 113, 121, 0.6);
+ }
+}
.xs-btns-style {
@media screen and (max-width: 768px) {
display: flex;
@@ -177,17 +181,21 @@ export default {
}
.fc-header-toolbar {
@media screen and (max-width: 768px) {
- .fc-left > .fc-today-button, .fc-right > .fc-listWeek-button {
+ .fc-left > .fc-today-button,
+ .fc-right > .fc-listWeek-button {
display: none;
}
}
}
@media (max-width: 768.98px) {
- .fc button {
- height: 30px;
- }
- .fc-toolbar h2 {
- font-size: 16px;
+ .xs-height {
+ height: 100% !important;
+ .fc button {
+ height: 30px;
+ }
+ .fc-toolbar h2 {
+ font-size: 16px;
+ }
}
}
diff --git a/ruoyi-ui/src/views/benyi/child/index.vue b/ruoyi-ui/src/views/benyi/child/index.vue
index bb0e1f0f7..585f52783 100644
--- a/ruoyi-ui/src/views/benyi/child/index.vue
+++ b/ruoyi-ui/src/views/benyi/child/index.vue
@@ -2,6 +2,18 @@
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
-
- 填充
-
-
- 删除
-
-
+ -->
+ 填充
+ 删除
+
+
-
-
+
@@ -147,11 +155,16 @@
type="month"
value-format="yyyy-MM"
placeholder="选择月份"
+ class="my-date-picker"
>
-
+
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/benyi/mathtermplan/index.vue b/ruoyi-ui/src/views/benyi/mathtermplan/index.vue
index 24bf9ce8d..359298b45 100644
--- a/ruoyi-ui/src/views/benyi/mathtermplan/index.vue
+++ b/ruoyi-ui/src/views/benyi/mathtermplan/index.vue
@@ -1,108 +1,113 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
+
+ 新增
+ 修改
+ 删除
+
-
-
+
+
{{ parseTime(scope.row.startmonth, "{y}-{m}") }}
@@ -131,7 +141,6 @@
label="结束月份"
align="center"
prop="endmonth"
- width="180"
>
{{ parseTime(scope.row.endmonth, "{y}-{m}") }}
@@ -153,7 +162,9 @@
提交
+ >提交
预览
+ >预览
@@ -202,7 +215,7 @@
/>
-
+
@@ -451,14 +465,11 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$confirm(
- '是否确认删除游戏数学学期计划数据项?',
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- })
+ this.$confirm("是否确认删除游戏数学学期计划数据项?", "警告", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
.then(function () {
return delMathtermplan(ids);
})
@@ -471,15 +482,11 @@ export default {
/** 提交按钮操作 */
handleCheck(row) {
const id = row.id;
- this.$confirm(
- "是否确认提交游戏数学学期计划?提交后数据无法维护",
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }
- )
+ this.$confirm("是否确认提交游戏数学学期计划?提交后数据无法维护", "警告", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
.then(function () {
return checkTermplan(id);
})
@@ -493,10 +500,26 @@ export default {
handleView(row) {
const id = row.id;
this.$router.push({
- path: "/benyi_course/mathtermplanprint/table/"+id,
+ path: "/benyi_course/mathtermplanprint/table/" + id,
});
},
-
},
};
-
\ No newline at end of file
+
+
\ 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 83e899de2..a8d69a685 100644
--- a/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue
+++ b/ruoyi-ui/src/views/benyi/mathtermplanapproval/index.vue
@@ -1,63 +1,68 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
@@ -73,6 +78,7 @@
-
+ prop="classid"
+ :formatter="classFormat"
+ />
+
{{ parseTime(scope.row.startmonth, "{y}-{m}") }}
-
+
{{ parseTime(scope.row.endmonth, "{y}-{m}") }}
@@ -139,8 +136,10 @@
-
+
{
+ this.getDicts("sys_xnxq").then((response) => {
this.xnxqOptions = response.data;
});
- this.getDicts("sys_dm_planweekstatus").then(response => {
+ this.getDicts("sys_dm_planweekstatus").then((response) => {
this.statusOptions = response.data;
});
},
@@ -312,14 +317,14 @@ export default {
},
// 查询班级列表
getClassList() {
- listClass(null).then(response => {
+ listClass(null).then((response) => {
this.classOptions = response.rows;
});
},
/** 查询游戏数学学期计划列表 */
getList() {
this.loading = true;
- listMathtermplan(this.queryParams).then(response => {
+ listMathtermplan(this.queryParams).then((response) => {
this.mathtermplanList = response.rows;
this.total = response.total;
this.loading = false;
@@ -329,7 +334,7 @@ export default {
classFormat(row, column) {
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;
@@ -365,7 +370,7 @@ export default {
sptime: undefined,
remark: undefined,
createuserid: undefined,
- createTime: undefined
+ createTime: undefined,
};
this.resetForm("form");
},
@@ -381,7 +386,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;
},
@@ -390,7 +395,7 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getMathtermplan(id).then(response => {
+ getMathtermplan(id).then((response) => {
this.form = response.data;
this.open = true;
this.title = "修改游戏数学学期计划";
@@ -401,14 +406,14 @@ export default {
});
},
/** 提交按钮 */
- submitForm: function() {
- this.$refs["form"].validate(valid => {
+ submitForm: function () {
+ this.$refs["form"].validate((valid) => {
if (valid) {
const time = this.form.startmonth;
this.form.startmonth = time[0];
this.form.endmonth = time[1];
if (this.form.id != undefined) {
- updateMathtermplan(this.form).then(response => {
+ updateMathtermplan(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("审批成功");
this.open = false;
@@ -425,24 +430,41 @@ export default {
this.$confirm("是否确认提交游戏数学学期计划?提交后数据无法维护", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning"
+ type: "warning",
})
- .then(function() {
+ .then(function () {
return checkTermplan(id);
})
.then(() => {
this.getList();
this.msgSuccess("提交成功");
})
- .catch(function() {});
+ .catch(function () {});
},
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
this.$router.push({
- path: "/benyi_course/mathtermplanprint/table/" + id
+ path: "/benyi_course/mathtermplanprint/table/" + id,
});
- }
- }
+ },
+ },
};
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/benyi/planweek/data.vue b/ruoyi-ui/src/views/benyi/planweek/data.vue
index db4e4653b..e37281286 100644
--- a/ruoyi-ui/src/views/benyi/planweek/data.vue
+++ b/ruoyi-ui/src/views/benyi/planweek/data.vue
@@ -1,114 +1,103 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
+
+ 新增
+ 修改
+ 删除
+
-
-
+
+
@@ -125,21 +114,18 @@
prop="activitytype"
:formatter="activitytypeFormat"
/>
-
+
{{ parseTime(scope.row.activitytime, "{y}-{m}-{d}") }}
@@ -202,7 +188,7 @@
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/benyi/planweek/index.vue b/ruoyi-ui/src/views/benyi/planweek/index.vue
index 3d68bb0f2..74229c7d3 100644
--- a/ruoyi-ui/src/views/benyi/planweek/index.vue
+++ b/ruoyi-ui/src/views/benyi/planweek/index.vue
@@ -1,16 +1,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
-
+
+ 新增
+ 修改
+ 删除
+
-
+
-
-
+
-
+
{{ scope.row.name }}
-
+
+
- {{ parseTime(scope.row.starttime, '{y}-{m}') }}
+ {{ parseTime(scope.row.starttime, "{y}-{m}") }}
-
+
- {{ parseTime(scope.row.starttime, '{y}-{m}-{d}') }}
+ {{ parseTime(scope.row.starttime, "{y}-{m}-{d}") }}
-
+
- {{ parseTime(scope.row.endtime, '{y}-{m}-{d}') }}
+ {{ parseTime(scope.row.endtime, "{y}-{m}-{d}") }}
-
+
-
+
修改
+ >修改
删除
+ >删除
预览
+ >预览
-
+
-
-
+
+
-
-
-
+
+
+
{
+ this.getDicts("sys_dm_planweekstatus").then((response) => {
this.statusOptions = response.data;
});
- this.getDicts("sys_dm_weekly").then(response => {
+ this.getDicts("sys_dm_weekly").then((response) => {
this.weeklyOptions = response.data;
});
},
@@ -338,7 +414,7 @@ export default {
/** 查询周计划(家长和教育部门)列表 */
getList() {
this.loading = true;
- listPlanweek(this.queryParams).then(response => {
+ listPlanweek(this.queryParams).then((response) => {
this.planweekList = response.rows;
this.total = response.total;
this.loading = false;
@@ -346,12 +422,12 @@ export default {
},
// 获取班级列表
getClassList() {
- listClass(null).then(response => {
+ listClass(null).then((response) => {
this.classOptions = response.rows;
- console.log(this.classOptions);
+ // console.log(this.classOptions);
});
},
-
+
// 当前状态翻译
statusFormat(row, column) {
return this.selectDictLabel(this.statusOptions, row.status);
@@ -365,7 +441,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;
@@ -384,7 +460,7 @@ export default {
id: undefined,
schoolid: undefined,
classid: undefined,
- name: '教学计划',
+ name: "教学计划",
starttime: undefined,
endtime: undefined,
themeofweek: undefined,
@@ -399,7 +475,7 @@ export default {
shrid: undefined,
shtime: undefined,
weekly: undefined,
- month: undefined
+ month: undefined,
};
this.resetForm("form");
},
@@ -415,7 +491,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;
},
@@ -429,7 +505,7 @@ export default {
handleUpdate(row) {
this.reset();
const id = row.id || this.ids;
- getPlanweek(id).then(response => {
+ getPlanweek(id).then((response) => {
this.form = response.data;
this.open = true;
this.title = "修改周计划(家长和教育部门)";
@@ -441,16 +517,16 @@ export default {
this.$confirm('确认提交周计划编号为"' + ids + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
- type: "warning"
+ type: "warning",
})
- .then(function() {
+ .then(function () {
return checkPlanweek(ids);
})
.then(() => {
this.getList();
this.msgSuccess("提交成功");
})
- .catch(function() {});
+ .catch(function () {});
},
isShow(row) {
if (row.status == "1" || row.status == "2") {
@@ -460,11 +536,11 @@ export default {
}
},
/** 提交按钮 */
- submitForm: function() {
- this.$refs["form"].validate(valid => {
+ submitForm: function () {
+ this.$refs["form"].validate((valid) => {
if (valid) {
if (this.form.id != undefined) {
- updatePlanweek(this.form).then(response => {
+ updatePlanweek(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
@@ -472,7 +548,7 @@ export default {
}
});
} else {
- addPlanweek(this.form).then(response => {
+ addPlanweek(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("新增成功");
this.open = false;
@@ -486,47 +562,44 @@ 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 delPlanweek(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
- .catch(function() {});
+ .catch(function () {});
},
/** 预览按钮操作 */
handleView(row) {
const id = row.id;
this.$router.push({
- path: "/benyi_course/planweekprint/table/"+id,
+ path: "/benyi_course/planweekprint/table/" + id,
});
},
- /** 导出按钮操作 */
- handleExport() {
- const queryParams = this.queryParams;
- this.$confirm("是否确认导出所有周计划(家长和教育部门)数据项?", "警告", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- })
- .then(function() {
- return exportPlanweek(queryParams);
- })
- .then(response => {
- this.download(response.msg);
- })
- .catch(function() {});
- }
- }
+ },
};
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/benyi/schoolcalendar/index.vue b/ruoyi-ui/src/views/benyi/schoolcalendar/index.vue
index 25df8efc0..fe84efdcd 100644
--- a/ruoyi-ui/src/views/benyi/schoolcalendar/index.vue
+++ b/ruoyi-ui/src/views/benyi/schoolcalendar/index.vue
@@ -129,7 +129,7 @@
>
@@ -211,12 +211,11 @@
/>
-
+
-
+
@@ -255,7 +254,7 @@
-
+
-
+
@@ -217,7 +216,7 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
-
- 填充
-
-
- 删除
-
-
+
+ 新增
+ 填充
+ 删除
+
-
+
-
-
-
-
- {{ parseTime(scope.row.starttime, '{y}-{m}-{d}') }}
-
-
-
-
- {{ parseTime(scope.row.endtime, '{y}-{m}-{d}') }}
-
-
+
+
+
+
+ {{ parseTime(scope.row.starttime, "{y}-{m}-{d}") }}
+
+
+
+
+ {{ parseTime(scope.row.endtime, "{y}-{m}-{d}") }}
+
+
+
-
+
填充
+ >填充
删除
+ >删除
-
+
@@ -127,13 +166,13 @@
-
+
{{item.name}}
+ >{{ item.name }}
-
+