| | |
| | | VUE_APP_ROUTER_MODE = 'hash' |
| | | |
| | | # 项ç®ä¸ä¸æè·¯å¾ |
| | | VUE_APP_CONTEXT_PATH = '/yyb_web' |
| | | VUE_APP_CONTEXT_PATH = '/yyb_admin' |
| | | |
| | | # æ¥å£åç¼ |
| | | VUE_APP_API_PREFIX = '/api' |
| | |
| | | # VUE_APP_API_PREFIX = '/yyb_web_api' |
| | | |
| | | # ä¼ä¸ç«¯-ä»åº· |
| | | VUE_APP_API = 'http://192.168.0.186:10031/' |
| | | # VUE_APP_API = 'http://192.168.0.186:10031/' |
| | | VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/' |
| | | |
| | | # å¹³å°ç«¯-ä»åº· |
| | | # VUE_APP_API = 'http://192.168.0.186:10030/' |
| | |
| | | # ç产ç¯å¢é
ç½® |
| | | NODE_ENV = 'production' |
| | | |
| | | VUE_APP_API_PREFIX = '/yyb_web_api' |
| | | VUE_APP_API_PREFIX = '/yyb_admin_api' |
| | | |
| | | # å¹³å°ç«¯ |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | # ä¼ä¸ç«¯ |
| | | VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/' |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/' |
| | |
| | | export function closeApplyNotice (type) { |
| | | return request.get(`/business/notices/closeApplyNotice?type=${type}`) |
| | | } |
| | | |
| | | // æ ¹æ®IDå é¤ |
| | | export function deleById (id) { |
| | | return request.get(`/business/notices/delete/${id}`) |
| | | } |
| | |
| | | export function sendSms (data) { |
| | | return request.post('/business/smsEmail/sendSms', data) |
| | | } |
| | | |
| | | // çä¿¡éªè¯ - ä¼ä¸éªç¾ |
| | | export function validateCode (params) { |
| | | return request.get('/business/smsEmail/validateCode', {params}) |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="100%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <div class="box"> |
| | | <div class="top"> |
| | | {{title}} |
| | | </div> |
| | | <div class="box_table"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item">æä¿ä¼ä¸</div> |
| | | <div class="box_table_head_item">ä¿é©æ¹æ¡</div> |
| | | <div class="box_table_head_item">ä¿åå·</div> |
| | | <div class="box_table_head_item">ä¿é©çæèµ·æ</div> |
| | | <div class="box_table_head_item">ä¿é©çææ¢æ</div> |
| | | <div class="box_table_head_item">å ä¿äººæ°</div> |
| | | <div class="box_table_head_item">åä¿äººæ°</div> |
| | | <div class="box_table_head_item">æ¹åçææ</div> |
| | | </div> |
| | | <div class="box_table_content"> |
| | | <div class="box_table_content_item box_table_content_header">{{form.companyName}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{form.solutionsName}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{form.code}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{form.startTime}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{form.endTime}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{arr1.length}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{arr2.length}}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{form.applyStartTime}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="box_table"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item1">å ä¿åå·¥</div> |
| | | <div class="box_table_head_item1">åä¿åå·¥</div> |
| | | </div> |
| | | <div style="width: 100%; display: flex;"> |
| | | <div class="box_table_head" style="width: 50%;"> |
| | | <div class="box_table_head_item">åºå·</div> |
| | | <div class="box_table_head_item">åå·¥å§å</div> |
| | | <div class="box_table_head_item">身份è¯å·</div> |
| | | <div class="box_table_head_item">æ§å«</div> |
| | | <div class="box_table_head_item">æ´¾é£åä½</div> |
| | | <div class="box_table_head_item">æå±å·¥ç§</div> |
| | | </div> |
| | | <div class="box_table_head" style="width: 50%;"> |
| | | <div class="box_table_head_item">åºå·</div> |
| | | <div class="box_table_head_item">åå·¥å§å</div> |
| | | <div class="box_table_head_item">身份è¯å·</div> |
| | | <div class="box_table_head_item">æ§å«</div> |
| | | <div class="box_table_head_item">æ´¾é£åä½</div> |
| | | <div class="box_table_head_item">æå±å·¥ç§</div> |
| | | </div> |
| | | </div> |
| | | <div style="width: 100%; display: flex;"> |
| | | <div style="width: 50%; border-bottom: 1px solid #b4bbc5;"> |
| | | <div class="box_table_content" style="width: 100%;" v-for="(item, index) in arr1" :key="index"> |
| | | <div class="box_table_content_item">{{index + 1}}</div> |
| | | <div class="box_table_content_item">{{item.name}}</div> |
| | | <div class="box_table_content_item">{{item.idCard}}</div> |
| | | <div class="box_table_content_item">{{item.sex === 0 ? 'ç·' : '女'}}</div> |
| | | <div class="box_table_content_item">{{item.duName}}</div> |
| | | <div class="box_table_content_item">{{item.workTypeName}}</div> |
| | | </div> |
| | | </div> |
| | | <div style="width: 50%; border-bottom: 1px solid #b4bbc5;"> |
| | | <div class="box_table_content" style="width: 100%;" v-for="(item, index) in arr2" :key="index"> |
| | | <div class="box_table_content_item">{{index + 1}}</div> |
| | | <div class="box_table_content_item">{{item.name}}</div> |
| | | <div class="box_table_content_item">{{item.idCard}}</div> |
| | | <div class="box_table_content_item">{{item.sex === 0 ? 'ç·' : '女'}}</div> |
| | | <div class="box_table_content_item">{{item.duName}}</div> |
| | | <div class="box_table_content_item">{{item.workTypeName}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <template v-slot:footer> |
| | | <el-button type="primary" @click="submit">确认</el-button> |
| | | <el-button @click="go">è¿å</el-button> |
| | | </template> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | export default { |
| | | name: 'ApplyChangeDetails', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow }, |
| | | data () { |
| | | return { |
| | | form: { |
| | | companyName: '', |
| | | solutionsName: '', |
| | | code: '', |
| | | startTime: '', |
| | | endTime: '', |
| | | applyStartTime: '' |
| | | }, |
| | | arr1: [], |
| | | arr2: [] |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/insuranceApply', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | submit() { |
| | | this.$emit('success') |
| | | this.visible = false |
| | | }, |
| | | go() { |
| | | this.visible = false |
| | | }, |
| | | open(title, arr1, arr2, obj){ |
| | | this.title = title |
| | | this.arr1 = arr1 |
| | | this.arr2 = arr2 |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | for (const key in this.form) { |
| | | this.form[key] = obj[key] |
| | | } |
| | | }) |
| | | }, |
| | | confirm() { |
| | | this.$emit('success') |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .box { |
| | | width: 100%; |
| | | .top{ |
| | | width: 100%; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | font-size: 14px; |
| | | font-weight: bold; |
| | | text-align: center; |
| | | padding: 15px; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_header { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | .box_header_item { |
| | | width: 50%; |
| | | height: 50px; |
| | | display: flex; |
| | | align-items: center; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | |
| | | .box_header_item_label { |
| | | flex: 1; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | background: #f2f2f2; |
| | | border-right: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_header_item_val { |
| | | flex: 1; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | } |
| | | } |
| | | } |
| | | .box_table { |
| | | width: 100%; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | .box_table_head { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | .box_table_head_item1 { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_table_head_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(3) { |
| | | flex: 1.5;; |
| | | } |
| | | &:nth-child(9) { |
| | | flex: 1.5;; |
| | | } |
| | | } |
| | | .box_table_head_item5 { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(2) { |
| | | flex: 5; |
| | | } |
| | | } |
| | | .box_form_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #ffffff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(1) { |
| | | //flex: 0.5; |
| | | } |
| | | } |
| | | } |
| | | .box_table_content { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | border-left: 1px solid #b4bbc5; |
| | | .box_table_content_header{ |
| | | border-bottom: 0px solid #b4bbc5 !important; |
| | | } |
| | | .box_table_content_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #ffffff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(3) { |
| | | flex: 1.5; |
| | | } |
| | | &:nth-child(9) { |
| | | flex: 1.5; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="100%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <div class="box"> |
| | | <div class="top"> |
| | | {{title}} |
| | | </div> |
| | | <div class="box_table"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item">æä¿ä¼ä¸</div> |
| | | <div class="box_table_head_item">ä¿é©æ¹æ¡</div> |
| | | <div class="box_table_head_item">ä¿åå·</div> |
| | | <div class="box_table_head_item">ä¿é©çæèµ·æ</div> |
| | | <div class="box_table_head_item">ä¿é©çææ¢æ</div> |
| | | <div class="box_table_head_item">æ¢å人æ°</div> |
| | | <div class="box_table_head_item">æ¹åçææ</div> |
| | | </div> |
| | | <div class="box_table_content " > |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.companyName }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.solutionsName }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.code }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.startTime }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.endTime }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ detailList.length }}</div> |
| | | <div class="box_table_content_item box_table_content_header">{{ apply.applyStartTime }}</div> |
| | | </div> |
| | | </div> |
| | | <div class="box_table"> |
| | | <div class="box_table_head"> |
| | | <div class="box_table_head_item">åºå·</div> |
| | | <div class="box_table_head_item">åå·¥å§å</div> |
| | | <div class="box_table_head_item">æ§å«</div> |
| | | <div class="box_table_head_item">身份è¯å·</div> |
| | | <div class="box_table_head_item">åæ´¾é£åä½</div> |
| | | <div class="box_table_head_item">åæå±å·¥ç§</div> |
| | | <div class="box_table_head_item">æ¢ååæ´¾é£åä½</div> |
| | | <div class="box_table_head_item">æ¢ååæå±å·¥ç§</div> |
| | | </div> |
| | | <div class="box_table_content" v-for="(item, index) in detailList" :key="index"> |
| | | <div class="box_table_content_item">{{index + 1}}</div> |
| | | <div class="box_table_content_item" >{{ item.memberName }}</div> |
| | | <div class="box_table_content_item">{{ item.sex==0?"ç·":(item.sex==1?"女":"" )}}</div> |
| | | <div class="box_table_content_item">{{ item.idCard }}</div> |
| | | <div class="box_table_content_item">{{ item.oldDuName }}</div> |
| | | <div class="box_table_content_item">{{item.oldWorkTypeName}}</div> |
| | | <div class="box_table_content_item">{{ item.duName }}</div> |
| | | <div class="box_table_content_item">{{item.workTypeName}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <template v-slot:footer> |
| | | <el-button type="primary" @click="submit">ç¡®å®</el-button> |
| | | <el-button @click="visible=false">åæ¶</el-button> |
| | | </template> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | export default { |
| | | name: 'ApplyChangeUnitDetails1', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow }, |
| | | data () { |
| | | return { |
| | | apply: {}, |
| | | detailList:[] |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/insuranceApply', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | open(title,target, target1){ |
| | | this.title=title |
| | | this.detailList = target |
| | | this.apply = target1 |
| | | this.visible=true |
| | | }, |
| | | submit() { |
| | | this.$emit('success') |
| | | this.visible = false |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .box { |
| | | width: 100%; |
| | | .top{ |
| | | width: 100%; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | font-size: 14px; |
| | | font-weight: bold; |
| | | text-align: center; |
| | | padding: 15px; |
| | | } |
| | | .box_header { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | .box_header_item { |
| | | width: 50%; |
| | | height: 50px; |
| | | display: flex; |
| | | align-items: center; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | |
| | | .box_header_item_label { |
| | | flex: 1; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | background: #f2f2f2; |
| | | border-right: 1px solid #b4bbc5; |
| | | } |
| | | .box_header_item_val { |
| | | flex: 1; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | } |
| | | } |
| | | } |
| | | .box_table { |
| | | width: 100%; |
| | | border-top: 1px solid #b4bbc5; |
| | | border-left: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | .box_table_head { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | .box_table_head_item1 { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | } |
| | | .box_table_head_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(4) { |
| | | flex: 1.5;; |
| | | } |
| | | &:nth-child(6) { |
| | | flex: 1.5;; |
| | | } |
| | | &:nth-child(8) { |
| | | flex: 1.5;; |
| | | } |
| | | } |
| | | .box_table_head_item5 { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #f2f2f2; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(2) { |
| | | flex: 5; |
| | | } |
| | | } |
| | | .box_form_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #ffffff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(1) { |
| | | //flex: 0.5; |
| | | } |
| | | } |
| | | } |
| | | .box_table_content { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | .box_table_content_header{ |
| | | border-bottom: 0px solid #b4bbc5 !important; |
| | | } |
| | | .box_table_content_item { |
| | | flex: 1; |
| | | height: 50px; |
| | | background: #ffffff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 14px; |
| | | color: black; |
| | | border-right: 1px solid #b4bbc5; |
| | | border-bottom: 1px solid #b4bbc5; |
| | | box-sizing: border-box; |
| | | &:nth-child(4) { |
| | | flex: 1.5; |
| | | } |
| | | &:nth-child(6) { |
| | | flex: 1.5; |
| | | } |
| | | &:nth-child(8) { |
| | | flex: 1.5; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | } |
| | | .form_item_label { |
| | | flex-shrink: 0; |
| | | width: 150px; |
| | | /*width: 150px;*/ |
| | | color: black; |
| | | font-size: 14px; |
| | | span { |
| | |
| | | <template v-if="userInfo.type === 1"> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('å åä¿è¯¦å',apply,model)">导åºè¯¦å</el-button> |
| | | <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="$refs.reinsurance.open('å åä¿ç³è¯·', {id: dataId, applyChangId: modelId})">忬¡æä¿</el-button> |
| | | <el-button type="primary" v-if="model.status == 0" @click="goSign">ç¾ç½²ç³è¯·å</el-button> |
| | | <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="primary" @click="$refs.add_subtract_return.open('ç³è¯·éå', { id: modelId })">ç³è¯·éå</el-button> |
| | | <el-button type="primary" v-if="model.status == 0" @click="$refs.operaverifyPhoneNumberWindew.open('éªè¯ææºå·')">ç¾ç½²ç³è¯·å</el-button> |
| | | <el-button v-if="[0, 1, 3, 7].includes(model.status)" type="danger" @click="$refs.add_subtract_return.open('ç³è¯·éå', { id: modelId })">ç³è¯·éå</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewApplyFile">æ¥çç³è¯·å</el-button> |
| | | <el-button v-if="model.status == 2" type="primary" @click="viewPidan">æ¥çæ¹å</el-button> |
| | | <el-button v-if="[5, 8].includes(model.status)" type="primary" @click="closeOrder">å
³é订å</el-button> |
| | |
| | | <factoryChange ref="factoryChange" @success="successEvent" /> |
| | | <!-- æä¿è¯¦æ
--> |
| | | <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" /> |
| | | <!-- éªè¯ææºå· --> |
| | | <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" /> |
| | | <template v-slot:footer> |
| | | <el-button @click="visible=false">è¿å</el-button> |
| | | </template> |
| | |
| | | } from '@/api/business/insuranceApply' |
| | | import { applyChangeOpt } from '@/api/business/applyChange' |
| | | import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | | import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew' |
| | | import { mapState } from 'vuex' |
| | | |
| | | export default { |
| | |
| | | OperaInsuranceApply, |
| | | reinsurance, |
| | | factoryChange, |
| | | operaverifyPhoneNumberWindew, |
| | | insuranceApplyDetails: () => import ('@/components/business/OperaInsuranceApplyWindow') |
| | | }, |
| | | data () { |
| | |
| | | align-items: start; |
| | | margin-bottom: 20px; |
| | | .info_list_item_label { |
| | | width: 150px; |
| | | /*width: 150px;*/ |
| | | flex-shrink: 0; |
| | | } |
| | | .info_list_item_val { |
| | |
| | | <el-form-item label="æ³äººå§å" prop="legalName"> |
| | | <el-input v-model="form.legalName" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="ç»å®ææºå·" prop="phone" v-if="form.type !== 1"> |
| | | <el-form-item label="ç»å®ææºå·" prop="phone" v-if="!form.id"> |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <el-input v-model="form.phone" maxlength="11" type="number" style="flex: 1;" placeholder="请è¾å
¥" v-trim/> |
| | | <el-button type="primary" style="flex-shrink: 0; margin-left: 15px;" @click="send" v-if="num === 0">åééªè¯ç </el-button> |
| | |
| | | </el-form> |
| | | <el-form v-if="visible2==true" :model="form" ref="form2" :rules="rules2" style="width: 100%;"> |
| | | <el-form-item label="ä¸ä¼ æä¿åï¼" prop="toubaodanFile"> |
| | | <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" /> |
| | | <UploadFile @remove="dele2" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList" @uploadSuccess="toubaoFileUploaded" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <!-- ä¸ä¼ ä¿é©å --> |
| | |
| | | }) |
| | | }, |
| | | methods: { |
| | | dele2() { |
| | | this.form.toubaodanFile = '' |
| | | }, |
| | | open(title,target,flag){ |
| | | this.visible=true |
| | | this.model={} |
| | |
| | | } |
| | | .form_item_label { |
| | | flex-shrink: 0; |
| | | width: 170px; |
| | | /*width: 170px;*/ |
| | | color: black; |
| | | font-size: 14px; |
| | | span { |
| | |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('æä¿è¯¦æ
å',model,0)">导åºè¯¦å</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">æ¥çæä¿å</el-button> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">æ¥çä¿é©å</el-button> |
| | | <el-button v-if="model.status == 2" type="primary" @click="goSign">ç¾ç½²æä¿å</el-button> |
| | | <!-- goSign--> |
| | | <el-button v-if="model.status == 2" type="primary" @click="$refs.operaverifyPhoneNumberWindew.open('éªè¯ææºå·')">ç¾ç½²æä¿å</el-button> |
| | | </template> |
| | | <template v-else> |
| | | <el-button type="primary" @click="$refs.InsuranceDetails.open('æä¿è¯¦æ
å',model,0)">导åºè¯¦å</el-button> |
| | | <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">æ¥çæä¿å</el-button> |
| | | <!-- <el-button v-if="model.status == 2" type="primary" @click="goSign">ç¾ç½²æä¿å</el-button>--> |
| | | <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">æ¥çä¿é©å</el-button> |
| | | <el-button v-if="model.status == 10 ||model.status == 2" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('ä¸ä¼ æä¿å',model,2)">ä¸ä¼ æä¿å</el-button> |
| | | <el-button v-if="model.status == 3" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('ä¸ä¼ ä¿é©å',model,3)">ä¸ä¼ ä¿é©å</el-button> |
| | |
| | | <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" @success="successEvent"/> |
| | | <!-- æ¢å详æ
--> |
| | | <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="successEvent"/> |
| | | <!-- éªè¯ææºå· --> |
| | | <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" /> |
| | | <template v-slot:footer> |
| | | <el-button @click="visible=false">è¿å</el-button> |
| | | </template> |
| | |
| | | import OperaInsuranceApplyCheckWindow from '@/components/business/OperaInsuranceApplyCheckWindow' |
| | | import additionSubtractionApplication from '@/components/enterprise/additionSubtractionApplication' |
| | | import factoryChange from '@/components/enterprise/factoryChange' |
| | | import operaverifyPhoneNumberWindew from '@/components/business/operaverifyPhoneNumberWindew' |
| | | import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow' |
| | | import OperaApplyChangeUnitDetailWindow from '@/components/business/OperaApplyChangeUnitDetailWindow' |
| | | |
| | |
| | | additionSubtractionApplication, |
| | | factoryChange, |
| | | OperaApplyChangeDetailWindow, |
| | | OperaApplyChangeUnitDetailWindow |
| | | OperaApplyChangeUnitDetailWindow, |
| | | operaverifyPhoneNumberWindew |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | } |
| | | }) |
| | | }) |
| | | .catch(err => { |
| | | this.$message.error(err.message) |
| | | }) |
| | | .finally(() => { |
| | | this.$refs.upload.value = null |
| | | }) |
| | |
| | | <el-form-item label="ç»æ¡å
容ï¼" prop="doneInfo"> |
| | | <el-input type="textarea" v-model="form.doneInfo" @change="changeAccount" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="å»ççèµ(å
)ï¼" prop="ylClaimAccount">{{form.ylClaimAccount}} |
| | | <el-form-item label="å»ççèµ(å
)ï¼" prop="ylClaimAccount"> |
| | | <el-input type="number" v-model="form.ylClaimAccount" @change="changeAccount" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="误工çèµ(å
)ï¼" prop="wgClaimAccount">{{form.wgClaimAccount}} |
| | | <el-form-item label="误工çèµ(å
)ï¼" prop="wgClaimAccount"> |
| | | <el-input type="number" v-model="form.wgClaimAccount" @change="changeAccount" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="伤æ®çèµ(å
)ï¼" prop="scClaimAccount">{{form.scClaimAccount}} |
| | | <el-form-item label="伤æ®çèµ(å
)ï¼" prop="scClaimAccount"> |
| | | <el-input type="number" v-model="form.scClaimAccount" @change="changeAccount" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="æ»äº¡çèµ(å
)ï¼" prop="swClaimAccount">{{form.swClaimAccount}} |
| | | <el-form-item label="æ»äº¡çèµ(å
)ï¼" prop="swClaimAccount"> |
| | | <el-input type="number" v-model="form.swClaimAccount" @change="changeAccount" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="æ»éé¢ï¼" > |
| | |
| | | var validType = (rule, value, callback) => { |
| | | if (this.form.validType === 0 && !value) { |
| | | return callback(new Error('å»¶è¿å¤©æ°ä¸è½ä¸ºç©º')); |
| | | } else if (!/^[0-9]*[1-9][0-9]*$/.test(value)) { |
| | | } else if (this.form.validType === 0 && !/^[0-9]*[1-9][0-9]*$/.test(value)) { |
| | | return callback(new Error('å»¶è¿å¤©æ°åªè½ä¸ºæ£æ´æ°')); |
| | | } |
| | | callback(); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="40%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <el-form :model="form" ref="form" :rules="rules"> |
| | | <el-form-item label="ææºå·" prop="phone"> |
| | | <el-input v-model="form.phone" placeholder="请è¾å
¥" disabled v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="éªè¯ç " prop="code"> |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <el-input v-model="form.code" placeholder="请è¾å
¥" v-trim/> |
| | | <el-button type="primary" style="margin-left: 15px;" @click="send" v-if="num === 0">åééªè¯ç </el-button> |
| | | <el-button type="primary" style="margin-left: 15px;" v-else>{{num}}</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import { sendSms, validateCode } from '@/api/business/smsEmail' |
| | | import { mapState } from 'vuex' |
| | | export default { |
| | | name: 'operaverifyPhoneNumberWindew', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow }, |
| | | data () { |
| | | return { |
| | | form: { |
| | | phone: this.$store.state.userInfo.company.phone, |
| | | code: '' |
| | | }, |
| | | rules: { |
| | | code: [ |
| | | { required: true, message: '请è¾å
¥éªè¯ç ' } |
| | | ] |
| | | }, |
| | | num: 0, |
| | | timer: null |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(['userInfo']) |
| | | }, |
| | | methods: { |
| | | open (title) { |
| | | this.title = title |
| | | this.num = 0 |
| | | clearInterval(this.timer) |
| | | this.timer = null |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.form.resetFields() |
| | | }) |
| | | }, |
| | | send () { |
| | | sendSms({ |
| | | phone: this.form.phone |
| | | }).then(res => { |
| | | this.num = 60 |
| | | this.setTime() |
| | | }) |
| | | }, |
| | | setTime () { |
| | | this.timer = setInterval(() => { |
| | | if (this.num === 0) { |
| | | clearInterval(this.timer) |
| | | this.timer = null |
| | | return |
| | | } |
| | | this.num = this.num - 1 |
| | | }, 1000) |
| | | }, |
| | | confirm () { |
| | | this.$refs.form.validate((valid) => { |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.isWorking = true |
| | | validateCode({ |
| | | code: this.form.code |
| | | }).then(res => { |
| | | this.visible = false |
| | | this.$tip.apiSuccess('æä½æå') |
| | | this.$emit('success') |
| | | }).catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }).finally(() => { |
| | | this.isWorking = false |
| | | }) |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | :accept="uploadData.fileTyp" |
| | | :action="uploadImgUrl" |
| | | :limit="1" |
| | | :before-remove="removes" |
| | | :on-exceed="handleExceed" |
| | | :on-success="handleFileSuccess" |
| | | :on-error="uploadError" |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | removes() { |
| | | this.$emit('remove') |
| | | }, |
| | | // ä¸ä¼ å¾ç |
| | | handleExceed(){}, |
| | | handleFileSuccess(res, file) { |
| | |
| | | detailList: this.tableData |
| | | }) |
| | | |
| | | // let arr = JSON.parse(JSON.stringify(this.tableData)) |
| | | // arr.forEach(item => { |
| | | // item.idcardNo = item.idCard |
| | | // }) |
| | | // this.isWorking = true |
| | | // if (!this.form.id) { |
| | | // create({ |
| | | // applyDetailList: arr, |
| | | // applyStartTime: this.form.applyStartTime, |
| | | // applyEndTime: this.form.applyEndTime, |
| | | // solutionId: this.form.solutionId |
| | | // }).then(() => { |
| | | // this.visible = false |
| | | // this.$tip.apiSuccess('æä½æå') |
| | | // this.$emit('success') |
| | | // }) |
| | | // .catch(e => { |
| | | // this.$tip.apiFailed(e) |
| | | // }) |
| | | // .finally(() => { |
| | | // this.isWorking = false |
| | | // }) |
| | | // } else { |
| | | // updateData({ |
| | | // id: this.form.id, |
| | | // applyDetailList: arr, |
| | | // applyStartTime: this.form.applyStartTime, |
| | | // applyEndTime: this.form.applyEndTime, |
| | | // solutionId: this.form.solutionId |
| | | // }).then(() => { |
| | | // this.visible = false |
| | | // this.$tip.apiSuccess('æä½æå') |
| | | // this.$emit('success') |
| | | // }).catch(e => { |
| | | // this.$tip.apiFailed(e) |
| | | // }) |
| | | // .finally(() => { |
| | | // this.isWorking = false |
| | | // }) |
| | | // } |
| | | |
| | | } |
| | | }) |
| | | }, |
| | |
| | | <importEmployees ref="importEmployees" @result="getValue" /> |
| | | <!-- ç¡®è®¤å·¥ç§ --> |
| | | <confirmJobType ref="confirmJobType" @result="getUser" /> |
| | | <!-- 详æ
--> |
| | | <ApplyChangeDetails1 ref="ApplyChangeDetails1" @success="success" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | import addEmployee from '@/components/enterprise/addEmployee' |
| | | import importEmployees from '@/components/enterprise/importEmployees' |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import ApplyChangeDetails1 from '@/components/business/ApplyChangeDetails1' |
| | | import { all } from '@/api/business/solutions' |
| | | import { getDetail } from '@/api/business/insuranceApply' |
| | | import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange' |
| | | import { getDate, compareDates, getTomorrow } from '@/utils/util' |
| | | import { mapState } from 'vuex' |
| | | export default { |
| | | name: 'additionSubtractionApplication', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType }, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 }, |
| | | data () { |
| | | return { |
| | | form: { |
| | |
| | | }, |
| | | list: [] |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(['userInfo']) |
| | | }, |
| | | created () { |
| | | this.config({ |
| | |
| | | }) |
| | | } |
| | | }, |
| | | success() { |
| | | 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 |
| | | }) |
| | | }, |
| | | confirm() { |
| | | this.$refs.form.validate((valid) => { |
| | | if (valid) { |
| | |
| | | return |
| | | } |
| | | } |
| | | this.form.addDetailList.forEach(item => { |
| | | item.idcardNo = item.idCard |
| | | |
| | | this.$refs.ApplyChangeDetails1.open('å åä¿è¯¦å', this.form.addDetailList, this.form.delDetailList, { |
| | | companyName: this.userInfo.company.name, |
| | | solutionsName: this.form.solutionsName, |
| | | code: this.list[0].code, |
| | | startTime: this.list[0].startTime, |
| | | endTime: this.list[0].endTime, |
| | | applyStartTime: this.form.applyStartTime |
| | | }) |
| | | this.form.delDetailList.forEach(item => { |
| | | item.idcardNo = item.idCard |
| | | }) |
| | | // let arr = JSON.parse(JSON.stringify(this.form.addDetailList)) |
| | | // arr.forEach(item => { |
| | | |
| | | // return |
| | | |
| | | // this.form.addDetailList.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 |
| | | }) |
| | | // 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 |
| | | // }) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | <importEmployees ref="importEmployees" @result="getValue" /> |
| | | <!-- ç¡®è®¤å·¥ç§ --> |
| | | <confirmJobType ref="confirmJobType" @result="getUser" /> |
| | | <!-- 详å --> |
| | | <ApplyChangeUnitDetails1 ref="ApplyChangeUnitDetails1" @success="success" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | import addEmployee from '@/components/enterprise/addEmployee' |
| | | import importEmployees from '@/components/enterprise/importEmployees' |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import ApplyChangeUnitDetails1 from '@/components/business/ApplyChangeUnitDetails1' |
| | | import { all } from '@/api/business/solutions' |
| | | import { getDetail, findList } from '@/api/business/insuranceApply' |
| | | import { create } from '@/api/business/applyChange' |
| | | import { getDate, compareDates, getTomorrow } from '@/utils/util' |
| | | export default { |
| | | name: 'factoryChange', |
| | | extends: BaseOpera, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType }, |
| | | components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeUnitDetails1 }, |
| | | data () { |
| | | return { |
| | | form: { |
| | |
| | | this.visible = true |
| | | // this.updatePickerOptions() |
| | | }, |
| | | success() { |
| | | this.form.factory.forEach(item => { |
| | | item.idcardNo = item.idCard |
| | | }) |
| | | this.isWorking = true |
| | | create({ |
| | | applyId: this.form.id, |
| | | changeDetailList: this.form.factory, |
| | | validTime: this.form.applyStartTime, |
| | | type: 1 |
| | | }).then(() => { |
| | | this.visible = false |
| | | this.$tip.apiSuccess('æä½æå') |
| | | this.$emit('success') |
| | | }).catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }).finally(() => { |
| | | this.isWorking = false |
| | | }) |
| | | }, |
| | | // è·åæä¿è¯¦æ
|
| | | getDetails() { |
| | | findList({ applyId: this.form.id }) |
| | |
| | | this.form.solutionsName = res.solutionsName |
| | | this.pickerOptions = { |
| | | disabledDate(time) { |
| | | // - 8.64e7 |
| | | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate ? res.lastChangeDate : res.startTime).getTime() |
| | | // å½åæ¥æå¤§äºçäºçææ¥æå¹¶ä¸æå䏿¬¡æä½æ¶é´çäºç©º |
| | | if ([1,3].includes(compareDates(getDate(), res.startTime)) && !res.lastChangeDate) { |
| | | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime() |
| | | // å½åæ¥æå°äºçææ¥æå¹¶ä¸æå䏿¬¡æä½æ¶é´çäºç©º |
| | | } else if (compareDates(getDate(), res.startTime) === 2 && !res.lastChangeDate) { |
| | | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.startTime).getTime() |
| | | // æå䏿¬¡æä½æ¶é´æå¼ |
| | | } else if (res.lastChangeDate) { |
| | | // å½åæ¥æå¤§äºæå䏿¬¡æä½æ¶é´ |
| | | if ([1,3].includes(compareDates(getDate(), res.lastChangeDate))) { |
| | | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(getTomorrow()).getTime() |
| | | // å½åæ¶é´å°äºæå䏿¬¡æä½æ¶é´ |
| | | } else if (compareDates(getDate(), res.lastChangeDate) === 2) { |
| | | return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate).getTime() |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | this.changeSolution1(res.solutionId) |
| | |
| | | return |
| | | } |
| | | } |
| | | this.form.factory.forEach(item => { |
| | | item.idcardNo = item.idCard |
| | | }) |
| | | this.$refs.ApplyChangeUnitDetails1.open('æ¢å详å', this.form.factory, {...this.list[0], applyStartTime: this.form.applyStartTime}) |
| | | // this.form.factory.forEach(item => { |
| | | // item.idcardNo = item.idCard |
| | | // }) |
| | | // let arr = JSON.parse(JSON.stringify(this.form.factory)) |
| | | // arr.forEach(item => { |
| | | // item.idcardNo = item.idCard |
| | | // }) |
| | | this.isWorking = true |
| | | create({ |
| | | applyId: this.form.id, |
| | | changeDetailList: this.form.factory, |
| | | validTime: this.form.applyStartTime, |
| | | type: 1 |
| | | }).then(() => { |
| | | this.visible = false |
| | | this.$tip.apiSuccess('æä½æå') |
| | | this.$emit('success') |
| | | }).catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }).finally(() => { |
| | | this.isWorking = false |
| | | }) |
| | | // this.isWorking = true |
| | | // create({ |
| | | // applyId: this.form.id, |
| | | // changeDetailList: this.form.factory, |
| | | // validTime: this.form.applyStartTime, |
| | | // type: 1 |
| | | // }).then(() => { |
| | | // this.visible = false |
| | | // this.$tip.apiSuccess('æä½æå') |
| | | // this.$emit('success') |
| | | // }).catch(e => { |
| | | // this.$tip.apiFailed(e) |
| | | // }).finally(() => { |
| | | // this.isWorking = false |
| | | // }) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | <el-option label="å·²å
³é" value="6"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="æä¿ä¼ä¸" prop="companyId">{{searchForm.companyId}} |
| | | <el-form-item label="æä¿ä¼ä¸" prop="companyId"> |
| | | <el-select v-model="searchForm.companyId" placeholder="è¯·éæ©" @change="search"> |
| | | <el-option |
| | | v-for="item in companyList" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ä¿é©æ¹æ¡" prop="baseSolutionsId">{{searchForm.baseSolutionsId}} |
| | | <el-form-item label="ä¿é©æ¹æ¡" prop="baseSolutionsId"> |
| | | <el-select v-model="searchForm.baseSolutionsId" placeholder="è¯·éæ©" @change="search"> |
| | | <el-option |
| | | v-for="item in solutionList" |
| | |
| | | <el-select v-model="searchForm.statusCollect" placeholder="è¯·éæ©" @keypress.enter.native="search"> |
| | | <el-option label="å¾
å®¡æ ¸" value="0"></el-option> |
| | | <el-option label="å¾
åºå" value="1"></el-option> |
| | | <el-option label="å¾
ç¾ç« " value="7"></el-option> |
| | | <el-option label="å¾
ç¾ç½²" value="7"></el-option> |
| | | <el-option label="ä¿éä¸" value="2"></el-option> |
| | | <el-option label="å·²è¿æ" value="3"></el-option> |
| | | <el-option label="å·²éå" value="4"></el-option> |
| | |
| | | <el-select v-model="searchForm.statusCollect" placeholder="è¯·éæ©" @change="search"> |
| | | <el-option label="å¾
å®¡æ ¸" value="0"></el-option> |
| | | <el-option label="å¾
åºå" value="1"></el-option> |
| | | <el-option label="å¾
ç¾ç« " value="7"></el-option> |
| | | <el-option label="å¾
ç¾ç½²" value="7"></el-option> |
| | | <el-option label="ä¿éä¸" value="2"></el-option> |
| | | <el-option label="å·²è¿æ" value="3"></el-option> |
| | | <el-option label="å·²éå" value="4"></el-option> |
| | |
| | | import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow' |
| | | import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow' |
| | | import OperaTaxesWindow from '@/components/business/OperaTaxesWindow' |
| | | import { fetchList as noticeList } from '@/api/business/notices' |
| | | import { fetchList as noticeList, deleById } from '@/api/business/notices' |
| | | export default { |
| | | components: { |
| | | OperaInsuranceApplyWindow, |
| | |
| | | } else if (obj.objType === 4) { |
| | | this.$refs.OperaTaxesWindow.open('å¼ç¥¨ç³è¯·è¯¦æ
', { id: obj.objId }) |
| | | } else if (obj.objType === 5) { |
| | | this.$refs.operaSettleClaimsWindow.open('çèµè¯¦æ
', { id: obj.objId }) |
| | | deleById(obj.id) |
| | | .then(res => { |
| | | this.tableData2.forEach((item, index) => { |
| | | if (item.id === obj.id) { |
| | | this.tableData2.splice(index, 1) |
| | | this.totalPage2 = this.totalPage2 - 1 |
| | | } |
| | | }) |
| | | this.$refs.operaSettleClaimsWindow.open('çèµè¯¦æ
', { id: obj.objId }) |
| | | }) |
| | | } |
| | | }, |
| | | setLoadTimer () { |
| | |
| | | this.tabs.push({ name: '0', label: 'æä¿ä»£å' }) |
| | | // this.handleCurrentChange0(0); |
| | | } |
| | | if (pemissons.includes('business:notice:tax')) { |
| | | if (pemissons.includes('business:notice:tax') && this.userInfo.type !== 1) { |
| | | this.tabs.push({ name: '1', label: 'å票代å' }) |
| | | // this.handleCurrentChange1(0); |
| | | } |
| | | if (pemissons.includes('business:notice:settle')) { |
| | | this.tabs.push({ name: '2', label: 'çèµä»£å' }) |
| | | this.tabs.push({ name: '2', label: 'çèµæé' }) |
| | | // this.handleCurrentChange2(0); |
| | | } |
| | | /* if (pemissons.includes('business:notice:insurance')) { |
| | |
| | | <template> |
| | | <div class="wrap"> |
| | | <div class="introduce"> |
| | | <h2>é¢éæ¸
åæ¥è¯¢ç³»ç»</h2> |
| | | <h2>äºæä¿</h2> |
| | | </div> |
| | | <div class="login"> |
| | | <h1>ç³»ç»ç»å½ / LOGIN IN</h1> |
| | |
| | | // const outputDir = process.env.VUE_APP_CONTEXT_PATH.substring(1, process.env.VUE_APP_CONTEXT_PATH.length) |
| | | module.exports = { |
| | | publicPath: './', |
| | | outputDir: 'yyb_web', |
| | | outputDir: 'yyb_admin', |
| | | assetsDir: 'static', |
| | | lintOnSave: false, |
| | | devServer: { |