From 02bc3bfe47e3d5311a0bb041c94e70a34b1ca73c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 09 四月 2024 09:03:01 +0800
Subject: [PATCH] git ch
---
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