| | |
| | | <el-button @click="cloneOtherCodeRuleSettingBox = false">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | |
| | | <!-- 编码规则,转移所有者对话框 --> |
| | | <el-dialog |
| | | :visible.sync="escapeOwnerVisible" |
| | |
| | | <!-- 码段码值管理对话框 --> |
| | | <el-dialog title="码段码值管理" |
| | | :visible.sync="isShowBasicSecCodeValueMgr" |
| | | :width="isShowFixedForm ? '68vw':'50vw'" |
| | | :width="isShowFixedForm ? '69vw':'50vw'" |
| | | append-to-body |
| | | style="height: 116vh; margin-top: -10vh;" |
| | | @close="clearFixedOrClassifyForm('close')" |
| | |
| | | <el-row v-show="!isShowFixedForm"> |
| | | <el-col :span="11"> |
| | | <basic-container> |
| | | <div class="box classify_value_box" style="height:65vh; margin-bottom:-40px"> |
| | | <el-scrollbar style="border-bottom-right-radius:8px "> |
| | | <div class="box classify_value_box" style="height:60vh; margin-bottom:-40px"> |
| | | <basic-container> |
| | | <div class="abox" style="height:54vh"> |
| | | <avue-tree |
| | |
| | | style="overflow-y: auto; height: 54vh"/> |
| | | </div> |
| | | </basic-container> |
| | | </el-scrollbar> |
| | | </div> |
| | | <div style="margin-top:20px; display: flex; align-items:center; justify-content:center;"> |
| | | <el-button size="mini" type="primary" icon="el-icon-arrow-up" class="button" @click="codeClassifyValueOpetion('up')">上移</el-button> |
| | |
| | | </el-col> |
| | | <el-col :span="13"> |
| | | <basic-container> |
| | | <div class="box" style="height:65vh; margin-bottom:-40px"> |
| | | <div class="box" style="height:60vh; margin-bottom:-40px"> |
| | | <el-form> |
| | | <el-form-item label="码值:" :label-width="50" required> |
| | | <el-input style="width: 18vw" v-model="codeClassifyForm.id"></el-input> |
| | |
| | | <el-form-item label="码值:" label-width="54px" required> |
| | | <el-input style="width: 19.5vw" v-model="codeFixdForm.id"></el-input> |
| | | </el-form-item > |
| | | <el-form-item label="描述:"> |
| | | <el-input type="textarea" style="width: 20vw;" v-model="codeFixdForm.description"></el-input> |
| | | <el-form-item label="描述:" label-width="54px"> |
| | | <el-input type="textarea" style="width: 19.5vw;" v-model="codeFixdForm.description"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | <formula-editor |
| | | ref="formulaEditor" |
| | | @updateFormulaContent="updateFormulaContent" |
| | | :componentRuleText="form.getValueClass" |
| | | :visible.sync="formulaEditorParams.formulaEditorSettingBox" |
| | | :thisSceneTableData="formulaEditorParams.thisSceneTableData" |
| | | :systemVariableTableData="formulaEditorParams.systemVariableTableData"> |
| | |
| | | ruleAdminUserList: [], //规则管理员列表 |
| | | ruleOwner: '', // 当前要转移给哪个规则管理员的ID |
| | | releadDisabled: false, // 避免规则发布重复提交 |
| | | |
| | | |
| | | /*使用范围对话框显示控制*/ |
| | | codeRangeSettingBox: false, |
| | | useRangeData: [], |
| | |
| | | parentClsParam.classifyDialogLoading = true; |
| | | let oid = this.selectionList.length==0 ? this.form.pkCodeRule:this.selectionList[0].oid; |
| | | let conditionMaps = {}; |
| | | |
| | | |
| | | conditionMaps['conditionMap[pkCodeRule]'] = oid; |
| | | conditionMaps['conditionMap[oid_notequal]'] = this.form.oid; |
| | | refDataGridClassifySec( |
| | |
| | | }else{ |
| | | if(this.checkClassUpdate(this.codefixedsecOrCodeclassifysec.oid,this.codeClassifyForm.codeClassifySecOid)){ |
| | | return; |
| | | } |
| | | } |
| | | //分类码段码值删除 |
| | | this.$confirm("是否删除这条数据?如果被引用将不能被删除!", { |
| | | confirmButtonText: "确定", |
| | |
| | | codeClassifyValueOpetion(condition){ |
| | | if(this.checkClassUpdate(this.codefixedsecOrCodeclassifysec.oid,this.codeClassifyForm.codeClassifySecOid)){ |
| | | return; |
| | | } |
| | | } |
| | | //此处涉及到深浅拷贝问题,但是执行上下移保存操作之后会重新加载treedata,所以影响不大 |
| | | let currentTreeList = this.getCodeClassifyValueTreeData(); |
| | | let saveData = []; |
| | |
| | | this.loadlistClassifyLinkAttr(); |
| | | }else if(condition === 'value'){ |
| | | //打开公式编辑框,第二层嵌套对话框 |
| | | //this.$refs.formulaEditor.isShowformulaEdit = true; |
| | | this.formulaEditorParams.formulaEditorSettingBox = true; |
| | | }else if(condition === 'parentClassifySecOid'){ |
| | | this.parentClsfyParams.isShowParentClassifySettingBox = true; |
| | |
| | | if(enumCach == null) { |
| | | getDictionary("codeFillSeparator").then(res=>{ |
| | | this.enumParam.codeFillSeparator = res.data.data; |
| | | localStorage.setItem("codeFillSeparator",JSON.stringify(res.data.data)); |
| | | localStorage.setItem('codeFillSeparator',JSON.stringify(res.data.data)); |
| | | }) |
| | | } |
| | | }, |
| | |
| | | loadCodeGetValueType(){ |
| | | this.enumParam.codeGetValueType = this.getLocalStorageEnum("codeGetValueType"); |
| | | }, |
| | | |
| | | |
| | | } |
| | | }; |
| | | |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | [class^="icon-"]{ |
| | | font-size: 12px !important; |
| | | } |
| | | .code-rule-crud > .avue-crud__search ,.code-basic-crud > .avue-crud__search { |
| | | margin-bottom: -15px; |
| | | } |