MrShi
2024-03-05 84b74d64ecc519882b89278f1011f7ac7525d190
mrshi
已添加3个文件
已修改24个文件
965 ■■■■ 文件已修改
company/.env 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env.development 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env.production 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/api/business/notices.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/api/business/smsEmail.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/ApplyChangeDetails1.vue 301 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/ApplyChangeUnitDetails1.vue 258 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaApplyChangeCheckWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaApplyChangeDetailWindow.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaCompanyDescWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaCompanyWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceApplyCheckWindow.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceApplyWindow.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceWindow.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaSettleClaimsCheckWindow.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaSolutionsWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/operaverifyPhoneNumberWindew.vue 101 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/common/UploadFile.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/OperaInsuranceApplyWindow.vue 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/additionSubtractionApplication.vue 87 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/factoryChange.vue 81 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/applyChange.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/insuranceApply.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/enterprise/insuranceApply.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/login.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env
@@ -4,7 +4,7 @@
VUE_APP_ROUTER_MODE = 'hash'
# é¡¹ç›®ä¸Šä¸‹æ–‡è·¯å¾„
VUE_APP_CONTEXT_PATH = '/yyb_web'
VUE_APP_CONTEXT_PATH = '/yyb_admin'
# æŽ¥å£å‰ç¼€
VUE_APP_API_PREFIX = '/api'
company/.env.development
@@ -5,7 +5,8 @@
# VUE_APP_API_PREFIX = '/yyb_web_api'
# ä¼ä¸šç«¯-仁康
VUE_APP_API = 'http://192.168.0.186:10031/'
# VUE_APP_API = 'http://192.168.0.186:10031/'
VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/'
# å¹³å°ç«¯-仁康
# VUE_APP_API = 'http://192.168.0.186:10030/'
company/.env.production
@@ -1,10 +1,10 @@
# ç”Ÿäº§çŽ¯å¢ƒé…ç½®
NODE_ENV = 'production'
VUE_APP_API_PREFIX = '/yyb_web_api'
VUE_APP_API_PREFIX = '/yyb_admin_api'
# å¹³å°ç«¯
# VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/'
VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/'
# ä¼ä¸šç«¯
VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/'
# VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/'
company/src/api/business/notices.js
@@ -16,3 +16,8 @@
export function closeApplyNotice (type) {
    return request.get(`/business/notices/closeApplyNotice?type=${type}`)
}
// æ ¹æ®ID删除
export function deleById (id) {
    return request.get(`/business/notices/delete/${id}`)
}
company/src/api/business/smsEmail.js
@@ -4,3 +4,8 @@
export function sendSms (data) {
    return request.post('/business/smsEmail/sendSms', data)
}
// çŸ­ä¿¡éªŒè¯ - ä¼ä¸šéªŒç­¾
export function validateCode (params) {
    return request.get('/business/smsEmail/validateCode', {params})
}
company/src/components/business/ApplyChangeDetails1.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,301 @@
<template>
    <GlobalWindow
        :title="title"
        width="100%"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
    >
        <div class="box">
          <div class="top">
            {{title}}
          </div>
          <div class="box_table">
            <div class="box_table_head">
              <div class="box_table_head_item">投保企业</div>
              <div class="box_table_head_item">保险方案</div>
              <div class="box_table_head_item">保单号</div>
              <div class="box_table_head_item">保险生效起期</div>
              <div class="box_table_head_item">保险生效止期</div>
              <div class="box_table_head_item">加保人数</div>
              <div class="box_table_head_item">减保人数</div>
              <div class="box_table_head_item">批单生效期</div>
            </div>
            <div class="box_table_content">
              <div class="box_table_content_item box_table_content_header">{{form.companyName}}</div>
              <div class="box_table_content_item box_table_content_header">{{form.solutionsName}}</div>
              <div class="box_table_content_item box_table_content_header">{{form.code}}</div>
              <div class="box_table_content_item box_table_content_header">{{form.startTime}}</div>
              <div class="box_table_content_item box_table_content_header">{{form.endTime}}</div>
              <div class="box_table_content_item box_table_content_header">{{arr1.length}}</div>
              <div class="box_table_content_item box_table_content_header">{{arr2.length}}</div>
              <div class="box_table_content_item box_table_content_header">{{form.applyStartTime}}</div>
            </div>
          </div>
            <div class="box_table">
              <div class="box_table_head">
                <div class="box_table_head_item1">加保员工</div>
                <div class="box_table_head_item1">减保员工</div>
              </div>
                <div style="width: 100%; display: flex;">
                    <div class="box_table_head" style="width: 50%;">
                        <div class="box_table_head_item">序号</div>
                        <div class="box_table_head_item">员工姓名</div>
                        <div class="box_table_head_item">身份证号</div>
                        <div class="box_table_head_item">性别</div>
                        <div class="box_table_head_item">派遣单位</div>
                        <div class="box_table_head_item">所属工种</div>
                    </div>
                    <div class="box_table_head" style="width: 50%;">
                        <div class="box_table_head_item">序号</div>
                        <div class="box_table_head_item">员工姓名</div>
                        <div class="box_table_head_item">身份证号</div>
                        <div class="box_table_head_item">性别</div>
                        <div class="box_table_head_item">派遣单位</div>
                        <div class="box_table_head_item">所属工种</div>
                    </div>
                </div>
                <div style="width: 100%; display: flex;">
                    <div style="width: 50%; border-bottom: 1px solid #b4bbc5;">
                        <div class="box_table_content" style="width: 100%;" v-for="(item, index) in arr1" :key="index">
                            <div class="box_table_content_item">{{index + 1}}</div>
                            <div class="box_table_content_item">{{item.name}}</div>
                            <div class="box_table_content_item">{{item.idCard}}</div>
                            <div class="box_table_content_item">{{item.sex === 0 ? '男' : '女'}}</div>
                            <div class="box_table_content_item">{{item.duName}}</div>
                            <div class="box_table_content_item">{{item.workTypeName}}</div>
                        </div>
                    </div>
                    <div style="width: 50%; border-bottom: 1px solid #b4bbc5;">
                        <div class="box_table_content" style="width: 100%;" v-for="(item, index) in arr2" :key="index">
                            <div class="box_table_content_item">{{index + 1}}</div>
                            <div class="box_table_content_item">{{item.name}}</div>
                            <div class="box_table_content_item">{{item.idCard}}</div>
                            <div class="box_table_content_item">{{item.sex === 0 ? '男' : '女'}}</div>
                            <div class="box_table_content_item">{{item.duName}}</div>
                            <div class="box_table_content_item">{{item.workTypeName}}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <template v-slot:footer>
            <el-button type="primary" @click="submit">确认</el-button>
            <el-button @click="go">返回</el-button>
        </template>
    </GlobalWindow>
