MrShi
2024-11-15 30cfb2b836a8a3d609518cc295753b58b17a9bc7
优化
已添加1个文件
已删除44个文件
已修改32个文件
1249 ■■■■■ 文件已修改
company/.env 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env.developmentShop 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env.production 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/02f0ccf145e2da1bb858.worker.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/02f0ccf145e2da1bb858.worker.js.map 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/avatar/man.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/avatar/woman.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/bitbug_favicon.ico 补丁 | 查看 | 原始文档 | blame | 历史
company/company/favicon.ico 补丁 | 查看 | 原始文档 | blame | 历史
company/company/file/typeWork.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
company/company/index.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/css/app.0efa42b0.css 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/css/chunk-vendors.3c62055f.css 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/fonts/element-icons.535877f5.woff 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/fonts/element-icons.732389de.ttf 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/404-tip.4d90651f.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/404.5c17595f.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/apply.09439554.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/apply_check.09439554.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/change_apply_check.e9cb3f99.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/company_add.6884c663.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/department.1754fad3.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/dictionary.0c28d143.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/dipatch_unit.6884c663.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/image.db9d79a2.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/listener.23a71b9d.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/log-login.04516c69.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/log-opera.c9e49c6d.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/log.f30b4ce3.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/login.c85505e1.jpg 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/man.6eaa0e37.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/permission.8e6d7d41.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/position.b31ebe59.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/pwd.f73be658.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/role.175bee67.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/settle.2cb8083b.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/settle_check.022d095d.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/shield.54851228.svg 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/tax_check.1ac033e3.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/top_ic_bolang@2x.b1c83ed4.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/img/top_ic_chilun@2x.e18ac9b0.png 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/js/app.e7578661.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/js/app.e7578661.js.map 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/js/chunk-vendors.54379980.js 242 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/static/js/chunk-vendors.54379980.js.map 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/company/template/personnel_add.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
company/company/template/personnel_reduce.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
company/src/api/business/insuranceApply.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/api/business/unionApply.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaApplyChangeDetailWindow.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaApplyChangeUnitDetailWindow.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaCompanyUserApplyWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaContractDescWindow.vue 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaContractWindow.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceApplyCheckWindow.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaInsuranceApplyWindow.vue 70 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaSolutionsWindow.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaUnionApplyCheckWindow.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaWtbApplyShopWindow.vue 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/detailsEntrustedInsurance.vue 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/operaCompanyUserApplyDescWindow.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/selectPolicy.vue 172 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/common/CommonHeader.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/common/chooseCompany.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/OperaInsuranceApplyAddWindow.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/additionSubtractionApplication.vue 128 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/factoryChange.vue 88 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/enterprise/renewalInsurance.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/system/user/OperaUserWindow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/applyChange.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/contract.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/insuranceApply.vue 68 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/solutions.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/business/switchCourt.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/enterprise/insuranceApply.vue 63 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/enterprise/myPolicy.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/views/system/user.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/.env
@@ -4,8 +4,8 @@
VUE_APP_ROUTER_MODE = 'hash'
# é¡¹ç›®ä¸Šä¸‹æ–‡è·¯å¾„
# VUE_APP_CONTEXT_PATH = '/yyb_admin'
VUE_APP_CONTEXT_PATH = '/yyb_web'
VUE_APP_CONTEXT_PATH = '/yyb_admin'
# VUE_APP_CONTEXT_PATH = '/yyb_web'
# VUE_APP_CONTEXT_PATH = '/yyb_shop'
# æŽ¥å£å‰ç¼€
company/.env.developmentShop
@@ -7,7 +7,7 @@
VUE_APP_SYSTEM_TITLE = '云易保客户服务系统-商户端'
#VUE_APP_API = 'https://www.yyb.red/yyb_shop_api/'
 VUE_APP_API = 'http://192.168.0.135:10032/'
 VUE_APP_API = 'http://192.168.0.137:10032/'
#VUE_APP_API = 'http://localhost:10032/'
company/.env.production
@@ -1,6 +1,6 @@
# ç”Ÿäº§çŽ¯å¢ƒé…ç½®
NODE_ENV = 'production'
VUE_APP_CONTEXT_PATH = '/admin'
# VUE_APP_CONTEXT_PATH = '/admin'
VUE_APP_API_PREFIX = '/yyb_admin_api'
VUE_APP_CONTEXT_NAME = 'admin'
@@ -8,7 +8,7 @@
VUE_APP_SYSTEM_TITLE = '云易保客户服务系统-平台端'
# å¹³å°ç«¯
# VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/'
VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/'
# ä¼ä¸šç«¯
VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/'
# VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/'
company/company/02f0ccf145e2da1bb858.worker.js
ÎļþÒÑɾ³ý
company/company/02f0ccf145e2da1bb858.worker.js.map
ÎļþÒÑɾ³ý
company/company/avatar/man.png
Binary files differ
company/company/avatar/woman.png
Binary files differ
company/company/bitbug_favicon.ico
Binary files differ
company/company/favicon.ico
Binary files differ
company/company/file/typeWork.xlsx
Binary files differ
company/company/index.html
ÎļþÒÑɾ³ý
company/company/static/css/app.0efa42b0.css
ÎļþÒÑɾ³ý
company/company/static/css/chunk-vendors.3c62055f.css
ÎļþÒÑɾ³ý
company/company/static/fonts/element-icons.535877f5.woff
Binary files differ
company/company/static/fonts/element-icons.732389de.ttf
Binary files differ
company/company/static/img/404-tip.4d90651f.png
Binary files differ
company/company/static/img/404.5c17595f.png
Binary files differ
company/company/static/img/apply.09439554.png
Binary files differ
company/company/static/img/apply_check.09439554.png
Binary files differ
company/company/static/img/change_apply_check.e9cb3f99.png
Binary files differ
company/company/static/img/company_add.6884c663.png
Binary files differ
company/company/static/img/department.1754fad3.svg
ÎļþÒÑɾ³ý
company/company/static/img/dictionary.0c28d143.svg
ÎļþÒÑɾ³ý
company/company/static/img/dipatch_unit.6884c663.png
Binary files differ
company/company/static/img/image.db9d79a2.png
Binary files differ
company/company/static/img/listener.23a71b9d.svg
ÎļþÒÑɾ³ý
company/company/static/img/log-login.04516c69.svg
ÎļþÒÑɾ³ý
company/company/static/img/log-opera.c9e49c6d.svg
ÎļþÒÑɾ³ý
company/company/static/img/log.f30b4ce3.svg
ÎļþÒÑɾ³ý
company/company/static/img/login.c85505e1.jpg
Binary files differ
company/company/static/img/man.6eaa0e37.png
Binary files differ
company/company/static/img/permission.8e6d7d41.svg
ÎļþÒÑɾ³ý
company/company/static/img/position.b31ebe59.svg
ÎļþÒÑɾ³ý
company/company/static/img/pwd.f73be658.svg
ÎļþÒÑɾ³ý
company/company/static/img/role.175bee67.svg
ÎļþÒÑɾ³ý
company/company/static/img/settle.2cb8083b.png
Binary files differ
company/company/static/img/settle_check.022d095d.png
Binary files differ
company/company/static/img/shield.54851228.svg
ÎļþÒÑɾ³ý
company/company/static/img/tax_check.1ac033e3.png
Binary files differ
company/company/static/img/top_ic_bolang@2x.b1c83ed4.png
Binary files differ
company/company/static/img/top_ic_chilun@2x.e18ac9b0.png
Binary files differ
company/company/static/js/app.e7578661.js
ÎļþÒÑɾ³ý
company/company/static/js/app.e7578661.js.map
ÎļþÒÑɾ³ý
company/company/static/js/chunk-vendors.54379980.js
ÎļþÒÑɾ³ý
company/company/static/js/chunk-vendors.54379980.js.map
ÎļþÒÑɾ³ý
company/company/template/personnel_add.xlsx
Binary files differ
company/company/template/personnel_reduce.xlsx
Binary files differ
company/src/api/business/insuranceApply.js
@@ -185,3 +185,8 @@
export function getApplyPower (data) {
    return request.post('/business/insuranceApply/getApplyPower', data)
}
// æŠ•保复审
export function reexamineCheck (data) {
    return request.post('/business/insuranceApply/reexamineCheck', data)
}
company/src/api/business/unionApply.js
@@ -43,3 +43,8 @@
export function getById (id) {
    return request.get(`/business/unionApply/${id}`)
}
// æŠ•保复审
export function reexamineCheck (data) {
    return request.post('/business/unionApply/reexamineCheck', data)
}
company/src/components/business/OperaApplyChangeDetailWindow.vue
@@ -49,8 +49,9 @@
                          <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,3,4].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回申请',model,1)">退回申请</el-button>
                          <el-button  v-if="[0,1].includes(model.solutionType) &&[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>
                            <el-button v-if=" model.solutionType == 1 && [1].includes(model.status)" type="primary" @click="$refs.ApplyChangeDetails.open('投保审核',apply,model,1)">批改审核</el-button>
                        </template>
                  </div>
                </div>
company/src/components/business/OperaApplyChangeUnitDetailWindow.vue
@@ -49,7 +49,8 @@
                      <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,3,4].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('退回申请',model,1)">退回申请</el-button>
                        <el-button v-if=" model.solutionType == 1 && [1].includes(model.status)" type="primary" @click="$refs.ApplyChangeDetails.open('投保审核',apply,model,1)">批改审核</el-button>
                        <el-button  v-if="[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>
company/src/components/business/OperaCompanyUserApplyWindow.vue
@@ -42,7 +42,7 @@
                    show-word-limit />
            </el-form-item>
            <el-form-item label="授权书" prop="multifileList">
                <UploadFile @remove="deleFile" :limit="99" :uploadData="{ folder: 'apply', fileType:'.pdf' }" :fileList="fileList" @uploadSuccess="editFanganFile" />
                <UploadFile @remove="deleFile" :limit="99" :uploadData="{ folder: 'companyUserApply', fileType:'.pdf' }" :fileList="fileList" @uploadSuccess="editFanganFile" />
            </el-form-item>
        </el-form>
    </GlobalWindow>
