|
@@ -27,7 +27,6 @@
|
|
|
<div class='input-right' ref='graph' v-show='ruleForm.Type=="Zone" || ruleForm.Type=="Image" || ruleForm.Type =="Line"'>
|
|
|
<div v-show=' ruleForm.Type=="Image" && ruleForm.Url' class='input-right'>
|
|
|
<img :src='`/serve/topology-wanda/Picture/query/${ruleForm.Url}`' alt />
|
|
|
- <!-- {{ruleForm.Url}} -->
|
|
|
</div>
|
|
|
<canvas id='canvas' :width='canvasWidth' :height='canvasHeight' v-show='!(ruleForm.Type=="Image" && ruleForm.Url)'></canvas>
|
|
|
</div>
|
|
@@ -87,17 +86,9 @@
|
|
|
<div v-if='ruleForm.Type!="None"' class='form4'>
|
|
|
<div class='form4-top'>
|
|
|
<span class='form4-span1'>专业/设备、位置类型:</span>
|
|
|
- <!-- <span class='form4-span1'>对应工程信息化中的位置/设备分类</span>
|
|
|
- <span class='form4-span2'>工程信息化的专业</span>-->
|
|
|
<span class='form4-span3'>铺位可视化typeid</span>
|
|
|
</div>
|
|
|
<div class='form3-bottom'>
|
|
|
- <!-- <el-select v-model='value' placeholder='请选择' size='small' style='width:200px;margin-right:48px;'>
|
|
|
- <el-option v-for='item in options1' :key='item.value' :label='item.label' :value='item.value'></el-option>
|
|
|
- </el-select>
|
|
|
- <el-select v-model='value' placeholder='请选择' size='small' style='width:200px;margin-right:48px'>
|
|
|
- <el-option v-for='item in options2' :key='item.value' :label='item.label' :value='item.value'></el-option>
|
|
|
- </el-select>-->
|
|
|
<span class='device-list'>
|
|
|
<TreeSelect
|
|
|
tipPlace='top'
|
|
@@ -111,19 +102,6 @@
|
|
|
:hideClear='true'
|
|
|
/>
|
|
|
</span>
|
|
|
-
|
|
|
- <!-- <TreeSelect
|
|
|
- tipPlace='top'
|
|
|
- width='200'
|
|
|
- style=' margin-right:48px;'
|
|
|
- :notNull='true'
|
|
|
- :returnParentNode='false'
|
|
|
- :isShowAllChoice='true'
|
|
|
- :choseArea='true'
|
|
|
- :data='majorList'
|
|
|
- @change='treeConfirmMajor'
|
|
|
- />-->
|
|
|
-
|
|
|
<TreeSelect
|
|
|
tipPlace='top'
|
|
|
width='200'
|
|
@@ -169,7 +147,7 @@ export default {
|
|
|
],
|
|
|
options1: [],
|
|
|
options2: [],
|
|
|
- options3: [],
|
|
|
+
|
|
|
borderLineOption: [
|
|
|
{
|
|
|
id: 'solid',
|
|
@@ -390,10 +368,7 @@ export default {
|
|
|
//console.log(data, 'data')
|
|
|
this.$set(this.ruleForm, 'InfoTypeId', data)
|
|
|
},
|
|
|
- //专业
|
|
|
- // treeConfirmMajor(id, info) {
|
|
|
- // // this.$set(this.ruleForm, 'InfoSystem', data)
|
|
|
- // },
|
|
|
+
|
|
|
//位置/设备
|
|
|
treeConfirmDevice(id, info) {
|
|
|
// this.$set(this.ruleForm, 'InfoLocal', data)
|
|
@@ -403,9 +378,11 @@ export default {
|
|
|
let type = info[i]
|
|
|
if (type.name.includes('/')) {
|
|
|
InfoLocal.push(type)
|
|
|
+ //位置/设备
|
|
|
this.$set(this.ruleForm, 'InfoLocal', InfoLocal)
|
|
|
} else {
|
|
|
InfoSystem.push(type)
|
|
|
+ //专业
|
|
|
this.$set(this.ruleForm, 'InfoSystem', InfoSystem)
|
|
|
}
|
|
|
}
|