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