company/src/components/business/OperaContractDescWindow.vue
@@ -20,7 +20,7 @@
                    <div class="info_list_item_label">合同时间:</div>
                    <div class="info_list_item_val">{{info.startTime}} - {{info.endTime}}</div>
                </div>
                <div class="info_list_item">
                <div class="info_list_item" v-if="userInfo.type === 0 || info.type === 2">
                    <div class="info_list_item_label">合同类型:</div>
                    <div class="info_list_item_val">
                        <template v-if="info.signType === 0">平台-商户</template>
@@ -32,7 +32,7 @@
                    <div class="info_list_item_label">企业名称:</div>
                    <div class="info_list_item_val">{{info.companyName}}</div>
                </div>
                <div class="info_list_item" style="width: 100%;">
                <div class="info_list_item" style="width: 100%;" v-if="userInfo.type === 0 || info.type === 2">
                    <div class="info_list_item_label">签署方式:</div>
                    <div class="info_list_item_val">
                        <template v-if="info.type === 0">双方签章</template>
@@ -42,7 +42,7 @@
                <div class="info_list_item" style="width: 100%;">
                    <div class="info_list_item_label">原始附件:</div>
                    <div class="info_list_item_val" v-if="info.multifile">
                        <u @click="openPDF(info.multifile.fileurlFull)">{{info.multifile.name}}</u>
                        <u @click.stop="openPDF(info.multifile.name, info.multifile.fileurlFull)">{{info.multifile.name}}</u>
                    </div>
                </div>
                <div class="info_list_item" style="width: 100%;">
@@ -57,51 +57,48 @@
            </div>
            <div class="info_list">
                <div class="info_list_item">
                    <div class="info_list_item_label">平台签署人:</div>
                    <div class="info_list_item_label">{{info.signType === 2 ? '商户' :  [0, 1].includes(info.signType) ? '平台' : ''}}签署人:</div>
                    <div class="info_list_item_val">{{info.firstSignUserName}}</div>
                </div>
                <div class="info_list_item">
                    <div class="info_list_item_label">平台签署时间:</div>
                    <div class="info_list_item_label">{{info.signType === 2 ? '商户' :  [0, 1].includes(info.signType) ? '平台' : ''}}签署时间:</div>
                    <div class="info_list_item_val">{{info.signDate}}</div>
                </div>
<!--                <div class="info_list_item">-->
<!--                    <div class="info_list_item_label">合同类型:</div>-->
<!--                    <template v-if="info.signType === 0">平台-商户</template>-->
<!--                    <template v-if="info.signType === 1">平台-企业</template>-->
<!--                    <template v-if="info.signType === 2">商户-企业</template>-->
<!--                </div>-->
<!--                <div class="info_list_item">-->
<!--                    <div class="info_list_item_label">企业名称:</div>-->
<!--                    <div class="info_list_item_val">{{info.companyName}}</div>-->
<!--                </div>-->
                <div class="info_list_item" v-if="info.type === 0">
                    <div class="info_list_item_label">企业签署人:</div>
                <div class="info_list_item" v-if="info.type !== 1">
                    <div class="info_list_item_label">{{info.signType === 0 ? '商户' :  [1, 2].includes(info.signType) ? '企业' : ''}}签署人:</div>
                    <div class="info_list_item_val">{{info.doneSignUserName}}</div>
                </div>
                <div class="info_list_item" v-if="info.type === 0">
                    <div class="info_list_item_label">企业签署时间:</div>
                <div class="info_list_item" v-if="info.type !== 1">
                    <div class="info_list_item_label">{{info.signType === 0 ? '商户' :  [1, 2].includes(info.signType) ? '企业' : ''}}签署时间:</div>
                    <div class="info_list_item_val">{{info.comSignDate}}</div>
                </div>
                <div class="info_list_item">
                    <div class="info_list_item_label">签署件:</div>
                    <div class="info_list_item_val" v-if="info.multiFirstFile || info.multiDoneFile">
                        <u v-if="info.status === 1" @click="openPDF(info.multiFirstFile.fileurlFull)">{{info.multiFirstFile.name}}</u>
                        <u v-if="info.status === 3" @click="openPDF(info.multiDoneFile.fileurlFull)">{{info.multiDoneFile.name}}</u>
                    <div class="info_list_item_val">
                        <u v-if="info.multiDoneFile" @click.stop="openPDF(info.multiDoneFile.name, info.multiDoneFile.fileurlFull)">{{info.multiDoneFile.name}}</u>
                        <u v-else-if="info.multiFirstFile" @click.stop="openPDF(info.multiFirstFile.name, info.multiFirstFile.fileurlFull)">{{info.multiFirstFile.name}}</u>
                    </div>
                </div>
            </div>
        </div>
        <!-- é¢„览pdf -->
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow"  />
    </GlobalWindow>