</template>
<script>
    import BaseOpera from '@/components/base/BaseOpera'
    import GlobalWindow from '@/components/common/GlobalWindow'
    export default {
        name: 'ApplyChangeDetails',
        extends: BaseOpera,
        components: { GlobalWindow },
        data () {
            return {
                form: {
                    companyName: '',
                    solutionsName: '',
                    code: '',
                    startTime: '',
                    endTime: '',
                    applyStartTime: ''
                },
                arr1: [],
                arr2: []
            }
        },
        created () {
            this.config({
                api: '/business/insuranceApply',
                'field.id': 'id'
            })
        },
        methods: {
            submit() {
                this.$emit('success')
                this.visible = false
            },
            go() {
                this.visible = false
            },
            open(title, arr1, arr2, obj){
                this.title = title
                this.arr1 = arr1
                this.arr2 = arr2
                this.visible = true
                this.$nextTick(() => {
                    for (const key in this.form) {
                        this.form[key] = obj[key]
                    }
                })
            },
            confirm() {
                this.$emit('success')
            }
        }
    }
</script>
<style lang="scss" scoped>
    .box {
        width: 100%;
       .top{
           width: 100%;
           align-items: center;
           flex-wrap: wrap;
           border-top: 1px solid #b4bbc5;
           border-left: 1px solid #b4bbc5;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
          padding: 15px;
           box-sizing: border-box;
         }
        .box_header {
            width: 100%;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            border-top: 1px solid #b4bbc5;
            border-left: 1px solid #b4bbc5;
            box-sizing: border-box;
            .box_header_item {
                width: 50%;
                height: 50px;
                display: flex;
                align-items: center;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                .box_header_item_label {
                    flex: 1;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    background: #f2f2f2;
                    border-right: 1px solid #b4bbc5;
                    box-sizing: border-box;
                }
                .box_header_item_val {
                    flex: 1;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                }
            }
        }
        .box_table {
            width: 100%;
            border-top: 1px solid #b4bbc5;
            border-left: 1px solid #b4bbc5;
            box-sizing: border-box;
            .box_table_head {
                width: 100%;
                display: flex;
                align-items: center;
                .box_table_head_item1 {
                    flex: 1;
                    height: 50px;
                    background: #f2f2f2;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                    }
                .box_table_head_item {
                    flex: 1;
                    height: 50px;
                    background: #f2f2f2;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                  &:nth-child(3) {
                    flex: 1.5;;
                  }
                  &:nth-child(9) {
                    flex: 1.5;;
                  }
                }
              .box_table_head_item5 {
                flex: 1;
                height: 50px;
                background: #f2f2f2;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: black;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                &:nth-child(2) {
                   flex: 5;
                }
              }
              .box_form_item {
                flex: 1;
                height: 50px;
                background: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: black;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                &:nth-child(1) {
                  //flex: 0.5;
                }
              }
            }
            .box_table_content {
                width: 100%;
                display: flex;
                align-items: center;
                border-left: 1px solid #b4bbc5;
                .box_table_content_header{
                  border-bottom: 0px solid #b4bbc5 !important;
                }
              .box_table_content_item {
                    flex: 1;
                    height: 50px;
                    background: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                &:nth-child(3) {
                  flex: 1.5;
                }
                &:nth-child(9) {
                  flex: 1.5;
                }
                }
            }
        }
    }
