调整区段配置
This commit is contained in:
parent
c8b2f4cfa7
commit
f7c6f6ee64
@ -2,9 +2,9 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// BASE_API = 'https://joylink.club/jlcloud';
|
||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||
BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||
|
@ -223,7 +223,7 @@ export default {
|
||||
{ prop: 'destinationCodePoint.y', firstLevel: 'destinationCodePoint', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '20px' }
|
||||
] }, // 目的地码坐标
|
||||
|
||||
{ prop: 'switchSection', label: this.$t('map.isSwitchSection'), type: 'checkbox', disabled: true }, // 是否关联道岔
|
||||
{ prop: 'switchSection', label: this.$t('map.isSwitchSection'), type: 'checkbox', disabled: true, isHidden: !this.isRelevanceSwitchShow }, // 是否关联道岔
|
||||
{ prop: 'relSwitchCode', label: this.$t('map.relSwitchCode'), type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.switchList, isHidden: !this.isRelevanceSwitchShow, disabled: true }, // 关联道岔
|
||||
|
||||
{ prop: 'logicSectionShow', label: this.$t('map.displayLogicalExtents'), type: 'checkbox', isHidden: !this.isSwitchSectionType }, // 1
|
||||
@ -393,7 +393,7 @@ export default {
|
||||
},
|
||||
isSwitchSectionShow() {
|
||||
// 道岔区段
|
||||
return this.editModel.type != '03';
|
||||
return this.editModel.type != '03' && !this.editModel.logicSectionCodeList.length;
|
||||
},
|
||||
isPointsShow() {
|
||||
return (
|
||||
@ -401,7 +401,7 @@ export default {
|
||||
);
|
||||
},
|
||||
isRelevanceSwitchShow() {
|
||||
return this.editModel.type == '04' && this.editModel.type == '03';
|
||||
return this.editModel.type == '04' || this.editModel.type == '03';
|
||||
},
|
||||
hasAssociatedSection() {
|
||||
return this.editModel.type == '01' || this.editModel.type == '03';
|
||||
|
Loading…
Reference in New Issue
Block a user