</template>
<script>
  import BaseOpera from '@/components/base/BaseOpera'
  import GlobalWindow from '@/components/common/GlobalWindow'
  import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
  import { contractId } from '@/api/business/contract'
  import { mapState } from 'vuex'
  export default {
    name: 'OperaContractDescWindow',
    extends: BaseOpera,
    components: { GlobalWindow },
    computed: {
      ...mapState(['userInfo'])
    },
    components: { GlobalWindow, OperaPdfViewerWindow },
    data () {
      return {
        info: null
@@ -112,14 +109,15 @@
        this.title = title
        this.info = null
        this.visible = true
        console.log(this.userInfo)
        contractId(id)
          .then(res => {
            console.log(res)
            this.info = res
          })
      },
      openPDF(url) {
        window.open(url)
      openPDF(name, url) {
        this.$refs.OperaPdfViewerWindow.open(name, url)
      },
    }
  }
company/src/components/business/OperaContractWindow.vue
@@ -9,13 +9,13 @@
            <el-form-item label="合同名称" prop="name">
                <el-input v-model="form.name" maxlength="50" show-word-limit placeholder="请输入合同名称" v-trim/>
            </el-form-item>
            <el-form-item label="合同对象" prop="companyType">
            <el-form-item label="合同对象" prop="companyType" v-if="type !== 2">
                <el-radio-group v-model="form.companyType" @change="getList">
                    <el-radio :label="0">企业</el-radio>
                    <el-radio :label="1">商户</el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-item label="企业/商户名称" prop="companyId">
            <el-form-item :label="type !== 2 ? '企业/商户名称' : '企业名称'" prop="companyId">
                <el-select v-model="form.companyId" filterable placeholder="请选择,支持搜索">
                    <el-option
                        v-for="item in nameList"
@@ -121,7 +121,8 @@
          ],
        },
        nameList: [],
        list: []
        list: [],
        type: null
      }
    },
    created () {
@@ -131,8 +132,9 @@
      })
    },
    methods: {
      open (title, target) {
      open (title, target, type) {
        this.title = title
        this.type = type
        this.visible = true
        if (this.userInfo.type === 0) {
          this.list = [{ label: '企业', id: 0 },{ label: '商户', id: 1 }]
company/src/components/business/OperaInsuranceApplyCheckWindow.vue
@@ -84,6 +84,7 @@
  uploadToubaodan,
  check
} from "@/api/business/insuranceApply";
import { uploadBXD } from "@/api/business/unionApply";
import UploadFile from "@/components/common/UploadFile";
import {remark} from "@/api/business/settleClaims";
export default {
@@ -155,6 +156,7 @@
      visible4: false,
      visible5: false,
      visible6: false,
      type: null
    }
  },
  created () {
@@ -167,8 +169,9 @@
    dele2() {
      this.form.toubaodanFile = ''
    },
     open(title,target,flag){
     open(title,target,flag,type){
       this.visible=true
       this.type = type
       this.model={}
       this.form= {
         id: null,
@@ -242,7 +245,11 @@
          if (!valid) {
            return
          }
          if (!this.type) {
          this.uploadBaoxiandan()
          } else if (this.type === 1) {
            this.uploadBaoxiandan1()
          }
        })
      } else if (this.flag == 4) {
        this.$refs.form4.validate((valid) => {
@@ -337,7 +344,19 @@
                  this.$tip.apiFailed(err)
                })
          })
    },
    uploadBaoxiandan1(){
      this.$dialog.messageConfirm('确认进行该操作吗?')
        .then(() => {
          this.isWorking = true
          uploadBXD({id:this.model.id,startTime:this.form.startTime,code:this.form.code,baoxiandanFile:this.form.baoxianFile})
            .then(response => {
              this.visible = false
              this.$emit('success')
            }).catch(err => {
            this.$tip.apiFailed(err)
          })
        })
    },
    editBaoxiandan(){
      this.$dialog.messageConfirm('确认进行该操作吗?')
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -23,6 +23,7 @@
                        <span>提交时间:{{ model.createDate }}</span>
                    </div>
                  <div class="desc_item_label_right">
                      <el-button type="primary" @click="viewConfirmationLetter">查看方案确认书</el-button>
                      <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>
@@ -34,14 +35,18 @@
                        <el-button v-if="model.status == 4" type="primary" @click="closeOrder">关闭申请</el-button>
                      </template>
                    <template v-else>
                        <el-button v-if="[12].includes(model.status)" type="primary" @click="review">投保复审</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="[2,10].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button>
                      <el-button v-if="model.status == 3 && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
<!--                        <el-button v-if="model.status == 26 && model.solutionType == 1" type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>-->
                      <el-button  v-if="[6,7,8,11].includes(model.status) && model.solutionType ==0" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('驳回退回申请',model,5)">驳回退回申请</el-button>
                      <el-button v-if="model.status == 0 && model.solutionType ==0" type="primary" @click="$refs.InsuranceDetails.open('投保审核',model,1)">投保审核</el-button>
                      <el-button v-if="![1,4,,5].includes(model.status) && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
                      <el-button v-if="[22, 0].includes(model.status) && [0,1].includes(model.solutionType)" type="primary" @click="$refs.InsuranceDetails.open('投保审核',model,1)">投保审核</el-button>
                      <el-button v-if="![1, 4, 5].includes(model.status) && [0,1].includes(model.solutionType)" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
                      <el-button v-if="model.status == 5  && model.solutionType ==0" type="danger" @click="$refs.OperaInsuranceApplyCheckWindow.open('修改保险单',model,4)">修改保险单</el-button>
                    </template>
                  </div>
@@ -72,12 +77,12 @@
                            align="center"
                            label="保险生效止期">
                        </el-table-column>
                        <el-table-column
                            prop="insureNum"
                            align="center"
                            label="投保人数">
                        </el-table-column>
                      <el-table-column prop="guaranteeNum"  align="center" label="在保人数" ></el-table-column>
<!--                        <el-table-column-->
<!--                            prop="insureNum"-->
<!--                            align="center"-->
<!--                            label="投保人数">-->
<!--                        </el-table-column>-->
                      <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" ></el-table-column>
                        <el-table-column
                            prop="serviceDays"
                            align="center"
@@ -86,9 +91,9 @@
                        <el-table-column
                            prop="currentFee"
                            align="center"
                            label="已产生费用(元)">
                            label="批改费用合计">
                          <template slot-scope="{row}">
                            <span>{{row.currentFee!=null?row.currentFee: '-'}}</span>
                            <span>{{row.changeMoney}}元</span>
                          </template>
                        </el-table-column>
                        <el-table-column
@@ -103,9 +108,9 @@
                </div>
                <div class="desc_item_cate">
                    <el-tabs v-model="activeName" @tab-click="handleClick">
                        <el-tab-pane label="在保人员" name="0" ></el-tab-pane>
                        <el-tab-pane label="保单人员" name="0" ></el-tab-pane>
                        <el-tab-pane label="加/减保记录"  name="1"></el-tab-pane>
                        <el-tab-pane label="更换派遣单位记录" name="2"></el-tab-pane>
                        <el-tab-pane label="更换工种记录" name="2"></el-tab-pane>
                    </el-tabs>
                </div>
                <div class="desc_item_search">
@@ -116,9 +121,10 @@
                                    <el-option label="全部" value="0"></el-option>
                                    <el-option label="保障中" value="1"></el-option>
                                    <el-option label="不在保" value="2"></el-option>
                                    <el-option label="待生效" value="3"></el-option>
                                </el-select>
                            </el-form-item>
                            <el-form-item label="派遣单位" prop="duId">
                            <el-form-item label="派遣单位" prop="duId" v-if="model.hasDispatchUnit !== 1">
                                <el-select v-model="formInline.duId" placeholder="请选择" @change="search">
                                    <el-option
                                        v-for="item in dwList"
@@ -229,12 +235,23 @@
                            </template>
                        </el-table-column>
                        <el-table-column
                            align="center"
                            :key="Math.random()"
                            label="在保状态">
                            <template slot-scope="{row}">
                                <span v-if="row.applyStatus === 0">保障中</span>
                                <span v-if="row.applyStatus === 1">不在保</span>
                                <span v-if="row.applyStatus === 2">待生效</span>
                            </template>
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
                            prop="idcardNo"
                            align="center"
                            label="身份证号">
                        </el-table-column>
                        <el-table-column
                            v-if="model.hasDispatchUnit !== 1"
                            :key="Math.random()"
                            prop="duName"
                            align="center"
@@ -401,7 +418,7 @@
                            :key="Math.random()"
                            prop="changeNum"
                            align="center"
                            label="更换派遣单位人数">
                            label="更换工种人数">
                          <template scope="{row}">
                            {{row.changeNum||0}} äºº
                          </template>
@@ -483,6 +500,7 @@
        <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" />
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
        <OperaApplyChangeMonthWindow ref="OperaApplyChangeMonthWindow" />
        <OperaUnionApplyCheckWindow ref="OperaUnionApplyCheckWindow" @success="successEvent" />
        <template v-slot:footer>
            <el-button @click="visible=false">返回</el-button>
        </template>
@@ -505,10 +523,12 @@
import { getDetail, getSignLink, applyDetailPage,  exportExcel, applyChagneDetailExcel, applyOpt } from '@/api/business/insuranceApply'
import { findListByDTO } from '@/api/business/dispatchUnit'
import { fetchList, exportApplyJiajianBaoExcel } from '@/api/business/applyChange'
import { reexamineCheck } from '@/api/business/insuranceApply'
import { findListByDTO as worktypeFindListByDTO } from '@/api/business/worktype'
import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
import { mapState } from 'vuex'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
import OperaUnionApplyCheckWindow from '@/components/business/OperaUnionApplyCheckWindow'
export default {
  name: 'OperaInsuranceApplyWindow1',
  extends: BaseOpera,
@@ -524,7 +544,8 @@
    OperaApplyChangeDetailWindow,
    OperaApplyChangeUnitDetailWindow,
    OperaInsuranceApplyAddWindow,
    operaverifyPhoneNumberWindew
    operaverifyPhoneNumberWindew,
    OperaUnionApplyCheckWindow
  },
  data () {
    return {
@@ -604,9 +625,24 @@
      this.getDW()
      this.getGZ()
    },
    viewConfirmationLetter() {
      this.$refs.OperaPdfViewerWindow.open('查看方案确认书', this.model.fanganFile.fileurlFull)
    },
    review() {
      this.$confirm('是否确定复核通过?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        reexamineCheck({ id: this.dataId })
          .then(res => {
            this.getDetail()
          })
      }).catch(() => {
      });
    },
    exportRecords() {
      // let formDate = new FormData()
      // formDate.append('id', this.dataId)
      exportApplyJiajianBaoExcel({ id: this.dataId })
        .then(response => {
          this.download(response)
company/src/components/business/OperaSolutionsWindow.vue
@@ -64,9 +64,9 @@
            </el-form-item>
            <el-form-item label="签章方式" prop="signType" v-if="form.type === 1">
                <el-select v-model="form.signType" placeholder="请选择委托商户">
                    <el-option label="企业签署商户上传投保单" :value="0"></el-option>
                    <el-option label="企业签投保申请" :value="1"></el-option>
                    <el-option label="企业无需签章" :value="2"></el-option>
                    <el-option label="商户签署商户上传投保单" :value="0"></el-option>
                    <el-option label="商户签投保申请" :value="1"></el-option>
                    <el-option label="商户无需签章" :value="2"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="有派遣单位" prop="hasDispatchUnit">
company/src/components/business/OperaUnionApplyCheckWindow.vue
@@ -204,6 +204,7 @@
      }
      this.model = target
      console.log(target)
      this.form.startTime = target.startTime
      this.form.endTime = target.endTime
      this.title = title
company/src/components/business/OperaWtbApplyShopWindow.vue
@@ -24,10 +24,11 @@
                        <span>提交时间:{{ model.createDate }}</span>
                    </div>
                  <div class="desc_item_label_right">
                      <el-button type="primary" @click="viewConfirmationLetter">查看方案确认书</el-button>
                    <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button>
                      <template v-if="userInfo.type === 1">
                          <el-button v-if="model.status == 24" type="primary" @click="$refs.OperaInsuranceApplyAddWindow.open('投保申请', {id: dataId})">再次投保</el-button>
                          <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>
<!--                          <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>-->
                        <el-button v-if="[22,23,24,25,26,27].includes(model.status)  && model.shenqingdanFile" type="primary" @click="viewShenqingdan">查看申请单</el-button>
                        <el-button v-if="[1,2,3].includes(model.unionApplyTbdStatus) &&(model.toubaodanFile || model.oubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button>
                        <el-button v-if="[3].includes(model.unionApplyTbdStatus) &&(model.baoxiandanFile)" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
@@ -38,7 +39,7 @@
                        <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>
<!--                      <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>-->
                      <el-button v-if="[22,23,24,25,26,27].includes(model.status)  && model.shenqingdanFile" type="primary" @click="viewShenqingdan">查看申请单</el-button>
                      <el-button v-if="[1,2,3].includes(model.unionApplyTbdStatus) &&(model.toubaodanFile || model.oubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button>
                      <el-button v-if="[3].includes(model.unionApplyTbdStatus) &&(model.baoxiandanFile)" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
@@ -47,7 +48,7 @@
                      <el-button v-if="model.status == 23" type="danger" @click="$refs.OperaWtbApplyCheckWindow.open('关闭申请',model,2)">关闭申请</el-button>
                    </template>
                    <template v-if="userInfo.type === 0">
                      <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>
<!--                      <el-button v-if="[21,22,23,24,25,26,27].includes(model.status)" type="primary" @click="viewFanganshu">查看确认书</el-button>-->
                      <el-button v-if="[22,23,24,25,26,27].includes(model.status)  && model.shenqingdanFile" type="primary" @click="viewShenqingdan">查看申请单</el-button>
                      <el-button v-if="[1,2,3].includes(model.unionApplyTbdStatus) &&(model.toubaodanFile || model.oubaodanSignedFile)" type="primary" @click="viewToubaodan">查看投保单</el-button>
                      <el-button v-if="[3].includes(model.unionApplyTbdStatus) &&(model.baoxiandanFile)" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
@@ -80,15 +81,7 @@
                            align="center"
                            :label="getApplyTimeTitle(1,model.solutionType,model)">
                        </el-table-column>
                        <el-table-column
                            prop="insureNum"
                            align="center"
                            label="投保人数">
                          <template scope="{row}">
                            <span>{{row.insureNum||0}} äºº</span>
                          </template>
                        </el-table-column>
                      <el-table-column prop="guaranteeNum"  align="center" label="在保人数" >
                      <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" >
                        <template scope="{row}">
                          <span>{{row.guaranteeNum||0}} äºº</span>
                        </template>
@@ -104,9 +97,9 @@
                        <el-table-column
                            prop="currentFee"
                            align="center"
                            label="已产生费用">
                          <template scope="{row}">
                            <span>{{row.currentFee!=null?row.currentFee+' å…ƒ': '-'}}</span>
                            label="批改费用合计">
                            <template slot-scope="{row}">
                                <span>{{row.changeMoney}}元</span>
                          </template>
                        </el-table-column>
                        <el-table-column
@@ -121,9 +114,9 @@
                </div>
                <div class="desc_item_cate">
                    <el-tabs v-model="activeName" @tab-click="handleClick">
                        <el-tab-pane label="在保人员" name="0" ></el-tab-pane>
                        <el-tab-pane label="保单人员" name="0" ></el-tab-pane>
                        <el-tab-pane label="加/减保记录"  name="1"></el-tab-pane>
                        <el-tab-pane label="更换派遣单位记录" name="2"></el-tab-pane>
                        <el-tab-pane label="更换工种记录" name="2"></el-tab-pane>
                    </el-tabs>
                </div>
                <div class="desc_item_search">
@@ -136,7 +129,7 @@
                                    <el-option label="不在保" value="2"></el-option>
                                </el-select>
                            </el-form-item>
                            <el-form-item label="派遣单位" prop="duId">
                            <el-form-item label="派遣单位" prop="duId" v-if="model.hasDispatchUnit !== 1">
                                <el-select v-model="formInline.duId" placeholder="请选择" @change="search">
                                    <el-option
                                        v-for="item in dwList"
@@ -216,6 +209,7 @@
                            <el-button @click="resetting" style="width: 80px;">重置</el-button>
                            <el-button type="primary" style="width: 80px;" @click="exportExcel" v-if="activeName === '0'">导出名单</el-button>
                            <el-button type="primary" style="width: 100px;" @click="$refs.OperaApplyChangeMonthWindow.open('加减保费用月度统计',model)" v-if="activeName === '1'">费用统计查询</el-button>
                            <el-button type="primary" style="width: 120px;" @click="exportRecords" v-if="activeName === '1' && [5,27].includes(model.status)">导出加减保记录</el-button>
                        </el-form-item>
                    </el-form>
                </div>
@@ -248,12 +242,23 @@
                            </template>
                        </el-table-column>
                        <el-table-column
                            align="center"
                            :key="Math.random()"
                            label="在保状态">
                            <template slot-scope="{row}">
                                <span v-if="row.applyStatus === 0">保障中</span>
                                <span v-if="row.applyStatus === 1">不在保</span>
                                <span v-if="row.applyStatus === 2">待生效</span>
                            </template>
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
                            prop="idcardNo"
                            align="center"
                            label="身份证号">
                        </el-table-column>
                        <el-table-column
                            v-if="model.hasDispatchUnit !== 1"
                            :key="Math.random()"
                            prop="duName"
                            align="center"
@@ -544,7 +549,7 @@
  getMemberListOnlineSignLink, getSignTBQRSLink, getSignWTBTBDLink
} from '@/api/business/insuranceApply'
import { findListByDTO } from '@/api/business/dispatchUnit'
import { fetchList } from '@/api/business/applyChange'
import { fetchList, exportApplyJiajianBaoExcel } from '@/api/business/applyChange'
import { findListByDTO as worktypeFindListByDTO } from '@/api/business/worktype'
import { mapState } from 'vuex'
import {sendSms} from '@/api/business/smsEmail';
@@ -657,6 +662,15 @@
      this.getDW()
      this.getGZ()
    },
    exportRecords() {
      exportApplyJiajianBaoExcel({ id: this.dataId })
        .then(response => {
          this.download(response)
        })
    },
    viewConfirmationLetter() {
      this.$refs.OperaPdfViewerWindow.open('查看方案确认书', this.model.fanganFile.fileurlFull)
    },
    getSignLink (flag) {
      if (flag === 0) {
        this.signTitle = '签署方案确认书'
@@ -688,6 +702,8 @@
            // }, 500)
          }).catch(err => {
            this.$tip.apiFailed(err)
          }).finally(() => {
            this.loading = false
          })
        } else if (this.form.type === 1) {
          getMemberListOnlineSignLink(this.form).then(res => {
@@ -698,6 +714,8 @@
            // }, 500)
          }).catch(err => {
            this.$tip.apiFailed(err)
          }).finally(() => {
            this.loading = false
          })
        } else if (this.form.type === 2) {
          getSignWTBTBDLink(this.form).then(res => {
@@ -708,6 +726,8 @@
            // }, 500)
          }).catch(err => {
            this.$tip.apiFailed(err)
          }).finally(() => {
            this.loading = false
          })
        }
      // })
company/src/components/business/detailsEntrustedInsurance.vue
@@ -25,9 +25,15 @@
              <el-button v-if="[0,1,2].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
            </template>
            <template v-if="userInfo.type ===0">
              <el-button v-if="[2,3,4,1].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button>
              <el-button v-if="[0].includes(model.status) " type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button>
              <el-button v-if="[0, 1].includes(model.status)" type="primary" :disabled="loading" :loading="loading" @click="getSignLink(0)">签署投保单</el-button>
              <el-button v-if="[0,1,2,5].includes(model.status) " type="danger" @click="$refs.OperaUnionApplyCheckWindow.open('退回申请',model,1)">退回申请</el-button>
              <el-button v-if="[2].includes(model.status)" type="primary" @click="$refs.OperaUnionApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
              <el-button type="primary"   @click="$refs.InsuranceDetails.open('导出详单',model,0)">导出详单</el-button>
              <el-button v-if="[2,3,4].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button>
<!--              <el-button v-if="[2,3,4].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button>-->
              <el-button v-if="[4].includes(model.status)" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
              <el-button v-if="[5].includes(model.status)" type="primary" @click="fusheng">投保复审</el-button>
            </template>
          </div>
        </div>
@@ -98,9 +104,9 @@
        </div>
        <div class="desc_item_cate">
          <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="在保人员" name="0" ></el-tab-pane>
            <el-tab-pane label="保单人员" name="0" ></el-tab-pane>
            <el-tab-pane label="加/减保记录"  name="1"></el-tab-pane>
            <el-tab-pane label="更换派遣单位记录" name="2"></el-tab-pane>
            <el-tab-pane label="更换工种记录" name="2"></el-tab-pane>
          </el-tabs>
        </div>
        <div class="desc_item_search">
@@ -111,6 +117,7 @@
                  <el-option label="全部" value="0"></el-option>
                  <el-option label="保障中" value="1"></el-option>
                  <el-option label="不在保" value="2"></el-option>
                  <el-option label="待生效" value="3"></el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="员工姓名" prop="memberName">
@@ -178,6 +185,16 @@
              </template>
            </el-table-column>
            <el-table-column
              align="center"
              :key="Math.random()"
              label="在保状态">
              <template slot-scope="{row}">
                <span v-if="row.applyStatus === 0">保障中</span>
                <span v-if="row.applyStatus === 1">不在保</span>
                <span v-if="row.applyStatus === 2">待生效</span>
              </template>
            </el-table-column>
            <el-table-column
                :key="Math.random()"
                prop="idcardNo"
                align="center"
@@ -190,6 +207,7 @@
                label="被保险人">
            </el-table-column>
            <el-table-column
                v-if="model.hasDispatchUnit !== 1"
                :key="Math.random()"
                prop="duName"
                align="center"
@@ -322,7 +340,7 @@
                :key="Math.random()"
                prop="changeNum"
                align="center"
                label="更换派遣单位人数">
                label="更换工种人数">
            </el-table-column>
            <el-table-column
                :key="Math.random()"
@@ -450,7 +468,7 @@
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
import OperaUnionApplyCheckWindow from '@/components/business/OperaUnionApplyCheckWindow'
import { getById, getSignLink } from '@/api/business/unionApply'
import { getById, getSignLink, reexamineCheck } from '@/api/business/unionApply'
import {
  applyDetailPage,
@@ -561,6 +579,20 @@
      this.getDW()
      this.getGZ()
    },
    fusheng() {
      this.$confirm('是否确定复审通过?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        reexamineCheck({ id: this.dataId })
          .then(res => {
            this.getDetail()
          })
      }).catch(() => {
      });
    },
    getSignLink (flag) {
      if (flag === 0) {
        this.signTitle = '签署投保单'
company/src/components/business/operaCompanyUserApplyDescWindow.vue
@@ -34,7 +34,7 @@
                    <div class="info_list_item_label">申请附件:</div>
                    <div class="info_list_item_val">
                        <div class="info_list_item_val_cul">
                            <u v-for="(item, index) in form.multifileList" :key="index" @click="openFile(item.fileurlFull)">{{item.name}}</u>
                            <u v-for="(item, index) in form.multifileList" :key="index" @click="openFile(item.name, item.fileurlFull)">{{item.name}}</u>
                        </div>
                    </div>
                </div>
@@ -63,6 +63,8 @@
                </div>
            </div>
        </div>
        <!-- é¢„览pdf -->
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
    </GlobalWindow>
</template>
@@ -71,10 +73,11 @@
  import GlobalWindow from '@/components/common/GlobalWindow'
  import { getById } from '@/api/business/companyUserApply'
  import { mapState } from 'vuex'
  import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
  export default {
    name: 'operaCompanyUserApplyDescWindow',
    extends: BaseOpera,
    components: { GlobalWindow },
    components: { GlobalWindow, OperaPdfViewerWindow },
    data () {
      return {
        form: {}
@@ -93,8 +96,9 @@
            this.visible = true
          })
      },
      openFile(url) {
        window.open(url)
      openFile(name, url) {
        console.log(url)
        this.$refs.OperaPdfViewerWindow.open(name, url)
      }
    }
  }
company/src/components/business/selectPolicy.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,172 @@
<template>
    <GlobalWindow
        :title="title"
        width="100%"
        :withFooter="false"
        :visible.sync="visible"
        :confirm-working="isWorking"
        @confirm="confirm"
    >
<!--        <el-form ref="form" :model="form" label-width="100px" inline>-->
<!--            <el-form-item label="企业名称" prop="name">-->
<!--                <el-input v-model="form.model.name" placeholder="请输入" @keypress.enter.native="getList"></el-input>-->
<!--            </el-form-item>-->
<!--            <el-form-item>-->
<!--                <div style="display: flex; align-items: center;">-->
<!--                    <el-button type="primary" @click="getList">搜索</el-button>-->
<!--                    <el-button @click="reset">重置</el-button>-->
<!--                </div>-->
<!--            </el-form-item>-->
<!--        </el-form>-->
        <el-table
            :data="tableData"
            border
            style="width: 100%">
            <el-table-column label="序号" width="80px" align="center" fixed>
                <template slot-scope="scope">
                    <span>{{scope.$index + 1}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="statusInfo" align="center" fixed label="状态">
                <template slot-scope="{row}">
                    <span :class="'apply-status'+row.status">{{row.statusInfo}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="solutionsName" align="center" fixed label="保险方案" min-width="150"></el-table-column>
            <el-table-column label="类型" fixed  align="center">
                <template slot-scope="{row}">
                    <span style="color: #00BA92" v-if="row.solutionType == 1">委托投保</span>
                    <span style="color: #F95601;"  v-else>直接投保</span>
                </template>
            </el-table-column>
            <el-table-column label="保单号" align="center" fixed>
                <template slot-scope="{row}">
                    <span>{{row.code ? row.code : '-'}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                <template slot-scope="{row}">
                    <span>{{(row.guaranteeNum||0)}} äºº</span>
                </template>
            </el-table-column>
            <el-table-column label="投保时长" align="center">
                <template slot-scope="{row}">
                    <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : (row.serviceDays - row.loseEfficacyDays+'天')}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                <template slot-scope="{row}">
                    <span>{{row.changeMoney+' å…ƒ'}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="fee" label="总费用"  align="center">
                <template slot-scope="{row}">
                    <span>{{row.fee!=null?row.fee+' å…ƒ': '-'}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="createDate" label="提交日期"  align="center" min-width="150"></el-table-column>
            <el-table-column prop="startTime" label="投保生效日期"  align="center" min-width="150"></el-table-column>
            <el-table-column prop="endTime" label="投保失效日期"  align="center" min-width="150"></el-table-column>
            <el-table-column
                fixed="right"
                width="120"
                label="操作">
                <template slot-scope="{row}">
                    <el-button type="text" @click="$refs.factoryChange.open('更换派遣单位申请', { id: row.id })" v-if="isShow(row.status, row.endTime) && type === 2">{{ row.hasDispatchUnit === 1 ? '更换工种' : '更换派遣单位' }}</el-button>
                    <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })" v-else-if="isShow(row.status, row.endTime) && type === 1">加减保申请</el-button>
                </template>
            </el-table-column>
        </el-table>
        <div style="width: 100%; height: 15px;"></div>
        <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="form.page"
            :page-sizes="[10, 30, 50, 100]"
            :page-size="form.size"
            layout="total, sizes, prev, pager, next, jumper"
            :total="total">
        </el-pagination>
        <!--    åŠ å‡ä¿ç”³è¯·    -->
        <additionSubtractionApplication ref="additionSubtractionApplication" @success="selectItem" />
        <!--    æ›´æ¢æ´¾é£å•位申请    -->
        <factoryChange ref="factoryChange" @success="selectItem" />
    </GlobalWindow>
</template>
<script>
  import BaseOpera from '@/components/base/BaseOpera'
  import GlobalWindow from '@/components/common/GlobalWindow'
  import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication'
  import factoryChange from '@/components/enterprise/factoryChange'
  import { fetchList } from '@/api/business/insuranceApply'
  export default {
    name: 'selectPolicy',
    extends: BaseOpera,
    components: { GlobalWindow, additionSubtractionApplication, factoryChange },
    data () {
      return {
        model: {},
        tableData: [],
        type: null,
        form: {
          page: 1,
          capacity: 10,
          model: {
            companyId: '',
            status: '5,27',
            timeOut: 3
          }
        },
        total: 0
      }
    },
    methods: {
      // åˆ¤æ–­æ˜¯å¦æ˜¾ç¤ºåŠ å‡ä¿
      isShow(status, endTime) {
        const currentDate = new Date();
        const specifiedDate = new Date(endTime);
        return [5,27].includes(status) && (currentDate < specifiedDate);
      },
      selectItem() {
        this.$emit('success')
        this.visible = false
      },
      handleSizeChange(e) {
        this.form.capacity = e
        this.getList()
      },
      handleCurrentChange(e) {
        this.form.page = e
        this.getList()
      },
      open (title, id, type) {
        this.title = title
        this.type = type
        this.form.model.companyId = id
        this.form.name = ''
        this.visible = true
        this.form.page = 1
        this.form.capacity = 10
        this.getList()
      },
      reset() {
        this.form.page = 1
        this.form.capacity = 10
        this.form.model.name = ''
        this.getList()
      },
      getList() {
        fetchList(this.form)
          .then(res => {
            this.total = res.total
            this.tableData = res.records
          })
      }
    }
  }
</script>
<style lang="scss" scoped>
</style>
company/src/components/common/CommonHeader.vue
@@ -155,9 +155,9 @@
        })
    },
    setFindByCompanyId(companyId) {
      if (this.userInfo.type !== 1) return
      findByCompanyId(companyId)
        .then(res => {
          console.log(res)
          this.info = res
        })
    },
