This commit is contained in:
2026-08-10 10:04:00 +08:00
parent 49052142b2
commit ffada4e07e
@@ -126,7 +126,7 @@ layout("/layouts/platform.html"){
</el-dialog>
<el-dialog title="发送福利选择提醒" :visible.sync="reminderVisible" width="500px" :close-on-click-modal="false">
<el-alert :title="'本次将向' + reminderCount + '人发送消息'" type="warning" :closable="false"></el-alert>
<el-alert :title="'发送模式:' + reminderModeText + '本次将向' + reminderCount + '人发送消息'" type="warning" :closable="false"></el-alert>
<el-form label-width="80px" class="mt20">
<el-form-item label="提醒内容">
<el-input v-model="reminderContent" type="textarea" :rows="5" maxlength="500" show-word-limit placeholder="请输入提醒内容"></el-input>
@@ -186,6 +186,19 @@ layout("/layouts/platform.html"){
},
provideMode() {
return this.projectOptions.find((item) => item.id === this.pageForm.projectId).provideMode
},
// 根据表格勾选状态和选择情况筛选项,明确展示本次提醒的实际发送范围。
reminderModeText() {
if (this.selectedRows.length > 0) {
return "按表格勾选人员发送"
}
if (this.pageForm.isSelect === false) {
return "仅向当前筛选范围内未选择人员发送"
}
if (this.pageForm.isSelect === true) {
return "仅向当前筛选范围内已选择人员发送"
}
return "向当前筛选范围内全部人员发送(包含已选择和未选择人员)"
}
},
methods: {