| | |
| | | NODE_ENV = 'development' |
| | | |
| | | # 企业端-仁康 |
| | | # VUE_APP_API = 'http://192.168.0.134:10025/' |
| | | VUE_APP_API = 'http://192.168.0.134:10025/' |
| | | |
| | | # 平台端-仁康 |
| | | # VUE_APP_API = 'http://192.168.0.134:10023/' |
| | | |
| | | # 平台端-萍姐 |
| | | # VUE_APP_API = 'http://192.168.0.102:10023/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10023/' |
| | | # VUE_APP_API = 'http://localhost:10023/' |
| | | |
| | | # VUE_APP_API = 'http://localhost:10023/' |
| | |
| | | export function findList (data) { |
| | | return request.post('/business/applyDetail/findList', data) |
| | | } |
| | | |
| | | // 业务处理 |
| | | export function applyChangeOpt (data) { |
| | | return request.post('/business/applyChange/applyChangeOpt', data) |
| | | } |
| | | |
| | | // 列表查询 |
| | | export function applyChagneDetailList (data) { |
| | | return request.post('/business/applyChagneDetail/list', data) |
| | | } |
| | |
| | | font-weight: bold; |
| | | text-align: center; |
| | | padding: 15px; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_header { |
| | | width: 100%; |
| | |
| | | flex-wrap: wrap; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | .box_header_item { |
| | | width: 50%; |
| | | height: 50px; |
| | |
| | | color: black; |
| | | background: #f2f2f2; |
| | | border-right: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_header_item_val { |
| | | flex: 1; |
| | |
| | | <div class="desc_item_label_right"> |
| | | <template v-if="userInfo.type === 1"> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('加减保详单',apply,model)">导出详单</el-button> |
| | | <el-button v-if="model.status == 4" type="primary" @click="$refs.OperaInsuranceApply.open('投保申请', {id: dataId})">再次投保</el-button> |
| | | <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="$refs.additionSubtractionApplication.open('加减保申请', {id: dataId})">再次投保</el-button> |
| | | <el-button type="primary" v-if="model.status == 0" @click="goSign">签署申请单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">申请退回</el-button> |
| | | <el-button v-if="[2, 3, 7].includes(model.status)" type="primary">申请退回</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewApplyFile">查看申请单</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewPidan">查看批单</el-button> |
| | | <el-button v-if="model.status == 2" type="primary" @click="closeApply">关闭订单</el-button> |
| | | <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="closeOrder">关闭订单</el-button> |
| | | </template> |
| | | <template v-else> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('加减保详单',apply,model)">导出详单</el-button> |
| | |
| | | applyChagneDetailPage, |
| | | getJiajianBaoSignLink |
| | | } from '@/api/business/insuranceApply' |
| | | import { applyChangeOpt } from '@/api/business/applyChange' |
| | | import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | | import { mapState } from 'vuex' |
| | | |
| | |
| | | resetting() { |
| | | this.search() |
| | | }, |
| | | closeOrder() { |
| | | this.$confirm('确认关闭次保单吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | applyChangeOpt({ |
| | | optType: 6, |
| | | applyId: this.model.id |
| | | }).then(res => { |
| | | this.getDetail() |
| | | }).catch(e => { |
| | | this.$message.error(e) |
| | | }) |
| | | }).catch(() => { |
| | | |
| | | }); |
| | | }, |
| | | search() { |
| | | this.currentPage = 1 |
| | | this.getList() |
| | |
| | | <div class="desc_item_label" v-if="userInfo.type === 1 &&(model.statusCollect === 2 || model.statusCollect === 3)"> |
| | | <div class="desc_item_label_left"> |
| | | <span>保险到期还有 <b style="color: #F95601;">{{model.loseEfficacyDays ? model.loseEfficacyDays : '-'}}</b> 天</span> |
| | | <el-button type="primary" v-if="model.statusCollect === 2 || model.statusCollect === 3" @click="$refs.OperaInsuranceApply.open('投保申请', { id: dataId })">在线签署</el-button> |
| | | <el-button type="primary" v-if="model.statusCollect === 2 || model.statusCollect === 3" @click="$refs.OperaInsuranceApply.open('投保申请', { id: dataId })">一键续保</el-button> |
| | | <el-button type="primary" v-if="model.statusCollect === 2" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: dataId })">加减保申请</el-button> |
| | | <el-button type="primary" v-if="model.statusCollect === 2" @click="$refs.factoryChange.open('换厂申请', { id: dataId })">换厂申请</el-button> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="desc_item_label_right"> |
| | | <template v-if="userInfo.type === 1"> |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">签署申请单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">申请退回</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">再次投保</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">关闭订单</el-button> |
| | | <el-button v-if="[0, 2, 3, 10].includes(model.status)" type="danger" @click="$refs.applyReturn.open('申请退回', {id: dataId})">申请退回</el-button> |
| | | <el-button v-if="model.status == 4" type="primary" @click="$refs.OperaInsuranceApply.open('投保申请', {id: dataId})">再次投保</el-button> |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">查看保险单</el-button> |
| | | <el-button v-if="model.status == 2" type="primary" @click="goSign">签署投保单</el-button> |
| | | </template> |
| | | <template v-else> |
| | |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import { all } from '@/api/business/solutions' |
| | | import { getDetail } from '@/api/business/insuranceApply' |
| | | import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange' |
| | | import { create, getChangeCountCyclePriceVO, applyChagneDetailList } from '@/api/business/applyChange' |
| | | export default { |
| | | name: 'additionSubtractionApplication', |
| | | extends: BaseOpera, |
| | |
| | | handleClick(e) { |
| | | this.activeName = e.index |
| | | }, |
| | | getApplyChagneDetailList() { |
| | | applyChagneDetailList({ |
| | | |
| | | }) |
| | | }, |
| | | // 获取投保详情 |
| | | getDetails() { |
| | | // findList({ applyId: this.form.id }) |
| | |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <<<<<<< HEAD |
| | | ======= |
| | | <ul class="toolbar" v-permissions="['business:applychange:create']"> |
| | | <li><el-button type="primary" @click="$refs.operaApplyChangeWindow.open('新建')" v-permissions="['business:applychange:create']">新建</el-button></li> |
| | | </ul> |
| | | >>>>>>> 48eb5dc61ac07d232632b13d040006128ed5cceb |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | |
| | | <span v-if="row.status === 3">退回申请</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="companyName" label="投保企业" min-width="100px"></el-table-column> |
| | | <el-table-column prop="applyCode" label="关联保单号" min-width="100px"></el-table-column> |
| | | <el-table-column prop="solutionsName" label="保险方案" min-width="100px"></el-table-column> |
| | | <el-table-column prop="addNum" label="加保人数(人)" min-width="100px"></el-table-column> |
| | |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaApplyChangeWindow.open('加减保详情', row)">查看详情</el-button> |
| | | <el-button type="text" @click="$refs.OperaApplyChangeDetailWindow.open('加减保详情', row)">查看详情</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </pagination> |
| | | </template> |
| | | <!-- 详情 --> |
| | | <add_subtractDetails ref="add_subtractDetails" @success="handlePageChange"/> |
| | | <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" @success="handlePageChange"/> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import add_subtractDetails from '@/components/enterprise/add_subtractDetails' |
| | | import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow' |
| | | import {all as solutionAll, all} from '@/api/business/solutions' |
| | | import { mapState } from 'vuex' |
| | | export default { |
| | | name: 'add_subtract', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination, add_subtractDetails }, |
| | | components: { TableLayout, Pagination, add_subtractDetails, OperaApplyChangeDetailWindow }, |
| | | data () { |
| | | return { |
| | | // 搜索 |
| | |
| | | <section> |
| | | <el-button type="primary" @click="search">搜索</el-button> |
| | | <el-button @click="reset">重置</el-button> |
| | | <el-button @click="$refs.add_subtractDetails.open('加减保详情')">查看详情</el-button> |
| | | </section> |
| | | </el-form> |
| | | <!-- 表格和分页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:applychange:create']"> |
| | | <li><el-button type="primary" @click="$refs.operaApplyChangeWindow.open('新建')" v-permissions="['business:applychange:create']">新建</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaApplyChangeWindow.open('加减保详情', row)">查看详情</el-button> |
| | | <el-button type="text" @click="$refs.OperaApplyChangeUnitDetailWindow.open('换厂详情', row)">查看详情</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </pagination> |
| | | </template> |
| | | <!-- 详情 --> |
| | | <add_subtractDetails ref="add_subtractDetails" @success="handlePageChange"/> |
| | | <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="handlePageChange"/> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import add_subtractDetails from '@/components/enterprise/add_subtractDetails' |
| | | import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow' |
| | | import {all as solutionAll} from "@/api/business/solutions"; |
| | | import {pageAll as companyAll} from "@/api/business/company"; |
| | | export default { |
| | | name: 'switchCourt', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination, add_subtractDetails }, |
| | | components: { TableLayout, Pagination, OperaApplyChangeUnitDetailWindow }, |
| | | data () { |
| | | return { |
| | | // 搜索 |