提交 c936e35e authored 作者: matian's avatar matian

updates

上级 460c89e8
......@@ -6,7 +6,6 @@ const appList = ref()
let { list: selectTree } = useQuestionList()
const tabValue = ref('1')
const multipleSelection: any = ref([])
const examData = ref([])
const emit = defineEmits<Emits>()
defineProps({
isShowExamDialog: {
......@@ -31,7 +30,6 @@ const listOptions = {
return params
},
callback(data: any) {
examData.value = data.data.forEach((item: any) => (item.check_status = true))
return { list: data.data, total: data.total }
},
params: {
......@@ -66,17 +64,14 @@ const listOptions = {
{ label: '总分', prop: 'paper_total_score' },
{ label: '及格分数', prop: 'pass_score' },
{ label: '更新时间', prop: 'updated_at' }
],
data: examData.value
]
}
examData.value.forEach((item: any) => {
item.check_status = false
})
// 资源出处 tab触发
const tabChange = () => {
appList.value?.refetch()
}
// 取消
const handleCancel = () => {
emit('update:isShowExamDialog', false)
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论