修改已知问题

This commit is contained in:
qq787203167
2022-05-27 09:41:50 +08:00
parent c577d1260b
commit a5b6ae7f4b
3 changed files with 22 additions and 16 deletions
+1
View File
@@ -894,4 +894,5 @@ module.exports = {
basicInformation:'Basic Information', basicInformation:'Basic Information',
replyFromProjectContact:'Reply from project contact person', replyFromProjectContact:'Reply from project contact person',
pleaseUpload:'Please Upload', pleaseUpload:'Please Upload',
fullScreenView:'Full Screen View',
} }
+1
View File
@@ -899,4 +899,5 @@ module.exports = {
basicInformation:'基础信息', basicInformation:'基础信息',
replyFromProjectContact:'工程接口人回复', replyFromProjectContact:'工程接口人回复',
pleaseUpload:'请上传', pleaseUpload:'请上传',
fullScreenView:'全屏查看',
} }
@@ -34,6 +34,7 @@
</div> </div>
<div class="box-top"> <div class="box-top">
<span class="box-top-text">{{$t('regulatoryCertificationTaskPlan')}}</span> <span class="box-top-text">{{$t('regulatoryCertificationTaskPlan')}}</span>
<span class="box-top-text fullScreenView" @click="TaskPlanListClick">{{$t('fullScreenView')}}</span>
<span style="float: right" class="box-top-text-right"> <span style="float: right" class="box-top-text-right">
<a-range-picker <a-range-picker
:placeholder="[this.$t('startMonth'), this.$t('endMonth')]" :placeholder="[this.$t('startMonth'), this.$t('endMonth')]"
@@ -60,17 +61,20 @@
</div> </div>
<div class="box-bottom"> <div class="box-bottom">
<span class="box-top-text">{{$t('projectStatusAndProgress')}}</span> <span class="box-top-text">{{$t('projectStatusAndProgress')}}</span>
<span class="box-top-text fullScreenView" @click="projectNameClick">{{$t('fullScreenView')}}</span>
<div> <div>
<a-table <a-table
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" :title="text">
{{text && text.length > 10 ? text.slice(0,10)+'...':text}}
</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>
@@ -386,12 +390,12 @@
axisTip.innerText = '' axisTip.innerText = ''
axisTip.style.display = 'none' axisTip.style.display = 'none'
}) })
myChart.on('click', (params) => { },
let newUrl = this.$router.resolve({ TaskPlanListClick() {
path: '/TaskPlanList' let newUrl = this.$router.resolve({
}) path: '/TaskPlanList'
window.open(newUrl.href, '_blank')
}) })
window.open(newUrl.href, '_blank')
}, },
searchQuery() { searchQuery() {
this.getList() this.getList()
@@ -413,16 +417,10 @@
}) })
}, },
projectNameClick() { projectNameClick() {
return { let newUrl = this.$router.resolve({
on: { path: '/projectStatusAndProgress'
click: () => { })
let newUrl = this.$router.resolve({ window.open(newUrl.href, '_blank')
path: '/projectStatusAndProgress'
})
window.open(newUrl.href, '_blank')
}
}
}
} }
} }
} }
@@ -509,4 +507,10 @@
width: 300px; width: 300px;
margin-top: -4px; margin-top: -4px;
} }
.fullScreenView {
margin-left: 16px;
color: #21c9cc;
cursor: pointer;
}
</style> </style>