|
@@ -8,7 +8,7 @@
|
|
<tr class="RQ">
|
|
<tr class="RQ">
|
|
<td>资产二维码</td>
|
|
<td>资产二维码</td>
|
|
<td class="qr-code">
|
|
<td class="qr-code">
|
|
- <img :src="Info.infos.EquipQRCode?`/data-platform-3/image-service/common/file_get?systemId=dataPlatform&key=${Info.infos.EquipQRCode}`:'/static/img/noimg.png'">
|
|
|
|
|
|
+ <img :src="Info.infos.EquipQRCode?`/image-service/image-service/common/file_get?systemId=dataPlatform&key=${Info.infos.EquipQRCode}`:'/static/img/noimg.png'">
|
|
<p class="download" v-if="Info.infos.EquipQRCode" @click="downloadFile(Info.infos.EquipQRCode)">下载</p>
|
|
<p class="download" v-if="Info.infos.EquipQRCode" @click="downloadFile(Info.infos.EquipQRCode)">下载</p>
|
|
</td>
|
|
</td>
|
|
<td><p v-if="Info.infos.InsuranceNum_his">保险保单 <span >{{Info.infos.InsuranceNum_his.length || 0 }}份</span></p><p v-if="Info.infos.InstallDrawing_his">资产图纸 <span>{{Info.infos.InstallDrawing_his.length || 0 }}份</span></p></td>
|
|
<td><p v-if="Info.infos.InsuranceNum_his">保险保单 <span >{{Info.infos.InsuranceNum_his.length || 0 }}份</span></p><p v-if="Info.infos.InstallDrawing_his">资产图纸 <span>{{Info.infos.InstallDrawing_his.length || 0 }}份</span></p></td>
|
|
@@ -79,7 +79,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="image-content" v-if="Info.infos.Pic && keySrc">
|
|
<div class="image-content" v-if="Info.infos.Pic && keySrc">
|
|
- <img :src="`/data-platform-3/image-service/common/image_get?systemId=dataPlatform&key=${keySrc}`">
|
|
|
|
|
|
+ <img :src="`/image-service/image-service/common/image_get?systemId=dataPlatform&key=${keySrc}`">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="no-right" v-else>
|
|
<div class="no-right" v-else>
|
|
@@ -204,7 +204,10 @@ export default {
|
|
let hostUrl = location.search
|
|
let hostUrl = location.search
|
|
this.objectId = hostUrl.split("&")[0].toString().split("=")[1]
|
|
this.objectId = hostUrl.split("&")[0].toString().split("=")[1]
|
|
let pid = hostUrl.split("&")[1].toString().split("=")[1]
|
|
let pid = hostUrl.split("&")[1].toString().split("=")[1]
|
|
- let secret = hostUrl.split("&")[2].toString().split("=")[1]
|
|
|
|
|
|
+ let secret = ''
|
|
|
|
+ if(hostUrl.split("&")[2]){
|
|
|
|
+ secret = hostUrl.split("&")[2].toString().split("=")[1]
|
|
|
|
+ }
|
|
console.log(pid, this.$store.state.projId)
|
|
console.log(pid, this.$store.state.projId)
|
|
this.$store.commit('setProId', pid)
|
|
this.$store.commit('setProId', pid)
|
|
this.$store.commit(`setSecret`, secret)
|
|
this.$store.commit(`setSecret`, secret)
|
|
@@ -267,7 +270,7 @@ export default {
|
|
var photosphere = document.getElementById('container')
|
|
var photosphere = document.getElementById('container')
|
|
// eslint-disable-next-line
|
|
// eslint-disable-next-line
|
|
var PSV = new PhotoSphereViewer({
|
|
var PSV = new PhotoSphereViewer({
|
|
- panorama: `/data-platform-3/image-service/common/image_get?systemId=dataPlatform&key=${key}`,
|
|
|
|
|
|
+ panorama: `/image-service/image-service/common/image_get?systemId=dataPlatform&key=${key}`,
|
|
container: photosphere,
|
|
container: photosphere,
|
|
time_anim: false,
|
|
time_anim: false,
|
|
navbar: true,
|
|
navbar: true,
|