分裂更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4c37ebef3e
commit
3304a5d8d2
|
@ -589,15 +589,15 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
split(rowId, questionId) {
|
async split(rowId, questionId) {
|
||||||
const loading = this.$loading({ fullscreen: true })
|
const loading = this.$loading({ fullscreen: true })
|
||||||
var params = {
|
try {
|
||||||
visitTaskId: this.visitTaskId,
|
var params = {
|
||||||
questionId: questionId,
|
visitTaskId: this.visitTaskId,
|
||||||
rowId: rowId
|
questionId: questionId,
|
||||||
}
|
rowId: rowId
|
||||||
splitLesion(params).then(async res => {
|
}
|
||||||
loading.close()
|
await splitLesion(params)
|
||||||
await this.getReadingQuestionAndAnswer()
|
await this.getReadingQuestionAndAnswer()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.tableQuestions.forEach(item => {
|
this.tableQuestions.forEach(item => {
|
||||||
|
@ -607,7 +607,11 @@ export default {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
loading.close()
|
||||||
|
} catch (e) {
|
||||||
|
loading.close()
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
isCanActiveTool(toolName) {
|
isCanActiveTool(toolName) {
|
||||||
console.log('isCanActiveTool')
|
console.log('isCanActiveTool')
|
||||||
|
|
|
@ -673,17 +673,16 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
split(rowId, questionId) {
|
async split(rowId, questionId) {
|
||||||
const loading = this.$loading({ fullscreen: true })
|
const loading = this.$loading({ fullscreen: true })
|
||||||
var params = {
|
try {
|
||||||
visitTaskId: this.visitTaskId,
|
var params = {
|
||||||
questionId: questionId,
|
visitTaskId: this.visitTaskId,
|
||||||
rowId: rowId
|
questionId: questionId,
|
||||||
}
|
rowId: rowId
|
||||||
splitLesion(params).then(async res => {
|
}
|
||||||
loading.close()
|
await splitLesion(params)
|
||||||
await this.getReadingQuestionAndAnswer()
|
await this.getReadingQuestionAndAnswer()
|
||||||
DicomEvent.$emit('readingPageUpdate', {})
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.tableQuestions.forEach(item => {
|
this.tableQuestions.forEach(item => {
|
||||||
item.TableQuestions.Answers.forEach(i => {
|
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) {
|
async handleMerge(answers, questionId, orderMark) {
|
||||||
|
|
|
@ -516,15 +516,15 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
split(rowId, questionId) {
|
async split(rowId, questionId) {
|
||||||
const loading = this.$loading({ fullscreen: true })
|
const loading = this.$loading({ fullscreen: true })
|
||||||
var params = {
|
try {
|
||||||
visitTaskId: this.visitTaskId,
|
var params = {
|
||||||
questionId: questionId,
|
visitTaskId: this.visitTaskId,
|
||||||
rowId: rowId
|
questionId: questionId,
|
||||||
}
|
rowId: rowId
|
||||||
splitLesion(params).then(async res => {
|
}
|
||||||
loading.close()
|
await splitLesion(params)
|
||||||
await this.getReadingQuestionAndAnswer()
|
await this.getReadingQuestionAndAnswer()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.tableQuestions.forEach(item => {
|
this.tableQuestions.forEach(item => {
|
||||||
|
@ -534,7 +534,11 @@ export default {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
loading.close()
|
||||||
|
} catch (e) {
|
||||||
|
loading.close()
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
isCanActiveTool(toolName) {
|
isCanActiveTool(toolName) {
|
||||||
this.getUnSaveTarget()
|
this.getUnSaveTarget()
|
||||||
|
|
|
@ -517,18 +517,16 @@ export default {
|
||||||
questionId: questionId,
|
questionId: questionId,
|
||||||
rowId: rowId
|
rowId: rowId
|
||||||
}
|
}
|
||||||
const res = await splitLesion(params)
|
await splitLesion(params)
|
||||||
if (res.IsSuccess) {
|
await this.getReadingQuestionAndAnswer()
|
||||||
await this.getReadingQuestionAndAnswer()
|
this.$nextTick(() => {
|
||||||
this.$nextTick(() => {
|
this.tableQuestions.forEach(item => {
|
||||||
this.tableQuestions.forEach(item => {
|
item.TableQuestions.Answers.forEach(i => {
|
||||||
item.TableQuestions.Answers.forEach(i => {
|
var refName = `${item.Id}_${i.RowIndex}`
|
||||||
var refName = `${item.Id}_${i.RowIndex}`
|
this.$refs[refName] && this.$refs[refName][0].initForm()
|
||||||
this.$refs[refName] && this.$refs[refName][0].initForm()
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
})
|
||||||
loading.close()
|
loading.close()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
loading.close()
|
loading.close()
|
||||||
|
|
Loading…
Reference in New Issue