| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <!-- <el-button type="text" @click="edit('edit',row)">修改</el-button>--> |
| | | <!-- <el-button type="text" @click="edit('edit',row)">编辑</el-button>--> |
| | | <el-button type="text" @click="edit('edit',row)">预览</el-button> |
| | | <el-button type="text" @click="del(row)">删除</el-button> |
| | | </div> |
| | |
| | | <el-dialog |
| | | :title="operation==='add'?'新增':'预览'" |
| | | :visible.sync="dialogVisible" |
| | | width="70%" |
| | | width="1200px" |
| | | :close-on-click-modal="false" |
| | | top="15vh" |
| | | :fullscreen="isFullscreen" |
| | | @closed="handleClose" |
| | | @close="handleClose" |
| | | > |
| | |
| | | <el-form-item prop="enable" label="使用状态" style="margin-right: 20px"> |
| | | <el-select |
| | | v-model="dialogForm.enable" |
| | | filterable |
| | | :disabled="operation==='edit'" |
| | | :popper-append-to-body="false" |
| | | style="width: 220px" |
| | |
| | | |
| | | const SER_HZ = /^[\u4e00-\u9fa5]+$/ |
| | | export default { |
| | | name: 'Zzjg', |
| | | name: 'GYLX', |
| | | components: { |
| | | Pagination |
| | | }, |
| | |
| | | } |
| | | } |
| | | return { |
| | | isFullscreen: false, |
| | | mainHeight: 0, |
| | | tableHeight: 0, |
| | | form: { |
| | |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 250 |
| | | this.tableHeight = this.mainHeight - 100 |
| | | // this.isFullscreen = window.innerHeight < 800 |
| | | }) |
| | | } |
| | | } |