diff --git a/src/views/modules/base/epidemic/natInfo/natForm.vue b/src/views/modules/base/epidemic/natInfo/natForm.vue
index 8d1b761e..f656dd0f 100644
--- a/src/views/modules/base/epidemic/natInfo/natForm.vue
+++ b/src/views/modules/base/epidemic/natInfo/natForm.vue
@@ -162,13 +162,17 @@
prop="channel"
label-width="150px"
style="display: block">
-
+
+ 小程序通知
+
+ 短信通知
-
+ -->
0 && !this.formData.content) {
- this.$message({
- type: 'warning',
- message: '请填写通知内容'
- })
- return false;
+ if (this.formData.isSelChannel) {
+ if (!this.formData.content) {
+ this.$message({
+ type: 'warning',
+ message: '请填写通知内容'
+ })
+ return false;
+ } else {
+ this.formData.channel = ['0']
+ }
+
+ } else {
+ this.formData.channel = []
}
this.btnDisable = true
@@ -518,6 +539,7 @@ export default {
natTime: '',
natAddress: '',
natResult: '',
+ isSelChannel: false,
channel: [],
content: '',