田源
2023-06-27 188777688de73a27e3913eb773062ddfb1a9bf58
Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
@@ -26,6 +26,7 @@
</template>
<script>
import {defaultReferDataGrid} from '@/api/MasterData/master'
export default {
  name: "classifyTreeform.vue",
  props: ['loneTreeNewForm','flag'],
@@ -197,6 +198,9 @@
      masterSelectList:[]
    }
  },
  created() {
  },
  methods: {
    submit(form, done) {
      this.$message.success(JSON.stringify(form));
@@ -211,15 +215,22 @@
      console.log(this.dialogVisible)
    },
    MasterHandlerClick(){
      if(this.masterSelectList.length>1){
        this.$message.warning('只能选择一条数据')
      }else if(this.masterSelectList.length<=0){
        this.$message.warning('请选择一条数据')
      }else {
        this.dialogVisible=false;
        console.log(this.masterInput)
        console.log(this.MasterSearchSelect)
      }
      defaultReferDataGrid({
        referType:'coderule',
        isMuti:'false',
        'conditionMap["lcstatus"]':'Released'
      }).then(res=>{
        console.log('---',res)
      })
      // if(this.masterSelectList.length>1){
      //   this.$message.warning('只能选择一条数据')
      // }else if(this.masterSelectList.length<=0){
      //   this.$message.warning('请选择一条数据')
      // }else {
      //   this.dialogVisible=false;
      //   console.log(this.masterInput)
      //   console.log(this.MasterSearchSelect)
      // }
    },
    masterSelect(row){
      console.log(row)
@@ -232,3 +243,6 @@
<style scoped>
</style>
<!--uiDataController/defaultReferDataGrid?referBo=coderule&isMuti=false&conditionMap%5B%22lcstatus%22%5D=Released-->
<!--uiDataController/defaultReferDataGrid?conditionMap%5B%22lcstatus%22%5D=Released&referBo=coderule&isMuti=false&_=1687831291212-->