|
@@ -305,6 +305,29 @@ export default {
|
|
|
exportList: settlementOrderNewPageExport,
|
|
|
// 表格列解析渲染数据更改
|
|
|
columnParsing(item, defaultData) {
|
|
|
+ if (item.jname === 'workerOrderId') {
|
|
|
+ defaultData.render = (h, { row, index, column }) => {
|
|
|
+ return (
|
|
|
+ <div style="padding:0 6px;cursor: pointer;">
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ onClick={() => {
|
|
|
+ this.$router.push({
|
|
|
+ name: window.isWorkOrderPoolPath,
|
|
|
+ params: {
|
|
|
+ pageName: row[column.columnAttributes.prop],
|
|
|
+ pageType: 'detail',
|
|
|
+ pageCode: row[column.columnAttributes.prop]
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ {row[column.columnAttributes.prop]}
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }
|
|
|
+ }
|
|
|
return defaultData
|
|
|
},
|
|
|
// 监听勾选变化
|