对接项目当前状态

This commit is contained in:
qq787203167
2022-05-16 16:51:08 +08:00
parent 0f068b6759
commit 88159cfc15
6 changed files with 257 additions and 52 deletions
@@ -44,7 +44,7 @@
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: true}"
:scroll="{x: true,y:500}"
:data-source="dataSource"
:columns="columns"
>
@@ -83,6 +83,8 @@
</template>
<script>
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
export default {
name: 'index',
data() {
@@ -90,6 +92,9 @@
queryParam: {},
loading: false,
dataSource: [],
url: {
list: '/project/ProjectStatusBoardController/scheduleInfoList'
},
columns: [
{
title: this.$t('entryName'),
@@ -101,47 +106,47 @@
{
title: this.$t('targetMarket'),
align: 'center',
dataIndex: 'targetMarket_dictText',
dataIndex: 'targetMarket',
width: 180
},
{
align: 'center',
dataIndex: 'projectStatus_dictText',
dataIndex: 'projectStatus',
scopedSlots: { title: 'projectStatusTitle' },
width: 240
},
{
align: 'center',
dataIndex: 'studioEngineerName',
dataIndex: 'certificationProgress',
width: 340,
scopedSlots: { title: 'CertificationProgressTitle' }
},
{
align: 'center',
dataIndex: 'certificationEngineerName',
dataIndex: 'inventory',
width: 340,
scopedSlots: { title: 'listConfirmationStatusTitle' }
},
{
align: 'center',
dataIndex: 'vehiclePlatform_dictText',
dataIndex: 'task',
width: 340,
scopedSlots: { title: 'taskAffirmStatusTitle' }
},
{
align: 'center',
dataIndex: 'digitalPlatform_dictText',
dataIndex: 'design',
width: 440,
scopedSlots: { title: 'designComplianceReviewTitle' }
},
{
dataIndex: 'digitalPlatform',
dataIndex: 'pre',
align: 'center',
width: 440,
scopedSlots: { title: 'preHomeConfirmationTitle' }
},
{
dataIndex: 'digitalPlatform',
dataIndex: 'verify',
align: 'center',
width: 440,
scopedSlots: { title: 'verificationComplianceReviewTitle' }
@@ -150,6 +155,7 @@
}
},
mounted() {
this.getList()
},
methods: {
searchQuery() {
@@ -157,6 +163,15 @@
},
searchReset() {
},
getList() {
getAction(this.url.list, {}).then((res) => {
if (res.success) {
this.dataSource = res.result || []
} else {
this.dataSource = []
}
})
}
}
}