fix:补齐合并丢失代码

This commit is contained in:
Ggysh-7
2022-11-25 22:37:54 +08:00
parent 80f8f3bc6a
commit e0e134004c
3 changed files with 16 additions and 20 deletions

View File

@@ -148,16 +148,12 @@ import { reactive, toRefs } from "vue";
},
]
});
// const onSelect = (record)=> {
// state.evaluationTypeName = record.title
// state.evaluationTypeId = record.quiz_code
// };
const onSelectChange = (selectedRowKeys,selectedRows)=> {
if(state.selectedRowKeys.length>1){
if(selectedRowKeys.length>1){
return
}
state.selectedRowKeys = selectedRowKeys
state.evListData = selectedRows[0] ? selectedRows[0] : []
state.evListData = selectedRows[0] ? selectedRows[0] : {}
}
const closeDrawer = () => {
ctx.emit("update:EvalListVisible", false);
@@ -171,11 +167,8 @@ import { reactive, toRefs } from "vue";
}
};
const checkFinish =() =>{
let EvListDate = {
Id : state.evaluationTypeId,
Name : state.evaluationTypeName,
}
ctx.emit("getEvListDate", EvListDate);
ctx.emit("getEvListData", state.evListData);
console.log('儿子',state.evListData);
closeDrawer();
}
const changePagination = (page) => {
@@ -230,6 +223,7 @@ import { reactive, toRefs } from "vue";
key:index+1,
status:value.status,
quiz_code:value.quiz_code,
quiz_kid:value.quiz_kid,
title:value.title,
theme_desc:value.theme_desc,
quiz_price:value.quiz_price,
@@ -245,17 +239,17 @@ import { reactive, toRefs } from "vue";
const getAllEvalText = ()=> {
let objael = {
"keyword": "",
"user_id": 965341999643234304,
"user_id": "965341999643234304",
}
api
.choiceEvaluation(objael)
.choiceEvaluation(objael)
.then((res) => {
getTableDataList(res.data.data)
})
.catch(()=>{
})
}
//
//搜索测评列表
const searchList = ()=> {
state.searching = true
getAllEvalText()