This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { submitDicomVisitTask } from '@/api/trials'
|
import { submitDicomVisitTask, verifyVisitTaskQuestions } from '@/api/trials'
|
||||||
import { getCustomTag, submitCustomTag, resetReadingTask } from '@/api/reading'
|
import { getCustomTag, submitCustomTag, resetReadingTask } from '@/api/reading'
|
||||||
import { setSkipReadingCache } from '@/api/reading'
|
import { setSkipReadingCache } from '@/api/reading'
|
||||||
import DicomEvent from './../components/DicomEvent'
|
import DicomEvent from './../components/DicomEvent'
|
||||||
@@ -358,6 +358,7 @@ export default {
|
|||||||
async handleConfirm() {
|
async handleConfirm() {
|
||||||
var res = await this.$refs['QuestionsPreview'].handleSave(false)
|
var res = await this.$refs['QuestionsPreview'].handleSave(false)
|
||||||
if (res) {
|
if (res) {
|
||||||
|
await verifyVisitTaskQuestions({ visitTaskId: this.visitTaskId })
|
||||||
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
||||||
this.signCode = ImageAssessmentReportConfirmation
|
this.signCode = ImageAssessmentReportConfirmation
|
||||||
this.signVisible = true
|
this.signVisible = true
|
||||||
|
|||||||
+3
-2
@@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { getCustomTableQuestionAnswer, changeDicomReadingQuestionAnswer, submitVisitTaskQuestionsInDto, getQuestionCalculateRelation, saveTaskQuestion } from '@/api/trials'
|
import { getCustomTableQuestionAnswer, changeDicomReadingQuestionAnswer, submitVisitTaskQuestionsInDto, verifyVisitTaskQuestions, getQuestionCalculateRelation, saveTaskQuestion } from '@/api/trials'
|
||||||
import { setSkipReadingCache, resetReadingTask, saveTableQuestionMark } from '@/api/reading'
|
import { setSkipReadingCache, resetReadingTask, saveTableQuestionMark } from '@/api/reading'
|
||||||
import const_ from '@/const/sign-code'
|
import const_ from '@/const/sign-code'
|
||||||
import QuestionFormItem from './QuestionFormItem'
|
import QuestionFormItem from './QuestionFormItem'
|
||||||
@@ -242,6 +242,7 @@ export default {
|
|||||||
async handleSubmit() {
|
async handleSubmit() {
|
||||||
const valid = await this.$refs['questions'].validate()
|
const valid = await this.$refs['questions'].validate()
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
|
await verifyVisitTaskQuestions({ visitTaskId: this.visitTaskId })
|
||||||
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
||||||
this.signCode = ImageAssessmentReportConfirmation
|
this.signCode = ImageAssessmentReportConfirmation
|
||||||
this.signVisible = true
|
this.signVisible = true
|
||||||
@@ -616,7 +617,7 @@ export default {
|
|||||||
this.$set(this.questionsMarkStatus, obj.question.Id, {
|
this.$set(this.questionsMarkStatus, obj.question.Id, {
|
||||||
isMarked: !!this.questionMarkInfoList[index]?.MeasureData,
|
isMarked: !!this.questionMarkInfoList[index]?.MeasureData,
|
||||||
isSaved: true,
|
isSaved: true,
|
||||||
OrderMarkName:index > -1 ? this.questionMarkInfoList[index].OrderMarkName : ''
|
OrderMarkName: index > -1 ? this.questionMarkInfoList[index].OrderMarkName : ''
|
||||||
})
|
})
|
||||||
this.resetOperateState()
|
this.resetOperateState()
|
||||||
if (annotation) {
|
if (annotation) {
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import { getCustomTableQuestionAnswer, changeDicomReadingQuestionAnswer, submitVisitTaskQuestionsInDto, getQuestionCalculateRelation } from '@/api/trials'
|
import { getCustomTableQuestionAnswer, changeDicomReadingQuestionAnswer, submitVisitTaskQuestionsInDto, getQuestionCalculateRelation, verifyVisitTaskQuestions } from '@/api/trials'
|
||||||
import { setSkipReadingCache } from '@/api/reading'
|
import { setSkipReadingCache } from '@/api/reading'
|
||||||
import const_ from '@/const/sign-code'
|
import const_ from '@/const/sign-code'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
@@ -215,6 +215,7 @@ export default {
|
|||||||
async handleSubmit() {
|
async handleSubmit() {
|
||||||
const valid = await this.$refs['questions'].validate()
|
const valid = await this.$refs['questions'].validate()
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
|
await verifyVisitTaskQuestions({ visitTaskId: this.visitTaskId })
|
||||||
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
const { ImageAssessmentReportConfirmation } = const_.processSignature
|
||||||
this.signCode = ImageAssessmentReportConfirmation
|
this.signCode = ImageAssessmentReportConfirmation
|
||||||
this.signVisible = true
|
this.signVisible = true
|
||||||
|
|||||||
Reference in New Issue
Block a user