体系调整

This commit is contained in:
wangxuemei
2024-09-26 17:24:40 +08:00
parent c6f2d087f8
commit 1dd863b98a

View File

@@ -90,8 +90,8 @@
</a-row>
<a-row :gutter="16">
<a-col :span="12">
<a-form-item label="讲师体系编号" name="kid">
<a-input disabled v-model:value="formParam.kid" class="draitem" placeholder="" allowClear showSearch>
<a-form-item label="讲师体系编号" name="id">
<a-input disabled v-model:value="formParam.id" class="draitem" placeholder="" allowClear showSearch>
</a-input>
</a-form-item>
</a-col>
@@ -218,7 +218,7 @@ export default {
pageSize: 10
},
formParam: {
kid:null,
id:null,
systemCode: null,
systemName: null,
remark: null,
@@ -307,12 +307,12 @@ export default {
//删除弹窗
const deleteModal = (record) => {
state.deleteInTeacherdialog = true
state.id = record.kid
state.id = record.id
};
//确认删除
const closeDeleteTeacher = () => {
//调用删除接口
deleteLecturerSystem({kid:state.id}).then((res) => {
deleteLecturerSystem({id:state.id}).then((res) => {
if (res.data.code == 200) {
// message.success("删除成功");
state.deleteInTeacherdialog = false
@@ -365,7 +365,7 @@ export default {
};
const cancel = () => {
state.formParam = {
kid:null,
id:null,
systemCode: null,
systemName: null,
remark: null,
@@ -409,7 +409,7 @@ export default {
});
};
const rules = {
kid: [{ required: true, message: '讲师体系编号不能为空' }],
id: [{ required: true, message: '讲师体系编号不能为空' }],
systemName: [{ required: true, message: '讲师体系名称不能为空' }],
}
const handleLook =(record)=>{