nidapeng
2024-04-03 788a8db820cddeef9d99ecf408716f2a0d3c3217
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()