2023年6月29日 添加假删除(课堂)
This commit is contained in:
parent
cef8a819de
commit
4396c17b51
|
@ -42,7 +42,7 @@
|
||||||
<a-button type="danger" @click="batchHandleDelete" preIcon="ant-design:delete-outlined">删除</a-button>
|
<a-button type="danger" @click="batchHandleDelete" preIcon="ant-design:delete-outlined">删除</a-button>
|
||||||
<a-button type="primary" @click="handleEditPtxx" preIcon="ant-design:plus-outlined"> 修改平台信息</a-button>
|
<a-button type="primary" @click="handleEditPtxx" preIcon="ant-design:plus-outlined"> 修改平台信息</a-button>
|
||||||
<a-button type="primary" @click="handleEditTeacher" preIcon="ant-design:plus-outlined"> 修改教师</a-button>
|
<a-button type="primary" @click="handleEditTeacher" preIcon="ant-design:plus-outlined"> 修改教师</a-button>
|
||||||
|
|
||||||
<a-button type="primary" @click="handlePjb(2)" preIcon="ant-design:plus-outlined"> 线上课堂评价表</a-button>
|
<a-button type="primary" @click="handlePjb(2)" preIcon="ant-design:plus-outlined"> 线上课堂评价表</a-button>
|
||||||
<a-button type="primary" @click="handlePjb(3)" preIcon="ant-design:plus-outlined"> 听课记录表</a-button>
|
<a-button type="primary" @click="handlePjb(3)" preIcon="ant-design:plus-outlined"> 听课记录表</a-button>
|
||||||
<a-button type="primary" @click="handlePjb(4)" preIcon="ant-design:plus-outlined"> 同行评价表</a-button>
|
<a-button type="primary" @click="handlePjb(4)" preIcon="ant-design:plus-outlined"> 同行评价表</a-button>
|
||||||
|
@ -128,6 +128,7 @@
|
||||||
},
|
},
|
||||||
beforeFetch: (params) => {
|
beforeFetch: (params) => {
|
||||||
params.column = '',params.order = '';//新生成的默认不带排序
|
params.column = '',params.order = '';//新生成的默认不带排序
|
||||||
|
params.isDelete = 0;
|
||||||
return Object.assign(params, queryParam.value);
|
return Object.assign(params, queryParam.value);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -213,7 +214,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
function handlePjb(type){
|
function handlePjb(type){
|
||||||
|
|
||||||
let record = selectedRows.value[0];
|
let record = selectedRows.value[0];
|
||||||
if(!record){
|
if(!record){
|
||||||
createMessage.error('请您至少选择一条记录进行操作。');
|
createMessage.error('请您至少选择一条记录进行操作。');
|
||||||
|
|
Loading…
Reference in New Issue