</style>
company/src/components/business/ApplyChangeUnitDetails1.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,258 @@
<template>
    <GlobalWindow
        :title="title"
        width="100%"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
    >
        <div class="box">
          <div class="top">
            {{title}}
          </div>
          <div class="box_table">
            <div class="box_table_head">
              <div class="box_table_head_item">投保企业</div>
              <div class="box_table_head_item">保险方案</div>
              <div class="box_table_head_item">保单号</div>
              <div class="box_table_head_item">保险生效起期</div>
              <div class="box_table_head_item">保险生效止期</div>
              <div class="box_table_head_item">换厂人数</div>
              <div class="box_table_head_item">批单生效期</div>
            </div>
            <div class="box_table_content "  >
              <div class="box_table_content_item box_table_content_header">{{ apply.companyName }}</div>
              <div class="box_table_content_item box_table_content_header">{{ apply.solutionsName }}</div>
              <div class="box_table_content_item box_table_content_header">{{ apply.code }}</div>
              <div class="box_table_content_item box_table_content_header">{{ apply.startTime }}</div>
              <div class="box_table_content_item box_table_content_header">{{ apply.endTime }}</div>
              <div class="box_table_content_item box_table_content_header">{{ detailList.length }}</div>
              <div class="box_table_content_item box_table_content_header">{{ apply.applyStartTime }}</div>
            </div>
          </div>
            <div class="box_table">
                <div class="box_table_head">
                    <div class="box_table_head_item">序号</div>
                    <div class="box_table_head_item">员工姓名</div>
                    <div class="box_table_head_item">性别</div>
                    <div class="box_table_head_item">身份证号</div>
                    <div class="box_table_head_item">原派遣单位</div>
                    <div class="box_table_head_item">原所属工种</div>
                    <div class="box_table_head_item">换厂后派遣单位</div>
                    <div class="box_table_head_item">换厂后所属工种</div>
                </div>
                <div class="box_table_content" v-for="(item, index) in detailList" :key="index">
                    <div class="box_table_content_item">{{index + 1}}</div>
                    <div class="box_table_content_item" >{{ item.memberName }}</div>
                    <div class="box_table_content_item">{{  item.sex==0?"男":(item.sex==1?"女":"" )}}</div>
                    <div class="box_table_content_item">{{ item.idCard }}</div>
                    <div class="box_table_content_item">{{ item.oldDuName }}</div>
                    <div class="box_table_content_item">{{item.oldWorkTypeName}}</div>
                    <div class="box_table_content_item">{{ item.duName }}</div>
                    <div class="box_table_content_item">{{item.workTypeName}}</div>
                </div>
            </div>
        </div>
        <template v-slot:footer>
            <el-button type="primary" @click="submit">确定</el-button>
            <el-button @click="visible=false">取消</el-button>
        </template>
    </GlobalWindow>
</template>
<script>
    import BaseOpera from '@/components/base/BaseOpera'
    import GlobalWindow from '@/components/common/GlobalWindow'
    export default {
        name: 'ApplyChangeUnitDetails1',
        extends: BaseOpera,
        components: { GlobalWindow },
        data () {
            return {
                apply: {},
              detailList:[]
            }
        },
        created () {
            this.config({
                api: '/business/insuranceApply',
                'field.id': 'id'
            })
        },
        methods: {
            open(title,target, target1){
              this.title=title
                this.detailList = target
                this.apply = target1
              this.visible=true
            },
            submit() {
                this.$emit('success')
                this.visible = false
            }
        }
    }
</script>
<style lang="scss" scoped>
    .box {
        width: 100%;
       .top{
           width: 100%;
           align-items: center;
           flex-wrap: wrap;
           border-top: 1px solid #b4bbc5;
           border-left: 1px solid #b4bbc5;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
          padding: 15px;
         }
        .box_header {
            width: 100%;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            border-top: 1px solid #b4bbc5;
            border-left: 1px solid #b4bbc5;
            .box_header_item {
                width: 50%;
                height: 50px;
                display: flex;
                align-items: center;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                .box_header_item_label {
                    flex: 1;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    background: #f2f2f2;
                    border-right: 1px solid #b4bbc5;
                }
                .box_header_item_val {
                    flex: 1;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                }
            }
        }
        .box_table {
            width: 100%;
            border-top: 1px solid #b4bbc5;
            border-left: 1px solid #b4bbc5;
            box-sizing: border-box;
            .box_table_head {
                width: 100%;
                display: flex;
                align-items: center;
                .box_table_head_item1 {
                    flex: 1;
                    height: 50px;
                    background: #f2f2f2;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                    }
                .box_table_head_item {
                    flex: 1;
                    height: 50px;
                    background: #f2f2f2;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                  &:nth-child(4) {
                    flex: 1.5;;
                  }
                  &:nth-child(6) {
                    flex: 1.5;;
                  }
                  &:nth-child(8) {
                    flex: 1.5;;
                  }
                }
              .box_table_head_item5 {
                flex: 1;
                height: 50px;
                background: #f2f2f2;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: black;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                &:nth-child(2) {
                   flex: 5;
                }
              }
              .box_form_item {
                flex: 1;
                height: 50px;
                background: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                color: black;
                border-right: 1px solid #b4bbc5;
                border-bottom: 1px solid #b4bbc5;
                box-sizing: border-box;
                &:nth-child(1) {
                  //flex: 0.5;
                }
              }
            }
            .box_table_content {
                width: 100%;
                display: flex;
                align-items: center;
                .box_table_content_header{
                  border-bottom: 0px solid #b4bbc5 !important;
                }
              .box_table_content_item {
                    flex: 1;
                    height: 50px;
                    background: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 14px;
                    color: black;
                    border-right: 1px solid #b4bbc5;
                    border-bottom: 1px solid #b4bbc5;
                    box-sizing: border-box;
                &:nth-child(4) {
                  flex: 1.5;
                }
                &:nth-child(6) {
                  flex: 1.5;
                }
                &:nth-child(8) {
                  flex: 1.5;
                }
                }
            }
        }
    }
