ATS显示调整
This commit is contained in:
parent
5215d8ba2c
commit
dfc5d50fbe
@ -422,10 +422,10 @@ export default {
|
||||
handleSectionList() {
|
||||
const list = [];
|
||||
this.sectionList.forEach(item => {
|
||||
if (item.type === '01' || item.type === '04') {
|
||||
if ((item.type === '01' && !item.parentCode) || item.type === '04') {
|
||||
list.push({label: item.name, value: item.code});
|
||||
} else if (item.type === '02') {
|
||||
const parentSection = this.$store.getters['map/getDeviceByCode'](this.selectedObj.parentCode) || {};
|
||||
const parentSection = this.$store.getters['map/getDeviceByCode'](item.parentCode) || {};
|
||||
list.push({label: parentSection.name + item.name, value: item.code});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user