| | |
| | | :height="tableHeight + ''" |
| | | @pagination="pagination" |
| | | :handleSelectionChange="selectionChange" |
| | | :table="table" |
| | | :column="column" |
| | | :page="page" |
| | | :tableLoading="tableLoading" |
| | | ></lims-table> |
| | |
| | | highlightCurrentRow |
| | | :height="'80vh'" |
| | | :tableData="dataLooktableData" |
| | | :table="dataLookTable" |
| | | :column="dataLookColumn" |
| | | :tableLoading="dataLookTableLoading" |
| | | ></lims-table> |
| | | </el-dialog> |
| | |
| | | current: 1, |
| | | }, |
| | | tableLoading: false, |
| | | table: { |
| | | // 标题 |
| | | column: [ |
| | | { |
| | | label: "委托编号", |
| | |
| | | minWidth: "120px", |
| | | width: "120px", |
| | | }, |
| | | ], |
| | | operatorConfig: { |
| | | fixed: "right", |
| | | { |
| | | label: "操作", |
| | | minWidth: 100, |
| | | }, |
| | | operator: [ |
| | | dataType: "action", |
| | | fixed: "right", |
| | | operation: [ |
| | | { |
| | | name: "数据查看", |
| | | type: "text", |
| | |
| | | clickFun: (row) => { |
| | | this.handleDataLook(row); |
| | | }, |
| | | showFun: () => { |
| | | showHide: () => { |
| | | return true; |
| | | }, |
| | | }, |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | dataLookTable: { |
| | | column: [ |
| | | ], |
| | | dataLookColumn: [ |
| | | { |
| | | label: "委托编号", |
| | | prop: "entrustCode", |
| | |
| | | minWidth: "120px", |
| | | width: "120px", |
| | | }, |
| | | ], |
| | | operatorConfig: { |
| | | fixed: "right", |
| | | { |
| | | dataType: "action", |
| | | label: "操作", |
| | | width: 80, |
| | | minWidth: 100, |
| | | }, |
| | | operator: [ |
| | | fixed: "right", |
| | | operation: [ |
| | | { |
| | | name: "查看", |
| | | type: "text", |
| | | clickFun: (row) => {}, |
| | | showFun: (row) => { |
| | | console.log(row); |
| | | console.log(row.inspectionItem); |
| | | showHide: (row) => { |
| | | return ( |
| | | row.inspectionItem == "单根垂直燃烧" || |
| | | row.inspectionItem.includes("松套管") || |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | ], |
| | | dataLookTableLoading: false, |
| | | dataLooktableData: [], |
| | | qrData: [], |