Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-04-30 14:54:21 +08:00
commit 0b78561331
3 changed files with 51 additions and 1 deletions

View File

@ -4457,4 +4457,13 @@ export function amendmentPatientInfo(data) {
method: 'post',
data
})
}
//修改临床数据后 将签名状态变更为未签名
export function updateReadModuleClinicalData(data) {
return request({
url: `/ReadingClinicalData/updateReadModuleClinicalData`,
method: 'post',
data
})
}

View File

@ -1218,7 +1218,7 @@ export default {
.btnBox {
.dicom-tools .btnBox {
display: inline-block;
width: 80px;
text-align: center;

View File

@ -143,6 +143,15 @@
scope.row.IsSign ||
scope.row.UploadRole === 0
" @click="handleDelete(scope.row)" />
<!-- 更新 临床数据已签名阅片状态待阅片 -->
<el-button
v-hasPermi="['trials:trials-panel:subject:readingPeriod:edit']"
circle
:title="$t('trials:readingPeriod:cd:action:update')" icon="el-icon-refresh"
:disabled="
!scope.row.IsSign ||
scope.row.UploadRole === 0 || data.ReadingStatus > 4"
@click="handleUpdateStatus(scope.row)" />
</template>
</el-table-column>
</el-table>
@ -285,6 +294,15 @@
scope.row.IsSign ||
scope.row.UploadRole === 0
" @click="handleDelete(scope.row)" />
<!-- 更新 临床数据已签名阅片状态待阅片 -->
<el-button
v-hasPermi="['trials:trials-panel:subject:readingPeriod:edit']"
circle
:title="$t('trials:readingPeriod:cd:action:update')" icon="el-icon-refresh"
:disabled="
!scope.row.IsSign ||
scope.row.UploadRole === 0 || data.ReadingStatus > 4"
@click="handleUpdateStatus(scope.row)" />
</template>
</el-table-column>
</el-table>
@ -328,6 +346,7 @@ import {
getTrialClinicalDataSelect,
getConsistencyAnalysisReadingClinicalDataList,
signConsistencyAnalysisReadingClinicalData,
updateReadModuleClinicalData
} from '@/api/trials'
import AddOrEditCD from './AddOrEditCD'
import Verification from './Verification'
@ -658,6 +677,28 @@ export default {
})
.catch(() => { })
},
async handleUpdateStatus(row) {
try {
const confirm = await this.$confirm(this.$t('trials:readingPeriod:cd:message:updateCDStatus'), {
type: 'warning',
distinguishCancelAndClose: true,
})
if (confirm === 'confirm') {
this.loading = true
let res = await updateReadModuleClinicalData({readingClinicalDataId: row.Id})
this.loading = false
if (res.IsSuccess) {
this.getList()
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
} else {
this.subjectPeriod.visible = true
}
} catch(e) {
this.loading = false
console.log(e)
}
},
handleSign(from) {
// this.currentData = { ...row }
this.currentData.IsBlind = from.IsBlind