fit:添加案例 选择测评、试卷 、四个管理的获取列表接口请求条件 添加案例最多选择两条 选择试卷、测评最多选择一条可反选创建测评信息接口请求参数修改

This commit is contained in:
Ggysh-7
2022-11-22 18:25:24 +08:00
parent a8153029af
commit 6ecc8e01fd
9 changed files with 108 additions and 56 deletions

View File

@@ -126,8 +126,10 @@
ctx.emit("update:STvisible", false);
};
const afterVisibleChange = () => {
const afterVisibleChange = (bol) => {
if (bol == true) {
getManageList()
}
};
const tableDataFunc = ()=> {
@@ -186,6 +188,9 @@
state.SelectTestData = record
};
const onSelectChange = (selectedRowKeys) => {
if(selectedRowKeys.length>1){
return
}
state.selectedRowKeys = selectedRowKeys;
}
@@ -232,7 +237,7 @@
});
};
//搜索任务列表
//搜索任务列表 没接口
const searchTaskList = () => {
let objser = {
name: "",
@@ -264,9 +269,12 @@
//重置任务列表
const resetTaskList = () => {
state.name = "";
state.projectName = "";
state.tabledata = [];
state.inputPname = "";
state.inputCname = "";
state.tableData = [];
state.selectedRowKeys = [];
state.SelectTestData = [];
state.currentPage = 1;
getManageList();
};
return {
@@ -398,6 +406,12 @@
}
}
.tab {
.ant-table-selection-column {
.ant-table-selection{
display: none;
}
}
th.h {
background-color: #eff4fc !important;
}