Compare commits

..

No commits in common. "9b63c2c82e0bcccda6b4c2f3eef12b7ec46f8dee" and "56b00791f48f7dadca383610e0b67edc00375b77" have entirely different histories.

7 changed files with 8 additions and 10 deletions

View File

@ -116,7 +116,7 @@ export default {
components: { DicomTags },
computed: {
NSTip() {
return `${this.$store.state.trials.downloadSize}, NS: ${this.$store.state.trials.downloadTip}`
return `${this.$store.state.trials.uploadSize}, NS: ${this.$store.state.trials.uploadTip}`
}
},
data() {

View File

@ -646,7 +646,6 @@ export default {
resolve()
})
var validFilesCount = 0
scope.uploadQueues = []
for (var i = 0; i < checkFiles.length; ++i) {
; (function (index) {
p = p.then(function () {

View File

@ -10,8 +10,7 @@ const getDefaultState = () => {
unlock: false,
config: {},
uploadTip: '0.00KB/s',
downloadTip: '0.00KB/s',
downloadSize: '',
uploadSize: '',
timer: null,
whiteList: [],
checkTaskId: null

View File

@ -123,7 +123,7 @@ export function getNetWorkSpeed() {
totalBytes = totalBytes / 1024;
unit = "MB/s";
}
store.state.trials.downloadTip = totalBytes.toFixed(3) + unit;
store.state.trials.uploadTip = totalBytes.toFixed(3) + unit;
}
if (timeList.length >= 5) {
delete bytesReceivedPerSecond[timeList[0]]
@ -189,8 +189,8 @@ export function workSpeedclose(isForce = false) {
if (timer) {
clearInterval(timer);
timer = null;
store.state.trials.downloadTip = '0KB/s'
store.state.trials.downloadSize = ''
store.state.trials.uploadTip = '0KB/s'
store.state.trials.uploadSize = ''
}
bytesReceivedPerSecond = {};
lastPercentage = 0;

View File

@ -299,7 +299,7 @@ export default {
computed: {
...mapGetters(['visitTaskList', 'currentReadingTaskState']),
NSTip() {
return `NS: ${this.$store.state.trials.downloadTip}`
return `NS: ${this.$store.state.trials.uploadTip}`
}
},
watch: {

View File

@ -297,7 +297,7 @@ export default {
computed: {
...mapGetters(['visitTaskList', 'currentReadingTaskState']),
NSTip() {
return `NS: ${this.$store.state.trials.downloadTip}`
return `NS: ${this.$store.state.trials.uploadTip}`
}
},
watch: {

View File

@ -542,7 +542,7 @@ export default {
},
computed: {
NSTip() {
return `NS: ${this.$store.state.trials.downloadTip}`
return `NS: ${this.$store.state.trials.uploadTip}`
}
},
}