</style>
company/src/components/business/OperaApplyChangeCheckWindow.vue
@@ -379,7 +379,7 @@
            }
            .form_item_label {
                flex-shrink: 0;
                width: 150px;
                /*width: 150px;*/
                color: black;
                font-size: 14px;
                span {
company/src/components/business/OperaApplyChangeDetailWindow.vue
@@ -23,8 +23,8 @@
                      <template v-if="userInfo.type === 1">
                          <el-button type="primary" @click="$refs.ApplyChangeDetails.open('加减保详单',apply,model)">导出详单</el-button>
                          <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="$refs.reinsurance.open('加减保申请', {id: dataId, applyChangId: modelId})">再次投保</el-button>
                          <el-button type="primary" v-if="model.status == 0" @click="goSign">签署申请单</el-button>
                          <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('申请退回', { id: modelId })">申请退回</el-button>
                          <el-button type="primary" v-if="model.status == 0" @click="$refs.operaverifyPhoneNumberWindew.open('验证手机号')">签署申请单</el-button>
                          <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="danger" @click="$refs.add_subtract_return.open('申请退回', { id: modelId })">申请退回</el-button>
                          <el-button v-if="model.status == 5" type="primary" @click="viewApplyFile">查看申请单</el-button>
                          <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>
@@ -192,6 +192,8 @@
        <factoryChange ref="factoryChange" @success="successEvent" />
        <!--    æŠ•保详情    -->
        <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" />
        <!--    éªŒè¯æ‰‹æœºå·    -->
        <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
      <template v-slot:footer>
        <el-button @click="visible=false">返回</el-button>
      </template>
@@ -216,6 +218,7 @@
} from '@/api/business/insuranceApply'
import { applyChangeOpt } from '@/api/business/applyChange'
import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow'
import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew'
import { mapState } from 'vuex'
export default {
@@ -229,6 +232,7 @@
      OperaInsuranceApply,
      reinsurance,
      factoryChange,
      operaverifyPhoneNumberWindew,
      insuranceApplyDetails: () => import ('@/components/business/OperaInsuranceApplyWindow')
  },
  data () {
company/src/components/business/OperaCompanyDescWindow.vue
@@ -401,7 +401,7 @@
                align-items: start;
                margin-bottom: 20px;
                .info_list_item_label {
                    width: 150px;
                    /*width: 150px;*/
                    flex-shrink: 0;
                }
                .info_list_item_val {
company/src/components/business/OperaCompanyWindow.vue
@@ -16,7 +16,7 @@
            <el-form-item label="法人姓名" prop="legalName">
                <el-input v-model="form.legalName" placeholder="请输入" v-trim/>
            </el-form-item>
            <el-form-item label="绑定手机号" prop="phone" v-if="form.type !== 1">
            <el-form-item label="绑定手机号" prop="phone" v-if="!form.id">
                <div style="width: 100%; display: flex; align-items: center;">
                    <el-input v-model="form.phone" maxlength="11" type="number" style="flex: 1;" placeholder="请输入" v-trim/>
                    <el-button type="primary" style="flex-shrink: 0; margin-left: 15px;" @click="send" v-if="num === 0">发送验证码</el-button>
company/src/components/business/OperaInsuranceApplyCheckWindow.vue
@@ -14,7 +14,7 @@
        </el-form>
        <el-form v-if="visible2==true" :model="form" ref="form2" :rules="rules2" style="width: 100%;">
          <el-form-item label="上传投保单:" prop="toubaodanFile">
            <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" />
            <UploadFile @remove="dele2" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" />
          </el-form-item>
        </el-form>
        <!--    ä¸Šä¼ ä¿é™©å•    -->
@@ -164,6 +164,9 @@
      })
  },
  methods: {
    dele2() {
      this.form.toubaodanFile = ''
    },
     open(title,target,flag){
       this.visible=true
       this.model={}
@@ -415,7 +418,7 @@
            }
            .form_item_label {
                flex-shrink: 0;
                width: 170px;
                /*width: 170px;*/
                color: black;
                font-size: 14px;
                span {
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -30,12 +30,12 @@
                          <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>
<!--                          goSign-->
                          <el-button v-if="model.status == 2" type="primary" @click="$refs.operaverifyPhoneNumberWindew.open('验证手机号')">签署投保单</el-button>
                      </template>
                    <template v-else>
                      <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 == 2" type="primary" @click="goSign">签署投保单</el-button>-->
                      <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
                      <el-button v-if="model.status == 10 ||model.status == 2" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button>
                      <el-button v-if="model.status == 3" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
@@ -421,6 +421,8 @@
        <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" @success="successEvent"/>
        <!-- æ¢åŽ‚è¯¦æƒ… -->
        <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="successEvent"/>
        <!--    éªŒè¯æ‰‹æœºå·    -->
        <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
        <template v-slot:footer>
            <el-button @click="visible=false">返回</el-button>
        </template>
@@ -434,6 +436,7 @@
import OperaInsuranceApplyCheckWindow from '@/components/business/OperaInsuranceApplyCheckWindow'
import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication'
import factoryChange from '@/components/enterprise/factoryChange'
import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
@@ -457,7 +460,8 @@
      additionSubtractionApplication,
      factoryChange,
      OperaApplyChangeDetailWindow,
      OperaApplyChangeUnitDetailWindow
      OperaApplyChangeUnitDetailWindow,
      operaverifyPhoneNumberWindew
  },
  data () {
    return {
company/src/components/business/OperaInsuranceWindow.vue
@@ -136,6 +136,9 @@
                            }
                        })
                    })
                    .catch(err => {
                        this.$message.error(err.message)
                    })
                    .finally(() => {
                        this.$refs.upload.value = null
                    })
