| | |
| | | name: 'Project-select', |
| | | data() { |
| | | return { |
| | | pageCode:'', |
| | | dataForm: { |
| | | softwareName: '', |
| | | secretClass: '', |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | init(tableName) { |
| | | init(tableName,row) { |
| | | this.dataForm.tableName = tableName |
| | | if(row){ |
| | | if(row.pageCode!=null){ |
| | | this.pageCode = row.pageCode |
| | | } |
| | | } |
| | | this.$nextTick(()=>{ |
| | | this.$refs.tableObj.query() |
| | | }) |
| | | // console.log(this.dataForm,'this.dataForm') |
| | | }, |
| | | async selectedProject(row) { |
| | | console.log(row, 'row') |
| | | await this.$tip.success() |
| | | this.$refs.dialog.close() |
| | | this.$emit('setProjectInfo', row) |
| | | this.$emit('setProjectInfo', row,this.pageCode) |
| | | } |
| | | }, |
| | | } |