company/src/components/common/chooseCompany.vue
@@ -93,7 +93,9 @@
          capacity: 10,
          model: {
            type: 0,
            name: ''
            name: '',
            status: 0,
            isdeleted: 1
          }
        },
        total: 0
company/src/components/enterprise/OperaInsuranceApplyAddWindow.vue
@@ -426,6 +426,18 @@
            price = price + item.fee
          })
          // }
          const endTime = Number(this.item.correctWarnTime.split(':')[0] + this.item.correctWarnTime.split(':')[1])
          const now = new Date();
          const hours = now.getHours();
          const minutes = now.getMinutes();
          const date = `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}`;
          const startTime = Number(date.split(':')[0] + date.split(':')[1])
          if (startTime > endTime) {
            this.$confirm('您已超过当天最晚批改时间,保单实际生效时间以保险公司审核为准!', '提示', {
              confirmButtonText: '确定',
              cancelButtonText: '取消',
              type: 'warning'
            }).then(() => {
          if (!this.form.companyId) {
            this.$refs.detailsPolicyholder.open('投保详情单', {
              companyName: this.userInfo.company.name,
@@ -448,6 +460,34 @@
              totalPrice: price,
              detailList: this.tableData
            })
              }
            }).catch(() => {
            });
          } else {
            if (!this.form.companyId) {
              this.$refs.detailsPolicyholder.open('投保详情单', {
                companyName: this.userInfo.company.name,
                solutionName: this.item.name,
                solutionType: this.item.type,
                applyStartTime: this.form.applyStartTime,
                applyEndTime: this.form.applyEndTime,
                insureNum: this.tableData.length,
                totalPrice: price,
                detailList: this.tableData
              })
            } else {
              this.$refs.detailsPolicyholder.open('投保详情单', {
                companyName: this.form.companyName,
                solutionName: this.item.name,
                solutionType: this.item.type,
                applyStartTime: this.form.applyStartTime,
                applyEndTime: this.form.applyEndTime,
                insureNum: this.tableData.length,
                totalPrice: price,
                detailList: this.tableData
              })
            }
          }
        }
      })
