update code

prv
haha 2024-04-06 21:18:13 +08:00
parent a05ff30e29
commit 33cb352dc2
2 changed files with 5 additions and 3 deletions

View File

@ -388,6 +388,7 @@ export default {
localStorage.setItem("proType",item.value);
this.proType=item.text;
this.showSel3=false;
this.deptChange();
this.loadProject();
},
setScreenLiSel1(item) {

View File

@ -41,7 +41,7 @@
</el-col>
<el-col :span="12">
<module-one-2-1 class="center-image" label="集团项目区域分布">
<iframe src="#/map" style="width:100%;height:100%;border:none" v-if="1==2"></iframe>
<iframe src="#/map" style="width:100%;height:100%;border:none" v-if="!isLocalhost"></iframe>
</module-one-2-1>
<el-row>
<el-col :span="12" style="position: relative;">
@ -248,6 +248,7 @@ export default {
},
data() {
return {
isLocalhost:location.href.indexOf("localhost:3000")>=0,
elDeptWorks: 0,
prj: {},
prjs: [],