crc修改pt临床数据更改
continuous-integration/drone/push Build is passing Details

main
caiyiling 2026-05-07 12:16:01 +08:00
parent e0dd443d84
commit af97e2b4ed
4 changed files with 16 additions and 5 deletions

View File

@ -496,7 +496,7 @@ export default {
this.colormapsList = cornerstone.colors.getColormapsList() this.colormapsList = cornerstone.colors.getColormapsList()
this.currentDicomCanvas = this.$refs['dicomCanvas0'] this.currentDicomCanvas = this.$refs['dicomCanvas0']
this.type = this.$route.query.type this.type = this.$route.query.type
this.isEdit = parseInt(this.$route.query.showDelete) this.isEdit = parseInt(this.$route.query.showDelete) || parseInt(this.$route.query.showEdit)
}, },
beforeDestroy() { beforeDestroy() {
clearPTClinicalDataCache() clearPTClinicalDataCache()

View File

@ -151,7 +151,7 @@
</el-dialog> </el-dialog>
<!--pet-ct临床数据上传--> <!--pet-ct临床数据上传-->
<el-dialog v-if="petVisible" :show-close="true" :visible.sync="petVisible" append-to-body> <el-dialog v-if="petVisible" :show-close="true" :visible.sync="petVisible" append-to-body>
<uploadPetClinicalData :subject-visit-id="data.Id" :data="data" :studyData="rowData" :allow-add-or-edit="false" /> <uploadPetClinicalData :subject-visit-id="data.Id" :data="data" :studyData="rowData" :allow-add-or-edit="(data.SubmitState * 1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload)) && hasPermi(['trials:trials-panel:visit:crc-upload:edit'])" />
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -309,8 +309,14 @@ export default {
// //
handleViewStudy(row) { handleViewStudy(row) {
var token = getToken() var token = getToken()
let path = ''
if (this.hasPermi(['trials:trials-panel:visit:crc-upload:edit'])) {
path = `/showdicom?studyId=${row.StudyId}&isFromCRCUpload=1&TokenKey=${token}&type=Study&showEdit=${(this.data.SubmitState * 1 < 2 || (this.data.SubmitState === 2 && this.data.IsQCConfirmedReupload)) ? 1 : 0}`
} else {
path = `/showdicom?studyId=${row.StudyId}&isFromCRCUpload=1&TokenKey=${token}&type=Study`
}
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showdicom?studyId=${row.StudyId}&isFromCRCUpload=1&TokenKey=${token}&type=Study`, path: path
}) })
var newWindow = window.open(routeData.href, '_blank') var newWindow = window.open(routeData.href, '_blank')
this.$emit('setOpenWindow', newWindow) this.$emit('setOpenWindow', newWindow)

View File

@ -791,8 +791,14 @@ export default {
// //
handleViewStudy(row) { handleViewStudy(row) {
var token = getToken() var token = getToken()
let path = ''
if (this.hasPermi(['trials:trials-panel:visit:crc-upload:edit'])) {
path = `/showdicom?studyId=${row.StudyId}&TokenKey=${token}&type=Study&showEdit=${!(!this.isAfresh && this.data.SubmitState === 2 && this.data.SubmitTime) ? 1 : 0}`
} else {
path = `/showdicom?studyId=${row.StudyId}&TokenKey=${token}&type=Study`
}
const routeData = this.$router.resolve({ const routeData = this.$router.resolve({
path: `/showdicom?studyId=${row.StudyId}&TokenKey=${token}&type=Study`, path: path,
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
}, },

View File

@ -512,7 +512,6 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(this.allowAddOrEdit,this.isPatientFormAllowEdit )
this.isPatientFormCanEdit = this.allowAddOrEdit || this.isPatientFormAllowEdit this.isPatientFormCanEdit = this.allowAddOrEdit || this.isPatientFormAllowEdit
this.getClinicalData() this.getClinicalData()
}, },