重复名称

This commit is contained in:
zhangsir
2024-02-26 11:53:29 +08:00
parent 4336bf703b
commit d9d0a644c8
4 changed files with 199 additions and 7 deletions

View File

@@ -918,7 +918,7 @@
<span style="margin-right: 3px">开课名称</span>
</div>
<div class="b_input">
<NameInput
<NameInputNew
maxlength="30"
v-model:value="xjkkinputV1"
v-model:validated="validated"
@@ -929,7 +929,8 @@
style="width: 440px; height: 40px; border-radius: 8px"
placeholder="请输入开课名称"
:disabled="editBeginClass"
></NameInput>
:changeName="changeName"
></NameInputNew>
</div>
</div>
<div class="cstm_items">
@@ -1764,6 +1765,7 @@ import addOnlineCourse from "../../components/Modals/addOnlineCourse.vue";
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
import NameInput from "../../components/project/NameInput";
import NameInputNew from "../../components/project/NameInputNew";
import ProjPowerList from "../../components/drawers/ProjPowerList";
import ProjCheckShip from "../../components/drawers/ProjCheckPower";
import AssessmentList from "../../components/drawers/AssessmentList.vue";
@@ -2231,6 +2233,7 @@ export default defineComponent({
AddHomework,
AddTest,
NameInput,
NameInputNew,
TableStudent,
// VNodes: (_, {attrs}) => {
// return attrs.vnodes;
@@ -2678,6 +2681,7 @@ export default defineComponent({
completeType: "",
xjkkinputV1: "",
onceName: "",
changeName:false,
xjkkinputV2: "",
duration: "",
xjkkinputV3: [],
@@ -3373,6 +3377,7 @@ function onFocusEnd(){
};
const removePG = () => {
console.log("11111");
state.changeName = false
state.assessmentId = null;
state.assessmentName = "";
// state.isEvaluate = "0";
@@ -3814,6 +3819,7 @@ function onFocusEnd(){
teacherName: "",
weight: '',
}]
state.changeName = true
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
state.cstm_hs = true;
};
@@ -3825,7 +3831,7 @@ function onFocusEnd(){
state.kk_eidt = false;
state.xjkkradioV1 = false;
state.completeType = "";
state.xjkkinputV1 = "";
// state.xjkkinputV1 = "";
state.onceName = "";
state.xjkkinputV2 = "";
state.duration = "";