|
@@ -54,7 +54,7 @@
|
|
|
<el-badge :value="3" style="margin-right: 18px;">
|
|
|
<el-button size="small" @click="releasedShow">待发布</el-button>
|
|
|
</el-badge>
|
|
|
- <el-button size="small" type="primary">发布普通公告</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="generalShow">发布普通公告</el-button>
|
|
|
<el-button size="small" type="warning">发布系统公告</el-button>
|
|
|
<el-button size="small" type="danger">批量删除公告</el-button>
|
|
|
</div>
|
|
@@ -230,6 +230,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <!--发布普通公告-->
|
|
|
+ <el-dialog
|
|
|
+ class="hc-system-announcement-dialog h-full" title="发布普通公告" :visible.sync="isGeneralShow"
|
|
|
+ append-to-body center destroy-on-close width="620px" @closed="generalCancel"
|
|
|
+ >
|
|
|
+ 222
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -270,6 +278,7 @@ export default {
|
|
|
address: '上海市普陀区金沙江路 1516 弄'
|
|
|
}],
|
|
|
isReleasedShow: false,
|
|
|
+ isGeneralShow: false,
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -337,6 +346,14 @@ export default {
|
|
|
releasedCancel() {
|
|
|
this.isReleasedShow = false
|
|
|
},
|
|
|
+ //打开普通公告
|
|
|
+ generalShow() {
|
|
|
+ this.isGeneralShow = true
|
|
|
+ },
|
|
|
+ //普通公告关闭
|
|
|
+ generalCancel() {
|
|
|
+ this.isGeneralShow = false
|
|
|
+ },
|
|
|
//验证表单
|
|
|
async getFormValidate(ref) {
|
|
|
return new Promise(resolve => {
|