班级管理/学员

dev
LiuJiaNan 2024-03-19 18:00:48 +08:00
parent 39ccafdc17
commit 3bb1832d68
2 changed files with 10 additions and 4 deletions

View File

@ -202,7 +202,9 @@
</el-row> </el-row>
</el-form> </el-form>
<div v-if="!isEdit" class="mt-10 tc"> <div v-if="!isEdit" class="mt-10 tc">
<el-button type="primary" @click="fnSubmit"> </el-button> <el-button type="primary" @click="fnSubmit">
{{ !CLASS_ID ? "保存并下一步" : "保存" }}
</el-button>
</div> </div>
<modify-exam-times <modify-exam-times
:id="CLASS_ID" :id="CLASS_ID"
@ -351,6 +353,7 @@ const fnSubmit = debounce(
CLASS_ID: !CLASS_ID ? resData.CLASS_ID : CLASS_ID, CLASS_ID: !CLASS_ID ? resData.CLASS_ID : CLASS_ID,
TRAINTYPE: data.form.TRAINTYPE, TRAINTYPE: data.form.TRAINTYPE,
EXAMINATION: data.form.EXAMINATION, EXAMINATION: data.form.EXAMINATION,
ISSTRENGTHEN: data.form.ISSTRENGTHEN,
}, },
}); });
}, },

View File

@ -173,8 +173,9 @@
query: { query: {
STATE: row.STATE, STATE: row.STATE,
CLASS_ID: row.CLASS_ID, CLASS_ID: row.CLASS_ID,
TRAINTYPE: row.TRAINTYPE,
EXAMINATION: row.EXAMINATION, EXAMINATION: row.EXAMINATION,
ISSTRENGTHEN: row.ISSTRENGTHEN,
TRAINTYPE: row.TRAINTYPE,
type: row.STATE === '1' ? 'edit' : 'view', type: row.STATE === '1' ? 'edit' : 'view',
}, },
}) })
@ -192,8 +193,9 @@
query: { query: {
STATE: row.STATE, STATE: row.STATE,
CLASS_ID: row.CLASS_ID, CLASS_ID: row.CLASS_ID,
TRAINTYPE: row.TRAINTYPE,
EXAMINATION: row.EXAMINATION, EXAMINATION: row.EXAMINATION,
ISSTRENGTHEN: row.ISSTRENGTHEN,
TRAINTYPE: row.TRAINTYPE,
type: 'edit', type: 'edit',
}, },
}) })
@ -211,8 +213,9 @@
query: { query: {
STATE: row.STATE, STATE: row.STATE,
CLASS_ID: row.CLASS_ID, CLASS_ID: row.CLASS_ID,
TRAINTYPE: row.TRAINTYPE,
EXAMINATION: row.EXAMINATION, EXAMINATION: row.EXAMINATION,
ISSTRENGTHEN: row.ISSTRENGTHEN,
TRAINTYPE: row.TRAINTYPE,
type: 'edit', type: 'edit',
}, },
}) })