| | |
| | | size="small" style="width: 180px; margin-left: 5px; margin-top: 10px"></el-input> |
| | | </div> |
| | | <el-table v-if="tableData.length != 0" v-loading="isLoading" :data="tableData" max-height="700" style="" |
| | | @cell-click="handleCellClick" @row-click="handleRowClick" @selection-change="handleSelectionChange" @sort-change="sortChange"> |
| | | @cell-click="handleCellClick" @row-click="handleRowClick" @selection-change="handleSelectionChange" @select="handleSelection" @sort-change="sortChange"> |
| | | <el-table-column fixed type="selection" width="55"></el-table-column> |
| | | <el-table-column fixed label="序号" type="index" width="55"> |
| | | </el-table-column> |
| | |
| | | type: "PUBLIC", |
| | | template: "", |
| | | vars: { |
| | | codeClassifyOid: "" |
| | | codeClassifyOid: "", |
| | | templateOid:"" |
| | | } |
| | | }, |
| | | visibleNames:[], |
| | |
| | | } |
| | | }; |
| | | }, |
| | | computed: {}, |
| | | computed: { |
| | | }, |
| | | created() { |
| | | }, |
| | | mounted() { |
| | |
| | | handler(newval, oldval) { |
| | | this.parameter.code = newval; |
| | | this.fileOptions.ownbizOid="1"; |
| | | this.parameter.vars.templateOid = newval |
| | | }, |
| | | deep: true, |
| | | }, |
| | |
| | | CrudHeaderRend() { |
| | | if (this.codeClassifyOid != "") { |
| | | MasterTable({ |
| | | codeClassifyOid: this.codeClassifyOid, |
| | | functionId: 5, |
| | | codeClassifyOid: this.codeClassifyOid |
| | | }).then((res) => { |
| | | this.options = res.data.tableDefineVO.seniorQueryColumns; |
| | | this.List = res.data.tableDefineVO.cols[0]; |
| | |
| | | }); |
| | | }, |
| | | //多选 |
| | | handleSelectionChange(row) { |
| | | if (this.row) { |
| | | this.rowOid = row[0].oid; |
| | | } else { |
| | | this.rowOid = ""; |
| | | } |
| | | this.selectRow = row; |
| | | handleSelectionChange(list) { |
| | | this.selectRow = list; |
| | | this.parameter.ids = []; |
| | | row.forEach((item) => { |
| | | list.forEach((item) => { |
| | | this.parameter.ids.push(item.oid); |
| | | }); |
| | | console.log(' this.parameter.ids', this.parameter.ids) |
| | | |
| | | }, |
| | | //选择 |
| | | handleSelection(list,row) { |
| | | this.fileOptions.ownbizOid= row.oid; |
| | | this.fileOptions.ownbizBtm=row.btmname; |
| | | |