uat_us
parent
6352a6652e
commit
d769e4ddd9
|
@ -289,8 +289,33 @@
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
custom-class="base-dialog-wrapper"
|
custom-class="base-dialog-wrapper"
|
||||||
>
|
>
|
||||||
<div>
|
<div style="max-height: 500px;overflow-y: auto;padding: 0 20px">
|
||||||
{{ lookText }}
|
<div style="display: flex;justify-content: space-around;margin-bottom: 20px">
|
||||||
|
<span>{{$t('trials:uploadDicomList:table:FailedNumber')}}: {{lookText.Failed.length}}</span>
|
||||||
|
<span>{{$t('trials:uploadDicomList:table:ExistedNumber')}}: {{lookText.Existed.length}}</span>
|
||||||
|
<span>{{$t('trials:uploadDicomList:table:UploadedNumber')}}: {{lookText.Uploaded.length}}</span>
|
||||||
|
</div>
|
||||||
|
<div style="margin-bottom: 10px;font-size:12px">
|
||||||
|
<div style="font-size: 14px;margin-bottom: 5px">{{$t('trials:uploadDicomList:table:Failed')}}:</div>
|
||||||
|
<div v-if="lookText.Failed.length">
|
||||||
|
<div v-for="item of lookText.Failed">{{item}}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>无</div>
|
||||||
|
</div>
|
||||||
|
<div style="margin-bottom: 10px;font-size:12px">
|
||||||
|
<div style="font-size: 14px;margin-bottom: 5px">{{$t('trials:uploadDicomList:table:Existed')}}:</div>
|
||||||
|
<div v-if="lookText.Existed.length">
|
||||||
|
<div v-for="item of lookText.Existed">{{item}}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>无</div>
|
||||||
|
</div>
|
||||||
|
<div style="margin-bottom: 10px;font-size:12px">
|
||||||
|
<div style="font-size: 14px;margin-bottom: 5px">{{$t('trials:uploadDicomList:table:Uploaded')}}:</div>
|
||||||
|
<div v-if="lookText.Uploaded.length">
|
||||||
|
<div v-for="item of lookText.Uploaded">{{item}}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>无</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<!-- 取消 -->
|
<!-- 取消 -->
|
||||||
|
|
|
@ -136,6 +136,7 @@
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
name="file"
|
name="file"
|
||||||
|
ref="pathClear"
|
||||||
:disabled="btnLoading"
|
:disabled="btnLoading"
|
||||||
webkitdirectory
|
webkitdirectory
|
||||||
multiple
|
multiple
|
||||||
|
@ -277,6 +278,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tooltip placement="top" v-if="scope.row.uploadState.record">
|
<el-tooltip placement="top" v-if="scope.row.uploadState.record">
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
|
<div style="max-height: 500px;overflow-y: auto">
|
||||||
{{$t('trials:uploadDicomList:table:Existed')}}
|
{{$t('trials:uploadDicomList:table:Existed')}}
|
||||||
<div v-if="scope.row.uploadState.record.Existed.length">
|
<div v-if="scope.row.uploadState.record.Existed.length">
|
||||||
<span v-for="item of scope.row.uploadState.record.Existed">{{item}}</span>
|
<span v-for="item of scope.row.uploadState.record.Existed">{{item}}</span>
|
||||||
|
@ -300,6 +302,7 @@
|
||||||
无
|
无
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div style="cursor: pointer">{{ scope.row.uploadState.record.Existed.length }}/{{ scope.row.uploadState.record.Uploaded.length }}/{{ scope.row.uploadState.record.Failed.length }}</div>
|
<div style="cursor: pointer">{{ scope.row.uploadState.record.Existed.length }}/{{ scope.row.uploadState.record.Uploaded.length }}/{{ scope.row.uploadState.record.Failed.length }}</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
@ -307,10 +310,11 @@
|
||||||
<el-table-column v-show="isScan" :label="$t('common:action:action')" width="200">
|
<el-table-column v-show="isScan" :label="$t('common:action:action')" width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 预览 -->
|
<!-- 预览 -->
|
||||||
|
<!-- :disabled="scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && scope.row.dicomInfo.failedFileCount !== 0"-->
|
||||||
<el-button
|
<el-button
|
||||||
icon="el-icon-view"
|
icon="el-icon-view"
|
||||||
circle
|
circle
|
||||||
:disabled="scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && scope.row.dicomInfo.failedFileCount !== 0"
|
:disabled="scope.row.uploadState.stateCode !== '' && (scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && !scope.row.uploadState.record)"
|
||||||
:title="$t('trials:uploadedDicoms:action:preview')"
|
:title="$t('trials:uploadedDicoms:action:preview')"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handlePreview(scope.row.dicomInfo.studyUid)"
|
@click="handlePreview(scope.row.dicomInfo.studyUid)"
|
||||||
|
@ -321,7 +325,7 @@
|
||||||
circle
|
circle
|
||||||
:title="$t('trials:uploadedDicoms:action:delete')"
|
:title="$t('trials:uploadedDicoms:action:delete')"
|
||||||
size="small"
|
size="small"
|
||||||
:disabled="scope.row.uploadState.stateCode !== ''"
|
:disabled="scope.row.uploadState.stateCode !== '' && (scope.row.dicomInfo.failedFileCount < scope.row.dicomInfo.fileCount && !scope.row.uploadState.record)"
|
||||||
@click="handleDelete(scope.$index, scope.row)"
|
@click="handleDelete(scope.$index, scope.row)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -960,7 +964,7 @@ export default {
|
||||||
this.uploadQueues = this.uploadQueues.filter(v => {
|
this.uploadQueues = this.uploadQueues.filter(v => {
|
||||||
return !!v.uploadState.record.Failed.length
|
return !!v.uploadState.record.Failed.length
|
||||||
})
|
})
|
||||||
console.log(this.uploadQueues)
|
this.$refs.pathClear.value = ''
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
}).catch(_ => { this.btnLoading = false })
|
}).catch(_ => { this.btnLoading = false })
|
||||||
},
|
},
|
||||||
|
@ -1046,9 +1050,9 @@ export default {
|
||||||
}, 5000)
|
}, 5000)
|
||||||
scope.myInterval.push(t)
|
scope.myInterval.push(t)
|
||||||
let Record = {
|
let Record = {
|
||||||
|
Failed: [],
|
||||||
Existed: [],
|
Existed: [],
|
||||||
Uploaded: [],
|
Uploaded: [],
|
||||||
Failed: [],
|
|
||||||
FileCount: 0
|
FileCount: 0
|
||||||
}
|
}
|
||||||
let params = {
|
let params = {
|
||||||
|
|
Loading…
Reference in New Issue