IR医学反馈添加自动跳转下一任务
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
59f27b9d35
commit
e6926382fd
|
@ -3675,3 +3675,11 @@ export function getTrialSiteSelectList(params) {
|
||||||
params
|
params
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getNextIRMedicalFeedback(param) {
|
||||||
|
return request({
|
||||||
|
url: `/ReadingMedicalReview/getNextIRMedicalFeedback`,
|
||||||
|
method: 'post',
|
||||||
|
data: param
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
@ -201,6 +201,18 @@ export const constantRoutes = [
|
||||||
component: () => import('@/views/research/form'),
|
component: () => import('@/views/research/form'),
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/researchLogin_m',
|
||||||
|
name: 'researchLogin_m',
|
||||||
|
component: () => import('@/views/research-mobile/login'),
|
||||||
|
hidden: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/researchForm_m',
|
||||||
|
name: 'researchForm_m',
|
||||||
|
component: () => import('@/views/research-mobile/form'),
|
||||||
|
hidden: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/trialsResume',
|
path: '/trialsResume',
|
||||||
component: () => import('@/views/trials/trials-panel/enrolled-reviewers/resume/index'),
|
component: () => import('@/views/trials/trials-panel/enrolled-reviewers/resume/index'),
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<div>form</div>
|
||||||
|
</template>
|
|
@ -0,0 +1,56 @@
|
||||||
|
<template>
|
||||||
|
<div class="research_login_m_content">
|
||||||
|
<div class="title">中心调研表</div>
|
||||||
|
<el-form label-position="left" label-width="150px" :model="form">
|
||||||
|
<el-form-item label="项目编号">
|
||||||
|
<!-- <el-input v-model="form.name1" /> -->
|
||||||
|
<span>{{ form.name1 }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="试验方案号">
|
||||||
|
<el-input v-model="form.name2" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="试验名称">
|
||||||
|
<el-input v-model="form.name3" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="试验证类型">
|
||||||
|
<el-input v-model="form.name4" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="活动区域" prop="region">
|
||||||
|
<el-select v-model="form.name5" placeholder="请选择活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai" />
|
||||||
|
<el-option label="区域二" value="beijing" />
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'ResearchMobileLogin',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form: {
|
||||||
|
name1: '1111',
|
||||||
|
name2: '',
|
||||||
|
name3: '',
|
||||||
|
name4: '',
|
||||||
|
name5: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.research_login_m_content{
|
||||||
|
padding: 0 10px;
|
||||||
|
.title{
|
||||||
|
// height: 80px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border-bottom: 2px solid #f3f3f3;
|
||||||
|
line-height: 80px;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -271,7 +271,7 @@
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
/>
|
/>
|
||||||
<!-- 审核结论 -->
|
<!-- 审核结论 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="IsHaveQuestion"
|
prop="IsHaveQuestion"
|
||||||
:label="$t('trials:medicalFeedback:button:isQuestions')"
|
:label="$t('trials:medicalFeedback:button:isQuestions')"
|
||||||
min-width="120"
|
min-width="120"
|
||||||
|
@ -323,7 +323,7 @@
|
||||||
/>
|
/>
|
||||||
<!-- 回复:disabled="!scope.row.IsHaveQuestion || scope.row.IsInvalid" -->
|
<!-- 回复:disabled="!scope.row.IsHaveQuestion || scope.row.IsInvalid" -->
|
||||||
<el-button
|
<el-button
|
||||||
|
|
||||||
circle
|
circle
|
||||||
:title="$t('trials:medicalFeedback:table:reply')"
|
:title="$t('trials:medicalFeedback:table:reply')"
|
||||||
icon="el-icon-chat-dot-round"
|
icon="el-icon-chat-dot-round"
|
||||||
|
@ -369,12 +369,13 @@
|
||||||
:row-data="currentRow"
|
:row-data="currentRow"
|
||||||
@getList="getList"
|
@getList="getList"
|
||||||
@close="auditVisible=false"
|
@close="auditVisible=false"
|
||||||
|
@nextTask="nextTask"
|
||||||
/>
|
/>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</BaseContainer>
|
</BaseContainer>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getIRMedicalFeedbackList } from '@/api/trials'
|
import { getIRMedicalFeedbackList, getNextIRMedicalFeedback } from '@/api/trials'
|
||||||
import { getTrialCriterionList } from '@/api/trials/reading'
|
import { getTrialCriterionList } from '@/api/trials/reading'
|
||||||
import BaseContainer from '@/components/BaseContainer'
|
import BaseContainer from '@/components/BaseContainer'
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
|
@ -456,6 +457,26 @@ export default {
|
||||||
this.chatForm.title = `${this.$t('trials:medicalFeedback:title:qaRecord')} (${row.SubjectCode} ${row.TaskBlindName})`
|
this.chatForm.title = `${this.$t('trials:medicalFeedback:title:qaRecord')} (${row.SubjectCode} ${row.TaskBlindName})`
|
||||||
this.chatForm.visible = true
|
this.chatForm.visible = true
|
||||||
},
|
},
|
||||||
|
async nextTask(taskMedicalReviewId) {
|
||||||
|
try {
|
||||||
|
const params = {
|
||||||
|
trialId: this.trialId,
|
||||||
|
trialReadingCriterionId: this.TrialReadingCriterionId,
|
||||||
|
medicalReviewId: taskMedicalReviewId
|
||||||
|
}
|
||||||
|
const res = await getNextIRMedicalFeedback(params)
|
||||||
|
if (res.IsSuccess) {
|
||||||
|
this.auditVisible = false
|
||||||
|
this.currentRow = res.Result
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.auditVisible = true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
this.auditVisible = false
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
|
},
|
||||||
// 排序
|
// 排序
|
||||||
handleSortChange(column) {
|
handleSortChange(column) {
|
||||||
if (column.order === 'ascending') {
|
if (column.order === 'ascending') {
|
||||||
|
|
|
@ -67,6 +67,10 @@
|
||||||
<el-button v-if="hasPermi(['trials:trials-panel:reading:mim-medical-audit:edit']) && auditInfo.AuditState !== 2" type="primary" @click="getNextTask">
|
<el-button v-if="hasPermi(['trials:trials-panel:reading:mim-medical-audit:edit']) && auditInfo.AuditState !== 2" type="primary" @click="getNextTask">
|
||||||
{{ $t('trials:medicalFeedback:button:nextTask') }}
|
{{ $t('trials:medicalFeedback:button:nextTask') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<!-- IR下一任务 -->
|
||||||
|
<el-button v-if="hasPermi(['trials:trials-panel:medicalFeedback:nextTask']) && auditInfo.AuditState === 1" type="primary" @click="getNextIRTask">
|
||||||
|
{{ $t('trials:irmedicalFeedback:button:nextTask') }}
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--签名框 -->
|
<!--签名框 -->
|
||||||
|
@ -221,7 +225,20 @@ export default {
|
||||||
// 获取下一任务
|
// 获取下一任务
|
||||||
getNextTask() {
|
getNextTask() {
|
||||||
this.disPatchNextTask(this.auditInfo.AuditState >= 2)
|
this.disPatchNextTask(this.auditInfo.AuditState >= 2)
|
||||||
|
},
|
||||||
|
getNextIRTask() {
|
||||||
|
// 是否确认进入下一个医学审核任务?
|
||||||
|
this.$confirm(this.$t('trials:medicalFeedback:message:goNextTask04'), {
|
||||||
|
type: 'warning',
|
||||||
|
distinguishCancelAndClose: true
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
this.loading = true
|
||||||
|
this.$emit('nextTask', this.taskMedicalReviewId)
|
||||||
|
})
|
||||||
|
.catch(action => {
|
||||||
|
this.loading = false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
disPatchNextTask(isComplete) {
|
disPatchNextTask(isComplete) {
|
||||||
// '是否确认进入下一个医学审核任务?' : '当前医学审核任务未完成,是否确认进入下一个医学审核任务?'
|
// '是否确认进入下一个医学审核任务?' : '当前医学审核任务未完成,是否确认进入下一个医学审核任务?'
|
||||||
|
|
Loading…
Reference in New Issue