Browse Source

导出增加温馨提示

jonbo 1 year ago
parent
commit
125b18ffe3

+ 7 - 2
src/views/mis/customerManagement/customer-index.vue

@@ -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) {

+ 6 - 1
src/views/mis/reportManagement/btStatistics-index.vue

@@ -34,7 +34,12 @@
                         </div>
                     </el-col>
                     <el-col :span="2" class="list-opCol">
-                        <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>

+ 6 - 1
src/views/mis/reportManagement/ghStatistics-index.vue

@@ -34,7 +34,12 @@
                         </div>
                     </el-col>
                     <el-col :span="2" class="list-opCol">
-                        <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>

+ 6 - 1
src/views/mis/reportManagement/hfysStatistics-index.vue

@@ -34,7 +34,12 @@
                         </div>
                     </el-col>
                     <el-col :span="2" class="list-opCol">
-                        <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>

+ 6 - 1
src/views/mis/reportManagement/xhStatistics-index.vue

@@ -34,7 +34,12 @@
                         </div>
                     </el-col>
                     <el-col :span="2" class="list-opCol">
-                        <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>