Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
0b78561331
|
|
@ -4457,4 +4457,13 @@ export function amendmentPatientInfo(data) {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//修改临床数据后 将签名状态变更为未签名
|
||||||
|
export function updateReadModuleClinicalData(data) {
|
||||||
|
return request({
|
||||||
|
url: `/ReadingClinicalData/updateReadModuleClinicalData`,
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -1218,7 +1218,7 @@ export default {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.btnBox {
|
.dicom-tools .btnBox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,15 @@
|
||||||
scope.row.IsSign ||
|
scope.row.IsSign ||
|
||||||
scope.row.UploadRole === 0
|
scope.row.UploadRole === 0
|
||||||
" @click="handleDelete(scope.row)" />
|
" @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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -285,6 +294,15 @@
|
||||||
scope.row.IsSign ||
|
scope.row.IsSign ||
|
||||||
scope.row.UploadRole === 0
|
scope.row.UploadRole === 0
|
||||||
" @click="handleDelete(scope.row)" />
|
" @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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -328,6 +346,7 @@ import {
|
||||||
getTrialClinicalDataSelect,
|
getTrialClinicalDataSelect,
|
||||||
getConsistencyAnalysisReadingClinicalDataList,
|
getConsistencyAnalysisReadingClinicalDataList,
|
||||||
signConsistencyAnalysisReadingClinicalData,
|
signConsistencyAnalysisReadingClinicalData,
|
||||||
|
updateReadModuleClinicalData
|
||||||
} from '@/api/trials'
|
} from '@/api/trials'
|
||||||
import AddOrEditCD from './AddOrEditCD'
|
import AddOrEditCD from './AddOrEditCD'
|
||||||
import Verification from './Verification'
|
import Verification from './Verification'
|
||||||
|
|
@ -658,6 +677,28 @@ export default {
|
||||||
})
|
})
|
||||||
.catch(() => { })
|
.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) {
|
handleSign(from) {
|
||||||
// this.currentData = { ...row }
|
// this.currentData = { ...row }
|
||||||
this.currentData.IsBlind = from.IsBlind
|
this.currentData.IsBlind = from.IsBlind
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue