|  |  |  | 
|---|
|  |  |  | <el-button v-if="model.status == 2" type="primary" @click="viewPidan">查看批单</el-button> | 
|---|
|  |  |  | <el-button v-if="[5,8].includes(model.status)" type="primary" @click="closeOrder">关闭订单</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template v-if="2"> | 
|---|
|  |  |  | <template v-if="userInfo.type ===2"> | 
|---|
|  |  |  | <el-button type="primary"  @click="$refs.ApplyChangeDetails.open('加减保详单',apply,model,0)">导出详单</el-button> | 
|---|
|  |  |  | <el-button v-if="[1,2,4,7,9].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> | 
|---|
|  |  |  | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-button v-if=" model.solutionType == 1 && [7].includes(model.status)" type="danger" @click="closeOrder">关闭订单</el-button> | 
|---|
|  |  |  | <el-button v-if=" model.solutionType == 0 && [1].includes(model.status)" type="primary" @click="$refs.OperaApplyChangeCheckWindow.open('上传批单',model,3)">上传批单</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[3,4].includes(model.status)"  type="primary" @click="$refs.OperaApplyChangeCheckWindow.open('驳回退回申请',model,5)">驳回退回申请</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[0,1].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[0,1,3,4].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[2].includes(model.status)"  type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('修改批单',model,4)">修改批单</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template  v-if="0"> | 
|---|
|  |  |  | <template  v-if="userInfo.type ===0"> | 
|---|
|  |  |  | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('加减保详单',apply,model,0)">导出详单</el-button> | 
|---|
|  |  |  | <el-button v-if="[1,2,4,7,9].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> | 
|---|
|  |  |  | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> | 
|---|
|  |  |  | <el-button v-if=" model.solutionType == 0 && [1].includes(model.status)" type="primary" @click="$refs.OperaApplyChangeCheckWindow.open('上传批单',model,3)">上传批单</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[3,4].includes(model.status)"  type="primary" @click="$refs.OperaApplyChangeCheckWindow.open('驳回退回申请',model,5)">驳回退回申请</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[0,1].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[0,1,3,4].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> | 
|---|
|  |  |  | <el-button  v-if="model.solutionType == 0 &&[2].includes(model.status)"  type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('修改批单',model,4)">修改批单</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | visiblePhone: false, | 
|---|
|  |  |  | form: { | 
|---|
|  |  |  | businessId: null, | 
|---|
|  |  |  | phone: this.$store.state.userInfo.company.phone, | 
|---|
|  |  |  | phone: this.$store.state.userInfo.company? this.$store.state.userInfo.company.phone:null, | 
|---|
|  |  |  | id: null, | 
|---|
|  |  |  | editDate: '', | 
|---|
|  |  |  | code:null | 
|---|
|  |  |  | 
|---|
|  |  |  | }, 1000) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getSignLink (flag) { | 
|---|
|  |  |  | if (flag === 0) { | 
|---|
|  |  |  | this.signTitle = '签署方案确认书' | 
|---|
|  |  |  | } else if (flag === 1) { | 
|---|
|  |  |  | this.signTitle = '签署申请单' | 
|---|
|  |  |  | } else if (flag === 2) { | 
|---|
|  |  |  | this.signTitle = '签署投保单' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.form.type = flag | 
|---|
|  |  |  | this.visiblePhone = true | 
|---|
|  |  |  | this.$nextTick(() => { | 
|---|