From c163052d4f7e2debfc1cfb14edf85f503b2c7c00 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期二, 21 十一月 2023 10:19:30 +0800
Subject: [PATCH] 修改地址
---
web/src/views/DuctpiecePLM/DuctpieceIndex.vue | 2
web/src/views/personnelIndex/PersonnelManager/components/LabourService.vue | 2
web/src/views/personnelIndex/PersonnelManager/components/MortgageePossession.vue | 2
web/src/views/SafetyManage/components/TrainRecord.vue | 2
web/src/views/ReincageManage/ReincageProduct.vue | 4 +-
web/src/components/EditForms.vue | 2
web/.env.production | 4 +-
web/src/views/DuctpiecePLM/ReinManage/ReinsProduct.vue | 4 +-
web/src/components/LookFile.vue | 4 +-
web/src/views/SystemIndex/PDAIndex.vue | 2
web/src/views/DeviceManage/BigDevice.vue | 4 +-
web/src/views/SystemNotice/PublicityNotice.vue | 8 ++--
web/src/views/SystemNotice/ChronicleIndex.vue | 8 ++--
web/src/views/SafetyManage/FireequipmentIndex.vue | 2
web/src/views/DuctpiecePLM/DuctProduct/ProductIndex.vue | 2
web/src/views/SystemIndex/WechatIndex.vue | 2
web/src/views/SecureManage/NipCheck/NipTips.vue | 30 +++++++++++++--
web/src/views/QualityManage/components/PatternCheck.vue | 2
web/src/views/SystemNotice/SendFile.vue | 2
web/src/components/uploadPhoto.vue | 2
web/src/views/SecureManage/NipCheck/components/TrainRecord.vue | 2
web/src/components/uploadImage.vue | 2
22 files changed, 58 insertions(+), 36 deletions(-)
diff --git a/web/.env.production b/web/.env.production
index 8784e7a..9394f4a 100644
--- a/web/.env.production
+++ b/web/.env.production
@@ -1,4 +1,4 @@
-# VUE_APP_BASE_URL = 'https://pipe.thhy-tj.com:8880'
+ VUE_APP_BASE_URL = 'https://szpipe.thhy-tj.com/suapi'
-VUE_APP_BASE_URL = 'http://111.30.93.212:8089/suapi'
+#VUE_APP_BASE_URL = 'http://111.30.93.212:8089/suapi'
# VUE_APP_BASE_URL = 'http://111.30.93.247:8880'
\ No newline at end of file
diff --git a/web/src/components/EditForms.vue b/web/src/components/EditForms.vue
index 83db1fa..b24d652 100644
--- a/web/src/components/EditForms.vue
+++ b/web/src/components/EditForms.vue
@@ -44,7 +44,7 @@
maxNumberOfFiles: 200,
server:`/api/file/file/upload`,
customInsert:(res,insertFn)=>{
- insertFn(`https://pipe.thhy-tj.com/${res.data}`)
+ insertFn(`https://szpipe.thhy-tj.com/${res.data}`)
}
// headers:{
// token:sessionStorage.getItem('token')
diff --git a/web/src/components/LookFile.vue b/web/src/components/LookFile.vue
index 20bcbc0..bf83b1d 100644
--- a/web/src/components/LookFile.vue
+++ b/web/src/components/LookFile.vue
@@ -24,7 +24,7 @@
<img src="../assets/t.png" style="width: 100%; height: 100%;" v-if="item.type == 'txt'">
<img src="../assets/ppt.png" style="width: 100%; height: 100%;"
v-if="item.type == 'ppt'||item.type == 'pptx'">
- <img :src="`https://pipe.thhy-tj.com/${item.url}`" style="width: 100%; height: 100%;"
+ <img :src="`https://szpipe.thhy-tj.com/${item.url}`" style="width: 100%; height: 100%;"
v-if="['png','jpg','gif'].includes(item.type)">
<div class="img-text">{{item.name}}</div>
</div>
@@ -44,7 +44,7 @@
<canvas v-else id="files"></canvas>
</div>
<div class="pdf-center" v-if="imgs">
- <img :src="`https://pipe.thhy-tj.com/${imgUrl}`" style="width: 100%; height: 100%;">
+ <img :src="`https://szpipe.thhy-tj.com/${imgUrl}`" style="width: 100%; height: 100%;">
</div>
</el-dialog>
</div>
diff --git a/web/src/components/uploadImage.vue b/web/src/components/uploadImage.vue
index 4931094..b37dbec 100644
--- a/web/src/components/uploadImage.vue
+++ b/web/src/components/uploadImage.vue
@@ -123,7 +123,7 @@
this.fileList.push({
id: this.fileList.length + 1,
// url:`${process.env.VUE_APP_BASE_URL}${res.data}`,
- url:`https://pipe.thhy-tj.com/${res.data}`,
+ url:`https://szpipe.thhy-tj.com/${res.data}`,
name:res.data,
nameImg:file.file.name
})
diff --git a/web/src/components/uploadPhoto.vue b/web/src/components/uploadPhoto.vue
index 30c9106..ccec7d6 100644
--- a/web/src/components/uploadPhoto.vue
+++ b/web/src/components/uploadPhoto.vue
@@ -142,7 +142,7 @@
this.fileList.push({
id: this.fileList.length + 1,
// url:`${process.env.VUE_APP_BASE_URL}${res.data}`,
- url: `https://pipe.thhy-tj.com/${res.data}`,
+ url: `https://szpipe.thhy-tj.com/${res.data}`,
name: res.data,
nameImg: file.file.name,
});
diff --git a/web/src/views/DeviceManage/BigDevice.vue b/web/src/views/DeviceManage/BigDevice.vue
index 0a5e271..0b96c37 100644
--- a/web/src/views/DeviceManage/BigDevice.vue
+++ b/web/src/views/DeviceManage/BigDevice.vue
@@ -337,7 +337,7 @@
res.data.tbigPaths.filter(iten=>iten.fileType ===1).map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item.filePath}`,
+ url:`https://szpipe.thhy-tj.com/${item.filePath}`,
name:item.filePathName,
nameImg:item.filePathName
})
@@ -459,7 +459,7 @@
res.data.tbigPaths.filter(iten=>iten.fileType ===1).map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item.filePath}`,
+ url:`https://szpipe.thhy-tj.com/${item.filePath}`,
name:item.filePathName,
nameImg:item.filePathName
})
diff --git a/web/src/views/DuctpiecePLM/DuctProduct/ProductIndex.vue b/web/src/views/DuctpiecePLM/DuctProduct/ProductIndex.vue
index 0130282..3626c63 100644
--- a/web/src/views/DuctpiecePLM/DuctProduct/ProductIndex.vue
+++ b/web/src/views/DuctpiecePLM/DuctProduct/ProductIndex.vue
@@ -453,7 +453,7 @@
this.fileList = res.data.files.map((item, index) => {
return {
id: index + 1,
- url: `https://pipe.thhy-tj.com/${item}`
+ url: `https://szpipe.thhy-tj.com/${item}`
}
})
}
diff --git a/web/src/views/DuctpiecePLM/DuctpieceIndex.vue b/web/src/views/DuctpiecePLM/DuctpieceIndex.vue
index 6c16c1b..643f061 100644
--- a/web/src/views/DuctpiecePLM/DuctpieceIndex.vue
+++ b/web/src/views/DuctpiecePLM/DuctpieceIndex.vue
@@ -453,7 +453,7 @@
this.fileList = res.data.files.map((item, index) => {
return {
id: index + 1,
- url: `https://pipe.thhy-tj.com/${item}`
+ url: `https://szpipe.thhy-tj.com/${item}`
}
})
}
diff --git a/web/src/views/DuctpiecePLM/ReinManage/ReinsProduct.vue b/web/src/views/DuctpiecePLM/ReinManage/ReinsProduct.vue
index 2abf499..18098f0 100644
--- a/web/src/views/DuctpiecePLM/ReinManage/ReinsProduct.vue
+++ b/web/src/views/DuctpiecePLM/ReinManage/ReinsProduct.vue
@@ -168,7 +168,7 @@
:preview-src-list="phoneList"
fit="contain">
<div slot="error" class="image-slot">
- <img src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
+ <img src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
</div>
</el-image>
</el-form-item>
@@ -422,7 +422,7 @@
this.$set(this.ruleForm,'checkFaildReason',res.data[0].remark)
this.$set(this.ruleForm,'checkResult',res.data[0].checkResult)
res.data[0].checkFile.map(item=>{
- this.phoneList.push(`https://pipe.thhy-tj.com/${item}`)
+ this.phoneList.push(`https://szpipe.thhy-tj.com/${item}`)
})
this.showPhone = true
}else{
diff --git a/web/src/views/QualityManage/components/PatternCheck.vue b/web/src/views/QualityManage/components/PatternCheck.vue
index f8a6fc8..f789b86 100644
--- a/web/src/views/QualityManage/components/PatternCheck.vue
+++ b/web/src/views/QualityManage/components/PatternCheck.vue
@@ -367,7 +367,7 @@
res.data.tbigPaths.filter(iten=>iten.fileType ===1).map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item.filePath}`,
+ url:`https://szpipe.thhy-tj.com/${item.filePath}`,
name:item.filePathName,
nameImg:item.filePathName
})
diff --git a/web/src/views/ReincageManage/ReincageProduct.vue b/web/src/views/ReincageManage/ReincageProduct.vue
index 5d37746..af51c62 100644
--- a/web/src/views/ReincageManage/ReincageProduct.vue
+++ b/web/src/views/ReincageManage/ReincageProduct.vue
@@ -168,7 +168,7 @@
:preview-src-list="phoneList"
fit="contain">
<div slot="error" class="image-slot">
- <img src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
+ <img src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
</div>
</el-image>
</el-form-item>
@@ -422,7 +422,7 @@
this.$set(this.ruleForm,'checkFaildReason',res.data[0].remark)
this.$set(this.ruleForm,'checkResult',res.data[0].checkResult)
res.data[0].checkFile.map(item=>{
- this.phoneList.push(`https://pipe.thhy-tj.com/${item}`)
+ this.phoneList.push(`https://szpipe.thhy-tj.com/${item}`)
})
this.showPhone = true
}else{
diff --git a/web/src/views/SafetyManage/FireequipmentIndex.vue b/web/src/views/SafetyManage/FireequipmentIndex.vue
index b37f225..a428f7a 100644
--- a/web/src/views/SafetyManage/FireequipmentIndex.vue
+++ b/web/src/views/SafetyManage/FireequipmentIndex.vue
@@ -170,7 +170,7 @@
this.$set(this.formFireequipment, 'fileList', res.data.map(item => {
return {
id: item.id,
- url:`https://pipe.thhy-tj.com/${item.file}`,
+ url:`https://szpipe.thhy-tj.com/${item.file}`,
name: item.file,
nameImg:item.fileName
}
diff --git a/web/src/views/SafetyManage/components/TrainRecord.vue b/web/src/views/SafetyManage/components/TrainRecord.vue
index 652f5c6..997efcf 100644
--- a/web/src/views/SafetyManage/components/TrainRecord.vue
+++ b/web/src/views/SafetyManage/components/TrainRecord.vue
@@ -40,7 +40,7 @@
<div>
<el-image
style="width: 50px; height: 50px;"
- src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png"
+ src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png"
fit="contain">
</el-image>
</div>
diff --git a/web/src/views/SecureManage/NipCheck/NipTips.vue b/web/src/views/SecureManage/NipCheck/NipTips.vue
index e064a47..8c76e13 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.Analyse.exportAuxilliaryCost(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
})
diff --git a/web/src/views/SecureManage/NipCheck/components/TrainRecord.vue b/web/src/views/SecureManage/NipCheck/components/TrainRecord.vue
index db1be14..79ce030 100644
--- a/web/src/views/SecureManage/NipCheck/components/TrainRecord.vue
+++ b/web/src/views/SecureManage/NipCheck/components/TrainRecord.vue
@@ -40,7 +40,7 @@
<div>
<el-image
style="width: 50px; height: 50px;"
- src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png"
+ src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png"
fit="contain">
</el-image>
</div>
diff --git a/web/src/views/SystemIndex/PDAIndex.vue b/web/src/views/SystemIndex/PDAIndex.vue
index 6531e5e..9d2e22f 100644
--- a/web/src/views/SystemIndex/PDAIndex.vue
+++ b/web/src/views/SystemIndex/PDAIndex.vue
@@ -209,7 +209,7 @@
this.$set(this.formPDAIndex, 'menuUrl', row.menuUrl);
this.$set(this.formPDAIndex, 'menuIcon', row.menuIcon ? [{
id: 1,
- url:`https://pipe.thhy-tj.com/${row.menuIcon}`,
+ url:`https://szpipe.thhy-tj.com/${row.menuIcon}`,
name:row.menuIcon
}] : []);
this.asyncTitle = false;
diff --git a/web/src/views/SystemIndex/WechatIndex.vue b/web/src/views/SystemIndex/WechatIndex.vue
index 79dfb0e..68066e0 100644
--- a/web/src/views/SystemIndex/WechatIndex.vue
+++ b/web/src/views/SystemIndex/WechatIndex.vue
@@ -258,7 +258,7 @@
this.$set(this.formWechat, 'menuType', row.menuType);
this.$set(this.formWechat, 'menuIcon', row.menuIcon ? [{
id: 1,
- url:`https://pipe.thhy-tj.com/${row.menuIcon}`,
+ url:`https://szpipe.thhy-tj.com/${row.menuIcon}`,
name:row.menuIcon
}] : []);
this.asyncTitle = false;
diff --git a/web/src/views/SystemNotice/ChronicleIndex.vue b/web/src/views/SystemNotice/ChronicleIndex.vue
index 35daff9..9bcf2db 100644
--- a/web/src/views/SystemNotice/ChronicleIndex.vue
+++ b/web/src/views/SystemNotice/ChronicleIndex.vue
@@ -39,11 +39,11 @@
<div>
<el-image
style="width:50px;height:50px; cursor: pointer;"
- :src="`https://pipe.thhy-tj.com/${row.paths[0]}`"
+ :src="`https://szpipe.thhy-tj.com/${row.paths[0]}`"
:preview-src-list="showImgLists(row)"
fit="contain">
<div slot="error" class="image-slot">
- <img src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px;">
+ <img src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px;">
</div>
</el-image>
</div>
@@ -188,7 +188,7 @@
showImgLists(val){
let imgList = []
val.paths.map(item=>{
- imgList.push(`https://pipe.thhy-tj.com/${item}`)
+ imgList.push(`https://szpipe.thhy-tj.com/${item}`)
})
return imgList
},
@@ -232,7 +232,7 @@
res.data.paths.map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item}`,
+ url:`https://szpipe.thhy-tj.com/${item}`,
name:item
})
})
diff --git a/web/src/views/SystemNotice/PublicityNotice.vue b/web/src/views/SystemNotice/PublicityNotice.vue
index df854b5..2271bfe 100644
--- a/web/src/views/SystemNotice/PublicityNotice.vue
+++ b/web/src/views/SystemNotice/PublicityNotice.vue
@@ -39,11 +39,11 @@
<div>
<el-image
style="width:50px;height:50px; cursor: pointer;"
- :src="`https://pipe.thhy-tj.com/${row.paths[0]}`"
+ :src="`https://szpipe.thhy-tj.com/${row.paths[0]}`"
:preview-src-list="showImgLists(row)"
fit="contain">
<div slot="error" class="image-slot">
- <img src="https://pipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
+ <img src="https://szpipe.thhy-tj.com/group1/M00/00/03/bx5d1GRlfmCAEmAPAAAFoOEW2dU397.png" style="width:50px;height:50px">
</div>
</el-image>
</div>
@@ -188,7 +188,7 @@
showImgLists(val){
let imgList = []
val.paths.map(item=>{
- imgList.push(`https://pipe.thhy-tj.com/${item}`)
+ imgList.push(`https://szpipe.thhy-tj.com/${item}`)
})
return imgList
},
@@ -232,7 +232,7 @@
res.data.paths.map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item}`,
+ url:`https://szpipe.thhy-tj.com/${item}`,
name:item
})
})
diff --git a/web/src/views/SystemNotice/SendFile.vue b/web/src/views/SystemNotice/SendFile.vue
index 3c5da90..f49e883 100644
--- a/web/src/views/SystemNotice/SendFile.vue
+++ b/web/src/views/SystemNotice/SendFile.vue
@@ -207,7 +207,7 @@
res.data.paths.map(item=>{
this.imageList.push({
id: this.imageList.length + 1,
- url:`https://pipe.thhy-tj.com/${item}`,
+ url:`https://szpipe.thhy-tj.com/${item}`,
name:item
})
})
diff --git a/web/src/views/personnelIndex/PersonnelManager/components/LabourService.vue b/web/src/views/personnelIndex/PersonnelManager/components/LabourService.vue
index 1a4493e..8fb08a6 100644
--- a/web/src/views/personnelIndex/PersonnelManager/components/LabourService.vue
+++ b/web/src/views/personnelIndex/PersonnelManager/components/LabourService.vue
@@ -485,7 +485,7 @@
if(row.photo) {
this.$set(this.formFace, 'photo', [{
id: 1,
- url: `https://pipe.thhy-tj.com/${row.photo}`,
+ url: `https://szpipe.thhy-tj.com/${row.photo}`,
name: row.photo,
nameImg: row.realName,
}]);
diff --git a/web/src/views/personnelIndex/PersonnelManager/components/MortgageePossession.vue b/web/src/views/personnelIndex/PersonnelManager/components/MortgageePossession.vue
index fccb01e..758fa55 100644
--- a/web/src/views/personnelIndex/PersonnelManager/components/MortgageePossession.vue
+++ b/web/src/views/personnelIndex/PersonnelManager/components/MortgageePossession.vue
@@ -509,7 +509,7 @@
if(row.photo) {
this.$set(this.formFace, 'photo', [{
id: 1,
- url: `https://pipe.thhy-tj.com/${row.photo}`,
+ url: `https://szpipe.thhy-tj.com/${row.photo}`,
name: row.photo,
nameImg: row.realName,
}]);
--
Gitblit v1.9.3