| | |
| | | <el-button icon="el-icon-connection" size="small" type="primary" |
| | | @click="handleSync('one')">同步详细模型 |
| | | </el-button> |
| | | <el-button icon="el-icon-coordinate" size="small" type="primary" |
| | | @click="handlerAuto">自动填充 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </el-card> |
| | |
| | | <avue-crud ref="crudRange" :data="rangeData" :option="optinoRange" :style="{ marginTop: '-20px'}" |
| | | @row-update="handleUpdate" |
| | | @row-dblclick="handleRowClick"> |
| | | <template slot="menuLeft"> |
| | | <el-button icon="el-icon-coordinate" size="small" type="primary" |
| | | @click="handlerAuto">自动填充 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </el-card> |
| | | </el-card> |
| | |
| | | optinoRange: { |
| | | title: '属性映射取值范围', |
| | | maxHeight: '280px', |
| | | header: false, |
| | | rowKey: 'oid', |
| | | refreshBtn: false, |
| | | column: [ |
| | | {label: '属性集团枚举值', prop: 'numTextValue', minWidth: 80}, |
| | | {label: '集团属性枚举显示名称', prop: 'numText', minWidth: 80}, |
| | |
| | | prop: 'targetAttrName', |
| | | type: 'select', |
| | | cell: true, |
| | | allowCreate: true, |
| | | filterable: true, |
| | | minWidth: 80, |
| | | props:{ |
| | | label:'targetAttrName', |
| | | value:'targetAttrName' |
| | | }, |
| | | dicData: this.targetNameList, |
| | | dicData: [], |
| | | }, |
| | | // { |
| | | // label: '默认值', |
| | |
| | | .el-transfer-panel { |
| | | width: 270px; |
| | | } |
| | | |
| | | .el-scrollbar__view { |
| | | height: 100px ; |
| | | } |