调整国赛列车显示

This commit is contained in:
zyy 2020-10-26 11:05:36 +08:00
parent 8f9e05ad75
commit 98c4d1e2b8
2 changed files with 4 additions and 3 deletions

View File

@ -686,8 +686,8 @@ class SkinCode extends defaultStyle {
trainServerOffset: { x: 4, y: 4 }// 列车服务号偏移
},
trainTarget: {
tripNumberPrefix: '000', // 车次号前缀
defaultTripNumber: 'DDD', // 默认车次号2
tripNumberPrefix: '0000', // 车次号前缀
defaultTripNumber: 'BBBB', // 默认车次号2
trainTargetOffset: { x: 36, y: 4 }, // 列车车次号偏移
trainTargetTextAlign: 'left'// 车次号文字显示位置
},
@ -708,7 +708,7 @@ class SkinCode extends defaultStyle {
common: {
trainHeight: 20, // 列车高度
trainHeadDistance: 4, // 列车和车头之间的间距
trainWidth: 40, // 列车长度
trainWidth: 48, // 列车长度
trainTextFontSize: 12, // 列车字号
fontFamily: 'consolas', // 默认字体 族类
haveTextHSDA: true, // 是否需创建textHSDA对象

View File

@ -438,6 +438,7 @@ export default {
children: parentDepartmentList
}];
this.initCommonMemberList();
this.filterNode();
// this.$nextTick(() => {
// if (this.$refs.tree) {
// this.$refs.tree.filter(this.queryMember);