| | |
| | | export const optionParent = { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 20, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 10, |
| | |
| | | |
| | | export const optionChild = { |
| | | height: 'auto', |
| | | calcHeight: 95, |
| | | calcHeight: 200, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 10, |
| | |
| | | <template> |
| | | <el-container> |
| | | <el-header class="businessHeader" style="height: 40px;"> |
| | | <el-header class="businessHeader" style="height: 40px;padding:0 8px"> |
| | | <el-button-group> |
| | | <el-button type="primary" @click="businessAdd" size="small"> <i class="el-icon-plus"></i> 新增</el-button> |
| | | <el-button type="primary" @click="businessEdit" size="small"><i class="el-icon-edit"></i> 修改</el-button> |
| | |
| | | <i :class="icons.domain"></i> |
| | | 所属领域 |
| | | </template> |
| | | <el-tag size="small"> |
| | | <el-tag v-if="obj.domainText" size="small"> |
| | | {{ obj.domainText }} |
| | | </el-tag> |
| | | <span v-else></span> |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | |
| | | <i :class="icons.view"></i> |
| | | 视图 |
| | | </template> |
| | | <el-tag size="small"> |
| | | <el-tag v-if="obj.viewText" size="small"> |
| | | {{ obj.viewText }} |
| | | </el-tag> |
| | | <span v-else></span> |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | |
| | | }, |
| | | loadOption: { |
| | | border: true, |
| | | height: 466, |
| | | height: 478, |
| | | editBtn: false, |
| | | addBtn: false, |
| | | menu: false, |
| | |
| | | <i :class="icons.domain"></i> |
| | | 所属领域 |
| | | </template> |
| | | <el-tag size="small"> |
| | | <el-tag v-if="obj.domainText" size="small"> |
| | | {{ obj.domainText }} |
| | | </el-tag> |
| | | </el-descriptions-item> |
| | |
| | | </el-descriptions> |
| | | |
| | | <el-descriptions class="margin-top" :column="2" size="medium" border> |
| | | <!-- |
| | | <!-- |
| | | <el-descriptions-item :labelStyle="descriptionOption.labelStyle" |
| | | :contentStyle="descriptionOption.contentStyle"> |
| | | <template slot="label"> |
| | |
| | | </template> |
| | | {{ obj.description }} |
| | | </el-descriptions-item> |
| | | </el-descriptions> |
| | | </el-descriptions> |
| | | </basic-container> |
| | | <!-- 属性列表--> |
| | | <basic-container> |
| | |
| | | |
| | | </el-container> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import { |
| | | initTree, |
| | |
| | | }, |
| | | loadOption: { |
| | | border: true, |
| | | height: 360, |
| | | height: 395, |
| | | editBtn: false, |
| | | addBtn: false, |
| | | menu: false, |
| | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | |
| | | <style lang="scss"> |
| | | .attributeCrud>.el-card:nth-of-type(2)>.el-card__body>.avue-crud__menu { |
| | | display: none !important; |
| | | } |
| | | </style> |
| | | |
| | |
| | | display: none !important; |
| | | } |
| | | |
| | | .linkTypeForm>.el-form-item>.el-form-item__content>.el-input>.el-input__inner { |
| | | width: 200px; |
| | | .linkTypeForm>.el-form-item>.el-form-item__content>.el-input>.el-input__inner,.linkTypeForm>.el-form-item>.el-form-item__content>.el-select{ |
| | | width: 290px; |
| | | } |
| | | |
| | | .descClass>.el-input__inner { |
| | |
| | | #descId { |
| | | width: 57vw; |
| | | } |
| | | .el-tag + .el-tag{ |
| | | margin-top: 2px; |
| | | } |
| | | </style> |
| | |
| | | layout: "total, sizes, prev, pager, next, jumper", |
| | | }, |
| | | option: { |
| | | height:'auto', |
| | | calcHeight:20, |
| | | selection: true, |
| | | searchMenuSpan: 6, |
| | | searchMenuPosition: "right", |
| | |
| | | editAttribute: {}, |
| | | applyRangeData: [], |
| | | option: { |
| | | height: "550px", |
| | | height: "auto", |
| | | calcHeight:20, |
| | | headerAlign: "center", |
| | | border: true, |
| | | index: true, |
| | |
| | | ], |
| | | form:{}, |
| | | option:{ |
| | | height:'auto', |
| | | calcHeight:20, |
| | | headerAlign:'center', |
| | | align: 'center', |
| | | border: true, |
| | |
| | | <el-dialog :title="`[${name}]枚举项配置`" |
| | | append-to-body |
| | | :visible.sync="box" |
| | | top="-6vh" |
| | | class="avue-dialog avue-dialog--top" |
| | | width="1000px"> |
| | | <avue-crud |
| | | :option="optionChild" |
| | |
| | | workBox: false, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 0, |
| | | tip: false, |
| | | simplePage: true, |
| | | searchShow: true, |
| | |
| | | workBox: false, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 0, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | |
| | | workBox: false, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 20, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | |
| | | workBox: false, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 20, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | |
| | | workBox: false, |
| | | option: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 0, |
| | | tip: false, |
| | | simplePage: true, |
| | | searchShow: true, |