This commit is contained in:
fan 2020-10-26 11:10:08 +08:00
commit e5b79263bf
2 changed files with 4 additions and 3 deletions

View File

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

View File

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