邮件管理字段变更
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
07fe167eac
commit
0a53860620
|
@ -59,7 +59,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="IsSystemLevel < 2">
|
||||
<el-col :span="12" v-if="systemLevel !== 1">
|
||||
<el-form-item label="收件人" prop="ToUserTypeList">
|
||||
<el-select
|
||||
v-model="form.ToUserTypeList"
|
||||
|
@ -76,7 +76,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="抄送人" prop="CopyUserTypeList">
|
||||
<el-select
|
||||
v-model="form.CopyUserTypeList"
|
||||
|
@ -93,7 +93,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="加急状态" prop="EmailUrgentEnum">
|
||||
<el-select
|
||||
v-model="form.EmailUrgentEnum"
|
||||
|
@ -114,7 +114,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item
|
||||
label="发送周期和时间"
|
||||
v-if="form.EmailUrgentEnum !== 1"
|
||||
|
@ -124,7 +124,7 @@
|
|||
<el-button type="primary" @click="showDialog">生成 cron</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="是否需要回执" prop="IsReturnRequired">
|
||||
<el-radio-group v-model="form.IsReturnRequired">
|
||||
<el-radio :label="true">是</el-radio>
|
||||
|
@ -132,7 +132,7 @@
|
|||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="是否自动发送" prop="IsAutoSend">
|
||||
<el-radio-group v-model="form.IsAutoSend">
|
||||
<el-radio :label="true">是</el-radio>
|
||||
|
@ -140,7 +140,7 @@
|
|||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="是否区分标准" prop="IsDistinguishCriteria">
|
||||
<el-radio-group
|
||||
v-model="form.IsDistinguishCriteria"
|
||||
|
@ -155,7 +155,7 @@
|
|||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item
|
||||
:label="$t('trials:auditRecord:table:criterion')"
|
||||
v-if="form.IsDistinguishCriteria"
|
||||
|
@ -171,7 +171,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="是否启用" prop="IsEnable">
|
||||
<el-radio-group v-model="form.IsEnable">
|
||||
<el-radio :label="true">是</el-radio>
|
||||
|
@ -179,7 +179,7 @@
|
|||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="附件(CN)" prop="IsEnable">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
|
@ -201,7 +201,7 @@
|
|||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="!IsSystemLevel">
|
||||
<el-col :span="12" v-if="!systemLevel">
|
||||
<el-form-item label="附件(EN)" prop="IsEnable">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
|
@ -268,7 +268,7 @@ export default {
|
|||
return {};
|
||||
},
|
||||
},
|
||||
IsSystemLevel: {
|
||||
systemLevel: {
|
||||
type: Number,
|
||||
default() {
|
||||
return 0;
|
||||
|
@ -345,7 +345,7 @@ export default {
|
|||
},
|
||||
mounted() {
|
||||
this.initForm();
|
||||
if (this.IsSystemLevel) {
|
||||
if (this.systemLevel) {
|
||||
this.form.ToUserTypeList = [];
|
||||
this.form.CopyUserTypeList = [];
|
||||
this.form.EmailUrgentEnum = "3";
|
||||
|
@ -457,7 +457,7 @@ export default {
|
|||
this.$refs.emailForm.validate((valid) => {
|
||||
if (!valid) return;
|
||||
this.loading = true;
|
||||
this.form.IsSystemLevel = this.IsSystemLevel;
|
||||
this.form.systemLevel = this.systemLevel;
|
||||
addOrUpdateEmailNoticeConfigList(this.form)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<box-content>
|
||||
<div class="search">
|
||||
<el-form
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
:inline="true"
|
||||
size="mini"
|
||||
class="base-search-form"
|
||||
|
@ -167,7 +167,7 @@
|
|||
:label="$t('trials:emailManageCfg:title:toUserTypeList')"
|
||||
show-overflow-tooltip
|
||||
min-width="100"
|
||||
v-if="IsSystemLevel < 2"
|
||||
v-if="systemLevel !== 1"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
|
@ -185,7 +185,7 @@
|
|||
:label="$t('trials:emailManageCfg:title:copyUserTypeList')"
|
||||
show-overflow-tooltip
|
||||
min-width="100"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
|
@ -203,7 +203,7 @@
|
|||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
min-width="100"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ $fd("EmailUrgent", scope.row.EmailUrgentEnum) }}
|
||||
|
@ -215,7 +215,7 @@
|
|||
sortable="custom"
|
||||
show-overflow-tooltip
|
||||
min-width="160"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
/>
|
||||
<!-- 附件 -->
|
||||
<el-table-column
|
||||
|
@ -223,7 +223,7 @@
|
|||
:label="$t('trials:emailManageCfg:title:fileName')"
|
||||
show-overflow-tooltip
|
||||
min-width="100"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
|
@ -242,7 +242,7 @@
|
|||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
min-width="140"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.IsReturnRequired" type="danger">
|
||||
|
@ -260,7 +260,7 @@
|
|||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
min-width="160"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.IsAutoSend" type="danger">
|
||||
|
@ -277,7 +277,7 @@
|
|||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
min-width="160"
|
||||
v-if="!IsSystemLevel"
|
||||
v-if="!systemLevel"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.IsEnable" type="danger">
|
||||
|
@ -337,7 +337,7 @@
|
|||
>
|
||||
<EmailForm
|
||||
:data="rowData"
|
||||
:is-system-level="IsSystemLevel"
|
||||
:is-system-level="systemLevel"
|
||||
@closeDialog="closeDialog"
|
||||
@getList="getList"
|
||||
/>
|
||||
|
@ -390,7 +390,7 @@ export default {
|
|||
return false;
|
||||
},
|
||||
},
|
||||
IsSystemLevel: {
|
||||
systemLevel: {
|
||||
type: Number,
|
||||
default() {
|
||||
return 0;
|
||||
|
@ -418,7 +418,7 @@ export default {
|
|||
getList() {
|
||||
this.loading = true;
|
||||
this.searchData.IsDistinguishCriteria = this.isDistinguishCriteria;
|
||||
this.searchData.IsSystemLevel = this.IsSystemLevel;
|
||||
this.searchData.systemLevel = this.systemLevel;
|
||||
getEmailNoticeConfigList(this.searchData)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<EmailList
|
||||
v-if="activeTab === '0'"
|
||||
:is-distinguish-criteria="false"
|
||||
:is-system-level="0"
|
||||
:system-level="0"
|
||||
></EmailList>
|
||||
</el-tab-pane>
|
||||
<!-- 标准相关 -->
|
||||
|
@ -17,7 +17,7 @@
|
|||
<EmailList
|
||||
v-if="activeTab === '1'"
|
||||
:is-distinguish-criteria="true"
|
||||
:is-system-level="0"
|
||||
:system-level="0"
|
||||
></EmailList>
|
||||
</el-tab-pane>
|
||||
<!-- 系统相关 -->
|
||||
|
@ -25,7 +25,7 @@
|
|||
<EmailList
|
||||
v-if="activeTab === '2'"
|
||||
:is-distinguish-criteria="false"
|
||||
:is-system-level="1"
|
||||
:system-level="1"
|
||||
></EmailList>
|
||||
</el-tab-pane>
|
||||
<!-- 系统相关-分角色 -->
|
||||
|
@ -33,7 +33,7 @@
|
|||
<EmailList
|
||||
v-if="activeTab === '3'"
|
||||
:is-distinguish-criteria="false"
|
||||
:is-system-level="2"
|
||||
:system-level="2"
|
||||
></EmailList>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
|
|
Loading…
Reference in New Issue