| | |
| | | <template> |
| | | <basic-container style="height: 350px;"> |
| | | <basic-container style="height: 100%;"> |
| | | |
| | | <!-- 编码规则信息展示区域 --> |
| | | <basic-container class="code-rule-container"> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer" style="height: 50px; margin-top: -4vh;"> |
| | | <el-button @click="cloneSettingBox = false">取 消</el-button> |
| | | <el-button type="primary" @click="saveCloneCodeRule">保 存</el-button> |
| | | <el-button @click="cloneSettingBox = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- 编码规则,从其他规则克隆对话框 --> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer" style="height: 50px; margin-top: -4vh;"> |
| | | <el-button @click="cloneOtherCodeRuleSettingBox = false">取 消</el-button> |
| | | <el-button type="primary" @click="saveOtherCodeBasic">保 存</el-button> |
| | | <el-button @click="cloneOtherCodeRuleSettingBox = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | <!-- 第一层对话框的按钮和,线条 --> |
| | | <el-divider class="horizontal-line" direction="horizontal"></el-divider> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="addBasicCodeSettingBox = false" v-show="showbtn">取 消</el-button> |
| | | <el-button type="primary" @click="saveOrEditBasicCode" v-show="showbtn">保 存</el-button> |
| | | <el-button @click="addBasicCodeSettingBox = false" v-show="showbtn">取 消</el-button> |
| | | </div> |
| | | |
| | | <!-- 第二层对话框,属性码段,属性选择对话框 --> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectAttrOption = false">取 消</el-button> |
| | | <el-button type="primary" @click="selectedListClassifyLinkAttr">确 定</el-button> |
| | | <el-button @click="isShowSelectAttrOption = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | @on-load="parentClassifyOnLoad"> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowParentClassifyOption = false">取 消</el-button> |
| | | <el-button type="primary" @click="saveSelectedParentClassify">保 存</el-button> |
| | | <el-button @click="isShowParentClassifyOption = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | @row-click="referBtmRowClick"> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectReferBtmOption = false">取 消</el-button> |
| | | <el-button type="primary" @click="saveSelectedreferBtm">保 存</el-button> |
| | | <el-button @click="isShowSelectReferBtmOption = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | import referBtmOption from "@/const/code/referBtmDialog"; |
| | | import fixedValueOption from "@/const/code/fixedValueMgrDialog"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | import func from "@/util/func"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | |
| | | /* 引用码段参照配置,子组件填完参照配置之后内容回显时调用 */ |
| | | echoReferConfig(content){ |
| | | this.form.referConfig = content; |
| | | this.form.referBtmId = content.referType; |
| | | this.form.referBtmName = content.referTypeName; |
| | | //console.log(content); |
| | | //转换成JSON字符串进行父组件回显 |
| | | let submitFormJson = JSON.stringify(content); |
| | | this.form.referConfig = submitFormJson; |
| | | }, |
| | | |
| | | /** 为参照引用的业务类型选取值,第二层嵌套对话框,及其相关方法 */ |
| | |
| | | }, |
| | | // 单击编码规则实现行选择 |
| | | codeRuleRowClick (row) { |
| | | // 这儿应该可以不要,因为toggleRowSelection也会触发行选择时间 |
| | | this.selectionList = row; |
| | | this.$refs.crud.toggleSelection(); |
| | | this.$refs.crud.setCurrentRow(row); |
| | |
| | | this.refreshReferBtmDataChange(); |
| | | }else if(condition === 'referConfig'){ |
| | | this.$refs.referConfigDialog.isShowReferConfig = true; |
| | | if(func.notEmpty(this.form.referConfig)){ |
| | | this.$refs.referConfigDialog.initPageData(this.form.referConfig); |
| | | } |
| | | //表格错行的问题所 |
| | | this.$refs.referConfigDialog.onloadAttrData(); |
| | | } |
| | |
| | | this.form.parentClassifySecOid = ''; |
| | | }else if(condition === 'referBtmId'){ |
| | | this.form.referBtmId = ''; |
| | | this.form.referConfig = ''; |
| | | }else if(condition === 'referConfig'){ |
| | | this.form.referConfig = ''; |
| | | } |
| | |
| | | |
| | | .add-basicsec-form > .el-divider--vertical { |
| | | width: 2px; |
| | | height: 72%; |
| | | height: 100%; |
| | | margin: 0 auto; |
| | | position: fixed; |
| | | /* position: fixed; */ |
| | | } |
| | | |
| | | .left { |
| | | /* float: left; */ |
| | | width: 49%; |
| | | width: 45%; |
| | | height: 100%; |
| | | } |
| | | |