自定义标准更改

uat_us
caiyiling 2024-11-04 10:39:57 +08:00
parent eccf51cea9
commit 8d84dde45e
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="item.Type === 'upload'"> <span v-if="item.Type === 'upload'">
{{scope.row[item.Id] === '' ? '' : scope.row[item.Id].split('|').length}} {{scope.row[item.Id] === '' ? '' : scope.row[item.Id] ? scope.row[item.Id].split('|').length : ''}}
</span> </span>
<span v-else-if="item.Type === 'number'"> <span v-else-if="item.Type === 'number'">
{{scope.row[item.Id] ? parseFloat(scope.row[item.Id]).toFixed(digitPlaces) : null}} {{scope.row[item.Id] ? parseFloat(scope.row[item.Id]).toFixed(digitPlaces) : null}}
@ -589,7 +589,8 @@ export default {
submitTableQuestion(params).then(async res => { submitTableQuestion(params).then(async res => {
this.$message.success(this.$t('common:message:savedSuccessfully')) this.$message.success(this.$t('common:message:savedSuccessfully'))
this.QuestionsForm.RowId = res.Result.RowId this.QuestionsForm.RowId = res.Result.RowId
this.save() DicomEvent.$emit('reGetQuestionAnswer')
// this.save()
loading.close() loading.close()
}).catch(() => { loading.close() }) }).catch(() => { loading.close() })
}) })

View File

@ -95,7 +95,7 @@ name: "CustomizeReportPageUpload",
this.urls.map(url => { this.urls.map(url => {
this.fileList.push({ name: '', url: `${url}` }) this.fileList.push({ name: '', url: `${url}` })
}) })
console.log(this.fileList) // console.log(this.fileList)
}, },
methods: { methods: {
checkFileSuffix(fileName) { checkFileSuffix(fileName) {