|
@@ -37,7 +37,7 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="vidBoxHours"
|
|
|
v-if="vidBoxHours"
|
|
|
- width="1160px"
|
|
|
+ width="1360px"
|
|
|
:show-close="false"
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -61,7 +61,7 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="vidBox"
|
|
|
v-if="vidBox"
|
|
|
- width="1160px"
|
|
|
+ width="1360px"
|
|
|
:show-close="false"
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -436,16 +436,30 @@ export default {
|
|
|
* @remard 学时记录
|
|
|
*/
|
|
|
activeStudyRecord(options) {
|
|
|
- this.objs = {
|
|
|
- gradeId: options.gradeId,
|
|
|
- userId: options.userId,
|
|
|
- goodsId: options.goodsId,
|
|
|
- className: options.className,
|
|
|
- classHours: options.classHours,
|
|
|
- studyStartTime: options.studyStartTime,
|
|
|
- studyEndTime: options.studyEndTime,
|
|
|
- };
|
|
|
- this.vidBox = true;
|
|
|
+ this.$api
|
|
|
+ .inquireGradegradelockPeriodStatus({
|
|
|
+ gradeId: Number(options.gradeId),
|
|
|
+ userId: Number(options.userId),
|
|
|
+ goodsId: Number(options.goodsId),
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.msg) {
|
|
|
+ this.$message.warning(res.msg + "正在操作");
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ this.objs = {
|
|
|
+ id: options.gradeId,
|
|
|
+ gradeId: options.gradeId,
|
|
|
+ userId: options.userId,
|
|
|
+ goodsId: options.goodsId,
|
|
|
+ className: options.className,
|
|
|
+ classHours: options.classHours,
|
|
|
+ studyStartTime: options.studyStartTime,
|
|
|
+ studyEndTime: options.studyEndTime,
|
|
|
+ };
|
|
|
+ this.vidBox = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
/**
|
|
|
* 搜索列表
|