保存肝脏分段信息接口更改
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
|
data: param
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function submitTaskRowInfo(param, type) {
|
||||||
|
return request({
|
||||||
|
url: `/ReadingImageTask/SubmitTaskRowInfo/${type}`,
|
||||||
|
method: 'post',
|
||||||
|
data: param
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue