下载文件的名称按照analysis模块的格式命名
This commit is contained in:
parent
bfceec07c3
commit
2b8d41a5ce
File diff suppressed because it is too large
Load Diff
|
@ -28,7 +28,14 @@
|
|||
</custom-table>
|
||||
</a-card>
|
||||
</a-spin>
|
||||
<Detail v-if="isDetail" :type="fileName" :sampleId="currSampleId" :allData="detailJson" @back="handleBack"></Detail>
|
||||
<Detail
|
||||
v-if="isDetail"
|
||||
:type="fileName"
|
||||
:sampleId="currSampleId"
|
||||
:allData="detailJson"
|
||||
:currName="currFileName"
|
||||
@back="handleBack"
|
||||
></Detail>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -72,8 +79,6 @@ export default {
|
|||
fileName: {
|
||||
handler: function (val) {
|
||||
if (val === 'QCPHD' || val === 'SPHDF' || val === 'SPHDP') {
|
||||
console.log(56, this)
|
||||
console.log(this.getBeforeDate(6))
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.startTime = this.getBeforeDate(6)
|
||||
})
|
||||
|
@ -104,6 +109,7 @@ export default {
|
|||
detailJson: {},
|
||||
allChecked: false,
|
||||
currSampleId: '',
|
||||
currFileName: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -154,6 +160,8 @@ export default {
|
|||
handleDetail(record) {
|
||||
this.spinning = true
|
||||
this.currSampleId = record.sampleId
|
||||
let length = record.inputFileName.split('/').length
|
||||
this.currFileName = record.inputFileName.split('/')[length - 1]
|
||||
getAction('webStatistics/findGeneratedReport', { sampleId: record.sampleId })
|
||||
.then((res) => {
|
||||
this.spinning = false
|
||||
|
|
Loading…
Reference in New Issue
Block a user