company/src/components/business/OperaSettleClaimsCheckWindow.vue
@@ -25,16 +25,16 @@
                <el-form-item label="结案内容:" prop="doneInfo">
                  <el-input type="textarea" v-model="form.doneInfo" @change="changeAccount" placeholder="请输入" v-trim/>
                </el-form-item>
                <el-form-item label="医疗理赔(元):" prop="ylClaimAccount">{{form.ylClaimAccount}}
                <el-form-item label="医疗理赔(元):" prop="ylClaimAccount">
                  <el-input type="number" v-model="form.ylClaimAccount"  @change="changeAccount" placeholder="请输入" v-trim/>
                </el-form-item>
                <el-form-item label="误工理赔(元):" prop="wgClaimAccount">{{form.wgClaimAccount}}
                <el-form-item label="误工理赔(元):" prop="wgClaimAccount">
                  <el-input type="number" v-model="form.wgClaimAccount" @change="changeAccount"  placeholder="请输入" v-trim/>
                </el-form-item>
                <el-form-item label="伤残理赔(元):" prop="scClaimAccount">{{form.scClaimAccount}}
                <el-form-item label="伤残理赔(元):" prop="scClaimAccount">
                  <el-input type="number" v-model="form.scClaimAccount" @change="changeAccount"  placeholder="请输入" v-trim/>
                </el-form-item>
                <el-form-item label="死亡理赔(元):" prop="swClaimAccount">{{form.swClaimAccount}}
                <el-form-item label="死亡理赔(元):" prop="swClaimAccount">
                  <el-input type="number" v-model="form.swClaimAccount"  @change="changeAccount"  placeholder="请输入" v-trim/>
                </el-form-item>
                <el-form-item label="总金额:"  >
company/src/components/business/OperaSolutionsWindow.vue
@@ -154,7 +154,7 @@
            var validType = (rule, value, callback) => {
                if (this.form.validType === 0 && !value) {
                    return callback(new Error('延迟天数不能为空'));
                } else if (!/^[0-9]*[1-9][0-9]*$/.test(value)) {
                } else if (this.form.validType === 0 && !/^[0-9]*[1-9][0-9]*$/.test(value)) {
                    return callback(new Error('延迟天数只能为正整数'));
                }
                callback();
company/src/components/business/operaverifyPhoneNumberWindew.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,101 @@
<template>
    <GlobalWindow
        :title="title"
        width="40%"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
    >
        <el-form :model="form" ref="form" :rules="rules">
            <el-form-item label="手机号" prop="phone">
                <el-input v-model="form.phone" placeholder="请输入" disabled v-trim/>
            </el-form-item>
            <el-form-item label="验证码" prop="code">
                <div style="width: 100%; display: flex; align-items: center;">
                    <el-input v-model="form.code" placeholder="请输入" v-trim/>
                    <el-button type="primary" style="margin-left: 15px;" @click="send" v-if="num === 0">发送验证码</el-button>
                    <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}</el-button>
                </div>
            </el-form-item>
        </el-form>
    </GlobalWindow>
</template>
<script>
    import BaseOpera from '@/components/base/BaseOpera'
    import GlobalWindow from '@/components/common/GlobalWindow'
    import { sendSms, validateCode } from '@/api/business/smsEmail'
    import { mapState } from 'vuex'
    export default {
        name: 'operaverifyPhoneNumberWindew',
        extends: BaseOpera,
        components: { GlobalWindow },
        data () {
            return {
                form: {
                    phone: this.$store.state.userInfo.company.phone,
                    code: ''
                },
                rules: {
                    code: [
                        { required: true, message: '请输入验证码' }
                    ]
                },
                num: 0,
                timer: null
            }
        },
        computed: {
            ...mapState(['userInfo'])
        },
        methods: {
            open (title) {
                this.title = title
                this.num = 0
                clearInterval(this.timer)
                this.timer = null
                this.visible = true
                this.$nextTick(() => {
                    this.$refs.form.resetFields()
                })
            },
            send () {
                sendSms({
                    phone: this.form.phone
                }).then(res => {
                    this.num = 60
                    this.setTime()
                })
            },
            setTime () {
                this.timer = setInterval(() => {
                    if (this.num === 0) {
                        clearInterval(this.timer)
                        this.timer = null
                        return
                    }
                    this.num = this.num - 1
                }, 1000)
            },
            confirm () {
                this.$refs.form.validate((valid) => {
                    if (!valid) {
                        return
                    }
                    this.isWorking = true
                    validateCode({
                        code: this.form.code
                    }).then(res => {
                        this.visible = false
                        this.$tip.apiSuccess('操作成功')
                        this.$emit('success')
                    }).catch(e => {
                        this.$tip.apiFailed(e)
                    }).finally(() => {
                        this.isWorking = false
                    })
                })
            }
        }
    }
