| | |
| | | height: "auto", |
| | | border: true, |
| | | align: 'center', |
| | | menu:!this.checkStatus || this.crudLCStatus == 'Editing', |
| | | menuAlign: 'center', |
| | | index: true, |
| | | searchMenuSpan: 8, |
| | |
| | | export const optionParent = { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | calcHeight: 20, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 10, |
| | |
| | | index: true, |
| | | selection: true, |
| | | viewBtn: true, |
| | | menuWidth: 300, |
| | | menuWidth: 240, |
| | | dialogWidth: 880, |
| | | dialogClickModal: false, |
| | | column: [ |
| | |
| | | { |
| | | label: "字典键值", |
| | | prop: "dictKey", |
| | | width: 80, |
| | | width: 200, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | <div class="sep" style="height:7px"> |
| | | |
| | | </div> |
| | | <avue-crud class="businessCrud" v-model="ref.form" :option="ref.option" :data="ref.data" |
| | | <avue-crud class="businessCrud" ref="businessCrud" v-model="ref.form" :option="ref.option" :data="ref.data" |
| | | @selection-change="selectionChange"> |
| | | </avue-crud> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | }) |
| | | }, |
| | | selectFromTable() { |
| | | console.log('获取'); |
| | | this.ref.visible = true; |
| | | }, |
| | | refOnLoad(domain) { |
| | |
| | | }, |
| | | dialoghandelfalse() { |
| | | this.ref.visible = false; |
| | | this.$refs.businessCrud.toggleSelection() |
| | | this.selectionList = []; |
| | | this.domain = null; |
| | | }, |
| | | dialoghandeltrue() { |
| | | if(this.selectionList.length<1){ |
| | | this.$message.warning('请选择数据'); |
| | | return false; |
| | | } |
| | | saveFromTable(this.selectionList, this.domain).then(res => { |
| | | this.$message.success('保存成功'); |
| | | this.dialoghandelfalse(); |
| | |
| | | append-to-body |
| | | @close="closeSubmitDialog" |
| | | width="70%" |
| | | top="6vh" |
| | | style="height: 115vh;" |
| | | > |
| | | <el-form ref="form" :model="btmType" show-message="true" inline size="medium" label-suffix=":" class="btmTypeForm" |
| | |
| | | <template> |
| | | <el-dialog title="链接类型" :visible.sync="showSubmitDialog" append-to-body @close="closeSubmitDialog" width="70%" |
| | | <el-dialog title="链接类型" :visible.sync="showSubmitDialog" append-to-body @close="closeSubmitDialog" width="70%" top="6vh" |
| | | style="height: 115vh;"> |
| | | <el-form ref="form" :model="linkType" show-message="true" inline size="medium" label-suffix=":" |
| | | class="linkTypeForm" :rules="rules" @resetFields="resetForm" status-icon="true"> |
| | |
| | | showSubmitDialog: false, |
| | | option: { |
| | | height: "330px", |
| | | tip:false, |
| | | selection: true, |
| | | headerAlign: 'center', |
| | | border: true, |
| | |
| | | <el-dialog :title="`[${dictValue}]字典配置`" |
| | | append-to-body |
| | | :visible.sync="box" |
| | | top="6vh" |
| | | width="1000px"> |
| | | <avue-crud |
| | | :option="optionChild" |