nidapeng
2024-04-11 676fba209b6bd2c0405b06078f05a72585546dc2
提交一把
已修改6个文件
39 ■■■■■ 文件已修改
company/src/components/business/OpearaUnionChange.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OpearaUnionChangeUnit.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceApplyWindow.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaWtbApplyShopWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/index.vue 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/service/src/main/java/com/doumee/service/business/impl/CompanyServiceImpl.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OpearaUnionChange.vue
@@ -22,7 +22,7 @@
                type="date"
                :picker-options="pickerOptions"
                format="yyyy-MM-dd"
                placeholder="前选择日期"
                placeholder="请选择日期"
                value-format="yyyy-MM-dd" />
            <span style="color: #F95601; font-size: 14px;">(2. 次日生效投保请于17:30前提交,超时提交以保险单为准)</span>
          </div>
company/src/components/business/OpearaUnionChangeUnit.vue
@@ -19,7 +19,7 @@
          <div style="display: flex; flex-direction: column;">
            <el-date-picker
                v-model="form.applyDate"
                placeholder="前选择日期"
                placeholder="请选择日期"
                :picker-options="pickerOptions"
                type="date"
                format="yyyy-MM-dd"
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -774,6 +774,7 @@
    },
     getDetail(){
      getDetail(this.dataId).then(res => {
        console.log(res)
        this.model = res
        this.tableData = new Array()
        this.tableData.push(res)
company/src/components/business/OperaWtbApplyShopWindow.vue
@@ -35,7 +35,7 @@
                        <el-button v-if="model.status == 20" type="primary" @click="getSignLink(0)">签署方案确认书</el-button>
                        <el-button v-if="model.status == 21" type="primary" @click="getSignLink(1)">签署申请单</el-button>
                        <el-button v-if="model.unionApplyTbdStatus == 1" type="primary" @click="getSignLink(2)">签署投保单</el-button>
                        <el-button v-if="model.status == 24" type="primary" @click="closeOrder">关闭订单</el-button>
                        <el-button v-if="model.status == 24" type="danger" @click="closeOrder">关闭订单</el-button>
                      </template>
                    <template v-if="userInfo.type === 2">
                      <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>
company/src/views/index.vue
@@ -126,7 +126,7 @@
      </div>
    </div>
    <OperaInsuranceApplyWindow ref="operaInsuranceApplyWindow" @success="handleCurrentChange0()"/>
    <OperaInsuranceApplyShopWindow ref="operaInsuranceApplyShopWindow" @success="handleCurrentChange0()"/>
    <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handleCurrentChange0()"/>
    <dispatchUnitDetailsPlat ref="dispatchUnitDetailsPlat" @success="handleCurrentChange0()"/>
    <OperaSettleClaimsWindow ref="operaSettleClaimsWindow" @success="handleCurrentChange2()"/>
    <OperaApplyChangeUnitDetailWindow ref="operaApplyChangeUnitDetailWindow" @success="handleCurrentChange0()"/>
@@ -139,22 +139,23 @@
import * as echarts from 'echarts'
import { mapState } from 'vuex'
import OperaInsuranceApplyWindow from '@/components/business/OperaInsuranceApplyWindow'
import OperaInsuranceApplyShopWindow from '@/components/business/OperaInsuranceApplyShopWindow'
import dispatchUnitDetailsPlat from '@/components/business/dispatchUnitDetailsPlat'
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import OperaTaxesWindow from '@/components/business/OperaTaxesWindow'
import { fetchList as noticeList, deleById } from '@/api/business/notices'
import {getChangeDetail, getDetail} from "@/api/business/insuranceApply";
import OperaWtbApplyShopWindow from "@/components/business/OperaWtbApplyShopWindow";
export default {
  components: {
    OperaWtbApplyShopWindow,
    OperaInsuranceApplyWindow,
    dispatchUnitDetailsPlat,
    OperaTaxesWindow,
    OperaSettleClaimsWindow,
    OperaApplyChangeDetailWindow,
    OperaApplyChangeUnitDetailWindow,
    OperaInsuranceApplyShopWindow
  },
  name: 'Index',
  data () {
@@ -244,15 +245,24 @@
  methods: {
    detail (obj) {
      if (obj.objType === 0) {
        if(obj.solutionType == 1){
          this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId })
        }else{
          this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId })
        }
        getDetail(obj.objId).then(res => {
          if( res.solutionType == 0){
            this.$refs.operaInsuranceApplyWindow.open('投保申请详情', { id: obj.objId })
          }else{
            this.$refs.OperaWtbApplyShopWindow.open('委托投保申请详情', { id: obj.objId })
          }
        }).catch(err => {
        })
      } else if (obj.objType === 1) {
        this.$refs.operaApplyChangeDetailWindow.open('加减保详情', { id: obj.objId, applyId: obj.param1 })
        getChangeDetail(obj.objId).then(res => {
          this.$refs.operaApplyChangeDetailWindow.open('加减保详情', { id: obj.objId, applyId: res.applyId })
        }).catch(err => {
        })
      } else if (obj.objType === 2) {
        this.$refs.operaApplyChangeUnitDetailWindow.open('更换派遣单位申请详情', { id: obj.objId, applyId: obj.param1 })
        getChangeDetail(obj.objId).then(res => {
          this.$refs.operaApplyChangeUnitDetailWindow.open('更换派遣单位申请详情', { id: obj.objId, applyId: res.applyId })
        }).catch(err => {
        })
      } else if (obj.objType === 3) {
        this.$refs.dispatchUnitDetailsPlat.open('派遣单详情', { id: obj.objId })
      } else if (obj.objType === 4) {
server/service/src/main/java/com/doumee/service/business/impl/CompanyServiceImpl.java
@@ -205,6 +205,7 @@
        user.setFixed(Boolean.TRUE);
        user.setDeleted(Boolean.FALSE);
        user.setCompanyId(company.getId());
        user.setRealname(company.getLegalName());
        user.setMobile(company.getPhone());
        user.setCreateUser(company.getCreator());
        user.setCreateTime(company.getCreateDate());
@@ -234,6 +235,7 @@
            user.setCompanyId(company.getId());
            user.setMobile(company.getPhone());
            user.setCreateUser(company.getCreator());
            user.setRealname(company.getLegalName());
            user.setCreateTime(company.getCreateDate());
            user.setStatus(Constants.ZERO);
            systemUserMapper.insert(user);//插入新的管理员账号