|
@@ -5,10 +5,8 @@
|
|
|
<div id="businessSpace">
|
|
|
<!------------------------ 头部弹窗,选择楼层信息 -------------->
|
|
|
<!-- <no-model-dialog :param="param" title="选择要进行空间管理的楼层" :isShow="floor" @close="close"></no-model-dialog> -->
|
|
|
- <influence-dialog ref="influence" :param="param" :tabsList="tabsList" title="受元空间变化影响的业务空间" :isShow="floor">
|
|
|
- </influence-dialog>
|
|
|
- <details-dialog ref="details" @del="delSuccess" :param="param" :tabsList="tabsList" title="业务空间详情" :isShow="floor"
|
|
|
- :activeTabType="activeTabType"></details-dialog>
|
|
|
+ <influence-dialog ref="influence" :param="param" :tabsList="tabsList" title="受元空间变化影响的业务空间" :isShow="floor"></influence-dialog>
|
|
|
+ <details-dialog ref="details" @del="delSuccess" :param="param" :tabsList="tabsList" title="业务空间详情" :isShow="floor" :activeTabType="activeTabType"></details-dialog>
|
|
|
<not-related ref="notRelated" @createSuccess="createSuccess" :isShow="floor"></not-related>
|
|
|
<facility-dialog ref="facility" :activeTabType="activeTabType" :isShow="floor"></facility-dialog>
|
|
|
<!--------- 页面头部 -------------->
|
|
@@ -21,8 +19,7 @@
|
|
|
</div> -->
|
|
|
<div class="saga-build-mess">
|
|
|
<span style="padding-right:12px">建筑楼层</span>
|
|
|
- <el-cascader :options="options" v-model="buildMess.selectd" :props="props" @change="close">
|
|
|
- </el-cascader>
|
|
|
+ <el-cascader :options="options" v-model="buildMess.selectd" :props="props" @change="close"></el-cascader>
|
|
|
</div>
|
|
|
<div class="saga-build-tab">
|
|
|
<!-- <div class="tab-main" @click="tabList(1)" :class="isMyTab == 1 ? 'tab-active' : ''">
|
|
@@ -75,7 +72,7 @@ import facilityDialog from "@/components/business_space/dialogs/facilityDialog";
|
|
|
// import spaceHandsontable from "@/components/business_space/business/spaceHandsontable";
|
|
|
import graphy from "@/components/business_space/graphy/business";
|
|
|
import handsontableMain from "@/components/business_space/business/handsontable";
|
|
|
-import { getTableHeader, getAllbusiness, getBussTypes, getSpaceFloor } from "@/api/scan/request";
|
|
|
+import { getDataDictionary, getAllbusiness, getBussTypes, getSpaceFloor } from "@/api/scan/request";
|
|
|
import tools from '@/utils/scan/tools'
|
|
|
import { mapGetters, mapActions } from "vuex";
|
|
|
export default {
|
|
@@ -327,22 +324,18 @@ export default {
|
|
|
},
|
|
|
//获取初始化信息点
|
|
|
initMessage() {
|
|
|
- getTableHeader({
|
|
|
- code: this.activeTabType.code,
|
|
|
- ProjId: this.param.ProjId
|
|
|
- }).then(res => {
|
|
|
- console.log(res)
|
|
|
- if (res.data.Result == "success") {
|
|
|
- console.log(res);
|
|
|
- let refFlag = "handsontable" + this.activeName;
|
|
|
- this.$refs[refFlag][0].getHeader(res.data.Content, this.activeTabType);
|
|
|
- // for (let i = 0; i < this.tabsList.length; i++) {
|
|
|
- // }
|
|
|
- this.getTableMain();
|
|
|
- } else {
|
|
|
- this.$message.error("请求错误");
|
|
|
- }
|
|
|
- });
|
|
|
+ let params = {
|
|
|
+ data: {
|
|
|
+ PageNumber: 1,
|
|
|
+ PageSize: 500
|
|
|
+ },
|
|
|
+ type: this.activeTabType.code
|
|
|
+ }
|
|
|
+ getDataDictionary(params, res => {
|
|
|
+ let refFlag = "handsontable" + this.activeName;
|
|
|
+ this.$refs[refFlag][0].getHeader(res.Content, this.activeTabType);
|
|
|
+ this.getTableMain()
|
|
|
+ })
|
|
|
},
|
|
|
getItemForType() {
|
|
|
let data = {}
|