@@ -595,7 +635,7 @@
    },
    // æŸ¥è¯¢å…¨éƒ¨æ–¹æ¡ˆ
    getCompany () {
      getUseList(this.form.companyId, 2)
      getUseList(this.form.companyId ? this.form.companyId : this.userInfo.companyId, 2)
        .then(res => {
          this.company = res
        })
company/src/components/enterprise/additionSubtractionApplication.vue
@@ -68,25 +68,35 @@
                    align="center"
                    label="保险生效止期">
                </el-table-column>
                <el-table-column
                    prop="insureNum"
                    align="center"
                    label="投保人数">
                </el-table-column>
                <el-table-column
                    prop="guaranteeNum"
                    align="center"
                    label="在保人数">
<!--                <el-table-column-->
<!--                    prop="insureNum"-->
<!--                    align="center"-->
<!--                    label="投保人数">-->
<!--                </el-table-column>-->
<!--                <el-table-column-->
<!--                    prop="guaranteeNum"-->
<!--                    align="center"-->
<!--                    label="在保人数">-->
<!--                </el-table-column>-->
                <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                    <template slot-scope="{row}">
                        <span>{{(row.guaranteeNum||0)}} äºº</span>
                    </template>
                </el-table-column>
                <el-table-column
                    prop="serviceDays"
                    align="center"
                    label="保单时长(天)">
                </el-table-column>
                <el-table-column
                    prop="currentFee"
                    align="center"
                    label="已产生费用(元)">
<!--                <el-table-column-->
<!--                    prop="currentFee"-->
<!--                    align="center"-->
<!--                    label="已产生费用(元)">-->
<!--                </el-table-column>-->
                <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                    <template slot-scope="{row}">
                        <span>{{row.changeMoney+' å…ƒ'}}</span>
                    </template>
                </el-table-column>
                <el-table-column
                    prop="fee"
@@ -109,7 +119,9 @@
                <el-button type="danger" @click="deleItem">删除</el-button>
            </div>
            <div class="btns_item" v-if="activeName !== '1'">
                <el-button type="primary" @click="sele">选取派遣单位</el-button>
<!--                <el-button type="primary" @click="sele">选取派遣单位</el-button>-->
                <el-button type="primary" @click="sele(1)" v-if="item && item.hasDispatchUnit !== 1">选取派遣单位</el-button>
                <el-button type="primary" @click="sele(2)" v-if="item && item.hasDispatchUnit === 1">选取工种</el-button>
            </div>
        </div>
        <el-table
@@ -145,6 +157,7 @@
                </template>
            </el-table-column>
            <el-table-column
                v-if="item && item.hasDispatchUnit !== 1"
                prop="duName"
                label="派遣单位">
            </el-table-column>
@@ -324,14 +337,6 @@
    },
    // èŽ·å–æŠ•ä¿è¯¦æƒ…
    getDetails () {
      // findList({ applyId: this.form.id })
      //     .then(res => {
      //         res.forEach(item => {
      //             item.idCard = item.idcardNo
      //             item.fee = ''
      //         })
      //         this.tableData = res
      //     })
      getDetail(this.form.id)
        .then(res => {
          this.list.push(res)
@@ -450,6 +455,7 @@
          //     this.$message.warning('至少添加一项员工')
          //     return
          // }
          if (this.item.hasDispatchUnit !== 1) {
          for (let i = 0; i < this.form.addDetailList.length; i++) {
            if (!this.form.addDetailList[i].worktypeId || !this.form.addDetailList[i].duId) {
              this.$message.warning('请完善加保派遣单位和工种信息')
@@ -462,44 +468,54 @@
              return
            }
          }
          } else {
            for (let i = 0; i < this.form.addDetailList.length; i++) {
              if (!this.form.addDetailList[i].worktypeId) {
                this.$message.warning('请完善加保工种信息')
                return
              }
            }
            for (let i = 0; i < this.form.delDetailList.length; i++) {
              if (!this.form.delDetailList[i].worktypeId) {
                this.$message.warning('请完善减保工种信息')
                return
              }
            }
          }
          let arr = this.company.filter(item => item.id === this.form.solutionId)
          const endTime = Number(arr[0].correctWarnTime.split(':')[0] + arr[0].correctWarnTime.split(':')[1])
          const now = new Date();
          const hours = now.getHours();
          const minutes = now.getMinutes();
          const date = `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}`;
          const startTime = Number(date.split(':')[0] + date.split(':')[1])
          if (startTime > endTime) {
            this.$confirm('您已超过当天最晚批改时间,保单实际生效时间以保险公司审核为准!', '提示', {
              confirmButtonText: '确定',
              cancelButtonText: '取消',
              type: 'warning'
            }).then(() => {
          this.$refs.ApplyChangeDetails1.open('加减保详单', this.form.addDetailList, this.form.delDetailList, {
            companyName: this.userInfo.company.name,
                companyName: this.item.companyName,
            solutionsName: this.form.solutionsName,
            code: this.list[0].code,
            startTime: this.list[0].startTime,
            endTime: this.list[0].endTime,
            applyStartTime: this.form.applyStartTime
          })
            }).catch(() => {
          // 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
          // })
            });
          } else {
            this.$refs.ApplyChangeDetails1.open('加减保详单', this.form.addDetailList, this.form.delDetailList, {
              companyName: this.item.companyName,
              solutionsName: this.form.solutionsName,
              code: this.list[0].code,
              startTime: this.list[0].startTime,
              endTime: this.list[0].endTime,
              applyStartTime: this.form.applyStartTime
            })
          }
        }
      })
    },
