| | |
| | | /> |
| | | |
| | | <!-- 添加或修改公告对话框 --> |
| | | <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="780px" append-to-body> |
| | | <Dialog :title="title" :visible.sync="open" width="780px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </Dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const noticeIds = row.noticeId || this.ids |
| | | this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项?').then(function() { |
| | | this.$modal.confirm('是否确认删除?').then(function() { |
| | | return delNotice(noticeIds); |
| | | }).then(() => { |
| | | this.getList(); |