lcw
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
</template>
|
||||
<template #answer="{ row }">
|
||||
<span v-if="row.type == '01' || row.type == '02'">
|
||||
<span v-for="val in row.correctAnswer" class="flex items-center just-center">
|
||||
<span v-for="val in row.correctAnswer" class="flex items-center just-center">
|
||||
<DictTag :value="val" :tag="false" :options="D_BA_TKDA" />、
|
||||
</span>
|
||||
</span>
|
||||
@ -121,7 +121,7 @@ const changeSize = (val) => {
|
||||
const getList = () => {
|
||||
pageData.tableConfiger.loading = true;
|
||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||
qcckPost(data, "/mosty-base/baxx/tkgl/page").then((res) => {
|
||||
qcckPost(data, "/bagl/mosty-base/baxx/tkgl/page").then((res) => {
|
||||
let arr = res.records || []
|
||||
arr.forEach(item => {
|
||||
item.correctAnswer = item.correctAnswer.split(',')
|
||||
@ -138,7 +138,7 @@ const getList = () => {
|
||||
// 删除
|
||||
const handleDelete = (ids) => {
|
||||
proxy.$modal.confirm("是否确认删除该题目?").then(() => {
|
||||
qcckPost(ids, "/mosty-base/baxx/tkgl/remove").then(() => {
|
||||
qcckPost(ids, "/bagl/mosty-base/baxx/tkgl/remove").then(() => {
|
||||
proxy.$modal.msgSuccess("删除成功");
|
||||
getList();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user