|
|
@ -35,7 +35,7 @@ |
|
|
|
<el-table-column prop="mailTo" :label="$t('mail.mailTo')" header-align="center" align="center" min-width="150" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="mailCc" :label="$t('mail.mailCc')" header-align="center" align="center" min-width="120" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="subject" :label="$t('mail.subject')" header-align="center" align="center" min-width="120" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="status" :label="$t('mail.status')" sortable="custom" header-align="center" align="center"> |
|
|
|
<el-table-column prop="status" :label="$t('mail.status')" sortable="custom" header-align="center" align="center" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag v-if="scope.row.status === 1" size="small">{{ $t('mail.status1') }}</el-tag> |
|
|
|
<el-tag v-else size="small" type="danger">{{ $t('mail.status0') }}</el-tag> |
|
|
@ -82,11 +82,11 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
btKeyUpTemplateId (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、\s+]/g, '') |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') |
|
|
|
this.dataForm.templateId= e.target.value |
|
|
|
}, |
|
|
|
btKeyUpMailTo (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、]/g, '') |
|
|
|
e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') |
|
|
|
this.dataForm.mailTo= e.target.value |
|
|
|
} |
|
|
|
} |
|
|
|