This commit is contained in:
@jyuhsin
2025-12-02 18:16:43 +08:00
parent 4e415d8a72
commit a984124323
5 changed files with 14 additions and 10 deletions
@@ -355,10 +355,17 @@ module.exports = {
handleRemove(file, fileList) {
if (this.upload_result_category === "interval") {
if (this.upload_result_type === "id") {
}
if (this.upload_result_type === "url") {
}
if (this.complete_result) {
const ids = fileList.map(e => e.response.data);
this.$emit("update:value", ids.join(','))
} else {
if (this.upload_result_type === "id") {
}
if (this.upload_result_type === "url") {
}
}
}
if (this.upload_result_category === "array") {
@@ -45,8 +45,6 @@ layout("/layouts/platform.html"){
align="center"
header-align="center"
show-overflow-tooltip
v-if="(column.prop !== 'state' && column.prop !== 'absentCount') || (reserveMode === 2 && column.prop === 'state' && column.prop !== 'absentCount')
|| (column.prop === 'absentCount' && course.isMobileSign === true)"
v-for="(column,index) in tableColumns"
:key="index"
>
@@ -13,7 +13,6 @@ const subjectBank = {
},
methods: {
onOpen(category) {
debugger
this.visible = true
this.category = category
this.listBank()
@@ -195,9 +195,9 @@ const subjectForm = {
<div style="border-top: 1px solid var(--border-color-lighter);padding: 12px;text-align: right;">
<!-- <el-button @click="visible = false">取消</el-button>-->
<el-button type="primary" icon="el-icon-plus" @click="openBank">
<!--<el-button type="primary" icon="el-icon-plus" @click="openBank">
从题库选择
</el-button>
</el-button>-->
<el-button type="primary" icon="el-icon-upload" @click="openTxtImport">
从文本导入
@@ -80,7 +80,7 @@ layout("/layouts/platform.html"){
cancelButtonText: "取消",
type: "warning"
}).then(() => {
$.post("/platform/qsv/activity/delete", {id}).then((res) => {
$.post("/platform/qsv/bank/delete", {id}).then((res) => {
if (res.code === 0) {
this.$message.success("删除成功")
this.pageData()