</script>
company/src/components/common/UploadFile.vue
@@ -5,6 +5,7 @@
      :accept="uploadData.fileTyp"
      :action="uploadImgUrl"
      :limit="1"
      :before-remove="removes"
      :on-exceed="handleExceed"
      :on-success="handleFileSuccess"
      :on-error="uploadError"
@@ -39,6 +40,9 @@
  },
  methods: {
    removes() {
      this.$emit('remove')
    },
    // ä¸Šä¼ å›¾ç‰‡
    handleExceed(){},
    handleFileSuccess(res, file) {
company/src/components/enterprise/OperaInsuranceApplyWindow.vue
@@ -349,47 +349,6 @@
                        detailList: this.tableData
                    })
                    // let arr = JSON.parse(JSON.stringify(this.tableData))
                    // arr.forEach(item => {
                    //     item.idcardNo = item.idCard
                    // })
                    // this.isWorking = true
                    // if (!this.form.id) {
                    //     create({
                    //         applyDetailList: arr,
                    //         applyStartTime: this.form.applyStartTime,
                    //         applyEndTime: this.form.applyEndTime,
                    //         solutionId: this.form.solutionId
                    //     }).then(() => {
                    //         this.visible = false
                    //         this.$tip.apiSuccess('操作成功')
                    //         this.$emit('success')
                    //     })
                    //         .catch(e => {
                    //             this.$tip.apiFailed(e)
                    //         })
                    //         .finally(() => {
                    //             this.isWorking = false
                    //         })
                    // } else {
                    //     updateData({
                    //         id: this.form.id,
                    //         applyDetailList: arr,
                    //         applyStartTime: this.form.applyStartTime,
                    //         applyEndTime: this.form.applyEndTime,
                    //         solutionId: this.form.solutionId
                    //     }).then(() => {
                    //         this.visible = false
                    //         this.$tip.apiSuccess('操作成功')
                    //         this.$emit('success')
                    //     }).catch(e => {
                    //         this.$tip.apiFailed(e)
                    //     })
                    //     .finally(() => {
                    //         this.isWorking = false
                    //     })
                    // }
                }
            })
        },
company/src/components/enterprise/additionSubtractionApplication.vue
@@ -171,6 +171,8 @@
        <importEmployees ref="importEmployees" @result="getValue" />
        <!--    ç¡®è®¤å·¥ç§    -->
        <confirmJobType ref="confirmJobType" @result="getUser" />
        <!--    è¯¦æƒ…    -->
        <ApplyChangeDetails1 ref="ApplyChangeDetails1" @success="success" />
    </GlobalWindow>
