|
@@ -10,8 +10,7 @@
|
|
<div class="saga-build-mess">
|
|
<div class="saga-build-mess">
|
|
<div style="margin-left: 10px;float: left;">
|
|
<div style="margin-left: 10px;float: left;">
|
|
<span style="color: #999999;font-size: 14px;margin-right: 12px;">建筑楼层</span>
|
|
<span style="color: #999999;font-size: 14px;margin-right: 12px;">建筑楼层</span>
|
|
- <el-cascader :options="options" @change="changeCascader" placeholder="请选择建筑楼层" ref="cascaderAddr"
|
|
|
|
- v-model="buildFloorSelectd">
|
|
|
|
|
|
+ <el-cascader :options="options" @change="changeCascader" placeholder="请选择建筑楼层" ref="cascaderAddr" v-model="buildFloorSelectd">
|
|
<template slot-scope="{ node, data }">
|
|
<template slot-scope="{ node, data }">
|
|
<span>{{ data.label }}</span>
|
|
<span>{{ data.label }}</span>
|
|
<i class="el-icon-warning-outline" v-if="data.count" style="color:red;margin-right:10px;"></i>
|
|
<i class="el-icon-warning-outline" v-if="data.count" style="color:red;margin-right:10px;"></i>
|
|
@@ -35,29 +34,26 @@
|
|
<template v-for="(item,index) in tabsList">
|
|
<template v-for="(item,index) in tabsList">
|
|
<el-tab-pane :name="item.code" :key="index">
|
|
<el-tab-pane :name="item.code" :key="index">
|
|
<span slot="label"><i class="el-icon-warning-outline" v-if="item.count>0"
|
|
<span slot="label"><i class="el-icon-warning-outline" v-if="item.count>0"
|
|
- style="color:red;margin-right:10px;"></i>{{ item.name }}</span>
|
|
|
|
|
|
+ style="color:red;margin-right:10px;"></i>{{ item.name }}</span>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</template>
|
|
</template>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
<div v-show="isMyTab == 1" style="width:100%;height:100%">
|
|
<div v-show="isMyTab == 1" style="width:100%;height:100%">
|
|
- <graphy @getSp="checkSpace" @dimension="checkSpace" @businessDetails="getBuinessDetails" ref="graphy"
|
|
|
|
- @copyID="copyID"
|
|
|
|
- @updateState="updateStateSuc"></graphy>
|
|
|
|
|
|
+ <graphy @getSp="checkSpace" @dimension="checkSpace" @businessDetails="getBuinessDetails" ref="graphy" @copyID="copyID"
|
|
|
|
+ @updateState="updateStateSuc"></graphy>
|
|
</div>
|
|
</div>
|
|
<div v-show="isMyTab == 2">
|
|
<div v-show="isMyTab == 2">
|
|
- <handsontable-main @lookEqu="lookEqu" ref="handsontable" :zoneCode="activeName" :otherType="otherType"
|
|
|
|
- :id="`handsontable${activeName}`">
|
|
|
|
|
|
+ <handsontable-main @lookEqu="lookEqu" ref="handsontable" :zoneCode="activeName" :otherType="otherType" :id="`handsontable${activeName}`">
|
|
</handsontable-main>
|
|
</handsontable-main>
|
|
</div>
|
|
</div>
|
|
<div class="infectedTips" v-show="isMyTab==1&&infectedTotal>0">
|
|
<div class="infectedTips" v-show="isMyTab==1&&infectedTotal>0">
|
|
- <p>因底图变化而受影响的业务空间{{ infectedTotal.toString() }}个<span
|
|
|
|
- v-show="buildFloorSelectd.length>1">,本层受影响的业务空间{{ infectedCurfloor.toString() }}个</span></p>
|
|
|
|
|
|
+ <p>因底图变化而受影响的业务空间{{ infectedTotal.toString() }}个<span v-show="buildFloorSelectd.length>1">,本层受影响的业务空间{{ infectedCurfloor.toString() }}个</span>
|
|
|
|
+ </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div v-show="needCalculate"
|
|
|
|
- style="display:flex;align-items:center;justify-content:center;height:100%;background-color:#fff;">
|
|
|
|
|
|
+ <div v-show="needCalculate" style="display:flex;align-items:center;justify-content:center;height:100%;background-color:#fff;">
|
|
<div class="center" style="flex:1">
|
|
<div class="center" style="flex:1">
|
|
<i class="iconfont icon-jianzhu" style="font-size:50px;"></i>
|
|
<i class="iconfont icon-jianzhu" style="font-size:50px;"></i>
|
|
<p style="margin:10px 0;">空间关系已发生变化,请更新关系后再使用业务空间台账</p>
|
|
<p style="margin:10px 0;">空间关系已发生变化,请更新关系后再使用业务空间台账</p>
|
|
@@ -146,6 +142,7 @@ export default {
|
|
created() {
|
|
created() {
|
|
this.getRelations()
|
|
this.getRelations()
|
|
this.childBackParam = this.$route.params;
|
|
this.childBackParam = this.$route.params;
|
|
|
|
+ console.log(this.childBackParam);
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
},
|
|
},
|
|
@@ -247,17 +244,17 @@ export default {
|
|
// 获取关系是否需要计算
|
|
// 获取关系是否需要计算
|
|
getRelations() {
|
|
getRelations() {
|
|
let pa = {
|
|
let pa = {
|
|
- Filters: `RelationType in ["bd2sp","fl2sp"];ComputationalState>1`
|
|
|
|
|
|
+ filters: `relationType in ["bd2sp","fl2sp"];computationalState>1`
|
|
}
|
|
}
|
|
// 后台暂无接口提供 todo
|
|
// 后台暂无接口提供 todo
|
|
- // getrelationTypeProject(pa, res => {
|
|
|
|
- // if (res.Content.length) {
|
|
|
|
- // this.needCalculate = true;
|
|
|
|
- // } else {
|
|
|
|
- // this.needCalculate = false;
|
|
|
|
- this.init()
|
|
|
|
- // }
|
|
|
|
- // })
|
|
|
|
|
|
+ getrelationTypeProject(pa, res => {
|
|
|
|
+ if (res.content.length) {
|
|
|
|
+ this.needCalculate = true;
|
|
|
|
+ } else {
|
|
|
|
+ this.needCalculate = false;
|
|
|
|
+ this.init()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
// 通过选中的tab-Code 获取选中的tab的所有数据
|
|
// 通过选中的tab-Code 获取选中的tab的所有数据
|
|
getItemForType() {
|
|
getItemForType() {
|