diff --git a/src/views/email/create.vue b/src/views/email/create.vue
index e137e1c..3023f27 100644
--- a/src/views/email/create.vue
+++ b/src/views/email/create.vue
@@ -2,7 +2,7 @@
-
+
发布
@@ -19,6 +19,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -47,20 +57,6 @@
-
-
-
-
-
- 全体用户
- only邮件发送时间之前注册的用户
- only邮件发送之后注册的用户
-
-
-
-
-
-
@@ -99,9 +95,8 @@ export default {
subject: [{ required: true, message: 'subject is required', trigger: 'blur' }],
content: [{ required: true, message: 'content is required', trigger: 'blur' }]
},
- dialogUserTypeVisible: false,
personalMailVisible: true,
- dialogEmailTypeVisible: true,
+ mailTypeVisible: true,
dialogStatus: 'create'
}
},
@@ -113,7 +108,6 @@ export default {
this.personalMailVisible = true
this.groupMailVisible = false
- this.dialogUserTypeVisible = false
}
break
case MAIL_TYPE_GROUP:
@@ -121,7 +115,6 @@ export default {
this.personalMailVisible = false
this.groupMailVisible = true
- this.dialogUserTypeVisible = true
}
break
case MAIL_TYPE_ALL:
@@ -129,7 +122,6 @@ export default {
this.personalMailVisible = false
this.groupMailVisible = false
- this.dialogUserTypeVisible = true
}
break
}
@@ -141,9 +133,8 @@ export default {
created() {
const mailid = this.$route.params.mailid
if (mailid) {
- this.dialogUserTypeVisible = false
this.personalMailVisible = false
- this.dialogEmailTypeVisible = false
+ this.mailTypeVisible = false
this.dialogStatus = 'update'
const editEmail = JSON.parse(sessionStorage.getItem('editEmail' + mailid))
this.postForm = editEmail