@@ -534,9 +550,9 @@
        return
      }
      if (this.activeName === '0') {
        this.$refs.addEmployee.open('添加加保员工', { arr: this.form.addDetailList, solutionId: this.item.newVersionSolutionId, price: this.price })
        this.$refs.addEmployee.open('添加加保员工', { arr: this.form.addDetailList, solutionId: this.item.newVersionSolutionId, price: this.price, companyId: this.item.hasDispatchUnit === 1 ? '1' : '' })
      } else {
        this.$refs.addEmployee.open('添加减保员工', { arr: this.form.delDetailList, solutionId: this.item.newVersionSolutionId, price: this.reducePrice })
        this.$refs.addEmployee.open('添加减保员工', { arr: this.form.delDetailList, solutionId: this.item.newVersionSolutionId, price: this.reducePrice, companyId: this.item.hasDispatchUnit === 1 ? '1' : '' })
      }
    },
    uploadUser () {
@@ -603,7 +619,7 @@
      this.$refs.multipleTable.clearSelection()
    },
    // é€‰æ‹©å‘˜å·¥
    sele () {
    sele (type) {
      if (this.activeName === '0') {
        if (this.addTrue !== 0) return this.$message.warning('当前保单暂不支持操作')
      } else {
@@ -617,7 +633,7 @@
        this.$message.warning('请选择员工')
        return
      }
      this.$refs.confirmJobType.open('确认工种', { solutionId: this.item.newVersionSolutionId })
      this.$refs.confirmJobType.open('确认工种', { solutionId: this.item.newVersionSolutionId, type })
    },
    // æŸ¥è¯¢å…¨éƒ¨æ–¹æ¡ˆ
    getCompany () {
company/src/components/enterprise/factoryChange.vue
@@ -64,21 +64,31 @@
                    align="center"
                    label="保险生效止期">
                </el-table-column>
                <el-table-column
                    prop="insureNum"
                    align="center"
                    label="投保人数">
<!--                <el-table-column-->
<!--                    prop="insureNum"-->
<!--                    align="center"-->
<!--                    label="投保人数">-->
<!--                </el-table-column>-->
<!--              <el-table-column prop="guaranteeNum"  align="center" label="在保人数" ></el-table-column>-->
                <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                    <template slot-scope="{row}">
                        <span>{{(row.guaranteeNum||0)}} äºº</span>
                    </template>
                </el-table-column>
              <el-table-column prop="guaranteeNum"  align="center" label="在保人数" ></el-table-column>
                <el-table-column
                    prop="serviceDays"
                    align="center"
                    label="保单时长(天)">
                </el-table-column>
                <el-table-column
                    prop="currentFee"
                    align="center"
                    label="已产生费用(元)">
<!--                <el-table-column-->
<!--                    prop="currentFee"-->
<!--                    align="center"-->
<!--                    label="已产生费用(元)">-->
<!--                </el-table-column>-->
                <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                    <template slot-scope="{row}">
                        <span>{{row.changeMoney+' å…ƒ'}}</span>
                    </template>
                </el-table-column>
                <el-table-column
                    prop="fee"
@@ -93,7 +103,9 @@
                <el-button type="danger" @click="deleItem">删除</el-button>
            </div>
            <div class="btns_item">
                <el-button type="primary" @click="sele">选取派遣单位</el-button>
<!--                <el-button type="primary" @click="sele">选取派遣单位</el-button>-->
                <el-button type="primary" @click="sele(1)" v-if="item && item.hasDispatchUnit !== 1">选取派遣单位</el-button>
                <el-button type="primary" @click="sele(2)" v-if="item && item.hasDispatchUnit === 1">选取工种</el-button>
            </div>
        </div>
        <el-table
@@ -120,6 +132,7 @@
                label="身份证号">
            </el-table-column>
            <el-table-column
                v-if="item && item.hasDispatchUnit !== 1"
                prop="oldDuName"
                label="原派遣单位">
            </el-table-column>
@@ -128,6 +141,7 @@
                label="原所属工种">
            </el-table-column>
            <el-table-column
                v-if="item && item.hasDispatchUnit !== 1"
                prop="duName"
                label="变更后派遣单位">
            </el-table-column>
@@ -348,35 +362,41 @@
          //     this.$message.warning('至少添加一项员工')
          //     return
          // }
          if (this.item.hasDispatchUnit !== 1) {
          for (let i = 0; i < this.form.factory.length; i++) {
            if (!this.form.factory[i].worktypeId || !this.form.factory[i].duId) {
              this.$message.warning('请完善派遣单位和工种信息')
              return
            }
          }
          } else {
            for (let i = 0; i < this.form.factory.length; i++) {
              if (!this.form.factory[i].worktypeId) {
                this.$message.warning('请完善工种信息')
                return
              }
            }
          }
          let arr = this.company.filter(item => item.id === this.form.solutionId)
          const endTime = Number(arr[0].correctWarnTime.split(':')[0] + arr[0].correctWarnTime.split(':')[1])
          const now = new Date();
          const hours = now.getHours();
          const minutes = now.getMinutes();
          const date = `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}`;
          const startTime = Number(date.split(':')[0] + date.split(':')[1])
          if (startTime > endTime) {
            this.$confirm('您已超过当天最晚批改时间,保单实际生效时间以保险公司审核为准!', '提示', {
              confirmButtonText: '确定',
              cancelButtonText: '取消',
              type: 'warning'
            }).then(() => {
          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
          // })
            }).catch(() => {
            });
          } else {
            this.$refs.ApplyChangeUnitDetails1.open('更换派遣单位详单', this.form.factory, { ...this.list[0], applyStartTime: this.form.applyStartTime })
          }
        }
      })
    },
