分裂更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-08-08 17:39:27 +08:00
parent 4c37ebef3e
commit 3304a5d8d2
4 changed files with 47 additions and 38 deletions

View File

@ -589,15 +589,15 @@ export default {
}
}
},
split(rowId, questionId) {
async split(rowId, questionId) {
const loading = this.$loading({ fullscreen: true })
try {
var params = {
visitTaskId: this.visitTaskId,
questionId: questionId,
rowId: rowId
}
splitLesion(params).then(async res => {
loading.close()
await splitLesion(params)
await this.getReadingQuestionAndAnswer()
this.$nextTick(() => {
this.tableQuestions.forEach(item => {
@ -607,7 +607,11 @@ export default {
})
})
})
})
loading.close()
} catch (e) {
loading.close()
console.log(e)
}
},
isCanActiveTool(toolName) {
console.log('isCanActiveTool')

View File

@ -673,17 +673,16 @@ export default {
}
}
},
split(rowId, questionId) {
async split(rowId, questionId) {
const loading = this.$loading({ fullscreen: true })
try {
var params = {
visitTaskId: this.visitTaskId,
questionId: questionId,
rowId: rowId
}
splitLesion(params).then(async res => {
loading.close()
await splitLesion(params)
await this.getReadingQuestionAndAnswer()
DicomEvent.$emit('readingPageUpdate', {})
this.$nextTick(() => {
this.tableQuestions.forEach(item => {
item.TableQuestions.Answers.forEach(i => {
@ -692,7 +691,11 @@ export default {
})
})
})
})
loading.close()
} catch (e) {
loading.close()
console.log(e)
}
},
//
async handleMerge(answers, questionId, orderMark) {

View File

@ -516,15 +516,15 @@ export default {
}
}
},
split(rowId, questionId) {
async split(rowId, questionId) {
const loading = this.$loading({ fullscreen: true })
try {
var params = {
visitTaskId: this.visitTaskId,
questionId: questionId,
rowId: rowId
}
splitLesion(params).then(async res => {
loading.close()
await splitLesion(params)
await this.getReadingQuestionAndAnswer()
this.$nextTick(() => {
this.tableQuestions.forEach(item => {
@ -534,7 +534,11 @@ export default {
})
})
})
})
loading.close()
} catch (e) {
loading.close()
console.log(e)
}
},
isCanActiveTool(toolName) {
this.getUnSaveTarget()

View File

@ -517,8 +517,7 @@ export default {
questionId: questionId,
rowId: rowId
}
const res = await splitLesion(params)
if (res.IsSuccess) {
await splitLesion(params)
await this.getReadingQuestionAndAnswer()
this.$nextTick(() => {
this.tableQuestions.forEach(item => {
@ -528,7 +527,6 @@ export default {
})
})
})
}
loading.close()
} catch (e) {
loading.close()