修改项目库平台件

This commit is contained in:
范强强
2023-12-07 14:38:24 +08:00
parent ee6fb4e1ea
commit bcaf4c9871
@@ -705,6 +705,14 @@
:data-source="dataList" :data-source="dataList"
:pagination="false" :pagination="false"
:loading="loading"> :loading="loading">
<span slot="deliverableTemplate"
:title="record.deliverableTemplateName"
slot-scope="text,record">
<a style='color:#00B3BE;cursor: pointer'
@click="down(record.deliverableTemplate,record.deliverableTemplateName)">
{{record.deliverableTemplateName}}
</a>
</span>
</a-table> </a-table>
</div> </div>
<!-- <a-row :gutter="24">--> <!-- <a-row :gutter="24">-->
@@ -865,7 +873,8 @@
dataIndex: 'deliverableTemplateName', dataIndex: 'deliverableTemplateName',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
width: 200 width: 200,
scopedSlots: { customRender: 'deliverableTemplate' }
} }
] ]
} }
@@ -982,6 +991,7 @@
let query = { let query = {
id: id id: id
} }
this.dataList = []
getAction('/project/projectCertificationInventoryEO/connectPlatform', query).then((res) => { getAction('/project/projectCertificationInventoryEO/connectPlatform', query).then((res) => {
if (res.success) { if (res.success) {
this.dataList = res.result || [] this.dataList = res.result || []
@@ -1181,6 +1191,9 @@
this.handleInput('dataList.' + index + '.dutyTerritory') this.handleInput('dataList.' + index + '.dutyTerritory')
this.queryPersonByProject(this.formInline.dataList[index].dutyTerritory.join(','), index) this.queryPersonByProject(this.formInline.dataList[index].dutyTerritory.join(','), index)
}, },
down(id, name) {
downloadFile('/sys/common/downLoadFile', name, { id: id })
},
queryPersonByProject(row, index) { queryPersonByProject(row, index) {
let query = { let query = {
projectId: this.$route.query.id, projectId: this.$route.query.id,