wangting
2023-07-28 fdb46d8de2a54777b71a75403ddf2320731f8007
Source/UBCS-WEB/src/views/code/code.vue
@@ -227,7 +227,7 @@
          <el-button @click="cloneOtherCodeRuleSettingBox = false">取 消</el-button>
        </div>
      </el-dialog>
      <!-- 编码规则,转移所有者对话框 -->
      <el-dialog
        :visible.sync="escapeOwnerVisible"
@@ -340,7 +340,7 @@
      <!-- 码段码值管理对话框 -->
      <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')"
@@ -349,8 +349,7 @@
        <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
@@ -360,7 +359,6 @@
                        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>
@@ -370,7 +368,7 @@
          </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>
@@ -422,8 +420,8 @@
                    <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>
@@ -767,7 +765,6 @@
        <formula-editor
          ref="formulaEditor"
          @updateFormulaContent="updateFormulaContent"
          :componentRuleText="form.getValueClass"
          :visible.sync="formulaEditorParams.formulaEditorSettingBox"
          :thisSceneTableData="formulaEditorParams.thisSceneTableData"
          :systemVariableTableData="formulaEditorParams.systemVariableTableData">
@@ -876,7 +873,7 @@
          ruleAdminUserList: [], //规则管理员列表
          ruleOwner: '', // 当前要转移给哪个规则管理员的ID
          releadDisabled: false, // 避免规则发布重复提交
          /*使用范围对话框显示控制*/
          codeRangeSettingBox: false,
          useRangeData: [],
@@ -1245,7 +1242,7 @@
          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(
@@ -1505,7 +1502,7 @@
          }else{
            if(this.checkClassUpdate(this.codefixedsecOrCodeclassifysec.oid,this.codeClassifyForm.codeClassifySecOid)){
              return;
            }
            }
            //分类码段码值删除
            this.$confirm("是否删除这条数据?如果被引用将不能被删除!", {
              confirmButtonText: "确定",
@@ -1567,7 +1564,7 @@
        codeClassifyValueOpetion(condition){
          if(this.checkClassUpdate(this.codefixedsecOrCodeclassifysec.oid,this.codeClassifyForm.codeClassifySecOid)){
            return;
          }
          }
          //此处涉及到深浅拷贝问题,但是执行上下移保存操作之后会重新加载treedata,所以影响不大
          let currentTreeList = this.getCodeClassifyValueTreeData();
          let saveData = [];
@@ -2572,6 +2569,7 @@
            this.loadlistClassifyLinkAttr();
          }else if(condition === 'value'){
            //打开公式编辑框,第二层嵌套对话框
            //this.$refs.formulaEditor.isShowformulaEdit = true;
            this.formulaEditorParams.formulaEditorSettingBox = true;
          }else if(condition === 'parentClassifySecOid'){
            this.parentClsfyParams.isShowParentClassifySettingBox = true;
@@ -2768,7 +2766,7 @@
          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));
            })
          }
        },
@@ -2781,14 +2779,16 @@
        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;
  }