|
@@ -42,7 +42,12 @@
|
|
|
:disabled="disabledModify">修改</el-button>
|
|
|
<el-button type="danger" size="small" icon="el-icon-delete" @click="clickDelete()"
|
|
|
:disabled="disabledDelete">作废</el-button>
|
|
|
- <el-button type="info" size="small" icon="el-icon-document" @click="clickExport()">导出</el-button>
|
|
|
+ <el-popover placement="top-start" title="提示" width="200" trigger="hover"
|
|
|
+ content="数据量大时等待时间可能较长,请您耐心等待!">
|
|
|
+ <el-button slot="reference" type="info" size="small" icon="el-icon-document"
|
|
|
+ @click="clickExport()">导出</el-button>
|
|
|
+ </el-popover>
|
|
|
+ <!-- <el-button type="info" size="small" icon="el-icon-document" @click="clickExport()">导出</el-button> -->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-header>
|
|
@@ -362,7 +367,7 @@ export default {
|
|
|
watch: {
|
|
|
selectedRow(value) {
|
|
|
this.disabledModify = value == null;
|
|
|
- this.disabledDelete = this.selectionsData.length == 0;
|
|
|
+ this.disabledDelete = value == null;
|
|
|
},
|
|
|
dialogVisible(newVal, oldVal) {
|
|
|
if (!newVal) {
|