@@ -435,7 +455,7 @@
      this.$refs.multipleTable.clearSelection()
    },
    // é€‰æ‹©å‘˜å·¥
    sele () {
    sele (type) {
      if (!this.form.solutionId) {
        this.$message.warning('请选择保险方案')
        return
@@ -444,7 +464,7 @@
        this.$message.warning('请选择员工')
        return
      }
      this.$refs.confirmJobType.open('确认工种', { solutionId: this.newVersionSolutionId })
      this.$refs.confirmJobType.open('确认工种', { solutionId: this.newVersionSolutionId, type })
    },
    // æŸ¥è¯¢å…¨éƒ¨æ–¹æ¡ˆ
    getCompany () {
company/src/components/enterprise/renewalInsurance.vue
@@ -26,14 +26,24 @@
                    <span>{{row.code ? row.code : '-'}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="insureNum" label="投保人数"></el-table-column>
          <el-table-column prop="guaranteeNum" label="在保人数" ></el-table-column>
            <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                <template slot-scope="{row}">
                    <span>{{(row.guaranteeNum||0)}} äºº</span>
                </template>
            </el-table-column>
<!--            <el-table-column prop="insureNum" label="投保人数"></el-table-column>-->
<!--          <el-table-column prop="guaranteeNum" label="在保人数" ></el-table-column>-->
            <el-table-column label="投保时长(天)">
                <template slot-scope="{row}">
                    <span>{{row.serviceDays < 0 ? `-` : row.serviceDays}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="currentFee" label="已产生费用"></el-table-column>
<!--            <el-table-column prop="currentFee" label="已产生费用"></el-table-column>-->
            <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                <template slot-scope="{row}">
                    <span>{{row.changeMoney+' å…ƒ'}}</span>
                </template>
            </el-table-column>
            <el-table-column prop="fee" label="总费用(元)"></el-table-column>
            <el-table-column prop="endTime" label="保险生效止期"></el-table-column>
            <el-table-column label="失效剩余(天)">
company/src/components/system/user/OperaUserWindow.vue
@@ -28,7 +28,7 @@
          :options="organization"
          v-model="form.departmentId"
          placeholder="请选择"
          :props="{ label: 'name', value: 'id', checkStrictly: true }"
          :props="{ label: 'name', value: 'id', children: 'childList', checkStrictly: true }"
          clearable />
      </el-form-item>
      <el-form-item label="抄送文件邮箱" prop="email">
company/src/views/business/applyChange.vue
@@ -58,6 +58,9 @@
    </el-form>
    <!-- è¡¨æ ¼å’Œåˆ†é¡µ -->
    <template v-slot:table-wrap>
      <ul class="toolbar">
        <li><el-button type="primary" @click="$refs.chooseCompany.open('选择企业')">新增</el-button></li>
      </ul>
      <el-table
          v-loading="isWorking.search"
          :data="tableData.list"
@@ -105,6 +108,10 @@
    <!-- è¯¦æƒ… -->
    <OperaApplyChangeDetailWindow ref="operaApplyChangeDetailWindow" @success="handlePageChange"/>
    <OperaUnionChangeDetailWindow ref="OperaUnionChangeDetailWindow" @success="handlePageChange"/>
    <!--    é€‰æ‹©ä¼ä¸š    -->
    <chooseCompany ref="chooseCompany" @submit="getCompany" />
    <!--    é€‰æ‹©ä¿å•    -->
    <selectPolicy ref="selectPolicy" @success="handlePageChange" />
  </TableLayout>
</template>
@@ -116,10 +123,12 @@
import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import {all as solutionAll, all} from '@/api/business/solutions'
import {pageAll as companyAll} from "@/api/business/company";
import chooseCompany from '@/components/common/chooseCompany'
import selectPolicy from '@/components/business/selectPolicy'
export default {
  name: 'add_subtract',
  extends: BaseTable,
  components: { TableLayout, Pagination, OperaApplyChangeDetailWindow, OperaUnionChangeDetailWindow },
  components: { TableLayout, Pagination, OperaApplyChangeDetailWindow, OperaUnionChangeDetailWindow, chooseCompany, selectPolicy },
  data () {
    return {
      // æœç´¢
@@ -149,12 +158,16 @@
    this.loadSelectList()
  },
  methods: {
    getCompany(e) {
      this.$refs.selectPolicy.open('选择保单', e.companyId, 1)
    },
    openEdit(row) {
      if (row.solutionType === 0) {
        this.$refs.operaApplyChangeDetailWindow.open('加减保详情', row)
      } else if (row.solutionType === 1) {
        this.$refs.OperaUnionChangeDetailWindow.open('加减保详情', row)
      }
      // if (row.solutionType === 0) {
      //   this.$refs.operaApplyChangeDetailWindow.open('加减保详情', row)
      // } else if (row.solutionType === 1) {
      //   this.$refs.OperaUnionChangeDetailWindow.open('加减保详情', row)
      // }
    },
    loadSelectList() {
      solutionAll({dataType:2,type:0}).then(res => {
company/src/views/business/contract.vue
@@ -29,8 +29,8 @@
        </el-form>
        <!-- è¡¨æ ¼å’Œåˆ†é¡µ -->
        <template v-slot:table-wrap>
            <ul class="toolbar" v-permissions="['business:contract:create']" v-if="userInfo.type === 0">
                <li><el-button type="primary" @click="$refs.operaContractWindow.open('新建合同信息表')" icon="el-icon-plus" v-permissions="['business:contract:create']">新建</el-button></li>
            <ul class="toolbar" v-permissions="['business:contract:create']" v-if="[0,2].includes(userInfo.type)">
                <li><el-button type="primary" @click="$refs.operaContractWindow.open('新建合同信息表', null, 2)" icon="el-icon-plus" v-permissions="['business:contract:create']">新建</el-button></li>
            </ul>
            <el-table
                v-loading="isWorking.search"
@@ -71,7 +71,6 @@
                    </template>
                </el-table-column>
                <el-table-column
                    v-if="containPermissions(['business:contract:update', 'business:contract:delete'])"
                    label="操作"
                    min-width="220"
                    fixed="right"
company/src/views/business/insuranceApply.vue
@@ -3,15 +3,12 @@
        <!-- æœç´¢è¡¨å• -->
        <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
            <el-form-item label="保单状态" prop="statusCollect">
                <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="2"></el-option>
                    <el-option label="已过期" value="3"></el-option>
                    <el-option label="已退回" value="4"></el-option>
                    <el-option label="退回申请中" value="5"></el-option>
                    <el-option label="已关闭" value="6"></el-option>
                <el-select v-model="statusCollect" placeholder="请选择" @change="changeStatus">
                    <el-option
                        v-for="(item, index) in status"
                        :key="index"
                        :label="item.label"
                        :value="item.id" />
                </el-select>
            </el-form-item>
            <el-form-item label="投保类型" prop="solutionType">
@@ -88,26 +85,36 @@
                    <span>{{row.code ? row.code : '-'}}</span>
                  </template>
                </el-table-column>
                <el-table-column prop="insureNum" align="center" label="投保人数"  >
                  <template slot-scope="{row}">
                    <span>{{(row.insureNum||0)}} äºº</span>
                  </template>
                </el-table-column>
                <el-table-column prop="guaranteeNum"  align="center" label="在保人数"  >
<!--                <el-table-column prop="insureNum" align="center" label="投保人数"  >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <span>{{(row.insureNum||0)}} äºº</span>-->
<!--                  </template>-->
<!--                </el-table-column>-->
                  <el-table-column prop="guaranteeNum"  align="center" label="当前在保人数" width="120">
                  <template slot-scope="{row}">
                    <span>{{(row.guaranteeNum||0)}} äºº</span>
                  </template>
                </el-table-column>
<!--                <el-table-column prop="guaranteeNum"  align="center" label="在保人数"  >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <span>{{(row.guaranteeNum||0)}} äºº</span>-->
<!--                  </template>-->
<!--                </el-table-column>-->
                <el-table-column label="投保时长">
                  <template slot-scope="{row}">
                    <span>{{(row.serviceDays - row.loseEfficacyDays) < 0 ? `-` : (row.serviceDays - row.loseEfficacyDays+'天')}}</span>
                  </template>
                </el-table-column>
                <el-table-column prop="currentFee" label="已产生费用"  align="center">
                  <el-table-column prop="fee" label="批改费用合计"  align="center" width="120">
                  <template slot-scope="{row}">
                    <span>{{row.currentFee!=null?row.currentFee+' å…ƒ': '-'}}</span>
                          <span>{{row.changeMoney+' å…ƒ'}}</span>
                  </template>
                </el-table-column>
<!--                <el-table-column prop="currentFee" label="已产生费用"  align="center">-->
<!--                  <template slot-scope="{row}">-->
<!--                    <span>{{row.currentFee!=null?row.currentFee+' å…ƒ': '-'}}</span>-->
<!--                  </template>-->
<!--                </el-table-column>-->
                <el-table-column prop="fee" label="总费用"  align="center">
                  <template slot-scope="{row}">
                    <span>{{row.fee!=null?row.fee+' å…ƒ': '-'}}</span>
@@ -166,10 +173,22 @@
                baseSolutionId: '',
                 solutionType: '',
                companyId: '',
                statusCollect: ''
                statusCollect: '',
            },
          statusCollect: '',
          solutionList:[],
          companyList:[]
          companyList:[],
          status: [
            { label: '待审核', id: '0' },
            { label: '待出单', id: '1' },
            { label: '待签署', id: '7' },
            { label: '待生效', id: '2,0' },
            { label: '保障中', id: '2,1' },
            { label: '已过期', id: '2,2' },
            { label: '已退回', id: '4' },
            { label: '退回申请中', id: '5' },
            { label: '已关闭', id: '6' },
          ]
        }
    },
    created () {
@@ -183,12 +202,23 @@
        this.loadSelectList()
    },
    methods:{
      changeStatus(e) {
        if (e.indexOf(',') !== -1) {
          this.searchForm.timeOut = e.split(',')[1]
          this.searchForm.statusCollect = e.split(',')[0]
        } else {
          this.searchForm.statusCollect = e
        }
        this.search()
      },
      getVal(company) {
        this.$refs.OperaInsuranceApplyAddWindow.open('投保申请', { type: '', companyName: company.companyName, companyId: company.companyId })
      },
        // æœç´¢æ¡†é‡ç½®
        reset () {
            this.$refs.searchForm.resetFields()
            this.statusCollect = ''
          this.searchForm.statusCollect = ''
            this.searchForm.createTimeS = ''
            this.searchForm.createTimeE = ''
            this.search()
company/src/views/business/solutions.vue
@@ -73,15 +73,15 @@
                    </template>
                </el-table-column>
<!--                <el-table-column prop="signDate" label="签署时间" min-width="100px"></el-table-column>-->
<!--                <el-table-column prop="signUserName" label="签署人" min-width="100px"></el-table-column>-->
<!--                <el-table-column label="签署状态" min-width="100px">-->
<!--                    <template slot-scope="{row}">-->
<!--                        <span v-if="row.signStatus === 0">待签章</span>-->
<!--                        <span v-else-if="!row.signStatus">待签章</span>-->
<!--                        <span v-else-if="row.signStatus === 1">已签章</span>-->
<!--                    </template>-->
<!--                </el-table-column>-->
                <el-table-column prop="signDate" label="签署时间" min-width="100px" v-if="userInfo.type === 1"></el-table-column>
                <el-table-column prop="signUserName" label="签署人" min-width="100px" v-if="userInfo.type === 1"></el-table-column>
                <el-table-column label="签署状态" min-width="100px" v-if="userInfo.type === 1">
                    <template slot-scope="{row}">
                        <span v-if="row.signStatus === 0">待签章</span>
                        <span v-else-if="!row.signStatus">待签章</span>
                        <span v-else-if="row.signStatus === 1">已签章</span>
                    </template>
                </el-table-column>
                <el-table-column
                    v-if="containPermissions(['business:solutions:update', 'business:solutions:delete'])"
@@ -114,6 +114,8 @@
        <OperaSolutionsWindow ref="operaSolutionsWindow" @success="handlePageChange"/>
        <!-- è¯¦æƒ… -->
        <OperaSolutionsDescWindow ref="OperaSolutionsDescWindow" @success="handlePageChange"/>
        <!-- é¢„览pdf -->
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow"  />
    </TableLayout>
</template>
<script>
@@ -122,13 +124,14 @@
  import Pagination from '@/components/common/Pagination'
  import OperaSolutionsWindow from '@/components/business/OperaSolutionsWindow'
  import OperaSolutionsDescWindow from '@/components/business/OperaSolutionsDescWindow'
  import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
  import { updateStatus } from '@/api/business/solutions'
  import { getSignLink } from '@/api/business/company'
  import { mapState } from 'vuex'
  export default {
    name: 'Solutions',
    extends: BaseTable,
    components: { TableLayout, Pagination, OperaSolutionsWindow, OperaSolutionsDescWindow },
    components: { TableLayout, Pagination, OperaSolutionsWindow, OperaSolutionsDescWindow, OperaPdfViewerWindow },
    data () {
      return {
        // æœç´¢
@@ -160,7 +163,7 @@
    },
    methods: {
      seeFleSignUrl(url) {
        window.open(url)
        this.$refs.OperaPdfViewerWindow.open('方案确认书', url)
      },
      sign(id) {
        getSignLink(id)
company/src/views/business/switchCourt.vue
@@ -58,6 +58,9 @@
    </el-form>
    <!-- è¡¨æ ¼å’Œåˆ†é¡µ -->
    <template v-slot:table-wrap>
      <ul class="toolbar">
        <li><el-button type="primary" @click="$refs.chooseCompany.open('选择企业')">新增</el-button></li>
      </ul>
      <el-table
          v-loading="isWorking.search"
          :data="tableData.list"
@@ -106,6 +109,10 @@
    </template>
    <!-- è¯¦æƒ… -->
    <OperaApplyChangeUnitDetailWindow ref="operaApplyChangeDetailWindow" @success="handlePageChange"/>
    <!--    é€‰æ‹©ä¼ä¸š    -->
    <chooseCompany ref="chooseCompany" @submit="getCompany" />
    <!--    é€‰æ‹©ä¿å•    -->
    <selectPolicy ref="selectPolicy" @success="handlePageChange" />
  </TableLayout>
</template>
@@ -116,10 +123,12 @@
import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow'
import {all as solutionAll, all} from '@/api/business/solutions'
import {pageAll as companyAll} from "@/api/business/company";
import chooseCompany from '@/components/common/chooseCompany'
import selectPolicy from '@/components/business/selectPolicy'
export default {
  name: 'switchCourt',
  extends: BaseTable,
  components: { TableLayout, Pagination, OperaApplyChangeUnitDetailWindow },
  components: { TableLayout, Pagination, OperaApplyChangeUnitDetailWindow, chooseCompany, selectPolicy },
  data () {
    return {
      // æœç´¢
@@ -149,6 +158,9 @@
    this.loadSelectList()
  },
  methods: {
    getCompany(e) {
      this.$refs.selectPolicy.open('选择保单', e.companyId, 2)
    },
    loadSelectList() {
      solutionAll({dataType:2,type:0}).then(res => {
        this.solutionList = res
company/src/views/enterprise/insuranceApply.vue
@@ -3,16 +3,12 @@
        <!-- æœç´¢è¡¨å• -->
        <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
            <el-form-item label="状态" prop="statusCollect">
                <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="2"></el-option>
                    <el-option label="已过期" value="3"></el-option>
                    <el-option label="已退回" value="4"></el-option>
                    <el-option label="退回申请中" value="5"></el-option>
                    <el-option label="已关闭" value="6"></el-option>
                    <el-option label="投保中" value="26"></el-option>
                <el-select v-model="statusCollect" placeholder="请选择" @change="changeStatus">
                    <el-option
                        v-for="(item, index) in status"
                        :key="index"
                        :label="item.label"
                        :value="item.id" />
                </el-select>
            </el-form-item>
            <el-form-item label="保险方案" prop="baseSolutionId">
@@ -115,10 +111,10 @@
            >
              <template slot-scope="{row}">
                <el-button type="text" @click="godetail(row)" v-permissions="['business:insuranceapply:update']">查看详情</el-button>
                <!--     <el-button type="text" @click="$refs.OperaApplyChangeMonthWindow.open('加减保月度费用统计',row)" v-permissions="['business:applychange:query']">加减保费用</el-button>
                                 <template v-if="row.statusCollect === 2">-->
                <!--                            <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })">加减保申请</el-button>-->
                <!--                        </template>-->
<!--                <el-button type="text" @click="$refs.OperaApplyChangeMonthWindow.open('加减保月度费用统计',row)" v-permissions="['business:applychange:query']">加减保费用</el-button>-->
                <template v-if="isShow(row.status, row.endTime)">
                    <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })">加减保申请</el-button>
                </template>
              </template>
            </el-table-column>
          </el-table>
@@ -137,6 +133,8 @@
        <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" />
        <!--    æŠ•保详情    -->
        <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" />
        <!--    åŠ å‡ä¿ç”³è¯·    -->
        <additionSubtractionApplication ref="additionSubtractionApplication" @success="handlePageChange" />
    </TableLayout>
</template>
<script>
@@ -146,6 +144,7 @@
import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
import OperaWtbApplyShopWindow from '@/components/business/OperaWtbApplyShopWindow'
import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication'
import OperaApplyChangeMonthWindow from '@/components/business/OperaApplyChangeMonthWindow'
import { all as solutionAll } from '@/api/business/solutions'
@@ -154,7 +153,7 @@
  extends: BaseTable,
  components: { TableLayout, Pagination,
    // OperaApplyChangeMonthWindow,
    OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow },
    OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow, additionSubtractionApplication },
  data () {
    return {
      // æœç´¢
@@ -162,9 +161,22 @@
        createTimeS: '',
        createTimeE: '',
        baseSolutionId: '',
        statusCollect: ''
        statusCollect: '',
        timeOut: ''
      },
      solutionList: []
      statusCollect: '',
      solutionList: [],
      status: [
        { label: '待审核', id: '0' },
        { label: '待出单', id: '1' },
        { label: '待签署', id: '7' },
        { label: '待生效', id: '2,0' },
        { label: '保障中', id: '2,1' },
        { label: '已过期', id: '2,2' },
        { label: '已退回', id: '4' },
        { label: '退回申请中', id: '5' },
        { label: '已关闭', id: '6' },
      ]
    }
  },
  created () {
@@ -178,9 +190,26 @@
    this.loadSelectList()
  },
  methods: {
    // åˆ¤æ–­æ˜¯å¦æ˜¾ç¤ºåŠ å‡ä¿
    isShow(status, endTime) {
      const currentDate = new Date();
      const specifiedDate = new Date(endTime);
      return status === 5 && (currentDate < specifiedDate);
    },
    changeStatus(e) {
      if (e.indexOf(',') !== -1) {
        this.searchForm.timeOut = e.split(',')[1]
        this.searchForm.statusCollect = e.split(',')[0]
      } else {
        this.searchForm.statusCollect = e
      }
      this.search()
    },
      reset() {
          this.searchForm.createTimeS = ''
          this.searchForm.createTimeE = ''
        this.statusCollect = ''
        this.searchForm.statusCollect = ''
          this.$refs.searchForm.resetFields()
          this.search()
      },
company/src/views/enterprise/myPolicy.vue
@@ -23,7 +23,7 @@
            </el-form-item>
            <el-form-item label="状态" prop="timeOut">
                <el-select v-model="searchForm.timeOut" placeholder="请选择" @change="search">
                    <el-option label="未开始" value="0"></el-option>
                    <el-option label="待生效" value="0"></el-option>
                    <el-option label="保障中" value="1"></el-option>
                    <el-option label="已过期" value="2"></el-option>
                </el-select>
@@ -156,7 +156,7 @@
                        <el-button type="text" @click="godetail(row)" v-permissions="['business:insuranceapply:update']">查看详情</el-button>
                      <!--                        <el-button type="text" @click="$refs.OperaApplyChangeMonthWindow.open('加减保月度费用统计',row)" v-permissions="['business:applychange:query']">加减保费用</el-button>
                                          <template v-if="row.statusCollect === 2">-->
                        <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })">加减保申请</el-button>
                        <el-button type="text" @click="$refs.additionSubtractionApplication.open('加减保申请', { id: row.id })" v-if="isShow(row.status, row.endTime)">加减保申请</el-button>
<!--                        </template>-->
                    </template>
                </el-table-column>
@@ -241,6 +241,12 @@
    this.getNum()
  },
  methods: {
    // åˆ¤æ–­æ˜¯å¦æ˜¾ç¤ºåŠ å‡ä¿
    isShow(status, endTime) {
      const currentDate = new Date();
      const specifiedDate = new Date(endTime);
      return [5,27].includes(status) && (currentDate < specifiedDate);
    },
    godetail (row) {
      if (row.solutionType == 1) {
        this.$refs.OperaWtbApplyShopWindow.open('委托投保详情', { id: row.id })
company/src/views/system/user.vue
@@ -77,7 +77,7 @@
<!--          row.id !== userInfo.id &&-->
          <template v-if="isAdmin || (row.roles.findIndex(r => r.code === adminCode) === -1)" slot-scope="{row}">
            <el-button type="text" icon="el-icon-edit" @click="$refs.operaUserWindow.open('编辑用户', {...row, departmentId: [row.departmentId]})" v-permissions="['system:user:update']">编辑</el-button>
            <el-button type="text" @click="$refs.allocationEnterprises.open('分配企业', row)" v-if="userInfo.type !== 1">分配企业</el-button>
            <el-button type="text" @click="$refs.allocationEnterprises.open('分配企业', row)" v-if="userInfo.type === 0">分配企业</el-button>
            <el-button type="text" icon="el-icon-s-custom" @click="$refs.roleConfigWindow.open(row)" v-permissions="['system:user:createUserRole']">配置角色</el-button>
            <el-button type="text" @click="$refs.resetPwdWindow.open(row)" v-permissions="['system:user:resetPwd']">重置密码</el-button>
<!--            <el-button v-if="!row.fixed" type="text" icon="el-icon-delete" @click="deleteById(row)" v-permissions="['system:user:delete']">删除</el-button>-->
@@ -112,10 +112,13 @@
import DepartmentSelect from '@/components/common/DepartmentSelect'
import PositionSelect from '@/components/common/PositionSelect'
import { updUserStatus, updateHead } from '@/api/system/user'
import { mapState } from 'vuex'
export default {
  name: 'SystemUser',
  extends: BaseTable,
  computed: {
    ...mapState(['userInfo'])
  },
  components: { allocationEnterprises, PositionSelect, DepartmentSelect, ResetPwdWindow, RoleConfigWindow, OperaUserWindow, TableLayout, Pagination },
  data () {
    return {
@@ -126,6 +129,7 @@
        rootDeptId: null, // éƒ¨é—¨ID
        positionId: null, // å²—位ID
        mobile: '', // æ‰‹æœºå·ç 
        type: '',
        companyDepartmentPathName: ''   // éƒ¨é—¨åç§°
      }
    }
@@ -140,6 +144,7 @@
        direction: 'DESC'
      }]
    })
    this.searchForm.type = this.userInfo.type
    this.search()
  },
  methods: {