已添加1个文件
已删除44个文件
已修改32个文件
| | |
| | | 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' |
| | | |
| | | # æ¥å£åç¼ |
| | |
| | | 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/' |
| | | |
| | |
| | | # ç产ç¯å¢é
ç½® |
| | | 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' |
| | |
| | | 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/' |
| | |
| | | export function getApplyPower (data) { |
| | | return request.post('/business/insuranceApply/getApplyPower', data) |
| | | } |
| | | |
| | | // æä¿å¤å®¡ |
| | | export function reexamineCheck (data) { |
| | | return request.post('/business/insuranceApply/reexamineCheck', data) |
| | | } |
| | |
| | | export function getById (id) { |
| | | return request.get(`/business/unionApply/${id}`) |
| | | } |
| | | |
| | | // æä¿å¤å®¡ |
| | | export function reexamineCheck (data) { |
| | | return request.post('/business/unionApply/reexamineCheck', data) |
| | | } |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | 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> |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <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%;"> |
| | |
| | | </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 |
| | |
| | | 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) |
| | | }, |
| | | } |
| | | } |
| | |
| | | <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" |
| | |
| | | ], |
| | | }, |
| | | nameList: [], |
| | | list: [] |
| | | list: [], |
| | | type: null |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | }) |
| | | }, |
| | | 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 }] |
| | |
| | | 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 { |
| | |
| | | visible4: false, |
| | | visible5: false, |
| | | visible6: false, |
| | | type: null |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | 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, |
| | |
| | | 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) => { |
| | |
| | | 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('确认è¿è¡è¯¥æä½åï¼') |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | 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" |
| | |
| | | <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 |
| | |
| | | </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"> |
| | |
| | | <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" |
| | |
| | | </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" |
| | |
| | | :key="Math.random()" |
| | | prop="changeNum" |
| | | align="center" |
| | | label="æ´æ¢æ´¾é£åä½äººæ°"> |
| | | label="æ´æ¢å·¥ç§äººæ°"> |
| | | <template scope="{row}"> |
| | | {{row.changeNum||0}} 人 |
| | | </template> |
| | |
| | | <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> |
| | |
| | | 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, |
| | |
| | | OperaApplyChangeDetailWindow, |
| | | OperaApplyChangeUnitDetailWindow, |
| | | OperaInsuranceApplyAddWindow, |
| | | operaverifyPhoneNumberWindew |
| | | operaverifyPhoneNumberWindew, |
| | | OperaUnionApplyCheckWindow |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | 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) |
| | |
| | | </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"> |
| | |
| | | } |
| | | |
| | | this.model = target |
| | | console.log(target) |
| | | this.form.startTime = target.startTime |
| | | this.form.endTime = target.endTime |
| | | this.title = title |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | 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> |
| | |
| | | <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 |
| | |
| | | </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"> |
| | |
| | | <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" |
| | |
| | | <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> |
| | |
| | | </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" |
| | |
| | | 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'; |
| | |
| | | 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 = 'ç¾ç½²æ¹æ¡ç¡®è®¤ä¹¦' |
| | |
| | | // }, 500) |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }).finally(() => { |
| | | this.loading = false |
| | | }) |
| | | } else if (this.form.type === 1) { |
| | | getMemberListOnlineSignLink(this.form).then(res => { |
| | |
| | | // }, 500) |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }).finally(() => { |
| | | this.loading = false |
| | | }) |
| | | } else if (this.form.type === 2) { |
| | | getSignWTBTBDLink(this.form).then(res => { |
| | |
| | | // }, 500) |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }).finally(() => { |
| | | this.loading = false |
| | | }) |
| | | } |
| | | // }) |
| | |
| | | <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> |
| | |
| | | </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"> |
| | |
| | | <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"> |
| | |
| | | </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" |
| | |
| | | :key="Math.random()" |
| | | prop="changeNum" |
| | | align="center" |
| | | label="æ´æ¢æ´¾é£åä½äººæ°"> |
| | | label="æ´æ¢å·¥ç§äººæ°"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | :key="Math.random()" |
| | |
| | | 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, |
| | |
| | | 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 = 'ç¾ç½²æä¿å' |
| | |
| | | <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> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- é¢è§pdf --> |
| | | <OperaPdfViewerWindow ref="OperaPdfViewerWindow" /> |
| | | </GlobalWindow> |
| | | </template> |
| | | |
| | |
| | | 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: {} |
| | |
| | | this.visible = true |
| | | }) |
| | | }, |
| | | openFile(url) { |
| | | window.open(url) |
| | | openFile(name, url) { |
| | | console.log(url) |
| | | this.$refs.OperaPdfViewerWindow.open(name, url) |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <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> |
| | |
| | | }) |
| | | }, |
| | | setFindByCompanyId(companyId) { |
| | | if (this.userInfo.type !== 1) return |
| | | findByCompanyId(companyId) |
| | | .then(res => { |
| | | console.log(res) |
| | | this.info = res |
| | | }) |
| | | }, |
| | |
| | | capacity: 10, |
| | | model: { |
| | | type: 0, |
| | | name: '' |
| | | name: '', |
| | | status: 0, |
| | | isdeleted: 1 |
| | | } |
| | | }, |
| | | total: 0 |
| | |
| | | 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, |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | |
| | | }, |
| | | // æ¥è¯¢å
¨é¨æ¹æ¡ |
| | | getCompany () { |
| | | getUseList(this.form.companyId, 2) |
| | | getUseList(this.form.companyId ? this.form.companyId : this.userInfo.companyId, 2) |
| | | .then(res => { |
| | | this.company = res |
| | | }) |
| | |
| | | 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" |
| | |
| | | <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 |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="item && item.hasDispatchUnit !== 1" |
| | | prop="duName" |
| | | label="æ´¾é£åä½"> |
| | | </el-table-column> |
| | |
| | | }, |
| | | // è·åæä¿è¯¦æ
|
| | | 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) |
| | |
| | | // 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('请å®åå ä¿æ´¾é£åä½åå·¥ç§ä¿¡æ¯') |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | 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 () { |
| | |
| | | this.$refs.multipleTable.clearSelection() |
| | | }, |
| | | // éæ©åå·¥ |
| | | sele () { |
| | | sele (type) { |
| | | if (this.activeName === '0') { |
| | | if (this.addTrue !== 0) return this.$message.warning('å½åä¿åæä¸æ¯ææä½') |
| | | } else { |
| | |
| | | this.$message.warning('è¯·éæ©åå·¥') |
| | | return |
| | | } |
| | | this.$refs.confirmJobType.open('确认工ç§', { solutionId: this.item.newVersionSolutionId }) |
| | | this.$refs.confirmJobType.open('确认工ç§', { solutionId: this.item.newVersionSolutionId, type }) |
| | | }, |
| | | // æ¥è¯¢å
¨é¨æ¹æ¡ |
| | | getCompany () { |
| | |
| | | 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" |
| | |
| | | <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 |
| | |
| | | label="身份è¯å·"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="item && item.hasDispatchUnit !== 1" |
| | | prop="oldDuName" |
| | | label="åæ´¾é£åä½"> |
| | | </el-table-column> |
| | |
| | | label="åæå±å·¥ç§"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="item && item.hasDispatchUnit !== 1" |
| | | prop="duName" |
| | | label="åæ´åæ´¾é£åä½"> |
| | | </el-table-column> |
| | |
| | | // 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 }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | this.$refs.multipleTable.clearSelection() |
| | | }, |
| | | // éæ©åå·¥ |
| | | sele () { |
| | | sele (type) { |
| | | if (!this.form.solutionId) { |
| | | this.$message.warning('è¯·éæ©ä¿é©æ¹æ¡') |
| | | return |
| | |
| | | this.$message.warning('è¯·éæ©åå·¥') |
| | | return |
| | | } |
| | | this.$refs.confirmJobType.open('确认工ç§', { solutionId: this.newVersionSolutionId }) |
| | | this.$refs.confirmJobType.open('确认工ç§', { solutionId: this.newVersionSolutionId, type }) |
| | | }, |
| | | // æ¥è¯¢å
¨é¨æ¹æ¡ |
| | | getCompany () { |
| | |
| | | <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="失æå©ä½ï¼å¤©ï¼"> |
| | |
| | | :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"> |
| | |
| | | </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" |
| | |
| | | <!-- 详æ
--> |
| | | <OperaApplyChangeDetailWindow ref="operaApplyChangeDetailWindow" @success="handlePageChange"/> |
| | | <OperaUnionChangeDetailWindow ref="OperaUnionChangeDetailWindow" @success="handlePageChange"/> |
| | | <!-- éæ©ä¼ä¸ --> |
| | | <chooseCompany ref="chooseCompany" @submit="getCompany" /> |
| | | <!-- éæ©ä¿å --> |
| | | <selectPolicy ref="selectPolicy" @success="handlePageChange" /> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | |
| | | 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 { |
| | | // æç´¢ |
| | |
| | | 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 => { |
| | |
| | | </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" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | v-if="containPermissions(['business:contract:update', 'business:contract:delete'])" |
| | | label="æä½" |
| | | min-width="220" |
| | | fixed="right" |
| | |
| | | <!-- æç´¢è¡¨å --> |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | 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 () { |
| | |
| | | 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() |
| | |
| | | </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'])" |
| | |
| | | <OperaSolutionsWindow ref="operaSolutionsWindow" @success="handlePageChange"/> |
| | | <!-- 详æ
--> |
| | | <OperaSolutionsDescWindow ref="OperaSolutionsDescWindow" @success="handlePageChange"/> |
| | | <!-- é¢è§pdf --> |
| | | <OperaPdfViewerWindow ref="OperaPdfViewerWindow" /> |
| | | </TableLayout> |
| | | </template> |
| | | <script> |
| | |
| | | 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 { |
| | | // æç´¢ |
| | |
| | | }, |
| | | methods: { |
| | | seeFleSignUrl(url) { |
| | | window.open(url) |
| | | this.$refs.OperaPdfViewerWindow.open('æ¹æ¡ç¡®è®¤ä¹¦', url) |
| | | }, |
| | | sign(id) { |
| | | getSignLink(id) |
| | |
| | | </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" |
| | |
| | | </template> |
| | | <!-- 详æ
--> |
| | | <OperaApplyChangeUnitDetailWindow ref="operaApplyChangeDetailWindow" @success="handlePageChange"/> |
| | | <!-- éæ©ä¼ä¸ --> |
| | | <chooseCompany ref="chooseCompany" @submit="getCompany" /> |
| | | <!-- éæ©ä¿å --> |
| | | <selectPolicy ref="selectPolicy" @success="handlePageChange" /> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | |
| | | 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 { |
| | | // æç´¢ |
| | |
| | | this.loadSelectList() |
| | | }, |
| | | methods: { |
| | | getCompany(e) { |
| | | this.$refs.selectPolicy.open('éæ©ä¿å', e.companyId, 2) |
| | | }, |
| | | loadSelectList() { |
| | | solutionAll({dataType:2,type:0}).then(res => { |
| | | this.solutionList = res |
| | |
| | | <!-- æç´¢è¡¨å --> |
| | | <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"> |
| | |
| | | > |
| | | <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> |
| | |
| | | <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" @success="handlePageChange" /> |
| | | <!-- æä¿è¯¦æ
--> |
| | | <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="handlePageChange" /> |
| | | <!-- å åä¿ç³è¯· --> |
| | | <additionSubtractionApplication ref="additionSubtractionApplication" @success="handlePageChange" /> |
| | | </TableLayout> |
| | | </template> |
| | | <script> |
| | |
| | | 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' |
| | |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination, |
| | | // OperaApplyChangeMonthWindow, |
| | | OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow }, |
| | | OperaInsuranceApplyAddWindow, OperaInsuranceApplyDetails,OperaWtbApplyShopWindow, additionSubtractionApplication }, |
| | | data () { |
| | | return { |
| | | // æç´¢ |
| | |
| | | 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 () { |
| | |
| | | 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() |
| | | }, |
| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | 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 }) |
| | |
| | | <!-- 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>--> |
| | |
| | | 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 { |
| | |
| | | rootDeptId: null, // é¨é¨ID |
| | | positionId: null, // å²ä½ID |
| | | mobile: '', // ææºå·ç |
| | | type: '', |
| | | companyDepartmentPathName: '' // é¨é¨åç§° |
| | | } |
| | | } |
| | |
| | | direction: 'DESC' |
| | | }] |
| | | }) |
| | | this.searchForm.type = this.userInfo.type |
| | | this.search() |
| | | }, |
| | | methods: { |