Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
7d9cededbf
|
@ -151,7 +151,7 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12" v-if="systemLevel">
|
||||||
<el-form-item label="是否区分标准" prop="IsDistinguishCriteria">
|
<el-form-item label="是否区分标准" prop="IsDistinguishCriteria">
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.IsDistinguishCriteria"
|
v-model="form.IsDistinguishCriteria"
|
||||||
|
@ -310,6 +310,12 @@ export default {
|
||||||
return 0
|
return 0
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
isDistinguishCriteria: {
|
||||||
|
type: Boolean,
|
||||||
|
default() {
|
||||||
|
return false
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
components: { vcrontab },
|
components: { vcrontab },
|
||||||
data() {
|
data() {
|
||||||
|
@ -391,6 +397,8 @@ export default {
|
||||||
this.form.EmailUrgentEnum = 3
|
this.form.EmailUrgentEnum = 3
|
||||||
this.form.IsReturnRequired = false
|
this.form.IsReturnRequired = false
|
||||||
this.form.IsDistinguishCriteria = false
|
this.form.IsDistinguishCriteria = false
|
||||||
|
} else {
|
||||||
|
this.form.IsDistinguishCriteria = this.isDistinguishCriteria
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<box-content>
|
<box-content>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<el-form
|
<el-form :inline="true" size="mini" class="base-search-form">
|
||||||
v-if="!systemLevel"
|
<el-form-item label="是否需要回执:" v-if="!systemLevel">
|
||||||
:inline="true"
|
|
||||||
size="mini"
|
|
||||||
class="base-search-form"
|
|
||||||
>
|
|
||||||
<el-form-item label="是否需要回执:">
|
|
||||||
<el-select
|
<el-select
|
||||||
v-model="searchData.IsReturnRequired"
|
v-model="searchData.IsReturnRequired"
|
||||||
clearable
|
clearable
|
||||||
|
@ -21,7 +16,7 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否加急:">
|
<el-form-item label="是否加急:" v-if="!systemLevel">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="searchData.IsUrgent"
|
v-model="searchData.IsUrgent"
|
||||||
clearable
|
clearable
|
||||||
|
@ -35,7 +30,7 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否启用:">
|
<el-form-item label="是否启用:" v-if="!systemLevel">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="searchData.IsEnable"
|
v-model="searchData.IsEnable"
|
||||||
clearable
|
clearable
|
||||||
|
@ -51,7 +46,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:label="$t('trials:auditRecord:table:criterion')"
|
:label="$t('trials:auditRecord:table:criterion')"
|
||||||
v-if="isDistinguishCriteria"
|
v-if="isDistinguishCriteria && !systemLevel"
|
||||||
>
|
>
|
||||||
<el-select
|
<el-select
|
||||||
v-model="searchData.CriterionTypeEnum"
|
v-model="searchData.CriterionTypeEnum"
|
||||||
|
@ -66,6 +61,67 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:emailManageCfg:form:BusinessModule')">
|
||||||
|
<el-select
|
||||||
|
v-model="searchData.BusinessModuleEnum"
|
||||||
|
clearable
|
||||||
|
style="width: 100px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.BusinessModule"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:key="item.id"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
:label="$t('trials:emailManageCfg:form:BusinessScenario')"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="searchData.BusinessScenarioEnum"
|
||||||
|
clearable
|
||||||
|
style="width: 100px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.Email_BusinessScenario"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:key="item.id"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item :label="$t('trials:emailManageCfg:form:ToUserType')">
|
||||||
|
<el-select
|
||||||
|
v-model="searchData.ToUserType"
|
||||||
|
clearable
|
||||||
|
style="width: 100px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of UserTypeList"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:key="item.id"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
:label="$t('trials:emailManageCfg:form:EmailUrgent')"
|
||||||
|
v-if="systemLevel === 1"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="searchData.EmailUrgentEnum"
|
||||||
|
clearable
|
||||||
|
style="width: 100px"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item of $d.EmailUrgent"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:key="item.id"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="handleSearch">查询</el-button>
|
<el-button type="primary" @click="handleSearch">查询</el-button>
|
||||||
<el-button type="primary" @click="handleReset">重置</el-button>
|
<el-button type="primary" @click="handleReset">重置</el-button>
|
||||||
|
@ -164,13 +220,12 @@
|
||||||
{{ $fd('Email_BusinessScenario', scope.row.BusinessScenarioEnum) }}
|
{{ $fd('Email_BusinessScenario', scope.row.BusinessScenarioEnum) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 收件人 -->
|
<!-- 收件人v-if="systemLevel !== 1" -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ToUserTypeList"
|
prop="ToUserTypeList"
|
||||||
:label="$t('trials:emailManageCfg:title:toUserTypeList')"
|
:label="$t('trials:emailManageCfg:title:toUserTypeList')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="100"
|
min-width="100"
|
||||||
v-if="systemLevel !== 1"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
{{
|
||||||
|
@ -182,13 +237,12 @@
|
||||||
}}
|
}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 抄送人 -->
|
<!-- 抄送人v-if="!systemLevel" -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="CopyUserTypeList"
|
prop="CopyUserTypeList"
|
||||||
:label="$t('trials:emailManageCfg:title:copyUserTypeList')"
|
:label="$t('trials:emailManageCfg:title:copyUserTypeList')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="100"
|
min-width="100"
|
||||||
v-if="!systemLevel"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
{{
|
||||||
|
@ -200,25 +254,25 @@
|
||||||
}}
|
}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!---v-if="!systemLevel"-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="EmailUrgentEnum"
|
prop="EmailUrgentEnum"
|
||||||
label="加急状态"
|
label="加急状态"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="100"
|
min-width="100"
|
||||||
v-if="!systemLevel"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ $fd('EmailUrgent', scope.row.EmailUrgentEnum) }}
|
{{ $fd('EmailUrgent', scope.row.EmailUrgentEnum) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!---v-if="!systemLevel"-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="EmailCron"
|
prop="EmailCron"
|
||||||
label="发送周期和时间"
|
label="发送周期和时间"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="160"
|
min-width="160"
|
||||||
v-if="!systemLevel"
|
|
||||||
/>
|
/>
|
||||||
<!-- 附件 -->
|
<!-- 附件 -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
@ -341,6 +395,7 @@
|
||||||
<EmailForm
|
<EmailForm
|
||||||
:data="rowData"
|
:data="rowData"
|
||||||
:system-level="systemLevel"
|
:system-level="systemLevel"
|
||||||
|
:isDistinguishCriteria="isDistinguishCriteria"
|
||||||
@closeDialog="closeDialog"
|
@closeDialog="closeDialog"
|
||||||
@getList="getList"
|
@getList="getList"
|
||||||
@PreviewHTML="preview"
|
@PreviewHTML="preview"
|
||||||
|
@ -392,6 +447,10 @@ const searchDataDefault = () => {
|
||||||
IsUrgent: '',
|
IsUrgent: '',
|
||||||
IsEnable: '',
|
IsEnable: '',
|
||||||
CriterionTypeEnum: null,
|
CriterionTypeEnum: null,
|
||||||
|
BusinessModuleEnum: null,
|
||||||
|
BusinessScenarioEnum: null,
|
||||||
|
EmailUrgentEnum: null,
|
||||||
|
ToUserType: null,
|
||||||
PageIndex: 1,
|
PageIndex: 1,
|
||||||
PageSize: 20,
|
PageSize: 20,
|
||||||
SortField: 'Code',
|
SortField: 'Code',
|
||||||
|
@ -430,6 +489,17 @@ export default {
|
||||||
previewHTML: null,
|
previewHTML: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
UserTypeList() {
|
||||||
|
if (this.systemLevel === 1) {
|
||||||
|
return this.$d.UserType
|
||||||
|
} else {
|
||||||
|
return this.$d.UserType.filter(
|
||||||
|
(item) => ![7, 31, 32, 21, 26, 27].includes(item.value)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
|
@ -216,11 +216,7 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
{{ !isEN ? scope.row.HospitalCN : scope.row.Hospital }}
|
||||||
!isEN
|
|
||||||
? `${scope.row.Hospital} / ${scope.row.HospitalCN}`
|
|
||||||
: scope.row.Hospital
|
|
||||||
}}
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.StartTime"
|
<span v-if="scope.row.StartTime"
|
||||||
>{{ scope.row.StartTime.split('-')[0] }}-{{
|
>{{ scope.row.StartTime.split('-')[0] }} ~ {{
|
||||||
scope.row.EndTime ? scope.row.EndTime.split('-')[0] : '至今'
|
scope.row.EndTime ? scope.row.EndTime.split('-')[0] : '至今'
|
||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
|
|
|
@ -69,7 +69,9 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.StartTime"
|
<span v-if="scope.row.StartTime"
|
||||||
>{{ scope.row.StartTime.split('-')[0] }}-{{
|
>{{ scope.row.StartTime.split('-')[0] }}-{{
|
||||||
scope.row.EndTime ? scope.row.EndTime.split('-')[0] : ''
|
scope.row.EndTime
|
||||||
|
? scope.row.EndTime.split('-')[0]
|
||||||
|
: $t('curriculumVitae:lineIIcon:soFar')
|
||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:time')"
|
:label="$t('curriculumVitae:continuingTraining:table:time')"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.BeginDateStr }}-{{ scope.row.EndDateStr }}</span>
|
<span>{{ scope.row.BeginDateStr }} ~ {{ scope.row.EndDateStr }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:time')"
|
:label="$t('curriculumVitae:EducationalExperience:table:time')"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.BeginDateStr }}-{{ scope.row.EndDateStr }}</span>
|
<span>{{ scope.row.BeginDateStr }} ~ {{ scope.row.EndDateStr }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
|
@ -111,7 +111,7 @@ export default {
|
||||||
this.$emit('update:visible', false)
|
this.$emit('update:visible', false)
|
||||||
},
|
},
|
||||||
handleAddHoliday() {
|
handleAddHoliday() {
|
||||||
if (this.daterange) {
|
if (this.daterange && this.daterange.length > 0) {
|
||||||
const param = {
|
const param = {
|
||||||
DoctorId: this.reviewerId,
|
DoctorId: this.reviewerId,
|
||||||
StartDate: this.daterange[0],
|
StartDate: this.daterange[0],
|
||||||
|
|
|
@ -371,6 +371,9 @@
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:indication')"
|
:label="$t('curriculumVitae:clinicalTrials:table:indication')"
|
||||||
v-if="true"
|
v-if="true"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ $fd('Indication', scope.row.IndicationEnum) }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="VisitReadingCount"
|
prop="VisitReadingCount"
|
||||||
|
@ -386,7 +389,9 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.StartTime"
|
<span v-if="scope.row.StartTime"
|
||||||
>{{ scope.row.StartTime.split('-')[0] }}-{{
|
>{{ scope.row.StartTime.split('-')[0] }}-{{
|
||||||
scope.row.EndTime ? scope.row.EndTime.split('-')[0] : ''
|
scope.row.EndTime
|
||||||
|
? scope.row.EndTime.split('-')[0]
|
||||||
|
: $t('curriculumVitae:lineIIcon:soFar')
|
||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue