田源
2024-01-24 3e17faf676860e7b65079bed632b552bc4be2fc1
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
@@ -1,8 +1,8 @@
<template>
  <div>
    <avue-form v-model="loneTreeNewForm" :option="option" v-if="flag == 'renonly'">
    <avue-form v-model="loneTreeNewForm" :option="renonlyOption" v-if="flag == 'renonly'">
    </avue-form>
      <avue-form v-model="loneTreeNewForm" :option="this.options" @submit="submits" v-else-if="flag == 'edit'">
      <avue-form v-model="loneTreeNewForm" :option="this.editOption" @submit="submits" v-else-if="flag == 'edit'">
    </avue-form>
    <div>
<!--     编码规则-->
@@ -97,7 +97,7 @@
        name: "哈哈",
        sex: "男"
      },
      option: {
      renonlyOption: {
        submitBtn:false,
        emptyBtn:false,
        columnBtn:false,
@@ -187,7 +187,7 @@
    }
  },
  computed:{
    options(){
    editOption(){
      return{
          column: [
            {
@@ -220,7 +220,6 @@
              prop: 'btmTypeName',
              labelWidth:128,
              focus:this.btmFoucus,
                // readonly: true,
              display:this.TreeFlag,
              rules: [{
                required: true,
@@ -240,14 +239,22 @@
              prop:"codeKeyAttrRepeatOidName",
              labelWidth:128,
              focus:this.Keyfouce,
              readonly: true,
              change:(data)=>{
                if(data.value === ""){
                  this.loneTreeNewForm.codeKeyAttrRepeatOid = ""
                }
              }
            },
            {
              label:"相似查询规则",
              prop:"codeResembleRuleOidName",
              labelWidth:128,
              focus: this.simFouce,
              readonly: true,
              change:(data)=>{
                if(data.value === ""){
                  this.loneTreeNewForm.codeResembleRuleOid = ""
                }
              }
            },
            {
              label: '是否参与关键属性校验',