mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 14:26:45 +08:00
体系调整
This commit is contained in:
@@ -90,8 +90,8 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="讲师体系编号" name="kid">
|
<a-form-item label="讲师体系编号" name="id">
|
||||||
<a-input disabled v-model:value="formParam.kid" class="draitem" placeholder="" allowClear showSearch>
|
<a-input disabled v-model:value="formParam.id" class="draitem" placeholder="" allowClear showSearch>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -218,7 +218,7 @@ export default {
|
|||||||
pageSize: 10
|
pageSize: 10
|
||||||
},
|
},
|
||||||
formParam: {
|
formParam: {
|
||||||
kid:null,
|
id:null,
|
||||||
systemCode: null,
|
systemCode: null,
|
||||||
systemName: null,
|
systemName: null,
|
||||||
remark: null,
|
remark: null,
|
||||||
@@ -307,12 +307,12 @@ export default {
|
|||||||
//删除弹窗
|
//删除弹窗
|
||||||
const deleteModal = (record) => {
|
const deleteModal = (record) => {
|
||||||
state.deleteInTeacherdialog = true
|
state.deleteInTeacherdialog = true
|
||||||
state.id = record.kid
|
state.id = record.id
|
||||||
};
|
};
|
||||||
//确认删除
|
//确认删除
|
||||||
const closeDeleteTeacher = () => {
|
const closeDeleteTeacher = () => {
|
||||||
//调用删除接口
|
//调用删除接口
|
||||||
deleteLecturerSystem({kid:state.id}).then((res) => {
|
deleteLecturerSystem({id:state.id}).then((res) => {
|
||||||
if (res.data.code == 200) {
|
if (res.data.code == 200) {
|
||||||
// message.success("删除成功");
|
// message.success("删除成功");
|
||||||
state.deleteInTeacherdialog = false
|
state.deleteInTeacherdialog = false
|
||||||
@@ -365,7 +365,7 @@ export default {
|
|||||||
};
|
};
|
||||||
const cancel = () => {
|
const cancel = () => {
|
||||||
state.formParam = {
|
state.formParam = {
|
||||||
kid:null,
|
id:null,
|
||||||
systemCode: null,
|
systemCode: null,
|
||||||
systemName: null,
|
systemName: null,
|
||||||
remark: null,
|
remark: null,
|
||||||
@@ -409,7 +409,7 @@ export default {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const rules = {
|
const rules = {
|
||||||
kid: [{ required: true, message: '讲师体系编号不能为空' }],
|
id: [{ required: true, message: '讲师体系编号不能为空' }],
|
||||||
systemName: [{ required: true, message: '讲师体系名称不能为空' }],
|
systemName: [{ required: true, message: '讲师体系名称不能为空' }],
|
||||||
}
|
}
|
||||||
const handleLook =(record)=>{
|
const handleLook =(record)=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user