| | |
| | | # 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' |
| | |
| | | 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') |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | 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 |
| | | }) |
| | |
| | | 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, |
| | | }); |
| | |
| | | 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 |
| | | }) |
| | |
| | | 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 |
| | | }) |
| | |
| | | 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}` |
| | | } |
| | | }) |
| | | } |
| | |
| | | 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}` |
| | | } |
| | | }) |
| | | } |
| | |
| | | :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> |
| | |
| | | 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{ |
| | |
| | | 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 |
| | | }) |
| | |
| | | :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> |
| | |
| | | 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{ |
| | |
| | | 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 |
| | | } |
| | |
| | | <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> |
| | |
| | | <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, |
| | |
| | | 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 |
| | | }) |
| | |
| | | } |
| | | }) |
| | | }, |
| | | // 转圈圈 |
| | | 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 = [] |
| | |
| | | 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 |
| | | }) |
| | |
| | | <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> |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | <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> |
| | |
| | | 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 |
| | | }, |
| | |
| | | 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 |
| | | }) |
| | | }) |
| | |
| | | <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> |
| | |
| | | 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 |
| | | }, |
| | |
| | | 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 |
| | | }) |
| | | }) |
| | |
| | | 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 |
| | | }) |
| | | }) |
| | |
| | | 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, |
| | | }]); |
| | |
| | | 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, |
| | | }]); |