mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
体系调整
This commit is contained in:
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user