修改项目库平台件
This commit is contained in:
+14
-1
@@ -705,6 +705,14 @@
|
||||
:data-source="dataList"
|
||||
:pagination="false"
|
||||
: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>
|
||||
</div>
|
||||
<!-- <a-row :gutter="24">-->
|
||||
@@ -865,7 +873,8 @@
|
||||
dataIndex: 'deliverableTemplateName',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 200
|
||||
width: 200,
|
||||
scopedSlots: { customRender: 'deliverableTemplate' }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -982,6 +991,7 @@
|
||||
let query = {
|
||||
id: id
|
||||
}
|
||||
this.dataList = []
|
||||
getAction('/project/projectCertificationInventoryEO/connectPlatform', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result || []
|
||||
@@ -1181,6 +1191,9 @@
|
||||
this.handleInput('dataList.' + index + '.dutyTerritory')
|
||||
this.queryPersonByProject(this.formInline.dataList[index].dutyTerritory.join(','), index)
|
||||
},
|
||||
down(id, name) {
|
||||
downloadFile('/sys/common/downLoadFile', name, { id: id })
|
||||
},
|
||||
queryPersonByProject(row, index) {
|
||||
let query = {
|
||||
projectId: this.$route.query.id,
|
||||
|
||||
Reference in New Issue
Block a user