Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
commit
431eab7e49
|
@ -10,7 +10,7 @@ VUE_APP_IS_TEST = true
|
||||||
VUE_APP_LOGIN_FOR_PERMISSION = false
|
VUE_APP_LOGIN_FOR_PERMISSION = false
|
||||||
|
|
||||||
# 是否开启长时间无操作锁定弹框 true:是 false:否
|
# 是否开启长时间无操作锁定弹框 true:是 false:否
|
||||||
VUE_APP_LOCK_FOR_PERMISSION = true
|
VUE_APP_LOCK_FOR_PERMISSION = false
|
||||||
|
|
||||||
# 无操作锁定弹框判断时间 单位:秒
|
# 无操作锁定弹框判断时间 单位:秒
|
||||||
VUE_APP_LOCK_FOR_TIME = 360
|
VUE_APP_LOCK_FOR_TIME = 360
|
||||||
|
|
|
@ -4,7 +4,8 @@ src/utils/*
|
||||||
public
|
public
|
||||||
dist
|
dist
|
||||||
|
|
||||||
src/*
|
# src/*
|
||||||
|
src/views/trials/trials-panel/reading/global-review/*
|
||||||
src/views/dictionary/checkConfig/*
|
src/views/dictionary/checkConfig/*
|
||||||
src/views/trials/trials-panel/trial-summary/*
|
src/views/trials/trials-panel/trial-summary/*
|
||||||
src/main.js
|
src/main.js
|
||||||
|
|
|
@ -14,3 +14,4 @@ tests/**/coverage/
|
||||||
*.ntvs*
|
*.ntvs*
|
||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
|
.eslintignore
|
||||||
|
|
|
@ -3,19 +3,11 @@
|
||||||
<div class="base-dialog-body">
|
<div class="base-dialog-body">
|
||||||
<!-- 姓 -->
|
<!-- 姓 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:lastName')" prop="LastName">
|
<el-form-item :label="$t('trials:staffResearch:form:lastName')" prop="LastName">
|
||||||
<el-input
|
<el-input v-model="form.LastName" disabled style="width: 200px" />
|
||||||
v-model="form.LastName"
|
|
||||||
disabled
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 名 -->
|
<!-- 名 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:firstName')" prop="FirstName">
|
<el-form-item :label="$t('trials:staffResearch:form:firstName')" prop="FirstName">
|
||||||
<el-input
|
<el-input v-model="form.FirstName" disabled style="width: 200px" />
|
||||||
v-model="form.FirstName"
|
|
||||||
disabled
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<!-- <el-form-item :label="$t('trials:staffResearch:form:role')" prop="TrialRoleCode">
|
<!-- <el-form-item :label="$t('trials:staffResearch:form:role')" prop="TrialRoleCode">
|
||||||
|
@ -34,27 +26,15 @@
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<!-- 电话号码 -->
|
<!-- 电话号码 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:phone')" prop="Phone">
|
<el-form-item :label="$t('trials:staffResearch:form:phone')" prop="Phone">
|
||||||
<el-input
|
<el-input v-model="form.Phone" disabled style="width: 200px" />
|
||||||
v-model="form.Phone"
|
|
||||||
disabled
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 邮箱 -->
|
<!-- 邮箱 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:email')" prop="Email">
|
<el-form-item :label="$t('trials:staffResearch:form:email')" prop="Email">
|
||||||
<el-input
|
<el-input v-model="form.Email" disabled style="width: 200px" />
|
||||||
v-model="form.Email"
|
|
||||||
disabled
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 单位 -->
|
<!-- 单位 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:organization')" prop="OrganizationName">
|
<el-form-item :label="$t('trials:staffResearch:form:organization')" prop="OrganizationName">
|
||||||
<el-input
|
<el-input v-model="form.OrganizationName" disabled style="width: 200px" />
|
||||||
v-model="form.OrganizationName"
|
|
||||||
disabled
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 是否生成账号 -->
|
<!-- 是否生成账号 -->
|
||||||
<!-- <el-form-item
|
<!-- <el-form-item
|
||||||
|
@ -69,51 +49,35 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<!-- 用户类型 -->
|
<!-- 用户类型 -->
|
||||||
<el-form-item
|
<el-form-item v-if="form.IsGenerateAccount" :label="$t('trials:staffResearch:form:userType')" prop="UserTypeId">
|
||||||
v-if="form.IsGenerateAccount"
|
<el-select v-model="form.UserTypeId" style="width: 200px" disabled>
|
||||||
:label="$t('trials:staffResearch:form:userType')"
|
<el-option v-for="item of userTypeOptions" :key="item.Id" :label="item.UserTypeShortName" :value="item.Id">
|
||||||
prop="UserTypeId"
|
|
||||||
>
|
|
||||||
<el-select
|
|
||||||
v-model="form.UserTypeId"
|
|
||||||
style="width:200px;"
|
|
||||||
disabled
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item of userTypeOptions"
|
|
||||||
:key="item.Id"
|
|
||||||
:label="item.UserTypeShortName"
|
|
||||||
:value="item.Id"
|
|
||||||
>
|
|
||||||
<span>{{ item.UserType }}</span>
|
<span>{{ item.UserType }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 更新状态 -->
|
<!-- 更新状态 -->
|
||||||
<el-form-item
|
<el-form-item :label="$t('trials:staffResearch:form:updateState')">
|
||||||
:label="$t('trials:staffResearch:form:updateState')"
|
<el-radio-group v-model="form.IsHistoryUserDeleted" style="width: 200px">
|
||||||
>
|
<el-radio v-for="item of $d.IsUserExitTrial" :key="`IsHistoryUserDeleted${item.value}`" :label="item.value">{{
|
||||||
<el-radio-group
|
item.label }}</el-radio>
|
||||||
v-model="form.IsHistoryUserDeleted"
|
|
||||||
style="width:200px;"
|
|
||||||
>
|
|
||||||
<el-radio v-for="item of $d.IsUserExitTrial" :key="`IsHistoryUserDeleted${item.value}`" :label="item.value">{{ item.label }}</el-radio>
|
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="errorMsg" label="">
|
<el-form-item v-if="errorMsg" label="">
|
||||||
<span v-if="errorMsg" style="font-size: 12px;color: #f66;">{{ errorMsg }}</span>
|
<span v-if="errorMsg" style="font-size: 12px; color: #f66">{{
|
||||||
|
errorMsg
|
||||||
|
}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="base-dialog-footer" style="text-align:right;margin-top:10px;">
|
<div class="base-dialog-footer" style="text-align: right; margin-top: 10px">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<!-- 取消 -->
|
<!-- 取消 -->
|
||||||
<el-button size="small" type="primary" :disabled="btnLoading" @click="handleCancel">
|
<el-button size="small" type="primary" :disabled="btnLoading" @click="handleCancel">
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t("common:button:cancel") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
||||||
{{ $t('common:button:save') }}
|
{{ $t("common:button:save") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
@ -142,7 +106,8 @@ export default {
|
||||||
if (value === '') {
|
if (value === '') {
|
||||||
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
|
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
|
||||||
} else {
|
} else {
|
||||||
var reg = /^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
|
var reg =
|
||||||
|
/^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
|
||||||
if (this.form.Email && reg.test(this.form.Email)) {
|
if (this.form.Email && reg.test(this.form.Email)) {
|
||||||
this.sendDisabled = false
|
this.sendDisabled = false
|
||||||
callback()
|
callback()
|
||||||
|
@ -164,29 +129,64 @@ export default {
|
||||||
OrganizationName: '',
|
OrganizationName: '',
|
||||||
IsGenerateAccount: false,
|
IsGenerateAccount: false,
|
||||||
IsHistoryUserDeleted: ''
|
IsHistoryUserDeleted: ''
|
||||||
|
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
LastName: [
|
LastName: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: 'blur' },
|
{
|
||||||
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: 'blur' }
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:specify'),
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 0,
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('trials:researchForm:formRule:maxLength'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
FirstName: [
|
FirstName: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: 'blur' },
|
{
|
||||||
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: 'blur' }
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:specify'),
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 0,
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('trials:researchForm:formRule:maxLength'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
TrialRoleCode: [
|
TrialRoleCode: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:select'),
|
||||||
|
trigger: ['blur', 'change']
|
||||||
|
}
|
||||||
|
],
|
||||||
|
UserTypeId: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:select'),
|
||||||
|
trigger: ['blur']
|
||||||
|
}
|
||||||
],
|
],
|
||||||
UserTypeId: [{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur'] }],
|
|
||||||
Phone: [
|
Phone: [
|
||||||
{ max: 50, message: this.$t('common:ruleMessage:maxLength') + ' 50', trigger: 'blur' }
|
{
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('common:ruleMessage:maxLength') + ' 50',
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
Email: [
|
Email: [
|
||||||
{ required: true, validator: validateEmail, trigger: ['blur'] }
|
{ required: true, validator: validateEmail, trigger: ['blur'] }
|
||||||
],
|
],
|
||||||
IsHistoryUserDeleted: [
|
IsHistoryUserDeleted: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:select'),
|
||||||
|
trigger: ['blur', 'change']
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
btnLoading: false,
|
btnLoading: false,
|
||||||
|
@ -202,7 +202,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async initForm() {
|
async initForm() {
|
||||||
await this.getUserType()
|
await this.getUserType()
|
||||||
Object.keys(this.data).forEach(key => {
|
Object.keys(this.data).forEach((key) => {
|
||||||
this.form[key] = this.data[key]
|
this.form[key] = this.data[key]
|
||||||
})
|
})
|
||||||
if (zzSessionStorage.getItem('userTypeEnumInt')) {
|
if (zzSessionStorage.getItem('userTypeEnumInt')) {
|
||||||
|
@ -211,37 +211,44 @@ export default {
|
||||||
},
|
},
|
||||||
// 保存参与者信息
|
// 保存参与者信息
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.$refs['participantForm'].validate(valid => {
|
this.$refs['participantForm'].validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
if (!this.form.TrialSiteSurveyId) {
|
if (!this.form.TrialSiteSurveyId) {
|
||||||
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
|
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
|
||||||
}
|
}
|
||||||
const trialId = getQueryString('trialId')
|
const trialId = getQueryString('trialId')
|
||||||
addOrUpdateTrialSiteUserSurvey(trialId, this.form).then(res => {
|
addOrUpdateTrialSiteUserSurvey(trialId, this.form)
|
||||||
this.btnLoading = false
|
.then((res) => {
|
||||||
if (res.IsSuccess) {
|
this.btnLoading = false
|
||||||
// 保存成功
|
if (res.IsSuccess) {
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
// 保存成功
|
||||||
|
this.$message.success(
|
||||||
|
this.$t('common:message:savedSuccessfully')
|
||||||
|
)
|
||||||
|
|
||||||
this.$emit('close', { id: res.Result, errorMessage: '' })
|
this.$emit('close', { id: res.Result, errorMessage: '' })
|
||||||
}
|
}
|
||||||
}).catch((res) => {
|
})
|
||||||
if (res.Result && res.Result.Id && res.ErrorMessage) {
|
.catch((res) => {
|
||||||
this.$emit('close', { id: res.Result.Id, errorMessage: res.ErrorMessage })
|
if (res.Result && res.Result.Id && res.ErrorMessage) {
|
||||||
// this.$confirm(res.ErrorMessage, '', {
|
this.$emit('close', {
|
||||||
// type: 'warning'
|
id: res.Result.Id,
|
||||||
// }).then(() => {
|
errorMessage: res.ErrorMessage
|
||||||
// this.$set(this.form, 'LastName', res.Result.LastName)
|
})
|
||||||
// this.$set(this.form, 'FirstName', res.Result.FirstName)
|
// this.$confirm(res.ErrorMessage, '', {
|
||||||
// this.$set(this.form, 'Phone', res.Result.Phone)
|
// type: 'warning'
|
||||||
// this.handleSave()
|
// }).then(() => {
|
||||||
// }).catch(() => {
|
// this.$set(this.form, 'LastName', res.Result.LastName)
|
||||||
|
// this.$set(this.form, 'FirstName', res.Result.FirstName)
|
||||||
|
// this.$set(this.form, 'Phone', res.Result.Phone)
|
||||||
|
// this.handleSave()
|
||||||
|
// }).catch(() => {
|
||||||
|
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 取消保存
|
// 取消保存
|
||||||
|
@ -250,8 +257,15 @@ export default {
|
||||||
},
|
},
|
||||||
// 获取系统用户类型
|
// 获取系统用户类型
|
||||||
getUserType() {
|
getUserType() {
|
||||||
getUserTypeList(3).then(res => {
|
return new Promise((resolve) => {
|
||||||
this.userTypeOptions = res.Result
|
getUserTypeList(3).then((res) => {
|
||||||
|
this.userTypeOptions = res.Result
|
||||||
|
var crcObj = res.Result.find((i) => i.UserTypeEnum === 2)
|
||||||
|
this.crcId = crcObj ? crcObj.Id : ''
|
||||||
|
var craObj = res.Result.find((i) => i.UserTypeEnum === 9)
|
||||||
|
this.craId = craObj ? craObj.Id : ''
|
||||||
|
})
|
||||||
|
resolve()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<el-form ref="participantForm" :model="form" :rules="rules" label-width="200px" :inline="true">
|
<el-form ref="participantForm" v-loading="loading" :model="form" :rules="rules" label-width="200px" :inline="true">
|
||||||
<div class="base-dialog-body">
|
<div class="base-dialog-body">
|
||||||
<!-- 姓 -->
|
<!-- 姓 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:lastName')" prop="LastName">
|
<el-form-item :label="$t('trials:staffResearch:form:lastName')" prop="LastName">
|
||||||
<el-input
|
<el-input v-model="form.LastName" :disabled="!(state === 0 && userTypeEnumInt === 0)" style="width: 200px" />
|
||||||
v-model="form.LastName"
|
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 名 -->
|
<!-- 名 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:firstName')" prop="FirstName">
|
<el-form-item :label="$t('trials:staffResearch:form:firstName')" prop="FirstName">
|
||||||
<el-input
|
<el-input v-model="form.FirstName" :disabled="!(state === 0 && userTypeEnumInt === 0)" style="width: 200px" />
|
||||||
v-model="form.FirstName"
|
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 角色 -->
|
<!-- 角色 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:role')" prop="TrialRoleCode">
|
<el-form-item :label="$t('trials:staffResearch:form:role')" prop="TrialRoleCode">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.TrialRoleCode"
|
v-model="form.TrialRoleCode"
|
||||||
style="width:200px;"
|
style="width: 200px"
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
||||||
@change="handleTrialRoleChange"
|
@change="handleTrialRoleChange"
|
||||||
>
|
>
|
||||||
|
@ -35,26 +27,18 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 电话号码 -->
|
<!-- 电话号码 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:phone')" prop="Phone">
|
<el-form-item :label="$t('trials:staffResearch:form:phone')" prop="Phone">
|
||||||
<el-input
|
<el-input v-model="form.Phone" :disabled="!(state === 0 && userTypeEnumInt === 0)" style="width: 200px" />
|
||||||
v-model="form.Phone"
|
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 邮箱 -->
|
<!-- 邮箱 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:email')" prop="Email">
|
<el-form-item :label="$t('trials:staffResearch:form:email')" prop="Email">
|
||||||
<el-input
|
<el-input v-model="form.Email" :disabled="!(state === 0 && userTypeEnumInt === 0)" style="width: 200px" />
|
||||||
v-model="form.Email"
|
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
|
||||||
style="width:200px;"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 单位 -->
|
<!-- 单位 -->
|
||||||
<el-form-item :label="$t('trials:staffResearch:form:organization')" prop="OrganizationName">
|
<el-form-item :label="$t('trials:staffResearch:form:organization')" prop="OrganizationName">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.OrganizationName"
|
v-model="form.OrganizationName"
|
||||||
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
:disabled="!(state === 0 && userTypeEnumInt === 0)"
|
||||||
style="width:200px;"
|
style="width: 200px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-row>
|
<!-- <el-row>
|
||||||
|
@ -93,19 +77,20 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-row>-->
|
</el-row>-->
|
||||||
<el-form-item v-if="errorMsg" label="">
|
<el-form-item v-if="errorMsg" label="">
|
||||||
<span v-if="errorMsg" style="font-size: 12px;color: #f66;">{{ errorMsg }}</span>
|
<span v-if="errorMsg" style="font-size: 12px; color: #f66">{{
|
||||||
|
errorMsg
|
||||||
|
}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="base-dialog-footer" style="text-align:right;margin-top:10px;">
|
<div class="base-dialog-footer" style="text-align: right; margin-top: 10px">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<!-- 取消 -->
|
<!-- 取消 -->
|
||||||
<el-button size="small" type="primary" :disabled="btnLoading" @click="handleCancel">
|
<el-button size="small" type="primary" :disabled="btnLoading" @click="handleCancel">
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t("common:button:cancel") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 保存 -->
|
<!-- 保存 -->
|
||||||
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
||||||
{{ $t('common:button:save') }}
|
{{ $t("common:button:save") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
|
@ -152,7 +137,8 @@ export default {
|
||||||
if (value === '') {
|
if (value === '') {
|
||||||
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
|
callback(new Error(this.$t('trials:researchForm:formRule:specify')))
|
||||||
} else {
|
} else {
|
||||||
var reg = /^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
|
var reg =
|
||||||
|
/^[A-Za-z0-9]+([_\.][A-Za-z0-9]+)*@([A-Za-z0-9\-]+\.)+[A-Za-z]{2,6}$/
|
||||||
if (this.form.Email && reg.test(this.form.Email)) {
|
if (this.form.Email && reg.test(this.form.Email)) {
|
||||||
this.sendDisabled = false
|
this.sendDisabled = false
|
||||||
callback()
|
callback()
|
||||||
|
@ -175,23 +161,54 @@ export default {
|
||||||
// IsCorrect: false,
|
// IsCorrect: false,
|
||||||
IsGenerateAccount: false,
|
IsGenerateAccount: false,
|
||||||
IsDisable: false
|
IsDisable: false
|
||||||
|
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
LastName: [
|
LastName: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: 'blur' },
|
{
|
||||||
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: 'blur' }
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:specify'),
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 0,
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('trials:researchForm:formRule:maxLength'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
FirstName: [
|
FirstName: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:specify'), trigger: 'blur' },
|
{
|
||||||
{ min: 0, max: 50, message: this.$t('trials:researchForm:formRule:maxLength'), trigger: 'blur' }
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:specify'),
|
||||||
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 0,
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('trials:researchForm:formRule:maxLength'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
TrialRoleCode: [
|
TrialRoleCode: [
|
||||||
{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur', 'change'] }
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:select'),
|
||||||
|
trigger: ['blur', 'change']
|
||||||
|
}
|
||||||
|
],
|
||||||
|
UserTypeId: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: this.$t('trials:researchForm:formRule:select'),
|
||||||
|
trigger: ['blur']
|
||||||
|
}
|
||||||
],
|
],
|
||||||
UserTypeId: [{ required: true, message: this.$t('trials:researchForm:formRule:select'), trigger: ['blur'] }],
|
|
||||||
Phone: [
|
Phone: [
|
||||||
{ max: 50, message: this.$t('common:ruleMessage:maxLength') + ' 50', trigger: 'blur' }
|
{
|
||||||
|
max: 50,
|
||||||
|
message: this.$t('common:ruleMessage:maxLength') + ' 50',
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
Email: [
|
Email: [
|
||||||
{ required: true, validator: validateEmail, trigger: ['blur'] }
|
{ required: true, validator: validateEmail, trigger: ['blur'] }
|
||||||
|
@ -203,7 +220,8 @@ export default {
|
||||||
userTypeEnumInt: 0,
|
userTypeEnumInt: 0,
|
||||||
errorMsg: '',
|
errorMsg: '',
|
||||||
crcId: '',
|
crcId: '',
|
||||||
craId: ''
|
craId: '',
|
||||||
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -211,47 +229,56 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async initForm() {
|
async initForm() {
|
||||||
Object.keys(this.data).forEach(key => {
|
this.loading = true
|
||||||
|
await this.getUserType()
|
||||||
|
Object.keys(this.data).forEach((key) => {
|
||||||
this.form[key] = this.data[key]
|
this.form[key] = this.data[key]
|
||||||
})
|
})
|
||||||
if (zzSessionStorage.getItem('userTypeEnumInt')) {
|
if (zzSessionStorage.getItem('userTypeEnumInt')) {
|
||||||
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
|
this.userTypeEnumInt = zzSessionStorage.getItem('userTypeEnumInt') * 1
|
||||||
}
|
}
|
||||||
this.getUserType()
|
this.loading = false
|
||||||
},
|
},
|
||||||
// 保存参与者信息
|
// 保存参与者信息
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.$refs['participantForm'].validate(valid => {
|
this.$refs['participantForm'].validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
this.btnLoading = true
|
this.btnLoading = true
|
||||||
if (!this.form.TrialSiteSurveyId) {
|
if (!this.form.TrialSiteSurveyId) {
|
||||||
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
|
this.form.TrialSiteSurveyId = getQueryString('trialSiteSurveyId')
|
||||||
}
|
}
|
||||||
const trialId = getQueryString('trialId')
|
const trialId = getQueryString('trialId')
|
||||||
addOrUpdateTrialSiteUserSurvey(trialId, this.form).then(res => {
|
addOrUpdateTrialSiteUserSurvey(trialId, this.form)
|
||||||
this.btnLoading = false
|
.then((res) => {
|
||||||
if (res.IsSuccess) {
|
this.btnLoading = false
|
||||||
// 保存成功
|
if (res.IsSuccess) {
|
||||||
this.$message.success(this.$t('common:message:savedSuccessfully'))
|
// 保存成功
|
||||||
|
this.$message.success(
|
||||||
|
this.$t('common:message:savedSuccessfully')
|
||||||
|
)
|
||||||
|
|
||||||
this.$emit('close', { id: res.Result, errorMessage: '' })
|
this.$emit('close', { id: res.Result, errorMessage: '' })
|
||||||
}
|
}
|
||||||
}).catch((res) => {
|
})
|
||||||
if (res.Result && res.Result.Id && res.ErrorMessage) {
|
.catch((res) => {
|
||||||
this.$emit('close', { id: res.Result.Id, errorMessage: res.ErrorMessage })
|
if (res.Result && res.Result.Id && res.ErrorMessage) {
|
||||||
// this.$confirm(res.ErrorMessage, '', {
|
this.$emit('close', {
|
||||||
// type: 'warning'
|
id: res.Result.Id,
|
||||||
// }).then(() => {
|
errorMessage: res.ErrorMessage
|
||||||
// this.$set(this.form, 'LastName', res.Result.LastName)
|
})
|
||||||
// this.$set(this.form, 'FirstName', res.Result.FirstName)
|
// this.$confirm(res.ErrorMessage, '', {
|
||||||
// this.$set(this.form, 'Phone', res.Result.Phone)
|
// type: 'warning'
|
||||||
// this.handleSave()
|
// }).then(() => {
|
||||||
// }).catch(() => {
|
// this.$set(this.form, 'LastName', res.Result.LastName)
|
||||||
|
// this.$set(this.form, 'FirstName', res.Result.FirstName)
|
||||||
|
// this.$set(this.form, 'Phone', res.Result.Phone)
|
||||||
|
// this.handleSave()
|
||||||
|
// }).catch(() => {
|
||||||
|
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
this.btnLoading = false
|
this.btnLoading = false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleTrialRoleChange(v) {
|
handleTrialRoleChange(v) {
|
||||||
|
@ -275,12 +302,15 @@ export default {
|
||||||
},
|
},
|
||||||
// 获取系统用户类型
|
// 获取系统用户类型
|
||||||
getUserType() {
|
getUserType() {
|
||||||
getUserTypeList(3).then(res => {
|
return new Promise((resolve) => {
|
||||||
this.userTypeOptions = res.Result
|
getUserTypeList(3).then((res) => {
|
||||||
var crcObj = res.Result.find(i => i.UserTypeEnum === 2)
|
this.userTypeOptions = res.Result
|
||||||
this.crcId = crcObj ? crcObj.Id : ''
|
var crcObj = res.Result.find((i) => i.UserTypeEnum === 2)
|
||||||
var craObj = res.Result.find(i => i.UserTypeEnum === 9)
|
this.crcId = crcObj ? crcObj.Id : ''
|
||||||
this.craId = craObj ? craObj.Id : ''
|
var craObj = res.Result.find((i) => i.UserTypeEnum === 9)
|
||||||
|
this.craId = craObj ? craObj.Id : ''
|
||||||
|
})
|
||||||
|
resolve()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleIsCorrectChange(val) {
|
handleIsCorrectChange(val) {
|
||||||
|
|
|
@ -295,6 +295,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
formItemChange(v, question) {
|
formItemChange(v, question) {
|
||||||
|
if(question.QuestionType === 55){
|
||||||
|
this.$emit('setFormItemData', {key:question.Id,val:v})
|
||||||
|
}
|
||||||
if (question.Childrens.length > 0) {
|
if (question.Childrens.length > 0) {
|
||||||
this.resetChild(question.Childrens)
|
this.resetChild(question.Childrens)
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,8 @@ export default {
|
||||||
measurements: [],
|
measurements: [],
|
||||||
currentQsId: '',
|
currentQsId: '',
|
||||||
pet5PSId: '',
|
pet5PSId: '',
|
||||||
|
pet5PSCommentsId:'',
|
||||||
|
calculatePet5PS:null,
|
||||||
liverSuvmaxId: '',
|
liverSuvmaxId: '',
|
||||||
lungSuvmaxId: '',
|
lungSuvmaxId: '',
|
||||||
suvmaxId: '',
|
suvmaxId: '',
|
||||||
|
@ -146,6 +148,8 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.questions = questions
|
this.questions = questions
|
||||||
|
this.calculatePet5PS = this.setpet5PS()
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
this.measurements = []
|
this.measurements = []
|
||||||
res.OtherInfo.QuestionMarkInfoList.forEach(i => {
|
res.OtherInfo.QuestionMarkInfoList.forEach(i => {
|
||||||
if (i.OtherMeasureData) {
|
if (i.OtherMeasureData) {
|
||||||
|
@ -179,6 +183,10 @@ export default {
|
||||||
// PET 5PS评分
|
// PET 5PS评分
|
||||||
this.pet5PSId = i.Id
|
this.pet5PSId = i.Id
|
||||||
}
|
}
|
||||||
|
if (i.QuestionType === 59) {
|
||||||
|
// 修改PET 5PS评分备注
|
||||||
|
this.pet5PSCommentsId = i.Id
|
||||||
|
}
|
||||||
if (i.Childrens && i.Childrens.length > 0) {
|
if (i.Childrens && i.Childrens.length > 0) {
|
||||||
this.setChild(i.Childrens)
|
this.setChild(i.Childrens)
|
||||||
}
|
}
|
||||||
|
@ -283,11 +291,12 @@ export default {
|
||||||
var idx = this.measurements.findIndex(i => i.QuestionId === Id)
|
var idx = this.measurements.findIndex(i => i.QuestionId === Id)
|
||||||
if (idx === -1) return
|
if (idx === -1) return
|
||||||
this.$set(this.questionForm, Id, '')
|
this.$set(this.questionForm, Id, '')
|
||||||
this.setpet5PS()
|
var pet5PS = this.setpet5PS()
|
||||||
|
this.questionForm[this.pet5PSId] = pet5PS
|
||||||
|
this.calculatePet5PS = pet5PS
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
FusionEvent.$emit('removeAnnotation', { otherMeasureData: this.measurements[idx].OtherMeasureData, type: 'clear' })
|
FusionEvent.$emit('removeAnnotation', { otherMeasureData: this.measurements[idx].OtherMeasureData, type: 'clear' })
|
||||||
this.measurements.splice(idx, 1)
|
this.measurements.splice(idx, 1)
|
||||||
console.log( this.measurements)
|
|
||||||
this.questionFormChangeState = true
|
|
||||||
},
|
},
|
||||||
locateAnnotation(obj) {
|
locateAnnotation(obj) {
|
||||||
console.log('locateAnnotation')
|
console.log('locateAnnotation')
|
||||||
|
@ -326,7 +335,10 @@ export default {
|
||||||
if (measurement.type === 'CircleROI') {
|
if (measurement.type === 'CircleROI') {
|
||||||
const suvMax = measurement.suvMax
|
const suvMax = measurement.suvMax
|
||||||
this.$set(this.questionForm, obj.QuestionId, suvMax || null)
|
this.$set(this.questionForm, obj.QuestionId, suvMax || null)
|
||||||
this.setpet5PS()
|
var pet5PS = this.setpet5PS()
|
||||||
|
this.questionForm[this.pet5PSId] = pet5PS
|
||||||
|
this.calculatePet5PS = pet5PS
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
}
|
}
|
||||||
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
||||||
this.questionFormChangeState = true
|
this.questionFormChangeState = true
|
||||||
|
@ -359,7 +371,10 @@ export default {
|
||||||
if (measurement.metadata.toolName === 'CircleROI') {
|
if (measurement.metadata.toolName === 'CircleROI') {
|
||||||
// const suvMax = measurement.suvMax
|
// const suvMax = measurement.suvMax
|
||||||
this.$set(this.questionForm, obj.QuestionId, null)
|
this.$set(this.questionForm, obj.QuestionId, null)
|
||||||
this.setpet5PS()
|
var pet5PS = this.setpet5PS()
|
||||||
|
this.questionForm[this.pet5PSId] = pet5PS
|
||||||
|
this.calculatePet5PS = pet5PS
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
}
|
}
|
||||||
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
FusionEvent.$emit('addOrUpdateAnnotations', { data })
|
||||||
this.questionFormChangeState = true
|
this.questionFormChangeState = true
|
||||||
|
@ -368,7 +383,10 @@ export default {
|
||||||
var idx = this.measurements.findIndex(i => i.OrderMarkName === remark)
|
var idx = this.measurements.findIndex(i => i.OrderMarkName === remark)
|
||||||
if (idx === -1) return
|
if (idx === -1) return
|
||||||
this.$set(this.questionForm, this.measurements[idx].QuestionId, '')
|
this.$set(this.questionForm, this.measurements[idx].QuestionId, '')
|
||||||
this.setpet5PS()
|
var pet5PS = this.setpet5PS()
|
||||||
|
this.questionForm[this.pet5PSId] = pet5PS
|
||||||
|
this.calculatePet5PS = pet5PS
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
this.measurements[idx].OtherMeasureData = ''
|
this.measurements[idx].OtherMeasureData = ''
|
||||||
this.currentQsId = this.measurements[idx].QuestionId
|
this.currentQsId = this.measurements[idx].QuestionId
|
||||||
// const { QuestionId, QuestionType } = this.measurements[idx]
|
// const { QuestionId, QuestionType } = this.measurements[idx]
|
||||||
|
@ -379,6 +397,26 @@ export default {
|
||||||
},
|
},
|
||||||
setFormItemData(obj) {
|
setFormItemData(obj) {
|
||||||
this.questionForm[obj.key] = obj.val
|
this.questionForm[obj.key] = obj.val
|
||||||
|
if(obj.key === this.pet5PSId){
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
setPet5PSCommentDisplay(){
|
||||||
|
if( this.pet5PSCommentsId && this.pet5PSId ){
|
||||||
|
for (let i = 0; i < this.questions[0].Childrens[0].Childrens.length; i++) {
|
||||||
|
if (this.questions[0].Childrens[0].Childrens[i].QuestionType === 59) {
|
||||||
|
if(this.calculatePet5PS && this.calculatePet5PS !== this.questionForm[this.pet5PSId]){
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].ShowQuestion = 0
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].IsRequired = 0
|
||||||
|
}else{
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].ShowQuestion = 2
|
||||||
|
this.questions[0].Childrens[0].Childrens[i].IsRequired = 3
|
||||||
|
this.questionForm[this.pet5PSCommentsId] = ''
|
||||||
|
}
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setpet5PS() {
|
setpet5PS() {
|
||||||
console.log('setpet5PS')
|
console.log('setpet5PS')
|
||||||
|
@ -391,18 +429,23 @@ export default {
|
||||||
const lungSUVmax = !isNaN(parseFloat(this.questionForm[this.lungSuvmaxId])) ? parseFloat(this.questionForm[this.lungSuvmaxId]) : 0
|
const lungSUVmax = !isNaN(parseFloat(this.questionForm[this.lungSuvmaxId])) ? parseFloat(this.questionForm[this.lungSuvmaxId]) : 0
|
||||||
if (maxSUVmax > liverSUVmax * 2) {
|
if (maxSUVmax > liverSUVmax * 2) {
|
||||||
// 本访视病灶的 max SUVmax(所有病灶中最大的)>2*肝脏血池SUVmax 5分
|
// 本访视病灶的 max SUVmax(所有病灶中最大的)>2*肝脏血池SUVmax 5分
|
||||||
this.questionForm[this.pet5PSId] = '5'
|
// this.questionForm[this.pet5PSId] = '5'
|
||||||
|
return '5'
|
||||||
} else if (maxSUVmax > liverSUVmax) {
|
} else if (maxSUVmax > liverSUVmax) {
|
||||||
// 本访视病灶的SUVmax(所有病灶中最大的)>肝脏血池SUVmax 4分
|
// 本访视病灶的SUVmax(所有病灶中最大的)>肝脏血池SUVmax 4分
|
||||||
this.questionForm[this.pet5PSId] = '4'
|
// this.questionForm[this.pet5PSId] = '4'
|
||||||
|
return '4'
|
||||||
} else if (maxSUVmax > lungSUVmax && maxSUVmax <= liverSUVmax) {
|
} else if (maxSUVmax > lungSUVmax && maxSUVmax <= liverSUVmax) {
|
||||||
// 纵隔血池SUVmax<本访视点病灶的max SUVmax(所有病灶中最大的)≤1*肝脏血池SUVmax 3分
|
// 纵隔血池SUVmax<本访视点病灶的max SUVmax(所有病灶中最大的)≤1*肝脏血池SUVmax 3分
|
||||||
this.questionForm[this.pet5PSId] = '3'
|
// this.questionForm[this.pet5PSId] = '3'
|
||||||
|
return '3'
|
||||||
} else if (maxSUVmax < lungSUVmax) {
|
} else if (maxSUVmax < lungSUVmax) {
|
||||||
// 本访视点病灶的SUVmax(所有病灶中最大的)<纵隔血池SUVmax 2分
|
// 本访视点病灶的SUVmax(所有病灶中最大的)<纵隔血池SUVmax 2分
|
||||||
this.questionForm[this.pet5PSId] = '2'
|
// this.questionForm[this.pet5PSId] = '2'
|
||||||
|
return '2'
|
||||||
}else{
|
}else{
|
||||||
this.questionForm[this.pet5PSId] = ''
|
// this.questionForm[this.pet5PSId] = ''
|
||||||
|
return ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
resetSuvQuestions() {
|
resetSuvQuestions() {
|
||||||
|
@ -422,7 +465,10 @@ export default {
|
||||||
if (v.Childrens.length > 0) {
|
if (v.Childrens.length > 0) {
|
||||||
this.setSuvChild(v.Childrens)
|
this.setSuvChild(v.Childrens)
|
||||||
}
|
}
|
||||||
this.setpet5PS()
|
var pet5PS = this.setpet5PS()
|
||||||
|
this.questionForm[this.pet5PSId] = pet5PS
|
||||||
|
this.calculatePet5PS = pet5PS
|
||||||
|
this.setPet5PSCommentDisplay()
|
||||||
this.questionFormChangeState = true
|
this.questionFormChangeState = true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -344,9 +344,8 @@ export default {
|
||||||
// if (parseInt(v) !== 5) {
|
// if (parseInt(v) !== 5) {
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
if(question.QuestionType === 49){
|
if (question.QuestionType === 49) {
|
||||||
console.log(question,v)
|
this.$emit('setFormItemData', { key: question.Id, val: v })
|
||||||
this.$emit('setFormItemData', {key:question.Id,val:v})
|
|
||||||
}
|
}
|
||||||
if (question.Childrens.length > 0) {
|
if (question.Childrens.length > 0) {
|
||||||
this.resetChild(question.Childrens)
|
this.resetChild(question.Childrens)
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import { uploadPrintscreen } from '@/api/reading'
|
// import { uploadPrintscreen } from '@/api/reading'
|
||||||
import { saveImageQuality, getSplenicState,getSplenicVerify } from '@/api/trials'
|
import { saveImageQuality, getSplenicState, getSplenicVerify } from '@/api/trials'
|
||||||
import QuestionItem from './QuestionItem'
|
import QuestionItem from './QuestionItem'
|
||||||
import DicomEvent from './DicomEvent'
|
import DicomEvent from './DicomEvent'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
@ -63,7 +63,7 @@ export default {
|
||||||
isQulityIssues: {
|
isQulityIssues: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -76,11 +76,11 @@ export default {
|
||||||
measurements: [],
|
measurements: [],
|
||||||
spleenStatusId: '',
|
spleenStatusId: '',
|
||||||
spleenLengthId: '',
|
spleenLengthId: '',
|
||||||
spleenCommentsId:'',
|
spleenCommentsId: '',
|
||||||
isBaseLineTask: false,
|
isBaseLineTask: false,
|
||||||
criterionType: null,
|
criterionType: null,
|
||||||
spleenInfo:null,
|
spleenInfo: null,
|
||||||
calculateSpleenStatus:''
|
calculateSpleenStatus: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -91,7 +91,7 @@ export default {
|
||||||
deep: true,
|
deep: true,
|
||||||
immediate: false,
|
immediate: false,
|
||||||
handler(v) {
|
handler(v) {
|
||||||
if(this.isQulityIssues){
|
if (this.isQulityIssues) {
|
||||||
DicomEvent.$emit('questionFormChange', true)
|
DicomEvent.$emit('questionFormChange', true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getQuestions(visitTaskId) {
|
async getQuestions(visitTaskId) {
|
||||||
console.log('getQuestions')
|
|
||||||
this.visitTaskId = visitTaskId
|
this.visitTaskId = visitTaskId
|
||||||
// const loading = this.$loading({ fullscreen: true })
|
// const loading = this.$loading({ fullscreen: true })
|
||||||
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === visitTaskId)
|
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === visitTaskId)
|
||||||
|
@ -136,8 +135,8 @@ export default {
|
||||||
}
|
}
|
||||||
this.measurements.push(i)
|
this.measurements.push(i)
|
||||||
})
|
})
|
||||||
if(this.readingTaskState < 2 && !this.isBaseLineTask && !this.spleenInfo){
|
if (this.readingTaskState < 2 && !this.isBaseLineTask && !this.spleenInfo) {
|
||||||
const { Result } = await getSplenicVerify(visitTaskId)
|
const { Result } = await getSplenicVerify(visitTaskId)
|
||||||
this.spleenInfo = Result
|
this.spleenInfo = Result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,8 +160,8 @@ export default {
|
||||||
// 脾脏长度
|
// 脾脏长度
|
||||||
this.spleenLengthId = v.Id
|
this.spleenLengthId = v.Id
|
||||||
}
|
}
|
||||||
if(v.QuestionType === 58){
|
if (v.QuestionType === 58) {
|
||||||
//修改脾脏状态备注
|
// 修改脾脏状态备注
|
||||||
this.spleenCommentsId = v.Id
|
this.spleenCommentsId = v.Id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -173,7 +172,7 @@ export default {
|
||||||
}
|
}
|
||||||
// this.questions = questions
|
// this.questions = questions
|
||||||
}
|
}
|
||||||
if(this.spleenLengthId){
|
if (this.spleenLengthId) {
|
||||||
this.calculateSpleenStatus = this.setSpleenStatus(this.questionForm[this.spleenLengthId])
|
this.calculateSpleenStatus = this.setSpleenStatus(this.questionForm[this.spleenLengthId])
|
||||||
this.setSpleenCommentDisplay()
|
this.setSpleenCommentDisplay()
|
||||||
}
|
}
|
||||||
|
@ -196,10 +195,9 @@ export default {
|
||||||
if (i.QuestionType === 48) {
|
if (i.QuestionType === 48) {
|
||||||
// 脾脏长度
|
// 脾脏长度
|
||||||
this.spleenLengthId = i.Id
|
this.spleenLengthId = i.Id
|
||||||
|
|
||||||
}
|
}
|
||||||
if(i.QuestionType === 58){
|
if (i.QuestionType === 58) {
|
||||||
//修改脾脏状态备注
|
// 修改脾脏状态备注
|
||||||
this.spleenCommentsId = i.Id
|
this.spleenCommentsId = i.Id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -221,14 +219,14 @@ export default {
|
||||||
if (currentSpleenLength && currentSpleenStatus === 5) {
|
if (currentSpleenLength && currentSpleenStatus === 5) {
|
||||||
// '脾脏状态为不可评估,不需要添加标记!'
|
// '脾脏状态为不可评估,不需要添加标记!'
|
||||||
this.$alert(this.$t('trials:lugano:message:validSpleen1'), this.$t('trials:lugano:fusionDialog:warning'), {
|
this.$alert(this.$t('trials:lugano:message:validSpleen1'), this.$t('trials:lugano:fusionDialog:warning'), {
|
||||||
callback: _ => {}
|
callback: _ => {}
|
||||||
})
|
})
|
||||||
}else if(currentSpleenLength === 5 && idx> -1 && this.measurements[idx].MeasureData){
|
} else if (currentSpleenLength === 5 && idx > -1 && this.measurements[idx].MeasureData) {
|
||||||
// 若有标记,状态不可为“无法评估”
|
// 若有标记,状态不可为“无法评估”
|
||||||
this.$alert(this.$t('trials:lugano:message:validSpleen1'), this.$t('trials:lugano:fusionDialog:warning'), {
|
this.$alert(this.$t('trials:lugano:message:validSpleen1'), this.$t('trials:lugano:fusionDialog:warning'), {
|
||||||
callback: _ => {}
|
callback: _ => {}
|
||||||
})
|
})
|
||||||
}else{
|
} else {
|
||||||
this.saveQuestionsList()
|
this.saveQuestionsList()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -274,7 +272,7 @@ export default {
|
||||||
await store.dispatch('reading/refreshDicomReadingQuestionAnswer', { trialId: trialId, visitTaskId: this.visitTaskId })
|
await store.dispatch('reading/refreshDicomReadingQuestionAnswer', { trialId: trialId, visitTaskId: this.visitTaskId })
|
||||||
this.getQuestions(this.visitTaskId)
|
this.getQuestions(this.visitTaskId)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if(this.isQulityIssues){
|
if (this.isQulityIssues) {
|
||||||
DicomEvent.$emit('questionFormChange', false)
|
DicomEvent.$emit('questionFormChange', false)
|
||||||
}
|
}
|
||||||
DicomEvent.$emit('getReportInfo', true)
|
DicomEvent.$emit('getReportInfo', true)
|
||||||
|
@ -296,15 +294,14 @@ export default {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
setSpleenCommentDisplay(){
|
setSpleenCommentDisplay() {
|
||||||
console.log('setSpleenCommentDisplay')
|
if (this.spleenCommentsId && this.spleenStatusId) {
|
||||||
if( this.spleenCommentsId && this.spleenStatusId ){
|
|
||||||
for (let i = 0; i < this.questions[0].Childrens.length; i++) {
|
for (let i = 0; i < this.questions[0].Childrens.length; i++) {
|
||||||
if (this.questions[0].Childrens[i].QuestionType === 58) {
|
if (this.questions[0].Childrens[i].QuestionType === 58) {
|
||||||
if(this.calculateSpleenStatus && this.calculateSpleenStatus !== this.questionForm[this.spleenStatusId]){
|
if (this.calculateSpleenStatus && this.calculateSpleenStatus !== this.questionForm[this.spleenStatusId]) {
|
||||||
this.questions[0].Childrens[i].ShowQuestion = 0
|
this.questions[0].Childrens[i].ShowQuestion = 0
|
||||||
this.questions[0].Childrens[i].IsRequired = 0
|
this.questions[0].Childrens[i].IsRequired = 0
|
||||||
}else{
|
} else {
|
||||||
this.questions[0].Childrens[i].ShowQuestion = 2
|
this.questions[0].Childrens[i].ShowQuestion = 2
|
||||||
this.questions[0].Childrens[i].IsRequired = 3
|
this.questions[0].Childrens[i].IsRequired = 3
|
||||||
this.questionForm[this.spleenCommentsId] = ''
|
this.questionForm[this.spleenCommentsId] = ''
|
||||||
|
@ -392,7 +389,7 @@ export default {
|
||||||
var idx = this.measurements.findIndex(i => i.QuestionId === Id)
|
var idx = this.measurements.findIndex(i => i.QuestionId === Id)
|
||||||
if (idx === -1) return
|
if (idx === -1) return
|
||||||
this.$set(this.questionForm, Id, '')
|
this.$set(this.questionForm, Id, '')
|
||||||
if (this.measurements[idx].QuestionType === 48){
|
if (this.measurements[idx].QuestionType === 48) {
|
||||||
this.$set(this.questionForm, this.spleenStatusId, '')
|
this.$set(this.questionForm, this.spleenStatusId, '')
|
||||||
}
|
}
|
||||||
await store.dispatch('reading/removeNonTargetMeasuredData', { visitTaskId: this.visitTaskId, measureData: this.measurements[idx].MeasureData, questionId: Id })
|
await store.dispatch('reading/removeNonTargetMeasuredData', { visitTaskId: this.visitTaskId, measureData: this.measurements[idx].MeasureData, questionId: Id })
|
||||||
|
@ -447,7 +444,7 @@ export default {
|
||||||
if (measurement.type === 'Length') {
|
if (measurement.type === 'Length') {
|
||||||
const length = measurement.data.length ? measurement.data.length : null
|
const length = measurement.data.length ? measurement.data.length : null
|
||||||
this.$set(this.questionForm, this.measurements[idx].QuestionId, length || null)
|
this.$set(this.questionForm, this.measurements[idx].QuestionId, length || null)
|
||||||
if (this.measurements[idx].QuestionType === 48){
|
if (this.measurements[idx].QuestionType === 48) {
|
||||||
var status = this.setSpleenStatus(length)
|
var status = this.setSpleenStatus(length)
|
||||||
this.$set(this.questionForm, this.spleenStatusId, status)
|
this.$set(this.questionForm, this.spleenStatusId, status)
|
||||||
this.calculateSpleenStatus = status
|
this.calculateSpleenStatus = status
|
||||||
|
@ -463,34 +460,34 @@ export default {
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
store.dispatch('reading/addOrUpdateNonTargetMeasuredData', { visitTaskId: this.visitTaskId, data: data })
|
store.dispatch('reading/addOrUpdateNonTargetMeasuredData', { visitTaskId: this.visitTaskId, data: data })
|
||||||
if(this.isQulityIssues){
|
if (this.isQulityIssues) {
|
||||||
DicomEvent.$emit('questionFormChange', true)
|
DicomEvent.$emit('questionFormChange', true)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setSpleenStatus(length){
|
setSpleenStatus(length) {
|
||||||
var status = ''
|
var status = ''
|
||||||
if(length){
|
if (length) {
|
||||||
if(this.isBaseLineTask){
|
if (this.isBaseLineTask) {
|
||||||
// 直径≤130mm时,系统默认脾脏状态为“正常”
|
// 直径≤130mm时,系统默认脾脏状态为“正常”
|
||||||
if(length <= 130){
|
if (length <= 130) {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '1')
|
// this.$set(this.questionForm, this.spleenStatusId, '1')
|
||||||
// this.calculateSpleenStatus = '1'
|
// this.calculateSpleenStatus = '1'
|
||||||
status = '1'
|
status = '1'
|
||||||
}
|
}
|
||||||
// 直径>130mm时,系统默认脾脏状态为“肿大”
|
// 直径>130mm时,系统默认脾脏状态为“肿大”
|
||||||
if(length > 130){
|
if (length > 130) {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '6')
|
// this.$set(this.questionForm, this.spleenStatusId, '6')
|
||||||
// this.calculateSpleenStatus = '6'
|
// this.calculateSpleenStatus = '6'
|
||||||
status = '6'
|
status = '6'
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
// 与基线相比脾垂直径变化值
|
// 与基线相比脾垂直径变化值
|
||||||
var diffFromBaseline = length - this.spleenInfo.BaseLineSpleenLength
|
var diffFromBaseline = length - this.spleenInfo.BaseLineSpleenLength
|
||||||
var percentFormBaseline = 0
|
var percentFormBaseline = 0
|
||||||
if(this.spleenInfo.BaseLineSpleenLength){
|
if (this.spleenInfo.BaseLineSpleenLength) {
|
||||||
percentFormBaseline = length * 100 / (this.spleenInfo.BaseLineSpleenLength - 130)
|
percentFormBaseline = diffFromBaseline * 100 / (this.spleenInfo.BaseLineSpleenLength - 130)
|
||||||
}
|
}
|
||||||
if(this.spleenInfo.BaseLineSpleenLength > 130 && diffFromBaseline >= 10 && percentFormBaseline > 50){
|
if (this.spleenInfo.BaseLineSpleenLength > 130 && diffFromBaseline >= 10 && percentFormBaseline > 50) {
|
||||||
// 1、基线 垂直径>130 mm
|
// 1、基线 垂直径>130 mm
|
||||||
// 2、与基线相比脾垂直径变化值≥10 mm
|
// 2、与基线相比脾垂直径变化值≥10 mm
|
||||||
// 3、与基线相比脾肿大增加的百分比>50%
|
// 3、与基线相比脾肿大增加的百分比>50%
|
||||||
|
@ -498,7 +495,7 @@ export default {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
||||||
// this.calculateSpleenStatus = '4'
|
// this.calculateSpleenStatus = '4'
|
||||||
status = '4'
|
status = '4'
|
||||||
}else if( this.spleenInfo.BaseLineSpleenLength <= 130 && diffFromBaseline >= 20 && length > 130){
|
} else if (this.spleenInfo.BaseLineSpleenLength <= 130 && diffFromBaseline >= 20 && length > 130) {
|
||||||
// 1、基线垂直径≤130mm
|
// 1、基线垂直径≤130mm
|
||||||
// 2、与基线相比脾垂直径变化值≥20 mm
|
// 2、与基线相比脾垂直径变化值≥20 mm
|
||||||
// 3、当前垂直径>130 mm
|
// 3、当前垂直径>130 mm
|
||||||
|
@ -506,7 +503,7 @@ export default {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
||||||
// this.calculateSpleenStatus = '4'
|
// this.calculateSpleenStatus = '4'
|
||||||
status = '4'
|
status = '4'
|
||||||
}else if( this.spleenInfo.BaseLineSpleenLength > 130 && this.spleenInfo.LowSpleenLength <= 130 && diffFromBaseline >= 20 && length > 130){
|
} else if (this.spleenInfo.BaseLineSpleenLength > 130 && this.spleenInfo.LowSpleenLength <= 130 && diffFromBaseline >= 20 && length > 130) {
|
||||||
// 1、基线 垂直径>130 mm
|
// 1、基线 垂直径>130 mm
|
||||||
// 2、当前访视的前面访视中 存在垂直径≤130mm
|
// 2、当前访视的前面访视中 存在垂直径≤130mm
|
||||||
// 3、与最低点相比脾脏垂直径的增加值≥20 mm
|
// 3、与最低点相比脾脏垂直径的增加值≥20 mm
|
||||||
|
@ -515,20 +512,20 @@ export default {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
// this.$set(this.questionForm, this.spleenStatusId, '4')
|
||||||
// this.calculateSpleenStatus = '4'
|
// this.calculateSpleenStatus = '4'
|
||||||
status = '4'
|
status = '4'
|
||||||
}else if(length < 130){
|
} else if (length < 130) {
|
||||||
// 当前访视的垂直径≤130mm
|
// 当前访视的垂直径≤130mm
|
||||||
// 系统默认脾脏状态为“正常”
|
// 系统默认脾脏状态为“正常”
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '1')
|
// this.$set(this.questionForm, this.spleenStatusId, '1')
|
||||||
// this.calculateSpleenStatus = '1'
|
// this.calculateSpleenStatus = '1'
|
||||||
status = '1'
|
status = '1'
|
||||||
}else if(this.spleenInfo.BaseLineState === '6' && percentFormBaseline < -50){
|
} else if (this.spleenInfo.BaseLineState === '6' && percentFormBaseline < -50) {
|
||||||
// 1、基线期 状态为“肿大”
|
// 1、基线期 状态为“肿大”
|
||||||
// 2、与基线相比脾肿大增加的百分比小于-50%
|
// 2、与基线相比脾肿大增加的百分比小于-50%
|
||||||
// 系统默认脾脏状态为“部分缓解”
|
// 系统默认脾脏状态为“部分缓解”
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '2')
|
// this.$set(this.questionForm, this.spleenStatusId, '2')
|
||||||
// this.calculateSpleenStatus = '2'
|
// this.calculateSpleenStatus = '2'
|
||||||
status = '2'
|
status = '2'
|
||||||
}else{
|
} else {
|
||||||
// this.$set(this.questionForm, this.spleenStatusId, '3')
|
// this.$set(this.questionForm, this.spleenStatusId, '3')
|
||||||
// this.calculateSpleenStatus = '3'
|
// this.calculateSpleenStatus = '3'
|
||||||
status = '3'
|
status = '3'
|
||||||
|
@ -549,7 +546,7 @@ export default {
|
||||||
},
|
},
|
||||||
setFormItemData(obj) {
|
setFormItemData(obj) {
|
||||||
this.questionForm[obj.key] = obj.val
|
this.questionForm[obj.key] = obj.val
|
||||||
if(obj.key === this.spleenStatusId){
|
if (obj.key === this.spleenStatusId) {
|
||||||
this.setSpleenCommentDisplay()
|
this.setSpleenCommentDisplay()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,13 +26,24 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
</template> -->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<template v-if="(scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===1 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===5)) || (!scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===2 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===6)) || (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===0 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===4)">
|
||||||
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
|
</span>
|
||||||
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
|
@ -85,20 +96,20 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||||
|
v-if="qs.isShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
prop=""
|
prop=""
|
||||||
:label="qs"
|
:label="qs.questionName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:min-width="index === 3 ? '200' : '200'"
|
:min-width="index === 3 ? '200' : '200'"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="readingTaskState<2">
|
<div v-if="readingTaskState<2 && (scope.row.AfterQuestionList[index].GlobalReadingShowType === 0 || (scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 1) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 2))">
|
||||||
<span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
<!-- <span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
||||||
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
||||||
</span>
|
</span> -->
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-else
|
|
||||||
style="margin-bottom: 0;"
|
style="margin-bottom: 0;"
|
||||||
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
||||||
label=""
|
label=""
|
||||||
|
@ -255,7 +266,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row.AfterQuestionList.length>index && scope.row.AfterQuestionList[index].Answer">
|
<div v-else>
|
||||||
|
|
||||||
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
||||||
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
||||||
|
|
|
@ -88,9 +88,10 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||||
|
v-if="qs.isShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
prop=""
|
prop=""
|
||||||
:label="qs"
|
:label="qs.questionName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:min-width="index === 3 ? '200' : '200'"
|
:min-width="index === 3 ? '200' : '200'"
|
||||||
>
|
>
|
||||||
|
@ -331,6 +332,7 @@ export default {
|
||||||
...mapGetters(['language'])
|
...mapGetters(['language'])
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
console.log(this.globalInfo)
|
||||||
this.assessTypes = this.globalInfo.assessTypeList.filter(i => i.IsBaseLineUse === this.isBaseline)
|
this.assessTypes = this.globalInfo.assessTypeList.filter(i => i.IsBaseLineUse === this.isBaseline)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -448,7 +450,6 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log(this.globalForm)
|
|
||||||
},
|
},
|
||||||
getAssessType(v) {
|
getAssessType(v) {
|
||||||
console.log(this.language)
|
console.log(this.language)
|
||||||
|
|
|
@ -26,14 +26,16 @@
|
||||||
width="200"
|
width="200"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer">
|
<template v-if="(scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===1 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===5)) || (!scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===2 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===6)) || (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===0 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===4)">
|
||||||
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer">
|
||||||
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
</span>
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
<span v-else-if="scope.row.BeforeQuestionList[index].QuestionType === 22">{{ scope.row.BeforeQuestionList[index].Answer === '-1' ? $t('trials:readingReport:title:unknow') : scope.row.BeforeQuestionList[index].Answer }}</span>
|
</span>
|
||||||
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
<span v-else-if="scope.row.BeforeQuestionList[index].QuestionType === 22">{{ scope.row.BeforeQuestionList[index].Answer === '-1' ? $t('trials:readingReport:title:unknow') : scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
</div>
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
</template>
|
</div>
|
||||||
|
</template>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -47,18 +49,18 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||||
|
v-if="qs.isShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
prop=""
|
prop=""
|
||||||
:label="qs"
|
:label="qs.questionName"
|
||||||
:width="index > 0 ? '300' : '200'"
|
:width="index > 0 ? '300' : '200'"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="readingTaskState<2 ">
|
<div v-if="readingTaskState<2 && (scope.row.AfterQuestionList[index].GlobalReadingShowType === 0 || (scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 1) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 2))">
|
||||||
<span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
<!-- <span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
||||||
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
||||||
</span>
|
</span> -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-else
|
|
||||||
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
||||||
label=""
|
label=""
|
||||||
:rules="[
|
:rules="[
|
||||||
|
@ -107,7 +109,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row.AfterQuestionList.length>index && scope.row.AfterQuestionList[index].Answer">
|
<div v-else>
|
||||||
|
|
||||||
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
||||||
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
||||||
|
@ -181,7 +183,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log(this.globalInfo.adjustedQsList)
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
selectChange(v, row, index) {
|
selectChange(v, row, index) {
|
||||||
|
|
|
@ -26,13 +26,24 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
</template> -->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<template v-if="(scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===1 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===5)) || (!scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===2 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===6)) || (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===0 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===4)">
|
||||||
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
|
</span>
|
||||||
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
|
@ -85,20 +96,20 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||||
|
v-if="qs.isShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
prop=""
|
prop=""
|
||||||
:label="qs"
|
:label="qs.questionName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:min-width="index === 3 ? '200' : '200'"
|
:min-width="index === 3 ? '200' : '200'"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="readingTaskState<2">
|
<div v-if="readingTaskState<2 && (scope.row.AfterQuestionList[index].GlobalReadingShowType === 0 || (scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 1) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 2))">
|
||||||
<span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
<!-- <span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
||||||
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
||||||
</span>
|
</span> -->
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-else
|
|
||||||
style="margin-bottom: 0;"
|
style="margin-bottom: 0;"
|
||||||
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
||||||
label=""
|
label=""
|
||||||
|
@ -253,7 +264,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row.AfterQuestionList.length>index && scope.row.AfterQuestionList[index].Answer">
|
<div v-else>
|
||||||
|
|
||||||
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
||||||
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
||||||
|
|
|
@ -26,13 +26,24 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
</template> -->
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<template v-if="(scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===1 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===5)) || (!scope.row.IsBaseLine && (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===2 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===6)) || (scope.row.BeforeQuestionList[index].GlobalReadingShowType ===0 || scope.row.BeforeQuestionList[index].GlobalReadingShowType ===4)">
|
||||||
|
<div v-if="scope.row.BeforeQuestionList.length>index && scope.row.BeforeQuestionList[index].Answer" :style="{color: scope.row.BeforeQuestionList[index].IsGlobalAnswer ? '#f66' : null}">
|
||||||
|
<span v-if="scope.row.BeforeQuestionList[index].DictionaryCode">
|
||||||
|
{{ $fd(scope.row.BeforeQuestionList[index].DictionaryCode,parseInt(scope.row.BeforeQuestionList[index].Answer)) }}
|
||||||
|
</span>
|
||||||
|
<span v-else>{{ scope.row.BeforeQuestionList[index].Answer }}</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</template>
|
</template>
|
||||||
|
@ -85,19 +96,19 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="(qs,index) in globalInfo.adjustedQsList"
|
v-for="(qs,index) in globalInfo.adjustedQsList"
|
||||||
|
v-if="qs.isShow"
|
||||||
:key="index"
|
:key="index"
|
||||||
prop=""
|
prop=""
|
||||||
:label="qs"
|
:label="qs.questionName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:min-width="index === 3 ? '200' : '200'"
|
:min-width="index === 3 ? '200' : '200'"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="readingTaskState<2">
|
<div v-if="readingTaskState<2 && (scope.row.AfterQuestionList[index].GlobalReadingShowType === 0 || (scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 1) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].GlobalReadingShowType === 2))">
|
||||||
<span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
<!-- <span v-if="(scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 2) || (!scope.row.IsBaseLine && scope.row.AfterQuestionList[index].LimitEdit === 1)">
|
||||||
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
{{ $fd(scope.row.AfterQuestionList[index].DictionaryCode, parseInt(scope.row.AfterQuestionList[index].VisitAnswer)) }}
|
||||||
</span>
|
</span> -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
v-else
|
|
||||||
style="margin-bottom: 0;"
|
style="margin-bottom: 0;"
|
||||||
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
:prop="`${scope.$index}${scope.row.AfterQuestionList[index].QuestionId?scope.row.AfterQuestionList[index].QuestionId:scope.row.AfterQuestionList[index].GlobalAnswerType}`"
|
||||||
label=""
|
label=""
|
||||||
|
@ -246,7 +257,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="scope.row.AfterQuestionList.length>index && scope.row.AfterQuestionList[index].Answer">
|
<div v-else>
|
||||||
|
|
||||||
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
<span v-if="scope.row.AfterQuestionList[index].GlobalAnswerType === 3">
|
||||||
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
{{ getAssessType(scope.row.AfterQuestionList[index].Answer) }}
|
||||||
|
|
|
@ -257,17 +257,22 @@ export default {
|
||||||
evaluationQsList.push(qs.QuestionName)
|
evaluationQsList.push(qs.QuestionName)
|
||||||
})
|
})
|
||||||
qs.AfterQuestionList.map(qs => {
|
qs.AfterQuestionList.map(qs => {
|
||||||
|
console.log(qs)
|
||||||
if (qs.GlobalAnswerType === 1 && (this.CriterionType === 10)) {
|
if (qs.GlobalAnswerType === 1 && (this.CriterionType === 10)) {
|
||||||
// 访视阅片备注
|
// 访视阅片备注
|
||||||
adjustedQsList.push(this.$t('trials:globalReview:table:visitRemark'))
|
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:visitRemark'),isShow:true})
|
||||||
} else if (qs.GlobalAnswerType === 1 && (this.CriterionType !== 10)) {
|
} else if (qs.GlobalAnswerType === 1 && (this.CriterionType !== 10)) {
|
||||||
// 全局阅片备注
|
// 全局阅片备注
|
||||||
adjustedQsList.push(this.$t('trials:globalReview:table:globalRemark'))
|
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:globalRemark'),isShow:true})
|
||||||
} else if (qs.GlobalAnswerType === 3 && (this.CriterionType !== 10)) {
|
} else if (qs.GlobalAnswerType === 3 && (this.CriterionType !== 10)) {
|
||||||
// 评估更新类型
|
// 评估更新类型
|
||||||
adjustedQsList.push(this.$t('trials:globalReview:table:updateType'))
|
adjustedQsList.push({questionName:this.$t('trials:globalReview:table:updateType'),isShow:true})
|
||||||
} else {
|
} else {
|
||||||
adjustedQsList.push(qs.QuestionName)
|
var isShow = true
|
||||||
|
if(this.CriterionType === 2 && (qs.QuestionType === 39 || qs.QuestionType === 40 || qs.QuestionType === 41)){
|
||||||
|
isShow = false
|
||||||
|
}
|
||||||
|
adjustedQsList.push({questionName:qs.QuestionName,isShow:isShow})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
qs.AgreeOrNot.map(qs => {
|
qs.AgreeOrNot.map(qs => {
|
||||||
|
|
|
@ -122,10 +122,15 @@
|
||||||
<!-- 结论 -->
|
<!-- 结论 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="EvaluationResult"
|
prop="EvaluationResult"
|
||||||
:label="$t('trials:oncologyReview:title:findings')"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
width="150"
|
width="150"
|
||||||
>
|
>
|
||||||
|
<template slot="header" slot-scope="scope">
|
||||||
|
<div>
|
||||||
|
<span>{{ $t('trials:oncologyReview:title:findings') }}</span>
|
||||||
|
<span style="color:red">*</span>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-select
|
<el-select
|
||||||
v-if="oncologyInfo.ReadingTaskState < 2 && !scope.row.IsBaseLine"
|
v-if="oncologyInfo.ReadingTaskState < 2 && !scope.row.IsBaseLine"
|
||||||
|
@ -156,7 +161,7 @@
|
||||||
<div>
|
<div>
|
||||||
<!-- 原因 -->
|
<!-- 原因 -->
|
||||||
<span>{{ $t('trials:oncologyReview:title:reason') }}</span>
|
<span>{{ $t('trials:oncologyReview:title:reason') }}</span>
|
||||||
<span style="color:red">*</span>
|
<span style="color:red">!</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
Loading…
Reference in New Issue