|
@@ -48,7 +48,7 @@
|
|
|
<em>{{item.Nocheck}}</em> 个未完成修订)
|
|
|
</p>
|
|
|
</div>
|
|
|
- <img v-if="index != 0" v-load @error="setErrorImg" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.Image +'&width=200'" :alt="item.Name">
|
|
|
+ <img v-if="index != 0" v-load @error="setErrorImg" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.Image +'&width=200'" :alt="item.Name">
|
|
|
<el-button type="text" v-if="index != 0" class="btn" @click.stop="getTable(item.Id,index)">查看详情</el-button>
|
|
|
<i v-if="index != 0" class="iconfont icon-shuaxin icon" @click.stop="refreshImg(index)"></i>
|
|
|
</div>
|
|
@@ -72,7 +72,7 @@
|
|
|
<em>{{item.Nocheck}}</em> 个未完成修订)
|
|
|
</p>
|
|
|
</div>
|
|
|
- <img v-if="index != 0" v-load @error="setErrorImg" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.Image +'&width=200'" :alt="item.Name">
|
|
|
+ <img v-if="index != 0" v-load @error="setErrorImg" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.Image +'&width=200'" :alt="item.Name">
|
|
|
<p v-if="index != 0" class="btn" @click.stop="getTable(item.Id,index)">查看详情</p>
|
|
|
<i v-if="index != 0" class="iconfont icon-shuaxin icon" @click.stop="refreshImg(index)"></i>
|
|
|
</div>
|
|
@@ -146,25 +146,25 @@
|
|
|
<div class="swiper-wrapper">
|
|
|
<div class="swiper-slide" v-for="(item,$index) in tablePicArr.Nameplate">
|
|
|
<div class="img_view">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
<i class="iconfont icon-shuaxin icon" @click.stop="changeImgUrl('Nameplate',$index)"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="swiper-slide" v-for="(item,$index) in tablePicArr.Pic" v-if="item.type != 'image_video'">
|
|
|
<div class="img_view">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '铭牌照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备正面照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '带二维码的设备远景照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备左侧照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备右侧照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备背面照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '带二维码的设备近景照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '视频资料' && item.type == 'image'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '铭牌照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备正面照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '带二维码的设备远景照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备左侧照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备右侧照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '设备背面照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '带二维码的设备近景照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '视频资料' && item.type == 'image'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
<div v-if="item.type == 'video'" style="width:100%;height:100%;">
|
|
|
<video style="width:100%;height:100%;" :src="'/image-service/common/file_get/'+ item.key + '?systemId=dataPlatform'" controls :poster="'/image-service/common/image_get?systemId=dataPlatform&key='+ delVideo(item.key) +'&width=200'"></video>
|
|
|
</div>
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '其他照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
- <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '全景照片'" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '其他照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
+ <img v-load @error="setErrorImg" @click="seeBig(item.key,item.name,item.type)" v-if="item.name == '全景照片'" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key" :title="item.name" :alt="item.name">
|
|
|
<!-- <i
|
|
|
@click="delPic($index)"
|
|
|
class="iconfont icon-guanbi"
|
|
@@ -235,7 +235,7 @@
|
|
|
<!-- //图片排序 -->
|
|
|
<ul>
|
|
|
<li v-for="(item,index) in imgList.place" v-if="imgList.place.length" class="img_view">
|
|
|
- <img @click="seeBig(item.key,item.name,item.type)" :src="'image-service/common/image_get?systemId=dataPlatform&key='+ item.key +'&width=200'" alt>
|
|
|
+ <img @click="seeBig(item.key,item.name,item.type)" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key +'&width=200'" alt>
|
|
|
<i class="iconfont icon-shuaxin icon" @click.stop="changeImage(index)"></i>
|
|
|
</li>
|
|
|
<li v-for="(item,index) in imgList.nameplate" v-if="imgList.nameplate.length" class="img_view">
|
|
@@ -271,11 +271,11 @@
|
|
|
<i class="iconfont icon-shuaxin icon" @click.stop="changeImage(index)"></i>
|
|
|
</li>
|
|
|
<li v-for="(item,index) in imgList.else" v-if="imgList.else.length && item.type != 'image_video'" class="img_view">
|
|
|
- <img @click="seeBig(item.key,item.name,item.type)" :src="'/buildMsgShowimage-service/common/image_get?systemId=dataPlatform&key='+ item.key +'&width=200'" alt>
|
|
|
+ <img @click="seeBig(item.key,item.name,item.type)" :src="'/image-service/common/image_get?systemId=dataPlatform&key='+ item.key +'&width=200'" alt>
|
|
|
<i class="iconfont icon-shuaxin icon" @click.stop="changeImage(index)"></i>
|
|
|
</li>
|
|
|
<li v-for="item in imgList.video" style="border: 1px solid #ccc;">
|
|
|
- <video style="width:100%;height:100%;" :src="'/image-service/common/file_get/'+ item.key + '?systemId=dataPlatform'" controls :poster="'image-service/common/image_get?systemId=dataPlatform&key='+ delVideo(item.key) +'&width=200'"></video>
|
|
|
+ <video style="width:100%;height:100%;" :src="'/image-service/common/file_get/'+ item.key + '?systemId=dataPlatform'" controls :poster="'/image-service/common/image_get?systemId=dataPlatform&key='+ delVideo(item.key) +'&width=200'"></video>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -496,7 +496,7 @@
|
|
|
delPic(index) {
|
|
|
let param = {}
|
|
|
if (!!this.tablePicArr && this.tablePicArr.Pic.length) {
|
|
|
- this.$confirm("<p>你确定删除此照片吗?</p><div style='height:200px;'><img style='display: block;margin: auto;' src='image-service/common/image_get?systemId=dataPlatform&width=200&height=200&key=" + this.tablePicArr.Pic[index].key + "' /></div>",
|
|
|
+ this.$confirm("<p>你确定删除此照片吗?</p><div style='height:200px;'><img style='display: block;margin: auto;' src='/image-service/common/image_get?systemId=dataPlatform&width=200&height=200&key=" + this.tablePicArr.Pic[index].key + "' /></div>",
|
|
|
"删除图片", {
|
|
|
dangerouslyUseHTMLString: true
|
|
|
}).then(() => {
|
|
@@ -602,7 +602,7 @@
|
|
|
UserId: this.userId
|
|
|
};
|
|
|
getBuildSelect(param).then(result => {
|
|
|
- if (result.data.Result == "success") {
|
|
|
+ if (result.data.Result == "success" && result.data.BuildList) {
|
|
|
this.buildList = result.data.BuildList;
|
|
|
//获取建筑下列数据后请求默认楼层建筑数据
|
|
|
this.getDefaultFloor();
|
|
@@ -693,9 +693,9 @@
|
|
|
};
|
|
|
defaultFloor(param).then(result => {
|
|
|
//将默认建筑id赋予标签绑定
|
|
|
- this.buildId = result.data.BuildId;
|
|
|
+ // this.buildId = result.data.BuildId;
|
|
|
//存储默认楼层,等待楼层下拉列表出现后赋予
|
|
|
- this.defaultFloorData = result.data.FloorId;
|
|
|
+ // this.defaultFloorData = result.data.FloorId;
|
|
|
//请求楼层下拉数据
|
|
|
if (this.buildId) {
|
|
|
this.getFloorData();
|
|
@@ -755,7 +755,7 @@
|
|
|
getFloor(param).then(res => {
|
|
|
if (res.data.Result == "success") {
|
|
|
this.floorList = res.data.FloorList;
|
|
|
- this.floorId = this.defaultFloorData;
|
|
|
+ // this.floorId = this.defaultFloorData;
|
|
|
for (let i = 0; i < this.floorList.length; i++) {
|
|
|
if (this.floorId == this.floorList[i].FloorId) {
|
|
|
this.floorName = this.floorList[i].FloorLocalName;
|