update code
parent
a05ff30e29
commit
33cb352dc2
|
@ -388,6 +388,7 @@ export default {
|
|||
localStorage.setItem("proType",item.value);
|
||||
this.proType=item.text;
|
||||
this.showSel3=false;
|
||||
this.deptChange();
|
||||
this.loadProject();
|
||||
},
|
||||
setScreenLiSel1(item) {
|
||||
|
|
|
@ -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: [],
|
||||
|
@ -619,7 +620,7 @@ export default {
|
|||
let postData = {
|
||||
deptId: this.deptInfo?.id || 0,
|
||||
roleType: 0
|
||||
};
|
||||
};
|
||||
this.$api.problemmodify.safetySummary(postData).then(d => {
|
||||
let tmps= (d || []).map(it => {
|
||||
return {
|
||||
|
@ -694,7 +695,7 @@ export default {
|
|||
}
|
||||
return 0;
|
||||
},
|
||||
groupByProjectCategory(deptId) {
|
||||
groupByProjectCategory(deptId) {
|
||||
this.$api.project.groupByProjectCategory(deptId, datas => {
|
||||
this.projectCategory = datas;
|
||||
this.prjPrcessTotal = this.getPrjCateCount(0);
|
||||
|
|
Loading…
Reference in New Issue