Commit 95d73b3e authored by wanghao's avatar wanghao

1 液化石油气监管-充装记录 界面优化

parent 11d0ac9f
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
size="mini" size="mini"
:loading="exportLoading" :loading="exportLoading"
@click="handleExport" @click="handleExport"
v-hasPermi="['system:files:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -54,7 +53,6 @@ ...@@ -54,7 +53,6 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleDetail(scope.row)" @click="handleDetail(scope.row)"
v-hasPermi="['system:files:edit']"
>详情</el-button> >详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -184,11 +182,13 @@ export default { ...@@ -184,11 +182,13 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(() => { }).then(() => {
this.$showLoading.show()
this.exportLoading = true; this.exportLoading = true;
return exportFiles(queryParams); return exportFiles(queryParams);
}).then(response => { }).then(response => {
this.download(response.msg); this.download(response.msg);
this.exportLoading = false; this.exportLoading = false;
this.$showLoading.hide()
}).catch(() => {}); }).catch(() => {});
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment