mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
合并
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
<script>
|
||||
import { reactive, toRefs } from "vue";
|
||||
import * as api from "../../api/indexEval";
|
||||
export default {
|
||||
export default {
|
||||
name: "EvList",
|
||||
props: {
|
||||
EvalListVisible: {
|
||||
@@ -148,13 +148,16 @@ import { reactive, toRefs } from "vue";
|
||||
},
|
||||
]
|
||||
});
|
||||
// const onSelect = (record)=> {
|
||||
// state.evaluationTypeName = record.title
|
||||
// state.evaluationTypeId = record.quiz_code
|
||||
// };
|
||||
const onSelectChange = (selectedRowKeys,selectedRows)=> {
|
||||
if(selectedRowKeys.length>1){
|
||||
if(state.selectedRowKeys.length>1){
|
||||
return
|
||||
}
|
||||
state.selectedRowKeys = selectedRowKeys
|
||||
state.evListData = selectedRows[0] ? selectedRows[0] : []
|
||||
console.log('state.evListData',state.evListData);
|
||||
}
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("update:EvalListVisible", false);
|
||||
@@ -168,7 +171,11 @@ import { reactive, toRefs } from "vue";
|
||||
}
|
||||
};
|
||||
const checkFinish =() =>{
|
||||
ctx.emit("getEvListData", state.evListData);
|
||||
let EvListDate = {
|
||||
Id : state.evaluationTypeId,
|
||||
Name : state.evaluationTypeName,
|
||||
}
|
||||
ctx.emit("getEvListDate", EvListDate);
|
||||
closeDrawer();
|
||||
}
|
||||
const changePagination = (page) => {
|
||||
@@ -223,7 +230,6 @@ 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,
|
||||
|
||||
Reference in New Issue
Block a user