|
@@ -24,12 +24,12 @@
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">群测群防</div>
|
|
|
</div>
|
|
|
- <tablePage class="tablePage" :cloumn="qcqfInfos" :table="qfqclist" :indexed="false" layout="">
|
|
|
+ <tablePage :cloumn="qcqfInfos" :table="qfqclist" :indexed="false" layout="">
|
|
|
</tablePage>
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">检测资料</div>
|
|
|
</div>
|
|
|
- <tablePage class="tablePage" :cloumn="fileHeader" :table="fileList" :indexed="false" layout="">
|
|
|
+ <tablePage :cloumn="fileHeader" :table="fileList" :indexed="false" layout="">
|
|
|
<template #action="{ row }">
|
|
|
<span class="usable" @click="preview(row)">查看</span>
|
|
|
<span class="usable" @click="download(row)"> 下载 </span>
|
|
@@ -55,18 +55,16 @@
|
|
|
<div @click="bigimg = true" v-show="imgList.length">
|
|
|
<el-carousel indicator-position="outside" @change="(v) => imgIndex = v">
|
|
|
<el-carousel-item v-for="(item, i) in imgList" :key="item">
|
|
|
- <div class="imgi"> {{ imgIndex }}</div>
|
|
|
- <!-- <div class="imgi">{{ `${i + 1} / ${imgList.length}` }}</div> -->
|
|
|
+ <div class="imgi">{{ `${i + 1} / ${imgList.length}` }}</div>
|
|
|
<img :src="item.imgUrl" />
|
|
|
- <div class="imgInfo"> {{ item.info }} </div>
|
|
|
+ <div class="imgInfo"> {{ item.bz }} </div>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
</div>
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">治理项目资料</div>
|
|
|
</div>
|
|
|
- <tablePage class="tablePage" :cloumn="fzrHeader" :table="zzfiletable" :indexed="false" layout=""
|
|
|
- ref="tableDialogRef">
|
|
|
+ <tablePage :cloumn="fileHeader" :table="zzfiletable" :indexed="false" layout="">
|
|
|
<template #action="{ row }">
|
|
|
<span class="usable" @click="preview(row)">查看</span>
|
|
|
<span class="usable" @click="download(row)"> 下载 </span>
|
|
@@ -79,17 +77,18 @@
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">应急预案</div>
|
|
|
</div>
|
|
|
- <DesInfo :model="formData" :config="yjyaInfos"></DesInfo>
|
|
|
+ <DesInfo :model="yuanData" :config="yjyaInfos" labelStyle="width: 70px;"></DesInfo>
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">相关负责人</div>
|
|
|
</div>
|
|
|
- <tablePage class="tablePage" :cloumn="fzrHeader" :table="fzrtable" :indexed="false" layout="">
|
|
|
+ <tablePage class="tablePages" :cloumn="fzrHeader" :table="fzrtable" :indexed="false" layout="" :overtip="false">
|
|
|
</tablePage>
|
|
|
+ <!-- <DesInfo :column="2" :model="yuanData" :config="fzrInfo"></DesInfo> -->
|
|
|
<div class="echartTitle">
|
|
|
<div class="block-title">技术指导人</div>
|
|
|
</div>
|
|
|
- <DesInfo :column="2" :model="formData" :config="jszdInfos"></DesInfo>
|
|
|
- <DesInfo :column="2" :model="formData" :config="timeInfos" :border="false"></DesInfo>
|
|
|
+ <DesInfo :column="2" :model="yuanData" :config="jszdInfos"></DesInfo>
|
|
|
+ <DesInfo :column="2" :model="yuanData" :config="timeInfos" :border="false"></DesInfo>
|
|
|
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
@@ -104,7 +103,7 @@
|
|
|
<el-carousel-item v-for="(item, i) in imgList" :key="i">
|
|
|
<div class="imgi">{{ `${i + 1} / ${imgList.length}` }}</div>
|
|
|
<img :src="item.imgUrl" />
|
|
|
- <div class="imgInfo"> {{ item.info }} </div>
|
|
|
+ <div class="imgInfo"> {{ item.bz }} </div>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
|
|
@@ -112,8 +111,6 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-// import Info from "../../Idleland/components/info.vue";
|
|
|
-// import CustomDetails from "@/components/mapView/custom-detailsInfo.vue";
|
|
|
import DesInfo from "@/components/mapView/descriptionsInfo.vue";
|
|
|
import tablePage from "@/components/mapView/tablePage.vue";
|
|
|
import { QueryOne, QueryList } from "@/api/cockpitNew";
|
|
@@ -124,7 +121,6 @@ export default {
|
|
|
type: Object,
|
|
|
},
|
|
|
},
|
|
|
- // components: { Info, Wrjxx },
|
|
|
components: { DesInfo, tablePage },
|
|
|
data() {
|
|
|
return {
|
|
@@ -133,33 +129,15 @@ export default {
|
|
|
formData: { tbbh: 'skmdslcmdrvnfjkvn就是当你发觉的女第就是当你发觉的三次多少地方' },
|
|
|
qfqclist: { data: [] },
|
|
|
fileList: { data: [] },
|
|
|
+ yuanData: {},
|
|
|
type: "",
|
|
|
bigimg: false,
|
|
|
- imgIndex: 0,
|
|
|
+ imgIndex: 1,
|
|
|
imgList: [
|
|
|
{
|
|
|
imgUrl:
|
|
|
"https://b0.bdstatic.com/ugc/Gr0RkpztmAdvrxnS4n54Iw49d04e3484c9bb1a11f03b38a819d893.jpg@h_1280",
|
|
|
- info: "育才生态区那阳小组(治理后)"
|
|
|
- },
|
|
|
- {
|
|
|
- imgUrl:
|
|
|
- "https://img2.baidu.com/it/u=3692233586,2896402884&fm=253&fmt=auto&app=120&f=JPEG?w=759&h=427",
|
|
|
- info: "育才生态区那阳小组(治理后)"
|
|
|
- },
|
|
|
- {
|
|
|
- imgUrl:
|
|
|
- "https://img2.baidu.com/it/u=882190421,2711411099&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1067",
|
|
|
- },
|
|
|
- {
|
|
|
- imgUrl:
|
|
|
- "http://img2.baidu.com/it/u=516755055,1384417278&fm=253&app=138&f=JPEG?w=800&h=1067",
|
|
|
- info: "育才生态区那阳小组(治理后)"
|
|
|
- },
|
|
|
- {
|
|
|
- imgUrl:
|
|
|
- "http://img0.baidu.com/it/u=1366170349,307387023&fm=253&app=138&f=JPEG?w=800&h=1067",
|
|
|
- info: "育才生态区那阳小组(治理后)"
|
|
|
+ bz: "育才生态区那阳小组(治理后)"
|
|
|
},
|
|
|
],
|
|
|
fzrtable: { data: [] },
|
|
@@ -173,7 +151,8 @@ export default {
|
|
|
yjyaInfos: yjyaInfos,
|
|
|
fzrHeader: fzrHeader,
|
|
|
jszdInfos: jszdInfos,
|
|
|
- timeInfos: timeInfos
|
|
|
+ timeInfos: timeInfos,
|
|
|
+ fzrInfo: []
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -188,13 +167,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
download(row) {
|
|
|
- window.open(`${window.axiosURI}/file/upload/attachment/ ${row.path}`);
|
|
|
+ window.open(`${window.axiosURI}/file/upload/attachment${row.path}`); c
|
|
|
},
|
|
|
preview(row) {
|
|
|
- window.open(
|
|
|
- ` ${window.axiosURI}/analyse/fzss/ShowReport?filePath=${row.path}`,
|
|
|
- "_blank"
|
|
|
- );
|
|
|
+ window.open(` ${window.axiosURI}/file/upload/inline${row.path}`, "_blank");
|
|
|
},
|
|
|
handleView({ bsm }, type) {
|
|
|
// this.type = type;
|
|
@@ -205,6 +181,7 @@ export default {
|
|
|
this.getJcfile(bsm)
|
|
|
this.getPhotos(bsm)
|
|
|
this.getZzfile(bsm)
|
|
|
+ this.getyjyaData(bsm)
|
|
|
|
|
|
// if (!e.features[0].fieldNames) {
|
|
|
// this.$message({
|
|
@@ -236,6 +213,9 @@ export default {
|
|
|
},
|
|
|
getPhotos(id) {
|
|
|
QueryList({ jscType: "t_zhd_zgphoto", id }).then((res) => {
|
|
|
+ res.data.forEach(itemi => {
|
|
|
+ itemi.imgUrl = `${window.axiosURI}/file/upload/attachment${itemi.images}`
|
|
|
+ });
|
|
|
this.imgList = res.data
|
|
|
});
|
|
|
},
|
|
@@ -244,6 +224,35 @@ export default {
|
|
|
this.zzfiletable = res
|
|
|
});
|
|
|
},
|
|
|
+ getyjyaData(id) {
|
|
|
+ QueryOne({ jscType: "t_zhd_yjya", id }).then(({ data }) => {
|
|
|
+ this.yuanData = data
|
|
|
+ this.fzrtable = {
|
|
|
+ data: [
|
|
|
+ { fzr: '监测责任人', xm: data.jczrr, dh: data.jczrrdh, zr: data.jczr },
|
|
|
+ { fzr: '应急责任人', xm: data.yjzrr, dh: data.yjzrrdh, zr: data.yjzr },
|
|
|
+ { fzr: '村/社负责人', xm: data.csfzr, dh: data.csfzrdh, zr: data.cszr },
|
|
|
+ { fzr: '市资规局育才分局负责人', xm: data.sjfzr, dh: data.sjfzrdh, zr: data.sjzr },
|
|
|
+ { fzr: '县级责任人', xm: data.xjfzr, dh: data.xjfzrdh, zr: data.xjzr }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ // this.fzrInfo = [
|
|
|
+ // { label: '负责人', info: '姓名' },
|
|
|
+ // { label: '电话', info: '责任' },
|
|
|
+ // { label: '监测责任人', info: data.jczrr },
|
|
|
+ // { label: data.jczrrdh, info: data.jczr },
|
|
|
+ // { label: '应急责任人', info: data.yjzrr },
|
|
|
+ // { label: data.yjzrrdh, info: data.yjzr },
|
|
|
+ // { label: '村/社负责人', info: data.csfzr },
|
|
|
+ // { label: data.csfzrdh, info: data.cszr },
|
|
|
+ // { label: '市资规局育才分局负责人', info: data.sjfzr },
|
|
|
+ // { label: data.sjfzrdh, info: data.sjzr },
|
|
|
+ // { label: '县级责任人', info: data.xjfzr },
|
|
|
+ // { label: data.xjfzrdh, info: data.xjzr },
|
|
|
+ // ]
|
|
|
+
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
mounted() { },
|
|
|
watch: {},
|
|
@@ -310,8 +319,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
.bigimgdiv {
|
|
|
- right: 20%;
|
|
|
- width: 60%;
|
|
|
+ right: 28%;
|
|
|
+ width: 45%;
|
|
|
max-width: 100%;
|
|
|
height: 700px;
|
|
|
|
|
@@ -347,4 +356,4 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|