linwenxin hai 5 meses
pai
achega
12c0b946da

+ 4 - 3
src/views/setting/insuranceAdministration/employerInsurance/index.vue

@@ -8,6 +8,7 @@
     :options-evens-group="optionsEvensGroup"
     :moreParameters="moreParameters"
     :column-parsing="columnParsing"
+    :operation="operation"
   >
     <Popu v-if="visible">
       <el-page-header slot="head" content="" @back="handleClose" />
@@ -134,11 +135,11 @@ export default {
       return defaultData
     },
     // 表格操作列
-    operation(h, { row, index, column }) {
+    operation() {
       return this.operationBtn({
         edit: {
           click: ({ row, index, column }) => {
-            this.item = row
+            this.item = { ...row }
             this.visible = true
             this.showType = 1
             // policyOrderDetail({ id: row.id }).then(res => {})
@@ -146,7 +147,7 @@ export default {
         },
         details: {
           click: ({ row, index, column }) => {
-            this.item = row
+            this.item = { ...row }
             this.visible = true
             this.showType = 2
             // policyOrderDetail({ id: row.id }).then(res => {})