| | |
| | | <template v-if="2"> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('加减保详单',model,0)">导出详单</el-button> |
| | | <el-button v-if="[1,2].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" @click="getSignLink(0)">签署申请单</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署申请单</el-button> |
| | | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> |
| | | <el-button v-if=" [1].includes(model.status)" type="primary" @click="$refs.OperaUnionChangeCheckWindow.open('上传批单',model,3)">上传批单</el-button> |
| | | <el-button v-if="[0,1].includes(model.status)" type="danger" @click="$refs.OperaUnionChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> |
| | |
| | | <template v-if="0"> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('更换派遣单位详单',model,0)">导出详单</el-button> |
| | | <el-button v-if="[1,2].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" @click="getSignLink(0)">签署申请单</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署申请单</el-button> |
| | | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> |
| | | </template> |
| | | </template> |
| | |
| | | align="center" |
| | | label="保单号"> |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.insuranceApplyDetails.open('投保详情', { id: row.applyId })">{{row.applyCode}}</el-button> |
| | | <el-button type="text" @click="$refs.detailsEntrustedInsurance.open('投保详情', { id: row.unionApplyId })">{{row.applyCode}}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <factoryChange ref="factoryChange" @success="successEvent" /> |
| | | <!-- 投保详情 --> |
| | | <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" /> |
| | | <!-- 详情 --> |
| | | <detailsEntrustedInsurance ref="detailsEntrustedInsurance" /> |
| | | <!-- 修改手机号 --> |
| | | <el-dialog |
| | | :title="signTitle" |
| | |
| | | getSignLink |
| | | } from '@/api/business/unionChange' |
| | | import {applyChangeOpt, listAll as applyList} from '@/api/business/applyChange' |
| | | import detailsEntrustedInsurance from '@/components/business/detailsEntrustedInsurance' |
| | | |
| | | import {sendSms} from "@/api/business/smsEmail"; |
| | | import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | |
| | | OperaInsuranceApply, |
| | | reinsurance, |
| | | factoryChange, |
| | | detailsEntrustedInsurance, |
| | | insuranceApplyDetails: () => import ('@/components/business/OperaInsuranceApplyWindow') |
| | | }, |
| | | data () { |
| | |
| | | list: [], |
| | | activeName: '0', |
| | | total: 0, |
| | | currentPage: 1 |
| | | currentPage: 1, |
| | | loading: false |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | }, |
| | | getSignLink (flag) { |
| | | this.signTitle = '签署申请单' |
| | | this.form.type = flag |
| | | this.visiblePhone = true |
| | | this.$nextTick(() => { |
| | | this.$refs.form.resetFields() |
| | | }); |
| | | this.form.type = flag |
| | | this.loading = true |
| | | getSignLink(this.form).then(res => { |
| | | this.loading = false |
| | | window.open(res) |
| | | }).catch(err => { |
| | | this.loading = false |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | // this.visiblePhone = true |
| | | // this.$nextTick(() => { |
| | | // this.$refs.form.resetFields() |
| | | // }); |
| | | }, |
| | | goSignDo(){ |
| | | this.$refs.form.validate((valid) => { |
| | |
| | | this.model = res |
| | | this.tableData = new Array() |
| | | this.tableData.push(res) |
| | | console.log(this.tableData) |
| | | this.pidanFileData.push({ name: '商户保险单', file: this.model.pidanFile }) |
| | | this.getApplyList() |
| | | }).catch(err => { |