</template>
@@ -181,14 +183,16 @@
    import addEmployee from '@/components/enterprise/addEmployee'
    import importEmployees from '@/components/enterprise/importEmployees'
    import confirmJobType from '@/components/enterprise/confirmJobType'
    import ApplyChangeDetails1 from '@/components/business/ApplyChangeDetails1'
    import { all } from '@/api/business/solutions'
    import { getDetail } from '@/api/business/insuranceApply'
    import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange'
    import { getDate, compareDates, getTomorrow } from '@/utils/util'
    import { mapState } from 'vuex'
    export default {
        name: 'additionSubtractionApplication',
        extends: BaseOpera,
        components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType },
        components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 },
        data () {
            return {
                form: {
@@ -215,6 +219,9 @@
                },
                list: []
            }
        },
        computed: {
            ...mapState(['userInfo'])
        },
        created () {
            this.config({
@@ -356,25 +363,7 @@
                    })
                }
            },
            confirm() {
                this.$refs.form.validate((valid) => {
                    if (valid) {
                        // if (this.form.addDetailList.length === 0) {
                        //     this.$message.warning('至少添加一项员工')
                        //     return
                        // }
                        for (let i = 0; i < this.form.addDetailList.length; i++) {
                            if (!this.form.addDetailList[i].worktypeId || !this.form.addDetailList[i].duId) {
                                this.$message.warning('请完善加保派遣单位和工种信息')
                                return
                            }
                        }
                        for (let i = 0; i < this.form.delDetailList.length; i++) {
                            if (!this.form.delDetailList[i].worktypeId || !this.form.delDetailList[i].duId) {
                                this.$message.warning('请完善减保派遣单位和工种信息')
                                return
                            }
                        }
            success() {
                        this.form.addDetailList.forEach(item => {
                            item.idcardNo = item.idCard
                        })
@@ -401,6 +390,64 @@
                        }).finally(() => {
                            this.isWorking = false
                        })
            },
            confirm() {
                this.$refs.form.validate((valid) => {
                    if (valid) {
                        // if (this.form.addDetailList.length === 0) {
                        //     this.$message.warning('至少添加一项员工')
                        //     return
                        // }
                        for (let i = 0; i < this.form.addDetailList.length; i++) {
                            if (!this.form.addDetailList[i].worktypeId || !this.form.addDetailList[i].duId) {
                                this.$message.warning('请完善加保派遣单位和工种信息')
                                return
                            }
                        }
                        for (let i = 0; i < this.form.delDetailList.length; i++) {
                            if (!this.form.delDetailList[i].worktypeId || !this.form.delDetailList[i].duId) {
                                this.$message.warning('请完善减保派遣单位和工种信息')
                                return
                            }
                        }
                        this.$refs.ApplyChangeDetails1.open('加减保详单', this.form.addDetailList, this.form.delDetailList, {
                            companyName: this.userInfo.company.name,
                            solutionsName: this.form.solutionsName,
                            code: this.list[0].code,
                            startTime: this.list[0].startTime,
                            endTime: this.list[0].endTime,
                            applyStartTime: this.form.applyStartTime
                        })
                        // return
                        // this.form.addDetailList.forEach(item => {
                        //     item.idcardNo = item.idCard
                        // })
                        // this.form.delDetailList.forEach(item => {
                        //     item.idcardNo = item.idCard
                        // })
                        // // let arr = JSON.parse(JSON.stringify(this.form.addDetailList))
                        // // arr.forEach(item => {
                        // //     item.idcardNo = item.idCard
                        // // })
                        // this.isWorking = true
                        // create({
                        //     applyId: this.form.id,
                        //     addDetailList: this.form.addDetailList,
                        //     delDetailList: this.form.delDetailList,
                        //     validTime: this.form.applyStartTime,
                        //     type: 0
                        // }).then(() => {
                        //     this.visible = false
                        //     this.$tip.apiSuccess('操作成功')
                        //     this.$emit('success')
                        // }).catch(e => {
                        //     this.$tip.apiFailed(e)
                        // }).finally(() => {
                        //     this.isWorking = false
                        // })
                    }
                })
            },
company/src/components/enterprise/factoryChange.vue
@@ -154,6 +154,8 @@
        <importEmployees ref="importEmployees" @result="getValue" />
        <!--    ç¡®è®¤å·¥ç§    -->
        <confirmJobType ref="confirmJobType" @result="getUser" />
        <!--    è¯¦å•    -->
        <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" />
    </GlobalWindow>
</template>
@@ -164,13 +166,15 @@
    import addEmployee from '@/components/enterprise/addEmployee'
    import importEmployees from '@/components/enterprise/importEmployees'
    import confirmJobType from '@/components/enterprise/confirmJobType'
    import ApplyChangeUnitDetails1 from '@/components/business/ApplyChangeUnitDetails1'
    import { all } from '@/api/business/solutions'
    import { getDetail, findList } from '@/api/business/insuranceApply'
    import { create } from '@/api/business/applyChange'
    import { getDate, compareDates, getTomorrow } from '@/utils/util'
    export default {
        name: 'factoryChange',
        extends: BaseOpera,
        components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType },
        components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 },
        data () {
            return {
                form: {
@@ -232,6 +236,26 @@
                this.visible = true
                // this.updatePickerOptions()
            },
            success() {
                this.form.factory.forEach(item => {
                    item.idcardNo = item.idCard
                })
                this.isWorking = true
                create({
                    applyId: this.form.id,
                    changeDetailList: this.form.factory,
                    validTime: this.form.applyStartTime,
                    type: 1
                }).then(() => {
                    this.visible = false
                    this.$tip.apiSuccess('操作成功')
                    this.$emit('success')
                }).catch(e => {
                    this.$tip.apiFailed(e)
                }).finally(() => {
                    this.isWorking = false
                })
            },
            // èŽ·å–æŠ•ä¿è¯¦æƒ…
            getDetails() {
                findList({ applyId: this.form.id })
@@ -262,8 +286,22 @@
                        this.form.solutionsName = res.solutionsName
                        this.pickerOptions = {
                            disabledDate(time) {
                                // - 8.64e7
                                return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate ? res.lastChangeDate : res.startTime).getTime()
                                // å½“前日期大于等于生效日期并且最后一次操作时间等于空
                                if ([1,3].includes(compareDates(getDate(), res.startTime)) && !res.lastChangeDate) {
                                    return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime()
                                    // å½“前日期小于生效日期并且最后一次操作时间等于空
                                } else if (compareDates(getDate(), res.startTime) === 2 && !res.lastChangeDate) {
                                    return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.startTime).getTime()
                                    // æœ€åŽä¸€æ¬¡æ“ä½œæ—¶é—´æœ‰å€¼
                                } else if (res.lastChangeDate) {
                                    // å½“前日期大于最后一次操作时间
                                    if ([1,3].includes(compareDates(getDate(), res.lastChangeDate))) {
                                        return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime()
                                        // å½“前时间小于最后一次操作时间
                                    } else if (compareDates(getDate(), res.lastChangeDate) === 2) {
                                        return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate).getTime()
                                    }
                                }
                            }
                        };
                        this.changeSolution1(res.solutionId)
@@ -295,28 +333,29 @@
                                return
                            }
                        }
                        this.form.factory.forEach(item => {
                            item.idcardNo = item.idCard
                        })
                        this.$refs.ApplyChangeUnitDetails1.open('换厂详单', this.form.factory, {...this.list[0], applyStartTime: this.form.applyStartTime})
                        // this.form.factory.forEach(item => {
                        //     item.idcardNo = item.idCard
                        // })
                        // let arr = JSON.parse(JSON.stringify(this.form.factory))
                        // arr.forEach(item => {
                        //     item.idcardNo = item.idCard
                        // })
                        this.isWorking = true
                        create({
                            applyId: this.form.id,
                            changeDetailList: this.form.factory,
                            validTime: this.form.applyStartTime,
                            type: 1
                        }).then(() => {
                            this.visible = false
                            this.$tip.apiSuccess('操作成功')
                            this.$emit('success')
                        }).catch(e => {
                            this.$tip.apiFailed(e)
                        }).finally(() => {
                            this.isWorking = false
                        })
                        // this.isWorking = true
                        // create({
                        //     applyId: this.form.id,
                        //     changeDetailList: this.form.factory,
                        //     validTime: this.form.applyStartTime,
                        //     type: 1
                        // }).then(() => {
                        //     this.visible = false
                        //     this.$tip.apiSuccess('操作成功')
                        //     this.$emit('success')
                        // }).catch(e => {
                        //     this.$tip.apiFailed(e)
                        // }).finally(() => {
                        //     this.isWorking = false
                        // })
                    }
                })
            },
