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