| | |
| | | export function applyChangeOpt (data) { |
| | | return request.post('/business/applyChange/applyChangeOpt', data) |
| | | } |
| | | |
| | | // å表æ¥è¯¢ |
| | | export function applyChagneDetailList (data) { |
| | | return request.post('/business/applyChagneDetail/list', data) |
| | |
| | | trim: true |
| | | }) |
| | | } |
| | | // æ¥è¯¢ |
| | | export function getSignLink (data) { |
| | | return request.post('/business/unionChange/getSignLink', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | | |
| | | // å建 |
| | | export function create (data) { |
| | |
| | | export function updateById (data) { |
| | | return request.post('/business/unionChange/updateById', data) |
| | | } |
| | | export function uploadBXD (data) { |
| | | return request.post('/business/unionChange/uploadBXD', data) |
| | | } |
| | | export function close (data) { |
| | | return request.post('/business/unionChange/close', data) |
| | | } |
| | | |
| | | export function exportDetailExcel (data) { |
| | | return request.post('/business/unionChange/exportDetailExcel', data, { |
| | | trim: true, |
| | | download: true |
| | | }) |
| | | } |
| | | // æ ¹æ®IDæ¥è¯¢ |
| | | export function getById (id) { |
| | | return request.get(`/business/unionChange/${id}`) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="60%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <!-- éåæä¿ --> |
| | | <el-form v-if="visible1==true" :model="form" ref="form1" :rules="rules1" style="width: 100%;"> |
| | | <el-form-item label="å¡«åéå说æï¼" prop="backCheckInfo"> |
| | | <el-input type="textarea" v-model="form.backCheckInfo" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <!-- ä¸ä¼ ä¿é©å --> |
| | | <el-form v-if="visible3==true" :model="form" ref="form3" :rules="rules3" style="width: 100%;"> |
| | | <el-form-item label="ææä¿é©çææï¼"> |
| | | <span >{{( form.applyTime|| '-')}} </span> |
| | | </el-form-item> |
| | | <el-form-item label="" > |
| | | <el-radio-group v-model="form.selectRadio" @change="selectChange"> |
| | | <el-radio :label="0" >ä¸ä¿åä¸è´</el-radio> |
| | | <el-radio :label="1" >ä¸ä¿åä¸ä¸è´</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="ä¿é©çæèµ·æï¼" prop="applyTime" v-if="form.selectRadio === 1"> |
| | | <el-date-picker |
| | | v-model="form.applyTime" |
| | | type="date" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="éæ©æ¥æ"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="ä¿åå·ï¼" prop="code"> |
| | | <el-input v-model="form.code" placeholder="请è¾å
¥" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="ä¸ä¼ ä¿é©åï¼" prop="baoxianFile"> |
| | | <UploadFile @remove="dele3" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" /> |
| | | </el-form-item> |
| | | <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> |
| | | <div class="box_table_content" v-for="(item, index) in model.applyList" :key="index"> |
| | | <div class="box_table_content_item">{{index + 1}}</div> |
| | | <div class="box_table_content_item" >{{ item.companyName }}</div> |
| | | <div class="box_table_content_item">{{ item.addNum }}</div> |
| | | <div class="box_table_content_item">{{ item.delNum }}</div> |
| | | <div class="box_table_content_item"> |
| | | <el-form-item label="" prop="bxdMultifileList[index]"> |
| | | <UploadFileLink @remove="deleIndex(1,index)" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileIndex="index" :showTips="showTips" :fileList="model.applyList[index].fileList1" @uploadSuccess="baoxianFileUploaded2" /> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-form> |
| | | <template v-slot:footer> |
| | | <el-button type="primary" @click="doSubmit">ç¡® å®</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' |
| | | import { |
| | | close, |
| | | uploadBXD |
| | | } from '@/api/business/unionChange' |
| | | import UploadFile from '@/components/common/UploadFile' |
| | | import UploadFileLink from '@/components/common/UploadFileLink' |
| | | |
| | | export default { |
| | | name: 'OperaUnionApplyCheckWindow', |
| | | extends: BaseOpera, |
| | | components: { UploadFile, GlobalWindow ,UploadFileLink}, |
| | | data () { |
| | | return { |
| | | // è¡¨åæ°æ® |
| | | model: {}, |
| | | falg: 0, |
| | | showTips:false, |
| | | rules1: { |
| | | backCheckInfo: [ |
| | | { required: true, message: '请å®åä¿¡æ¯' } |
| | | ] |
| | | }, |
| | | rules3: { |
| | | code: [ |
| | | { required: true, message: '请å®åä¿¡æ¯' } |
| | | ], |
| | | applyDate: [ |
| | | { required: true, message: '请å®åä¿¡æ¯' } |
| | | ], |
| | | baoxianFile: [ |
| | | { required: true, message: '请å®åä¿¡æ¯' } |
| | | ] |
| | | }, |
| | | form: { |
| | | id: null, |
| | | backCheckInfo: '', |
| | | applyTime: null, |
| | | code: null, |
| | | baoxianFile: null, |
| | | bxdMultifileList: [], |
| | | fileList1: [], |
| | | selectRadio: 0 |
| | | }, |
| | | visible1: false, |
| | | visible2: false, |
| | | visible3: false |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | api: '/business/insuranceApply', |
| | | 'field.id': 'id' |
| | | }) |
| | | }, |
| | | methods: { |
| | | deleIndex (flag,index) { |
| | | alert(index) |
| | | if(flag == 0){ |
| | | this.form.tbdMultifileList[index].fileurl = null |
| | | this.form.tbdMultifileList[index].name = null |
| | | }else if(flag ==1){ |
| | | this.form.bxdMultifileList[index].fileurl = null |
| | | this.form.bxdMultifileList[index].name = null |
| | | } |
| | | }, |
| | | dele3 () { |
| | | this.form.baoxianFile = null |
| | | }, |
| | | open (title, target, flag) { |
| | | this.visible = true |
| | | this.model = {} |
| | | this.form = { |
| | | id: null, |
| | | backCheckInfo: '', |
| | | startTime: null, |
| | | code: null, |
| | | baoxianFile: null, |
| | | bxdMultifileList:[], |
| | | fileList1: [], |
| | | selectRadio: 0, |
| | | applyTime:null |
| | | } |
| | | |
| | | this.model = target |
| | | this.form.applyTime = target.applyStartTime |
| | | this.title = title |
| | | this.flag = flag |
| | | this.visible1 = false |
| | | this.visible2 = false |
| | | this.visible3 = false |
| | | this.form.bxdMultifileList=[] |
| | | if (flag == 1) { |
| | | this.visible1 = true |
| | | } |
| | | if (flag == 3) { |
| | | this.visible3 = true |
| | | if(this.model.applyList){ |
| | | this.model.applyList.forEach(item =>{ |
| | | item.fileList1 =[] |
| | | this.form.bxdMultifileList.push({objId:item.id,fileUrl:null,fileName:null}) |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | doSubmit () { |
| | | if (this.flag == 1) { |
| | | this.$refs.form1.validate((valid) => { |
| | | // debugger |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.backDo() |
| | | }) |
| | | } else if (this.flag == 3) { |
| | | this.$refs.form3.validate((valid) => { |
| | | // debugger |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.uploadBaoxiandan() |
| | | }) |
| | | } |
| | | }, |
| | | selectChange () { |
| | | if (this.form.selectRadio == 0) { |
| | | this.form.applyTime = this.model.applyStartTime |
| | | } |
| | | }, |
| | | baoxianFileUploaded (data) { |
| | | this.form.baoxianFile = data |
| | | }, |
| | | baoxianFileUploaded2 (data) { |
| | | this.form.bxdMultifileList[data.index].fileurl = data.fileurl |
| | | this.form.bxdMultifileList[data.index].name = data.name |
| | | }, |
| | | backDo () { |
| | | this.$dialog.messageConfirm('确认è¿è¡è¯¥æä½åï¼') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | close({ id: this.model.id, reason: this.form.backCheckInfo }) |
| | | .then(response => { |
| | | this.visible = false |
| | | this.$emit('success') |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | }) |
| | | }, |
| | | uploadBaoxiandan () { |
| | | this.$dialog.messageConfirm('确认è¿è¡è¯¥æä½åï¼') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | var param ={ |
| | | id: this.model.id, |
| | | applyDate: this.form.applyTime, |
| | | code: this.form.code, |
| | | fileurl: this.form.baoxianFile.fileurl, |
| | | name: this.form.baoxianFile.name, |
| | | applyChangeBXDList:this.form.bxdMultifileList |
| | | } |
| | | uploadBXD(param) |
| | | .then(response => { |
| | | this.visible = false |
| | | this.$emit('success') |
| | | }).catch(err => { |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | }) |
| | | }, |
| | | handleRemove (file, fileList) { |
| | | console.log(file, fileList) |
| | | }, |
| | | handlePreview (file) { |
| | | console.log(file) |
| | | }, |
| | | handleExceed (files, fileList) { |
| | | this.$message.warning(`å½åéå¶éæ© 3 个æä»¶ï¼æ¬æ¬¡éæ©äº ${files.length} 个æä»¶ï¼å
±éæ©äº ${files.length + fileList.length} 个æä»¶`) |
| | | }, |
| | | beforeRemove (file, fileList) { |
| | | return this.$confirm(`ç¡®å®ç§»é¤ ${file.name}ï¼`) |
| | | }, |
| | | successEvent () { |
| | | |
| | | }, |
| | | handleSizeChange (val) { |
| | | console.log(`æ¯é¡µ ${val} æ¡`) |
| | | }, |
| | | handleCurrentChange (val) { |
| | | console.log(`å½å页: ${val}`) |
| | | }, |
| | | handleClick (tab, event) { |
| | | console.log(tab, event) |
| | | }, |
| | | onSubmit () { |
| | | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style> |
| | | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | .form { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | flex-direction: column; |
| | | .form_span { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: start; |
| | | flex-direction: column; |
| | | margin-bottom: 20px; |
| | | span { |
| | | font-size: 14px; |
| | | &:nth-child(1) { |
| | | color: black; |
| | | margin-bottom: 5px; |
| | | } |
| | | &:nth-child(2) { |
| | | color: #8c939d; |
| | | } |
| | | } |
| | | } |
| | | .form_item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: 20px; |
| | | &:last-child { |
| | | margin: 0 !important; |
| | | } |
| | | .form_item_label { |
| | | flex-shrink: 0; |
| | | /*width: 170px;*/ |
| | | color: black; |
| | | font-size: 14px; |
| | | span { |
| | | color: red; |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | .form_item_val { |
| | | flex: 1; |
| | | /*height: 40px;*/ |
| | | margin-left: 20px; |
| | | textarea { |
| | | width: 100%; |
| | | height: 70px; |
| | | border: 1px solid #cbcbcb; |
| | | padding: 10px; |
| | | outline: none; |
| | | box-sizing: border-box; |
| | | } |
| | | input { |
| | | width: 100%; |
| | | height: 40px; |
| | | outline: none; |
| | | border-radius: 5px; |
| | | border: 1px solid #cbcbcb; |
| | | padding: 0 20px; |
| | | box-sizing: border-box; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .desc { |
| | | width: 100%; |
| | | .desc_item { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | .desc_item_label { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-bottom: 10px; |
| | | span { |
| | | font-size: 14px; |
| | | color: black; |
| | | margin-right: 30px; |
| | | } |
| | | } |
| | | .desc_item_from { |
| | | width: 100%; |
| | | margin-bottom: 10px; |
| | | .desc_item_from_page { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: end; |
| | | margin-top: 10px; |
| | | } |
| | | } |
| | | .desc_item_cate { |
| | | width: 100%; |
| | | margin-bottom: 10px; |
| | | } |
| | | .desc_item_search { |
| | | width: 100%; |
| | | margin-bottom: 20px; |
| | | } |
| | | .desc_item_review { |
| | | width: 100%; |
| | | .desc_item_review_label { |
| | | font-size: 20px; |
| | | color: black; |
| | | font-weight: bold; |
| | | margin-bottom: 15px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .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(1) { |
| | | flex: 0.5;; |
| | | } |
| | | &:nth-child(2) { |
| | | flex:1.5; |
| | | } |
| | | &:nth-child(4) { |
| | | flex:1.5; |
| | | } |
| | | &:nth-child(5) { |
| | | 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(1) { |
| | | flex: 0.5;; |
| | | } |
| | | &:nth-child(2) { |
| | | flex:1.5; |
| | | } |
| | | &:nth-child(4) { |
| | | flex: 1.5; |
| | | } |
| | | &:nth-child(5) { |
| | | flex: 1.5; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template v-if="2"> |
| | | <el-button type="primary" @click="$refs.ApplyChangeDetails.open('å åä¿è¯¦å',model,0)">导åºè¯¦å</el-button> |
| | | <el-button v-if="[1,2].includes(model.status)" type="primary" @click="viewApplyFile">æ¥çç³è¯·å</el-button> |
| | | <el-button v-if="[0].includes(model.status)" type="primary" @click="getSignLink(0)">ç¾ç½²ç³è¯·å</el-button> |
| | | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">æ¥çæ¹å</el-button> |
| | | <el-button v-if=" [1].includes(model.status)" type="primary" @click="$refs.OperaApplyChangeCheckWindow.open('ä¸ä¼ æ¹å',model,3)">ä¸ä¼ æ¹å</el-button> |
| | | <el-button v-if="[0,1].includes(model.status)" type="danger" @click="$refs.OperaApplyChangeCheckWindow.open('éåæä¿',model,1)">éåæä¿</el-button> |
| | | <el-button v-if=" [1].includes(model.status)" type="primary" @click="$refs.OperaUnionChangeCheckWindow.open('ä¸ä¼ æ¹å',model,3)">ä¸ä¼ æ¹å</el-button> |
| | | <el-button v-if="[0,1].includes(model.status)" type="danger" @click="$refs.OperaUnionChangeCheckWindow.open('éåæä¿',model,1)">éåæä¿</el-button> |
| | | </template> |
| | | <template v-if="0"> |
| | | </template> |
| | |
| | | </div> |
| | | </div> |
| | | <UnionChangeDetails ref="ApplyChangeDetails" @success="successEvent" /> |
| | | <OperaApplyChangeCheckWindow ref="OperaApplyChangeCheckWindow" @success="successEvent" /> |
| | | <OperaUnionChangeCheckWindow ref="OperaUnionChangeCheckWindow" @success="successEvent" /> |
| | | <!-- ä¼ä¸ç³è¯·éå --> |
| | | <!-- <applyReturn ref="applyReturn" @success="successEvent" />--> |
| | | <add_subtract_return ref="add_subtract_return" @success="successEvent" /> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="goSignDo()">ç¡® å®</el-button> |
| | | <el-button type="primary" :loading="signing" @click="goSignDo()">ç¡® å®</el-button> |
| | | <el-button @click="visiblePhone=false">å æ¶</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog |
| | | title="æ¥çä¿é©å" |
| | | :visible.sync="visibleFile" |
| | | width="500px" |
| | | :modal="true" |
| | | :show-close="true" |
| | | :close-on-click-modal="false" |
| | | append-to-body |
| | | center> |
| | | <div class="desc_item_from" v-for="(item, index) in pidanFileData" :key="index" style="margin-bottom: 15px"> |
| | | <span v-if="index ==0">{{item.name}}ï¼</span> |
| | | <span v-if="index >0">被ä¿é©äººï¼{{item.name}}ï¼ä¿é©åï¼</span> |
| | | <a style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl" @click="openFile(item.file.fileurlFull)">å¨çº¿é¢è§</a><span v-if="!item.file || !item.file.fileurl">æªä¸ä¼ </span> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visibleFile=false">å
³ é</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <template v-slot:footer> |
| | |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import UnionChangeDetails from '@/components/business/UnionChangeDetails' |
| | | import OperaApplyChangeCheckWindow from '@/components/business/OperaApplyChangeCheckWindow' |
| | | import OperaUnionChangeCheckWindow from '@/components/business/OperaUnionChangeCheckWindow' |
| | | import reinsurance from '@/components/enterprise/reinsurance' |
| | | import factoryChange from '@/components/enterprise/factoryChange' |
| | | import add_subtract_return from '@/components/enterprise/add_subtract_return' |
| | |
| | | } from '@/api/business/insuranceApply' |
| | | import { |
| | | getById, |
| | | getSignLink |
| | | } from '@/api/business/unionChange' |
| | | import { applyChangeOpt , |
| | | getChangeMemberListOnlineSignLink} from '@/api/business/applyChange' |
| | | import {applyChangeOpt, listAll as applyList} from '@/api/business/applyChange' |
| | | |
| | | import {sendSms} from "@/api/business/smsEmail"; |
| | | import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyWindow' |
| | |
| | | components: { |
| | | GlobalWindow, |
| | | UnionChangeDetails, |
| | | OperaApplyChangeCheckWindow, |
| | | OperaUnionChangeCheckWindow, |
| | | add_subtract_return, |
| | | OperaInsuranceApply, |
| | | reinsurance, |
| | |
| | | modelId:null, |
| | | num: 0, |
| | | timer: null, |
| | | signing:false, |
| | | signTitle: 'ææºå·éªè¯', |
| | | pidanFileData:[], |
| | | model: {}, |
| | | visiblePhone: false, |
| | | visibleFile:false, |
| | | form: { |
| | | businessId: null, |
| | | phone: this.$store.state.userInfo.company.phone, |
| | |
| | | this.model={} |
| | | this.form.businessId = target.id |
| | | this.num=0 |
| | | this.signing=false |
| | | this.visiblePhone=false |
| | | this.visibleFile=false |
| | | this. pidanFileData=[] |
| | | this.timer=null |
| | | this.getDetail() |
| | | this.getList() |
| | |
| | | }, 1000) |
| | | }, |
| | | getSignLink (flag) { |
| | | if (flag === 0) { |
| | | this.signTitle = 'ç¾ç½²æ¹æ¡ç¡®è®¤ä¹¦' |
| | | } else if (flag === 1) { |
| | | this.signTitle = 'ç¾ç½²ç³è¯·å' |
| | | } else if (flag === 2) { |
| | | this.signTitle = 'ç¾ç½²æä¿å' |
| | | } |
| | | this.form.type = flag |
| | | this.visiblePhone = true |
| | | this.$nextTick(() => { |
| | |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.isWorking = true |
| | | this.signing = true |
| | | if(this.form.type===0){ |
| | | getChangeMemberListOnlineSignLink(this.form).then(res => { |
| | | getSignLink(this.form).then(res => { |
| | | setTimeout(() => { |
| | | this.visiblePhone=false |
| | | this.signing=false |
| | | window.open(res) |
| | | }, 500) |
| | | }).catch(err => { |
| | | this.signing=false |
| | | this.$tip.apiFailed(err) |
| | | }) |
| | | } |
| | |
| | | } |
| | | }, |
| | | viewPidan(){ |
| | | if(this.model.pidanFile && this.model.pidanFile.fileurlFull){ |
| | | window.open(this.model.pidanFile.fileurlFull) |
| | | } |
| | | this.visibleFile=true |
| | | }, |
| | | handleSizeChange(val){ |
| | | console.log(val) |
| | |
| | | |
| | | }, |
| | | getDetail(){ |
| | | this.pidanFileData=[] |
| | | getById(this.modelId).then(res => { |
| | | this.model = res |
| | | this.tableData = new Array() |
| | | this.tableData.push(res) |
| | | this.pidanFileData.push({ name: 'åæ·ä¿é©å', file: this.model.pidanFile }) |
| | | this.getApplyList() |
| | | }).catch(err => { |
| | | }) |
| | | }, |
| | | getApplyList () { |
| | | applyList({ unionChangeId: this.model.id, getFiles: 1 }).then(res => { |
| | | this.model.applyList = res |
| | | if (res && res.length > 0) { |
| | | res.forEach(item => { |
| | | if (item.pidanFile) { |
| | | this.pidanFileData.push({ name: item.companyName, file: item.pidanFile }) |
| | | } else { |
| | | this.pidanFileData.push({ name: item.companyName, file: null }) |
| | | } |
| | | }) |
| | | } |
| | | }).catch(err => { |
| | | }) |
| | | }, |
| | |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import {getChangeDetailList, exportJiajianBaoExcel} from "@/api/business/insuranceApply"; |
| | | import {check } from "@/api/business/applyChange"; |
| | | import {exportComFiles} from "@/api/business/company"; |
| | | import {exportDetailExcel} from "@/api/business/unionChange"; |
| | | export default { |
| | | name: 'ApplyChangeDetails', |
| | | extends: BaseOpera, |
| | |
| | | this.$dialog.exportConfirm('确认导åºè¯¦ååï¼') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | exportJiajianBaoExcel({ id: this.model.id }) |
| | | exportDetailExcel({ id: this.model.id }) |
| | | .then(response => { |
| | | this.download(response) |
| | | }) |
| | |
| | | viewToubaodan () { |
| | | this.fileData = this.taobaodanFileData; |
| | | this.visibleFile=true |
| | | this.fileTitle='æ¥çæä¿å' |
| | | this.fileFlag = 0 |
| | | /* if (this.model.toubaodanSignedFile && this.model.toubaodanSignedFile.fileurlFull) { |
| | | setTimeout(() => { |
| | |
| | | }, |
| | | viewBaoxiandan () { |
| | | this.fileFlag = 1 |
| | | this.fileTitle='æ¥çä¿é©å' |
| | | this.fileData = this.baoxiandanFileData; |
| | | this.visibleFile=true |
| | | /* if (this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull) { |
| | |
| | | try { |
| | | sxssfWorkbook = new SXSSFWorkbook(); |
| | | Sheet sheet = sxssfWorkbook.createSheet(sheetName); |
| | | for (int i = 0; i < 8; i++) { |
| | | for (int i = 0; i < 9; i++) { |
| | | sheet.setColumnWidth(i, ((i==3|| i== 4|| i== 5 ||i== 6 || i==7)?16:8) * 2 * 256); |
| | | } |
| | | sheet.createFreezePane(0, 1); |
| | | sheet.addMergedRegion(new CellRangeAddress(0 ,0,0,7)); |
| | | sheet.addMergedRegion(new CellRangeAddress(0 ,0,0,8)); |
| | | Row title = sheet.createRow(0); |
| | | title.setHeight((short) 2000); |
| | | Cell c = title.createCell(0); |
| | | c.setCellValue(sheetName); |
| | | configFirstCell(sxssfWorkbook,c); |
| | | for (int i = 0; i < 8; i++) { |
| | | for (int i = 0; i < 9; i++) { |
| | | if(i>0){ |
| | | title.createCell(i).setCellValue(""); |
| | | } |
| | |
| | | try { |
| | | sxssfWorkbook = new SXSSFWorkbook(); |
| | | Sheet sheet = sxssfWorkbook.createSheet(sheetName); |
| | | for (int i = 0; i < 12; i++) { |
| | | sheet.setColumnWidth(i, ((i==3|| i==4|| i== 5 || i==9||i==10|| i==11)?16:8) * 2 * 256); |
| | | for (int i = 0; i < 8; i++) { |
| | | sheet.setColumnWidth(i, ((i==0|| i==1|| i== 3|| i== 4|| i== 7)?16:8) * 2 * 256); |
| | | } |
| | | sheet.createFreezePane(0, 1); |
| | | sheet.addMergedRegion(new CellRangeAddress(0 ,0,0,11)); |
| | | sheet.addMergedRegion(new CellRangeAddress(0 ,0,0,7)); |
| | | Row title = sheet.createRow(0); |
| | | title.setHeight((short) 2000); |
| | | for (int i = 0; i < 12; i++) { |
| | | for (int i = 0; i < 8; i++) { |
| | | title.createCell(i).setCellValue(i==0?sheetName:""); |
| | | configTitleCell(sxssfWorkbook,title.getCell(i)); |
| | | } |
| | |
| | | header6.createCell(6).setCellValue(""); |
| | | header6.createCell(7).setCellValue(applyChagneDetail.getWorkTypeName()); |
| | | for (int i = 0; i < 8; i++) { |
| | | configFirstCell(sxssfWorkbook,header6.getCell(i)); |
| | | configDataCell(sxssfWorkbook,header6.getCell(i)); |
| | | } |
| | | sheet.addMergedRegion(new CellRangeAddress(row ,row,5,6)); |
| | | } |
| | |
| | | configInfoCell(sxssfWorkbook,header6.getCell(i),HorizontalAlignment.LEFT); |
| | | } |
| | | header6.setHeight((short) 2000); |
| | | sheet.addMergedRegion(new CellRangeAddress(rowIndex ,rowIndex,0,11)); |
| | | sheet.addMergedRegion(new CellRangeAddress(rowIndex ,rowIndex,0,7)); |
| | | Row header7= sheet.createRow(rowIndex+1); |
| | | header7.setHeight((short) 3000); |
| | | header7.createCell(0).setCellValue("æä¿äººç¾ç« ï¼ \n \n \n" +"æ¥æï¼ å¹´ æ æ¥ "); |
| | |
| | | } |
| | | configInfoCell(sxssfWorkbook,header7.getCell(i),HorizontalAlignment.RIGHT); |
| | | } |
| | | sheet.addMergedRegion(new CellRangeAddress(rowIndex+1 ,rowIndex+1,0,11)); |
| | | sheet.addMergedRegion(new CellRangeAddress(rowIndex+1 ,rowIndex+1,0,7)); |
| | | |
| | | //临æ¶ç¼å²åº |
| | | ByteArrayOutputStream out = new ByteArrayOutputStream(); |
| | |
| | | header2.createCell(4).setCellValue(com.doumee.core.utils.DateUtil.getPlusTime2(data.getEndTime())); |
| | | header2.createCell(5).setCellValue(data.getApplyChagneDetailList().stream().filter(i->i.getType().equals(Constants.ZERO)).collect(Collectors.toList()).size()); |
| | | header2.createCell(6).setCellValue(data.getApplyChagneDetailList().stream().filter(i->i.getType().equals(Constants.ONE)).collect(Collectors.toList()).size()); |
| | | header2.createCell(7).setCellValue(com.doumee.core.utils.DateUtil.getPlusTime2(data.getValidTime())); |
| | | header2.createCell(7).setCellValue(com.doumee.core.utils.DateUtil.getPlusTime2(data.getApplyStartTime())); |
| | | for (int i = 0; i < 8; i++) { |
| | | configDataCell(sxssfWorkbook, header2.getCell(i)); |
| | | } |
| | |
| | | header3.createCell(5).setCellValue(""); |
| | | header3.createCell(6).setCellValue(""); |
| | | header3.createCell(7).setCellValue(""); |
| | | for (int i = 0; i < 8; i++) { |
| | | configFirstCell(sxssfWorkbook,header3.getCell(i)); |
| | | configFirstCell(sxssfWorkbook,header3.getCell(0)); |
| | | for (int i = 1; i < 8; i++) { |
| | | configDataCell(sxssfWorkbook,header3.getCell(i)); |
| | | } |
| | | sheet.addMergedRegion(new CellRangeAddress(3 ,3,1,7)); |
| | | |
| | |
| | | header6.createCell(6).setCellValue(""); |
| | | header6.createCell(7).setCellValue(applyChagneDetail.getWorkTypeName()); |
| | | for (int i = 0; i < 8; i++) { |
| | | configFirstCell(sxssfWorkbook,header6.getCell(i)); |
| | | configDataCell(sxssfWorkbook,header6.getCell(i)); |
| | | } |
| | | sheet.addMergedRegion(new CellRangeAddress(row ,row,5,6)); |
| | | } |
| | |
| | | public static final String SETTLE_FILE ="SETTLE_FILE" ; |
| | | public static final String DU_FILE ="DU_FILE" ; |
| | | public static final String SIGN_DONE_NOTIFY_URL = "SIGN_DONE_NOTIFY_URL"; |
| | | public static final int FOUR = 4; |
| | | |
| | | /** |
| | | * ä¼ä¸æ°æ®æ¥æº 0平尿³¨å 1åå°å¯¼å
¥ |
| | |
| | | } |
| | | |
| | | public static Integer getSexByIdCard(String idCard){ |
| | | if(StringUtils.isBlank(idCard)){ |
| | | return 2; |
| | | } |
| | | Pattern pattern = Pattern.compile("\\d{17}[\\d|x]"); // å®ä¹èº«ä»½è¯å·ç æ ¼å¼çæ£åè¡¨è¾¾å¼ |
| | | Matcher matcher = pattern.matcher(idCard); |
| | | Integer sex = 0; |
| | |
| | | sex = 1; |
| | | } |
| | | } else { |
| | | sex = -1; |
| | | sex = 2; |
| | | } |
| | | return sex; |
| | | } |
| | |
| | | WTB_BD_DONE_PDF(21, "å§ææä¿å - åå¹¶åæç»ä¿å", "å§ææä¿å - åå¹¶åæç»ä¿å"), |
| | | WTB_CA_DONE_PDF(23, "å§æå åä¿/æ¢åä¸å¡ - åå¹¶åæç»ä¿å", "å§æå åä¿/æ¢åä¸å¡ - åå¹¶åæç»ä¿å"), |
| | | WTB_CONFIRMATION_LATTER(24, "å§æä¿ - æä¿æ¹æ¡ç¡®è®¤ä¹¦", "å§æä¿ - æä¿æ¹æ¡ç¡®è®¤ä¹¦"), |
| | | WTB_CA_TBD_PDF(25, "å§æå åä¿/æ¢åä¸å¡ -æä¿åï¼ä¼ä¸ç¾ç½²åPDFï¼", "å§æå åä¿/æ¢åä¸å¡ -æä¿åï¼ä¼ä¸ç¾ç½²åPDFï¼"), |
| | | WTB_CA_TBD_PDF(25, "å§æå åä¿/æ¢åä¸å¡ -ç³è¯·åï¼åæ·ç¾ç½²åPDFï¼", "å§æå åä¿/æ¢åä¸å¡ -ç³è¯·åï¼åæ·ç¾ç½²åPDFï¼"), |
| | | ; |
| | | // æååé |
| | | private String name; |
| | |
| | | taxesInvoicingVO.setType(Constants.ONE); |
| | | return taxesInvoicingVO; |
| | | } |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦è·åéä»¶ä¿¡æ¯ 0ä¸éè¦ 1éè¦") |
| | | @TableField(exist = false) |
| | | private Integer getFiles; |
| | | } |
| | |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | |
| | | |
| | | @ApiModelProperty(value = "æ¹åçææ¶é´") |
| | | @ExcelColumn(name="æ¹åçææ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date applyStartTime; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0å¾
ç¾ç½²ç³è¯·å 1å¾
ä¸ä¼ æ¹å 2å·²ä¸ä¼ æ¹å 3éå") |
| | |
| | | |
| | | @ApiModelProperty(value = "ææä¿é©çæèµ·æ") |
| | | @ExcelColumn(name="ææä¿é©çæèµ·æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date validTime; |
| | | |
| | | @ApiModelProperty(value = "æ¹åå·") |
| | |
| | | @ApiModelProperty(value = "æ¥å¿è®°å½") |
| | | @TableField(exist = false) |
| | | private List<ApplyLog> applyLogList; |
| | | @ApiModelProperty(value = "ç³è¯·åéä»¶") |
| | | @TableField(exist = false) |
| | | private Multifile applyFile; |
| | | |
| | | @ApiModelProperty(value = "æ¹åéä»¶") |
| | | @TableField(exist = false) |
| | | private Multifile pidanFile; |
| | | |
| | | } |
| | |
| | | // .eq(!Objects.isNull(model.getSolutionsId()),ApplyChange::getSolutionsId,model.getSolutionsId()) |
| | | .eq(!Objects.isNull(model.getSolutionType()),Solutions::getType,model.getSolutionType()) |
| | | .eq(!Objects.isNull(model.getApplyId()),ApplyChange::getApplyId,model.getApplyId()) |
| | | .eq(!Objects.isNull(model.getUnionChangeId()),ApplyChange::getUnionChangeId,model.getUnionChangeId()) |
| | | .eq(!Objects.isNull(model.getBaseSolutionsId()),Solutions::getBaseId,model.getBaseSolutionsId()) |
| | | .like(StringUtils.isNotBlank(model.getSolutionsName()),Solutions::getName,model.getSolutionsName()) |
| | | .ge(StringUtils.isNotBlank(model.getCreateDateS()),ApplyChange::getCreateDate, model.getCreateDateS()+" 00:00:00" ) |
| | |
| | | } |
| | | |
| | | queryWrapper.orderByDesc(ApplyDetail::getCreateDate); |
| | | return applyChangeJoinMapper.selectJoinList(ApplyChange.class,queryWrapper); |
| | | List<ApplyChange> list =applyChangeJoinMapper.selectJoinList(ApplyChange.class,queryWrapper); |
| | | if(Constants.equalsObject(model.getGetFiles(),Constants.ONE)){ |
| | | //妿æ¯åå¹¶å,éè¦æ¥è¯¢éä»¶ä¿¡æ¯ |
| | | initFileForList(list); |
| | | } |
| | | return list; |
| | | } |
| | | private void initFileForList(List<ApplyChange> list) { |
| | | List<Integer> objList = new ArrayList<>(); |
| | | if(list!=null && list.size()>0){ |
| | | for(ApplyChange param : list){ |
| | | objList.add(param.getId()); |
| | | } |
| | | }else{ |
| | | return; |
| | | } |
| | | List<Multifile> multifiles = multifileMapper.selectList(new QueryWrapper<Multifile>().lambda() |
| | | .in(Multifile::getObjId,objList) |
| | | .in(Multifile::getObjType,Arrays.asList(new Integer[]{Constants.MultiFile.CA_PD_PDF.getKey()})) |
| | | .eq(Multifile::getIsdeleted,Constants.ZERO) |
| | | .orderByAsc(Multifile::getId)); |
| | | if(multifiles!=null && multifiles.size()>0){ |
| | | String path = systemDictDataBiz.queryByCode(Constants.OSS,Constants.RESOURCE_PATH).getCode() |
| | | +systemDictDataBiz.queryByCode(Constants.OSS,Constants.APPLY_FILE).getCode(); |
| | | for(ApplyChange model : list){ |
| | | for(Multifile f : multifiles) { |
| | | if (StringUtils.isBlank(f.getFileurl())) { |
| | | continue; |
| | | } |
| | | f.setFileurlFull(path+f.getFileurl()); |
| | | if(Constants.equalsInteger(f.getObjId(), model.getId()) ){ |
| | | if (Constants.equalsInteger(f.getObjType(), Constants.MultiFile.CA_PD_PDF.getKey())) { |
| | | //ç¾ç½²åçæä¿å |
| | | model.setPidanFile(f); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | f.setType(Constants.TWO); |
| | | f.setFileurl(fileurl); |
| | | f.setFileurlFull(fullUrl); |
| | | f.setInfo("å§æå åä¿/æ¢åä¸å¡ -æä¿å"); |
| | | f.setName("å§æå åä¿/æ¢åä¸å¡ -æä¿å.pdf"); |
| | | f.setInfo("æä¿ç³è¯·å -ç³è¯·å"); |
| | | f.setName("æä¿ç³è¯·å.pdf"); |
| | | multifileMapper.insert(f); |
| | | |
| | | Constants.ApplyLogType applyLogType = Constants.ApplyLogType.CA_HBD_SIGNATURE_TBD; |
| | |
| | | .selectAs(SystemUser::getType,ApplyLog::getCreatorType) |
| | | .leftJoin(SystemUser.class,SystemUser::getId,ApplyLog::getCreator) |
| | | .leftJoin(Company.class,Company::getId,SystemUser::getCompanyId) |
| | | .in(ApplyLog::getObjType,Constants.ApplyLogType.getTypeList(Constants.THREE)) |
| | | .in(ApplyLog::getObjType,Constants.ApplyLogType.getTypeList(Constants.FOUR)) |
| | | .eq(ApplyLog::getApplyId,unionChange.getId()) |
| | | .orderByAsc(ApplyLog::getCreateDate) |
| | | ); |
| | | unionChange.setApplyLogList(applyLogList); |
| | | } |
| | | initFiles(unionChange); |
| | | return unionChange; |
| | | } |
| | | |
| | | private void initFiles(UnionChange unionChange) { |
| | | List<Multifile> multifiles = multifileMapper.selectList(new QueryWrapper<Multifile>().lambda() |
| | | .eq(Multifile::getObjId, unionChange.getId() ) |
| | | .in(Multifile::getObjType, Arrays.asList(new Integer[]{Constants.MultiFile.WTB_CA_TBD_PDF.getKey(),Constants.MultiFile.WTB_CA_DONE_PDF.getKey()})) |
| | | .eq(Multifile::getIsdeleted,Constants.ZERO)); |
| | | if(multifiles!=null){ |
| | | String path = systemDictDataBiz.queryByCode(Constants.OSS,Constants.RESOURCE_PATH).getCode() |
| | | +systemDictDataBiz.queryByCode(Constants.OSS,Constants.APPLY_FILE).getCode(); |
| | | for(Multifile f : multifiles){ |
| | | if(StringUtils.isBlank(f.getFileurl())){ |
| | | continue; |
| | | } |
| | | f.setFileurlFull(path+f.getFileurl()); |
| | | if(Constants.equalsInteger(f.getObjType(),Constants.MultiFile.WTB_CA_TBD_PDF.getKey())){ |
| | | //ç¾ç½²åç³è¯·å |
| | | unionChange.setApplyFile(f); |
| | | } |
| | | if(Constants.equalsInteger(f.getObjType(),Constants.MultiFile.WTB_CA_DONE_PDF.getKey())){ |
| | | //ç¾ç½²åç³è¯·å |
| | | unionChange.setPidanFile(f); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | @Override |
| | |
| | | } |
| | | LoginUserInfo user = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal(); |
| | | UnionChange unionChange = this.unionChangeDetail(smsCheckDTO.getBusinessId()); |
| | | unionChange.setStatus(Constants.formatIntegerNum(unionChange.getStatus())); |
| | | if(Objects.isNull(unionChange)||!Constants.equalsInteger(unionChange.getIsdeleted(),Constants.ZERO)){ |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY); |
| | | } |
| | |
| | | if(unionChange.getStatus().equals(Constants.UnionChangeStatus.CLOSE.getKey())){ |
| | | throw new BusinessException(ResponseStatus.DATA_ERRO.getCode(),"对ä¸èµ·ï¼åå¹¶åä¸å¡å·²å
³é"); |
| | | } |
| | | if(unionChange.getStatus().equals(Constants.UnionChangeStatus.MERGE.getKey())){ |
| | | if(!unionChange.getStatus().equals(Constants.UnionChangeStatus.MERGE.getKey())){ |
| | | throw new BusinessException(ResponseStatus.DATA_ERRO.getCode(),"对ä¸èµ·ï¼åå¹¶åç¶æå·²æµè½¬"); |
| | | } |
| | | Company company = companyMapper.selectById(user.getCompanyId()); |
| | |
| | | if(Objects.isNull(unionChange)||!Constants.equalsInteger(unionChange.getIsdeleted(),Constants.ZERO)){ |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY); |
| | | } |
| | | unionChange.setStatus(Constants.formatIntegerNum(unionChange.getStatus())); |
| | | unionChange.setShopId(Constants.formatIntegerNum(unionChange.getShopId())); |
| | | if(!unionChange.getShopId().equals(user.getCompanyId())){ |
| | | throw new BusinessException(ResponseStatus.DATA_ERRO.getCode(),"对ä¸èµ·éæ¨çåå¹¶åï¼æ¨æ æ³è¿è¡æä½ï¼"); |
| | | } |
| | |
| | | if(unionChange.getStatus().equals(Constants.UnionChangeStatus.CLOSE.getKey())){ |
| | | throw new BusinessException(ResponseStatus.DATA_ERRO.getCode(),"对ä¸èµ·ï¼åå¹¶åä¸å¡å·²å
³é"); |
| | | } |
| | | if(unionChange.getStatus().equals(Constants.UnionChangeStatus.UPLOAD_INSURANCE_POLICY.getKey())){ |
| | | if(!unionChange.getStatus().equals(Constants.UnionChangeStatus.UPLOAD_INSURANCE_POLICY.getKey())){ |
| | | throw new BusinessException(ResponseStatus.DATA_ERRO.getCode(),"对ä¸èµ·ï¼åå¹¶åç¶æå·²æµè½¬"); |
| | | } |
| | | |
| | |
| | | ||StringUtils.isBlank(m.getFileurl()) |
| | | ||StringUtils.isBlank(m.getName()) |
| | | ){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"å åä¿/æ¢åä¸å¡æ¹åæä»¶ä¿¡æ¯ç¼ºå¤±"); |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"æ¹åæä»¶ä¿¡æ¯ç¼ºå¤±"); |
| | | } |
| | | multifile.setIsdeleted(Constants.ZERO); |
| | | multifile.setCreator(user.getId()); |
| | | multifile.setCreateDate(new Date()); |
| | | multifile.setCreateDate(new Date()); |
| | | multifile.setObjType(Constants.MultiFile.CA_PD_PDF.getKey()); |
| | | multifile.setType(Constants.TWO); |
| | | multifileMapper.insert(multifile); |
| | | m.setId(null); |
| | | m.setIsdeleted(Constants.ZERO); |
| | | m.setCreator(user.getId()); |
| | | m.setCreateDate(new Date()); |
| | | m.setObjType(Constants.MultiFile.CA_PD_PDF.getKey()); |
| | | m.setType(Constants.TWO); |
| | | multifileMapper.insert(m); |
| | | } |
| | | } |
| | | |
| | |
| | | applyChange.setEditDate(new Date()); |
| | | applyChange.setEditor(user.getId()); |
| | | applyChange.setStatus(Constants.ApplyChangeStatus.APPROVE.getKey()); |
| | | List<ApplyChagneDetail> allList = applyChagneDetailJoinMapper.selectList(new QueryWrapper<ApplyChagneDetail>().lambda().eq(ApplyChagneDetail::getApplyChangeId,applyChange.getId())); |
| | | List<ApplyChagneDetail> allList = applyChagneDetailJoinMapper.selectJoinList(ApplyChagneDetail.class, |
| | | new MPJLambdaWrapper<ApplyChagneDetail>().selectAll(ApplyChagneDetail.class) |
| | | .selectAs(Member::getName,ApplyChagneDetail::getMemberName ) |
| | | .selectAs(Member::getIdcardNo,ApplyChagneDetail::getIdcardNo ) |
| | | .leftJoin(Member.class,Member::getId,ApplyChagneDetail::getMemberId) |
| | | .eq(ApplyChagneDetail::getApplyChangeId,applyChange.getId())); |
| | | this.dealApplyChangeDetail(applyChange,allList); |
| | | applyChange.setCode(unionChangeBXDDTO.getCode()); |
| | | applyChange.setCheckUserId(user.getId()); |