Compare commits
No commits in common. "179d030f76980f5cc2ef204ce0650e2261af4291" and "3eb5094c3e6c711c32928780cb817cca419509aa" have entirely different histories.
179d030f76
...
3eb5094c3e
|
@ -76,7 +76,6 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getTableAnswerRowInfoList } from '@/api/trials'
|
|
||||||
import { on, off } from 'element-ui/src/utils/dom'
|
import { on, off } from 'element-ui/src/utils/dom'
|
||||||
import { rafThrottle, isFirefox } from 'element-ui/src/utils/util'
|
import { rafThrottle, isFirefox } from 'element-ui/src/utils/util'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
|
@ -224,26 +223,15 @@ export default {
|
||||||
return new Promise(async resolve => {
|
return new Promise(async resolve => {
|
||||||
this.visitTaskId = this.$router.currentRoute.query.visitTaskId
|
this.visitTaskId = this.$router.currentRoute.query.visitTaskId
|
||||||
this.canvasData = []
|
this.canvasData = []
|
||||||
let res = await getTableAnswerRowInfoList(this.visitTaskId)
|
await store.dispatch('reading/getMeasuredData', this.visitTaskId)
|
||||||
res.Result.forEach(el => {
|
await store.dispatch('reading/getNoneDicomMeasuredData', this.visitTaskId).then(res => {
|
||||||
if (!el.IsDicomReading){
|
res.forEach(item => {
|
||||||
if (el.MeasureData) {
|
if (item && item.MeasureData) {
|
||||||
el.MeasureData = JSON.parse(el.MeasureData)
|
this.canvasData.push(item.MeasureData)
|
||||||
el.MeasureData.data.remark = el.OrderMarkName
|
|
||||||
this.canvasData.push(el.MeasureData)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
sessionStorage.setItem('measureData', this.canvasData)
|
sessionStorage.setItem('measureData', this.canvasData)
|
||||||
// await store.dispatch('reading/getMeasuredData', this.visitTaskId)
|
})
|
||||||
// await store.dispatch('reading/getNoneDicomMeasuredData', this.visitTaskId).then(res => {
|
|
||||||
// res.forEach(item => {
|
|
||||||
// if (item && item.MeasureData) {
|
|
||||||
// this.canvasData.push(item.MeasureData)
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
// sessionStorage.setItem('measureData', this.canvasData)
|
|
||||||
// })
|
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue