no message
This commit is contained in:
parent
71d0c069eb
commit
ae54a2b982
@ -167,7 +167,7 @@ export default {
|
|||||||
this.dialog = false
|
this.dialog = false
|
||||||
this.$msgbox({
|
this.$msgbox({
|
||||||
title: "成功发起任务",
|
title: "成功发起任务",
|
||||||
message: `<div><img style="height:200px" src="@/assets/img/tasks-example.png"/></div><p>已成功发起导出任务,您可以操作其他事务</p><p>稍后可在 <b>任务中心</b> 查看执行结果</p>`,
|
message: es.message || `<p>已成功发起导出任务,您可以操作其他事务</p><p>稍后可在 <b>任务中心</b> 查看执行结果</p>`,
|
||||||
type: "success",
|
type: "success",
|
||||||
confirmButtonText: "知道了",
|
confirmButtonText: "知道了",
|
||||||
dangerouslyUseHTMLString: true,
|
dangerouslyUseHTMLString: true,
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<x-file-export v-if="displayHandle()" v-bind="operation.export" :data="exportdata">
|
<x-file-export v-if="displayHandle()" v-bind="operation.export" :data="exportdata">
|
||||||
<template #default="{ open }">
|
<template #default="{ open }">
|
||||||
<el-button type="info" icon="x-icon-download" @click="open">导出</el-button>
|
<el-button type="info" icon="x-icon-download" @click="open">{{ operation.export.name || '导出'}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #form="{ formData }">
|
<template #form="{ formData }">
|
||||||
<el-form-item label="导出条数限制" v-if="formData.limit">
|
<el-form-item label="导出条数限制" v-if="formData.limit">
|
||||||
@ -187,8 +187,11 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
displayHandle() {
|
displayHandle() {
|
||||||
if (this.$refs.table.total && this.operation.export && this.operation.export.showhandle) {
|
if (this.$refs.table.total && this.operation.export) {
|
||||||
return eval(this.operation.export.showhandle.replace(/\$/g, "this.search")) // $.id==1 $.ids.includes("4")
|
if (this.operation.export.showhandle) {
|
||||||
|
return eval(this.operation.export.showhandle.replace(/\$/g, "this.search")) // $.id==1 $.ids.includes("4")
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user