| | |
| | | <template> |
| | | <el-dialog |
| | | v-dialogDrag |
| | | :class="{'dialog-column-1': column === '1', 'dialog-column-2': column === '2', 'dialog-column-3': column === '3', 'dialog-column-4': column === '4'}" |
| | | :class="{'dialog-column-min': column==='min','dialog-column-1': column === '1', 'dialog-column-2': column === '2', 'dialog-column-3': column === '3', 'dialog-column-4': column === '4'}" |
| | | :visible.sync="visible" |
| | | v-if="visible" |
| | | :title="_title" |
| | |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .dialog-column-min { |
| | | /deep/ .el-dialog { |
| | | position: fixed; |
| | | margin-top: 0 !important; |
| | | top: 50% !important; |
| | | left: 50% !important; |
| | | transform: translate(-50%, -50%); |
| | | width: 20%; |
| | | /*margin-top:7vh !important;*/ |
| | | .el-form > .el-form-item, .el-form .el-collapse-item__content > .el-form-item { |
| | | width: 100%; |
| | | } |
| | | } |
| | | } |
| | | .dialog-column-1 { |
| | | /deep/ .el-dialog { |
| | | position: fixed; |
| | |
| | | <template> |
| | | <zt-dialog ref="dialog" column="2" title="选择系统模型" append-to-body :editAble="false" :hasConfirm="false"> |
| | | <el-card shadow="never" class="aui-card--fill"> |
| | | <div class="mod-taskReliability-modelRbd}"> |
| | | <zt-dialog ref="dialog" column="1" title="选择系统模型" append-to-body :editAble="false" :hasConfirm="false"> |
| | | <zt-table-wraper ref="tableObj" query-url="/taskReliability/ModelRbd/page" |
| | | :paging='false' |
| | | v-slot="{ table }"> |
| | | <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"> |
| | | </el-form> |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:30}" |
| | | <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"></el-form> |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="200" |
| | | border @row-dblclick="selectModel" |
| | | @selection-change="table.selectionChangeHandle"> |
| | | <el-table-column prop="modelName" label="模型名称"/> |
| | | </el-table> |
| | | <!-- 弹窗, 新增 / 修改 --> |
| | | </zt-table-wraper> |
| | | </div> |
| | | </el-card> |
| | | </zt-dialog> |
| | | </template> |
| | | |