修改项目状态看板-时间轴-点击时间轴区域无法全屏查看

This commit is contained in:
qq787203167
2022-05-26 16:00:03 +08:00
parent d707673356
commit 1875b0a4b6
@@ -65,14 +65,12 @@
ref="table" ref="table"
size="middle" size="middle"
:loading="loading" :loading="loading"
:customRow="projectNameClick"
:pagination="false" :pagination="false"
:scroll="{x: true,y:500}" :scroll="{x: true,y:500}"
:data-source="dataSource" :data-source="dataSource"
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text,result">
<a @click="projectNameClick">{{text}}</a>
</span>
<span slot="projectStatusTitle"> <span slot="projectStatusTitle">
<span>{{this.$t('projectStatus')}}</span><br/> <span>{{this.$t('projectStatus')}}</span><br/>
<span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span> <span>{{'('+$t('red')+'/'+$t('yellow')+'/'+$t('green')+')'}}</span>
@@ -415,10 +413,16 @@
}) })
}, },
projectNameClick() { projectNameClick() {
let newUrl = this.$router.resolve({ return {
path: '/projectStatusAndProgress' on: {
}) click: () => {
window.open(newUrl.href, '_blank') let newUrl = this.$router.resolve({
path: '/projectStatusAndProgress'
})
window.open(newUrl.href, '_blank')
}
}
}
} }
} }
} }