下载文件的名称按照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>
|
</custom-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
</a-spin>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -72,8 +79,6 @@ export default {
|
||||||
fileName: {
|
fileName: {
|
||||||
handler: function (val) {
|
handler: function (val) {
|
||||||
if (val === 'QCPHD' || val === 'SPHDF' || val === 'SPHDP') {
|
if (val === 'QCPHD' || val === 'SPHDF' || val === 'SPHDP') {
|
||||||
console.log(56, this)
|
|
||||||
console.log(this.getBeforeDate(6))
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.queryParam.startTime = this.getBeforeDate(6)
|
this.queryParam.startTime = this.getBeforeDate(6)
|
||||||
})
|
})
|
||||||
|
@ -104,6 +109,7 @@ export default {
|
||||||
detailJson: {},
|
detailJson: {},
|
||||||
allChecked: false,
|
allChecked: false,
|
||||||
currSampleId: '',
|
currSampleId: '',
|
||||||
|
currFileName: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -154,6 +160,8 @@ export default {
|
||||||
handleDetail(record) {
|
handleDetail(record) {
|
||||||
this.spinning = true
|
this.spinning = true
|
||||||
this.currSampleId = record.sampleId
|
this.currSampleId = record.sampleId
|
||||||
|
let length = record.inputFileName.split('/').length
|
||||||
|
this.currFileName = record.inputFileName.split('/')[length - 1]
|
||||||
getAction('webStatistics/findGeneratedReport', { sampleId: record.sampleId })
|
getAction('webStatistics/findGeneratedReport', { sampleId: record.sampleId })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.spinning = false
|
this.spinning = false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user