|
@@ -77,7 +77,7 @@
|
|
|
@close="onClose"
|
|
|
:getContainer="false"
|
|
|
>
|
|
|
- <div class="drawer-model-body">
|
|
|
+ <div class="drawer-model-body" v-if="!isExtract">
|
|
|
<div class="btn-list">
|
|
|
<a-button-group>
|
|
|
<a-button type="primary">绘制</a-button>
|
|
@@ -102,7 +102,7 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="drawer-model-body drawer-model-body-extract">
|
|
|
+ <div v-else class="drawer-model-body drawer-model-body-extract">
|
|
|
<a-table :columns="columns" :data-source="data" size="small" :pagination="false">
|
|
|
<a-tag
|
|
|
slot="address"
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
props: {
|
|
|
cmdType: {
|
|
|
type: String,
|
|
|
- default: '',
|
|
|
+ default: "",
|
|
|
required: false
|
|
|
}
|
|
|
},
|
|
@@ -242,6 +242,7 @@ export default {
|
|
|
name: "提取" //类型
|
|
|
}
|
|
|
],
|
|
|
+ isExtract: false, //是否为提取框
|
|
|
data,
|
|
|
columns,
|
|
|
itemList: [] //图例数组
|
|
@@ -272,6 +273,7 @@ export default {
|
|
|
this.$emit("setCmdType", item.type);
|
|
|
},
|
|
|
showDrawer(item) {
|
|
|
+ this.isExtract = false;
|
|
|
if (item.isChoice) {
|
|
|
this.systemChoice.forEach(a => {
|
|
|
a.isChoice = false;
|
|
@@ -313,6 +315,8 @@ export default {
|
|
|
},
|
|
|
// 提取元素
|
|
|
extractItem() {
|
|
|
+ // 打开提取元素列表
|
|
|
+ this.isExtract = true;
|
|
|
this.visible = !this.visible;
|
|
|
bus.$emit("extractItem");
|
|
|
},
|