company/src/views/business/applyChange.vue
@@ -14,7 +14,7 @@
          <el-option label="已关闭" value="6"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="投保企业" prop="companyId">{{searchForm.companyId}}
      <el-form-item label="投保企业" prop="companyId">
        <el-select v-model="searchForm.companyId" placeholder="请选择" @change="search">
          <el-option
              v-for="item in companyList"
@@ -24,7 +24,7 @@
          </el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="保险方案" prop="baseSolutionsId">{{searchForm.baseSolutionsId}}
      <el-form-item label="保险方案" prop="baseSolutionsId">
        <el-select v-model="searchForm.baseSolutionsId" placeholder="请选择" @change="search">
          <el-option
              v-for="item in solutionList"
company/src/views/business/insuranceApply.vue
@@ -6,7 +6,7 @@
                <el-select v-model="searchForm.statusCollect" placeholder="请选择" @keypress.enter.native="search">
                    <el-option label="待审核" value="0"></el-option>
                    <el-option label="待出单" value="1"></el-option>
                  <el-option label="待签章" value="7"></el-option>
                  <el-option label="待签署" value="7"></el-option>
                  <el-option label="保障中" value="2"></el-option>
                  <el-option label="已过期" value="3"></el-option>
                  <el-option label="已退回" value="4"></el-option>
company/src/views/enterprise/insuranceApply.vue
@@ -6,7 +6,7 @@
                <el-select v-model="searchForm.statusCollect" placeholder="请选择" @change="search">
                    <el-option label="待审核" value="0"></el-option>
                    <el-option label="待出单" value="1"></el-option>
                    <el-option label="待签章" value="7"></el-option>
                    <el-option label="待签署" value="7"></el-option>
                    <el-option label="保障中" value="2"></el-option>
                    <el-option label="已过期" value="3"></el-option>
                    <el-option label="已退回" value="4"></el-option>
company/src/views/index.vue
@@ -128,7 +128,7 @@
import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow'
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import OperaTaxesWindow from '@/components/business/OperaTaxesWindow'
import { fetchList as noticeList } from '@/api/business/notices'
import { fetchList as noticeList, deleById } from '@/api/business/notices'
export default {
  components: {
    OperaInsuranceApplyWindow,
@@ -231,7 +231,16 @@
      } else if (obj.objType === 4) {
        this.$refs.OperaTaxesWindow.open('开票申请详情', { id: obj.objId })
      } else if (obj.objType === 5) {
        deleById(obj.id)
          .then(res => {
            this.tableData2.forEach((item, index) => {
              if (item.id === obj.id) {
                this.tableData2.splice(index, 1)
                this.totalPage2 = this.totalPage2 - 1
              }
            })
        this.$refs.operaSettleClaimsWindow.open('理赔详情', { id: obj.objId })
          })
      }
    },
    setLoadTimer () {
@@ -287,12 +296,12 @@
        this.tabs.push({ name: '0', label: '投保代办' })
        // this.handleCurrentChange0(0);
      }
      if (pemissons.includes('business:notice:tax')) {
      if (pemissons.includes('business:notice:tax') && this.userInfo.type !== 1) {
        this.tabs.push({ name: '1', label: '发票代办' })
        // this.handleCurrentChange1(0);
      }
      if (pemissons.includes('business:notice:settle')) {
        this.tabs.push({ name: '2', label: '理赔代办' })
        this.tabs.push({ name: '2', label: '理赔提醒' })
        // this.handleCurrentChange2(0);
      }
      /* if (pemissons.includes('business:notice:insurance')) {
company/src/views/login.vue
@@ -1,7 +1,7 @@
<template>
    <div class="wrap">
        <div class="introduce">
            <h2>预选清单查询系统</h2>
            <h2>云易保</h2>
        </div>
        <div class="login">
            <h1>系统登录&nbsp;/&nbsp;LOGIN IN</h1>
company/vue.config.js
@@ -3,7 +3,7 @@
// const outputDir = process.env.VUE_APP_CONTEXT_PATH.substring(1, process.env.VUE_APP_CONTEXT_PATH.length)
module.exports = {
  publicPath: './',
  outputDir: 'yyb_web',
  outputDir: 'yyb_admin',
  assetsDir: 'static',
  lintOnSave: false,
  devServer: {