| | |
| | | <el-button icon="el-icon-delete" plain size="small" type="danger" @click="checkClickHandler">删除全部类型</el-button> |
| | | <el-button icon="el-icon-view" plain size="small" type="primary" @click="checkViewClickHandler">查看使用范围</el-button> |
| | | </div> |
| | | <div style="display: flex;justify-content: center; height: 230px;margin-top: 10px;"> |
| | | <div class="descBox" style="max-height: 100px"> |
| | | <div style="display: flex;justify-content:left;margin-top: 15px;"> |
| | | <div class="descBox"> |
| | | <el-descriptions :column="1" border class="margin-top" size="medium" title="属性信息"> |
| | | <el-descriptions-item :contentStyle="descriptionOption.contentStyle" |
| | | :labelStyle="descriptionOption.labelStyle"> |
| | |
| | | </template> |
| | | <el-tooltip v-if="nodeRow.implClass" :content="nodeRow.implClass" class="item" effect="dark" |
| | | placement="top-start"> |
| | | <el-tag style="max-width: 250px;overflow: hidden">{{ nodeRow.implClass }} |
| | | </el-tag> |
| | | <el-tag style="max-width: 100%;overflow: hidden;display: block">{{ nodeRow.implClass }}</el-tag> |
| | | </el-tooltip> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :contentStyle="descriptionOption.contentStyle" |
| | |
| | | </el-descriptions> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top: 30px"> |
| | | <h3>属性列表</h3> |
| | | <div style="margin-top: 25px;position: relative"> |
| | | <h3 style="margin: 0;position: absolute;top:0;z-index: 1000;">属性列表</h3> |
| | | <avue-crud |
| | | :data="attrData" |
| | | :option="attrOption"> |
| | |
| | | class="avue-dialog" |
| | | width="75%" |
| | | @close="addDialogClose"> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="95px"> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="95px" size="small"> |
| | | <div class="dialogForm"> |
| | | <div class="leftForm"> |
| | | <el-form-item label="类型名称:" prop="id"> |
| | |
| | | </div> |
| | | </el-form> |
| | | <div class="bottomForm"> |
| | | <h3>属性池列表</h3> |
| | | <h3 style="margin-bottom: 10px;">属性池列表</h3> |
| | | <avue-crud |
| | | :data="dialogAttrData" |
| | | :option="dialogAttrOption" |
| | |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="addDialogClose">取 消</el-button> |
| | | <span slot="footer" class="dialog-footer avue-dialog__footer"> |
| | | <el-button type="primary" @click="addDialogSavaHandler">确 定</el-button> |
| | | <el-button @click="addDialogClose">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | </span> |
| | | </avue-tree> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="inheritClose">取 消</el-button> |
| | | <el-button type="primary" @click="inheritSaveClickHandler">确 定</el-button> |
| | | <el-button @click="inheritClose">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | :table-loading="conCheckLoading"> |
| | | </avue-crud> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="conCheckVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="repairClickHandler">修 复</el-button> |
| | | <el-button @click="conCheckVisible = false">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | :option="indexAttrOption" |
| | | @row-click="indexAttrRowClick"></avue-crud> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="indexAttrVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="indexAttrClickAddHandler">确 定</el-button> |
| | | <el-button @click="indexAttrVisible = false">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="indexDialogClose">取 消</el-button> |
| | | <el-button type="primary" @click="indexClickAddHandler">保 存</el-button> |
| | | <el-button @click="indexDialogClose">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | highlightCurrentRow: true, |
| | | height: 450, |
| | | searchMenuSpan: 8, |
| | | header: false, |
| | | column: [ |
| | | { |
| | | label: '属性名', |
| | |
| | | label: '属性类型', |
| | | prop: 'attributeDataType', |
| | | sortable: true, |
| | | width:150, |
| | | }, |
| | | { |
| | | label: '初始值', |
| | |
| | | selection: false, |
| | | height: 210, |
| | | addBtn: false, |
| | | menuWidth:100, |
| | | // index:false, |
| | | column: [ |
| | | { |
| | |
| | | label: '属性类型', |
| | | prop: 'attributeDataType', |
| | | sortable: true, |
| | | width:150, |
| | | }, |
| | | { |
| | | label: '初始值', |
| | | prop: 'defaultValue', |
| | | sortable: true, |
| | | width:150, |
| | | }, |
| | | { |
| | | label: '说明', |
| | |
| | | .el-form-item .el-select { |
| | | width: 100%; |
| | | } |
| | | |
| | | .el-tag{ |
| | | line-height:22px; |
| | | height: 24px; |
| | | } |
| | | } |
| | | |
| | | .descBox { |
| | | width: 32%; |
| | | margin-left: 20px; |
| | | margin-right: 20px; |
| | | } |
| | | |
| | | .dialogForm { |