12345678910111213141516171819202122232425262728293031323334353637383940 |
- /**
- *@author:Guoxiaohuan
- *@date:2020.05.27
- *@info:楼层功能-编辑图例备注
- */
- <template>
- <div class='editModel'>
- <a-modal v-model='visible' :title='title' @ok='handleOk' ok-text='保存' cancel-text='取消' :maskClosable='false' :width='648'>
- <wd-editor :width='width' :height='height' :text='content'></wd-editor>
- </a-modal>
- </div>
- </template>
- <script>
- export default {
- name: 'EditdMarks',
- data() {
- return {
- title: '编辑图例备注',
- visible: false,
- width: '600px',
- height: '156px',
- content: '1.主要设备房包括:制冷机房、生活水泵房、消防泵房2.图例后的数字,代表此位置的数量'
- }
- },
- methods: {
- showModal() {
- this.visible = true
- },
- handleOk() {
- this.visible = false
- }
- }
- }
- </script>
- <style lang="less" >
- .editModel {
- }
- </style>
|