From 788a8db820cddeef9d99ecf408716f2a0d3c3217 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期三, 03 四月 2024 17:11:30 +0800
Subject: [PATCH] 提交一把

---
 company/src/components/business/OpearaUnionApply.vue |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/company/src/components/business/OpearaUnionApply.vue b/company/src/components/business/OpearaUnionApply.vue
index 6ae3352..b76e31c 100644
--- a/company/src/components/business/OpearaUnionApply.vue
+++ b/company/src/components/business/OpearaUnionApply.vue
@@ -107,7 +107,7 @@
         <selectApplicationForm ref="selectApplicationForm" @success="getValue" />
         <!--    鎶曚繚鍛樺伐鍚嶅崟    -->
         <employeeList ref="employeeList" />
-      <InsuranceDetails ref="InsuranceDetails" @success="successEvent" />
+      <InsuranceDetails ref="InsuranceDetails" @success="getValue" />
     </GlobalWindow>
 </template>
 
@@ -117,11 +117,11 @@
 import selectApplicationForm from '@/components/business/selectApplicationForm'
 import employeeList from '@/components/business/employeeList'
 import { all } from '@/api/business/solutions'
-import { fetchList } from '@/api/business/insuranceApply'
+import { findAllApply } from '@/api/business/insuranceApply'
 import InsuranceDetails from '@/components/business/InsuranceDetails'
 import { merge } from '@/api/business/unionApply'
 export default {
-  name: 'factoryChange',
+  name: 'OpearaUnionApply',
   extends: BaseOpera,
   components: { GlobalWindow, InsuranceDetails,selectApplicationForm, employeeList },
   data () {
@@ -251,16 +251,12 @@
       this.getList()
     },
     getList () {
-      fetchList({
-        capacity: 10,
-        page: this.currentPage,
-        model: {
+      findAllApply({
           baseSolutionId: this.form.baseSolutionId,
           status: 23
-        }
       }).then(res => {
-        this.list = res.records
-        this.total = res.total
+        this.list = res
+        this.total=this.list ?this.list.length:0
         this.$nextTick(() => {
           if (this.$refs.table && this.$refs.table.doLayout) {
             this.$refs.table.doLayout()

--
Gitblit v1.9.3