| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {defaultReferDataGrid} from '@/api/MasterData/master' |
| | | export default { |
| | | name: "classifyTreeform.vue", |
| | | props: ['loneTreeNewForm','flag'], |
| | |
| | | masterSelectList:[] |
| | | } |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | methods: { |
| | | submit(form, done) { |
| | | this.$message.success(JSON.stringify(form)); |
| | |
| | | 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) |
| | |
| | | <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--> |