调整区段配置

This commit is contained in:
zyy 2020-06-12 09:55:53 +08:00
parent c8b2f4cfa7
commit f7c6f6ee64
2 changed files with 5 additions and 5 deletions

View File

@ -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';

View File

@ -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';