From fa12796a50ff655105b98c472df7eef69fc66204 Mon Sep 17 00:00:00 2001
From: 李旭东 <woaiguo66@sina.com>
Date: 星期二, 21 十一月 2023 16:58:31 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe
---
web/src/views/SecureManage/NipCheck/NipTips.vue | 30 ++++++++++++++++++++++++++----
1 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/web/src/views/SecureManage/NipCheck/NipTips.vue b/web/src/views/SecureManage/NipCheck/NipTips.vue
index e064a47..34aead1 100644
--- a/web/src/views/SecureManage/NipCheck/NipTips.vue
+++ b/web/src/views/SecureManage/NipCheck/NipTips.vue
@@ -114,7 +114,7 @@
<script>
import { buttonPinia } from '../../../pinia/index';
import UploadImage from '../../../components/uploadImage.vue'
-import { throttle, changeSize } from '../../../plugins/public'; // 导入节流、动态切换组件尺寸方法
+import { throttle, changeSize,downFiles } from '../../../plugins/public'; // 导入节流、动态切换组件尺寸方法
export default {
components:{
UploadImage,
@@ -241,7 +241,7 @@
res.data.imgEntities.map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item.imgPath}`,
+ url:`https://szpipe.thhy-tj.com/${item.imgPath}`,
name:item.imgPath,
nameImg:item.imgName
})
@@ -251,8 +251,30 @@
}
})
},
+ // 转圈圈
+ functionLoading() {
+ this.loadingView = this.$loading({
+ lock: true,
+ text: '请稍后...',
+ spinner: 'el-icon-loading',
+ background: 'rgba(0, 0, 0, 0.7)'
+ });
+ },
//导出excel
- exportFiles(){},
+ exportFiles(){
+ let params = {}
+ params.startTime = this.search.time&&this.search.time[0]
+ params.endTime = this.search.time&&this.search.time[1]
+ delete params.time
+ this.functionLoading();
+ this.$api.Safety.exportHiddenFiles(params).then(res => {
+ downFiles(res, '举报信息', 'xls')
+ this.loadingView.close()
+ })
+ .catch(() => {
+ this.loadingView.close();
+ })
+ },
// 修改按钮信息
updateProp(row) {
this.imageList = []
@@ -265,7 +287,7 @@
res.data.imgEntities.map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item.imgPath}`,
+ url:`https://szpipe.thhy-tj.com/${item.imgPath}`,
name:item.imgPath,
nameImg:item.imgName
})
--
Gitblit v1.9.3