fix:面授课开课编辑-提示名称重复问题修改

This commit is contained in:
wyx
2023-03-09 11:23:46 +08:00
parent 6df69fca47
commit 8f7a481895

View File

@@ -925,6 +925,7 @@
v-model:validated="validated" v-model:validated="validated"
show-count show-count
:id="offcoursePlanId" :id="offcoursePlanId"
:onceName="onceName"
:type="5" :type="5"
style="width: 440px; height: 40px; border-radius: 8px" style="width: 440px; height: 40px; border-radius: 8px"
placeholder="请输入开课名称" placeholder="请输入开课名称"
@@ -2571,6 +2572,7 @@ export default defineComponent({
xjkkradioV1: "", xjkkradioV1: "",
completeType: "", completeType: "",
xjkkinputV1: "", xjkkinputV1: "",
onceName: "",
xjkkinputV2: "", xjkkinputV2: "",
xjkkinputV3: "", xjkkinputV3: "",
xjkkinputV4: null, xjkkinputV4: null,
@@ -3619,6 +3621,7 @@ export default defineComponent({
state.xjkkradioV1 = ""; state.xjkkradioV1 = "";
state.completeType = ""; state.completeType = "";
state.xjkkinputV1 = ""; state.xjkkinputV1 = "";
state.onceName = "";
state.xjkkinputV2 = ""; state.xjkkinputV2 = "";
state.xjkkinputV3 = ""; state.xjkkinputV3 = "";
state.xjkkinputV4 = null; state.xjkkinputV4 = null;
@@ -3760,6 +3763,7 @@ export default defineComponent({
state.EditTestId = Number(item.testId); state.EditTestId = Number(item.testId);
state.EditWorkId = String(item.homeWorkId); state.EditWorkId = String(item.homeWorkId);
state.xjkkinputV1 = item.name; state.xjkkinputV1 = item.name;
state.onceName = item.name;
state.beforeValue = item.beforeStart; //考勤 开始前 state.beforeValue = item.beforeStart; //考勤 开始前
state.afterStartValue = item.afterStart; //考勤 开始后 state.afterStartValue = item.afterStart; //考勤 开始后
if (item.signFlag === 1) { if (item.signFlag === 1) {