保存肝脏分段信息接口更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2025-01-02 14:50:22 +08:00
parent 0e0c2ca55d
commit d127637922
2 changed files with 12 additions and 4 deletions

View File

@ -267,3 +267,11 @@ export function deleteTableQuestionMark(param) {
data: param data: param
}) })
} }
export function submitTaskRowInfo(param, type) {
return request({
url: `/ReadingImageTask/SubmitTaskRowInfo/${type}`,
method: 'post',
data: param
})
}

View File

@ -202,8 +202,8 @@
</el-form> </el-form>
</template> </template>
<script> <script>
import { submitTableQuestion } from '@/api/trials' // import { submitTableQuestion } from '@/api/trials'
import { saveTableQuestionMark, deleteTableQuestionMark } from '@/api/reading' import { saveTableQuestionMark, submitTaskRowInfo, deleteTableQuestionMark } from '@/api/reading'
import DicomEvent from './../DicomEvent' import DicomEvent from './../DicomEvent'
import store from '@/store' import store from '@/store'
export default { export default {
@ -582,7 +582,7 @@ export default {
async saveTableQuestionInfo(params, qs) { async saveTableQuestionInfo(params, qs) {
const loading = this.$loading({ fullscreen: true }) const loading = this.$loading({ fullscreen: true })
try { try {
let res = await saveTableQuestionMark(params, 10) let res = await saveTableQuestionMark(params, 11)
if (res.IsSuccess) { if (res.IsSuccess) {
// //
let i = this.markList.findIndex(i=>i.tableQuestionId === qs.Id) let i = this.markList.findIndex(i=>i.tableQuestionId === qs.Id)
@ -730,7 +730,7 @@ export default {
answerList: answers, answerList: answers,
isDicomReading: true isDicomReading: true
} }
const res = await submitTableQuestion(params) const res = await submitTaskRowInfo(params, 11)
if (res.IsSuccess) { if (res.IsSuccess) {
// //
this.$message.success(this.$t('common:message:savedSuccessfully')) this.$message.success(this.$t('common:message:savedSuccessfully'))