保存肝脏分段信息接口更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0e0c2ca55d
commit
d127637922
|
@ -267,3 +267,11 @@ export function deleteTableQuestionMark(param) {
|
|||
data: param
|
||||
})
|
||||
}
|
||||
|
||||
export function submitTaskRowInfo(param, type) {
|
||||
return request({
|
||||
url: `/ReadingImageTask/SubmitTaskRowInfo/${type}`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
}
|
||||
|
|
|
@ -202,8 +202,8 @@
|
|||
</el-form>
|
||||
</template>
|
||||
<script>
|
||||
import { submitTableQuestion } from '@/api/trials'
|
||||
import { saveTableQuestionMark, deleteTableQuestionMark } from '@/api/reading'
|
||||
// import { submitTableQuestion } from '@/api/trials'
|
||||
import { saveTableQuestionMark, submitTaskRowInfo, deleteTableQuestionMark } from '@/api/reading'
|
||||
import DicomEvent from './../DicomEvent'
|
||||
import store from '@/store'
|
||||
export default {
|
||||
|
@ -582,7 +582,7 @@ export default {
|
|||
async saveTableQuestionInfo(params, qs) {
|
||||
const loading = this.$loading({ fullscreen: true })
|
||||
try {
|
||||
let res = await saveTableQuestionMark(params, 10)
|
||||
let res = await saveTableQuestionMark(params, 11)
|
||||
if (res.IsSuccess) {
|
||||
// 保存后设置保存状态
|
||||
let i = this.markList.findIndex(i=>i.tableQuestionId === qs.Id)
|
||||
|
@ -730,7 +730,7 @@ export default {
|
|||
answerList: answers,
|
||||
isDicomReading: true
|
||||
}
|
||||
const res = await submitTableQuestion(params)
|
||||
const res = await submitTaskRowInfo(params, 11)
|
||||
if (res.IsSuccess) {
|
||||
// 保存成功!
|
||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
||||
|
|
Loading…
Reference in New Issue