commit
This commit is contained in:
@@ -355,9 +355,16 @@ module.exports = {
|
|||||||
|
|
||||||
handleRemove(file, fileList) {
|
handleRemove(file, fileList) {
|
||||||
if (this.upload_result_category === "interval") {
|
if (this.upload_result_category === "interval") {
|
||||||
|
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 === "id") {
|
||||||
|
|
||||||
}
|
}
|
||||||
if (this.upload_result_type === "url") {
|
if (this.upload_result_type === "url") {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,8 +45,6 @@ layout("/layouts/platform.html"){
|
|||||||
align="center"
|
align="center"
|
||||||
header-align="center"
|
header-align="center"
|
||||||
show-overflow-tooltip
|
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"
|
v-for="(column,index) in tableColumns"
|
||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ const subjectBank = {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onOpen(category) {
|
onOpen(category) {
|
||||||
debugger
|
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.category = category
|
this.category = category
|
||||||
this.listBank()
|
this.listBank()
|
||||||
|
|||||||
@@ -195,9 +195,9 @@ const subjectForm = {
|
|||||||
<div style="border-top: 1px solid var(--border-color-lighter);padding: 12px;text-align: right;">
|
<div style="border-top: 1px solid var(--border-color-lighter);padding: 12px;text-align: right;">
|
||||||
<!-- <el-button @click="visible = false">取消</el-button>-->
|
<!-- <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">
|
<el-button type="primary" icon="el-icon-upload" @click="openTxtImport">
|
||||||
从文本导入
|
从文本导入
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ layout("/layouts/platform.html"){
|
|||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning"
|
type: "warning"
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
$.post("/platform/qsv/activity/delete", {id}).then((res) => {
|
$.post("/platform/qsv/bank/delete", {id}).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success("删除成功")
|
this.$message.success("删除成功")
|
||||||
this.pageData()
|
this.pageData()
|
||||||
|
|||||||
Reference in New Issue
Block a user