|
@@ -123,7 +123,7 @@
|
|
|
v-model="lengedName"
|
|
|
allow-clear
|
|
|
@change="changeLengedName"
|
|
|
- :auto-size="{ minRows: 2}"
|
|
|
+ :rows="2"
|
|
|
/>
|
|
|
<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
@@ -183,7 +183,7 @@
|
|
|
v-model="lengedName"
|
|
|
allow-clear
|
|
|
@change="changeLengedName"
|
|
|
- :auto-size="{ minRows: 2}"
|
|
|
+ :rows="2"
|
|
|
/>
|
|
|
<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
@@ -212,7 +212,7 @@
|
|
|
<a-textarea
|
|
|
@change="changeitemExplain"
|
|
|
v-model="itemExplain"
|
|
|
- :auto-size="{ minRows: 4, maxRows: 6 }"
|
|
|
+ :rows="4"
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="row">
|
|
@@ -252,7 +252,7 @@
|
|
|
<a-button type="link" class="edit-option-btn" @click="OpenEditStatus">{{isEdit? "取消编辑" : editStatus[type]}}</a-button>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
- <a-textarea placeholder="" v-model="lengedName" allow-clear @change="changeLengedName" :auto-size="{ minRows: 2}"/>
|
|
|
+ <a-textarea placeholder="" v-model="lengedName" allow-clear @change="changeLengedName" :rows="2"/>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="row-tit">字号</div>
|
|
@@ -280,7 +280,7 @@
|
|
|
v-model="lengedName"
|
|
|
allow-clear
|
|
|
@change="changeLengedName"
|
|
|
- :auto-size="{ minRows: 2}"
|
|
|
+ :rows="2"
|
|
|
/>
|
|
|
<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
@@ -349,7 +349,7 @@
|
|
|
</a-collapse-panel>
|
|
|
</a-collapse>
|
|
|
</div>
|
|
|
- <editDialog ref="dialog" :attrCards="attrCards" :GraphElementId="GraphElementId" :InfoLocal="InfoLocal" :sysNum="imageNum" :key="new Date().getTime()" />
|
|
|
+ <editDialog ref="dialog" :attrCards="attrCards" :GraphElementId="GraphElementId" :InfoLocal="InfoLocal" :sysNum="imageNum" :key="keys" />
|
|
|
<!-- <editDialog ref="dialog" :attrCards="attrCards" :getmajorId="getmajorId" :InfoLocal="InfoLocal" :sysNum="imageNum" :key="new Date().getTime()" />-->
|
|
|
<!-- <editDialog ref="dialog" :typeEdit="2" :getmajorId="'1001'" :sysNum="5" />-->
|
|
|
</div>
|
|
@@ -475,6 +475,7 @@ export default {
|
|
|
GraphElementId:'',//图例Id
|
|
|
CUSTOMbgColor: 'rgba(0,0,0,0.15)', // 自定义多边形背景色
|
|
|
CUSTOMbdColor: 'rgba(0,0,0,1)', // 自定义多边形线条色
|
|
|
+ keys:new Date().getTime()
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -558,7 +559,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleEdit() {
|
|
|
- this.$refs.dialog.showModal();
|
|
|
+ this.keys = new Date().getTime()
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.$refs.dialog.showModal();
|
|
|
+ })
|
|
|
},
|
|
|
// 修改设备数量
|
|
|
changeImageNum() {
|
|
@@ -695,7 +699,7 @@ export default {
|
|
|
if (newval.itemList[0] instanceof SCustomLegendItem) {
|
|
|
const fColor = newval.itemList[0].fillColor;
|
|
|
this.CUSTOMbgColor = `rgba(${fColor.red}, ${fColor.green}, ${fColor.blue}, ${fColor.alpha/100})`
|
|
|
-
|
|
|
+
|
|
|
const bColor = newval.itemList[0].strokeColor;
|
|
|
this.CUSTOMbdColor = `rgba(${bColor.red}, ${bColor.green}, ${bColor.blue}, ${bColor.alpha/100})`
|
|
|
}
|