mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
fix:补齐合并丢失代码
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user