Browse Source

no message

linwenxin 4 months ago
parent
commit
49ee50ea19
1 changed files with 23 additions and 0 deletions
  1. 23 0
      src/views/mallManagement/settleManagElecpay/index.vue

+ 23 - 0
src/views/mallManagement/settleManagElecpay/index.vue

@@ -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
     },
     // 监听勾选变化