|
|
@@ -275,6 +275,16 @@
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="是否开启@所有人" v-if="form.sendType == 11 && (form.id === null || form.id === undefined)">
|
|
|
+ <el-radio-group v-model="form.openIsAtAll">
|
|
|
+ <el-radio
|
|
|
+ v-for="dict in openIsAtAllOptions"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictValue"
|
|
|
+ >{{ dict.dictLabel }}
|
|
|
+ </el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="内容" prop="modeContent">
|
|
|
<el-input v-model="form.modeContent" placeholder="请输入文字内容" type="textarea" :rows="3"/>
|
|
|
</el-form-item>
|
|
|
@@ -456,6 +466,7 @@ export default {
|
|
|
// 状态字典
|
|
|
statusOptions: [],
|
|
|
openOfficialOptions: [],
|
|
|
+ openIsAtAllOptions: [],
|
|
|
|
|
|
shareOptions: {
|
|
|
title: '分享模板',
|
|
|
@@ -535,7 +546,9 @@ export default {
|
|
|
this.getDicts("sys_company_or").then(response => {
|
|
|
this.openOfficialOptions = response.data;
|
|
|
});
|
|
|
-
|
|
|
+ this.getDicts("sys_company_or").then(response => {
|
|
|
+ this.openIsAtAllOptions = response.data;
|
|
|
+ });
|
|
|
getSelectableRange().then(e => {
|
|
|
this.startTimeRange = e.data;
|
|
|
})
|
|
|
@@ -603,6 +616,7 @@ export default {
|
|
|
sendType: this.sendType,
|
|
|
sort: 0,
|
|
|
openOfficial: "1",
|
|
|
+ openIsAtAll: "1",
|
|
|
time: "",
|
|
|
num: 1,
|
|
|
timeList: [{value: "",desc:""}],
|
|
|
@@ -723,6 +737,9 @@ export default {
|
|
|
this.title = "修改";
|
|
|
}
|
|
|
this.form = response.data;
|
|
|
+ if (!this.form.IsAtAll) {
|
|
|
+ this.form.IsAtAll = "1"; // 默认值
|
|
|
+ }
|
|
|
this.open = true;
|
|
|
});
|
|
|
},
|