| | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | |
| | | VUE_APP_API = 'http://localhost:10030/' |
| | | #VUE_APP_API = 'http://192.168.0.135:10030/' |
| | | #VUE_APP_API = 'http://localhost:10030/' |
| | | VUE_APP_API = 'http://192.168.0.135:10030/' |
| | | #VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/' |
| | |
| | | VUE_APP_COOKIE_NAME='doumee-auth-token' |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10031/' |
| | | #VUE_APP_API = 'http://192.168.0.135:10031/' |
| | | #VUE_APP_API = 'http://localhost:10031/' |
| | | VUE_APP_API = 'http://192.168.0.135:10031/' |
| | | |
| | | #VUE_APP_API = 'https://www.yyb.red/yyb_web_api/' |
| | |
| | | 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.135:10032/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10032/' |
| | | #VUE_APP_API = 'http://localhost:10032/' |
| | | |
| | | #VUE_APP_API = 'https://www.yyb.red/yyb_shop_api/' |
| | |
| | | :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | <span style="color: #F95601; font-size: 14px;">ï¼1. 请å
éæ©æ¹æ¡æ¥çç³è¯·è®°å½ï¼</span> |
| | | <span style="color: orange; font-size: 14px;"><i class="el-icon-warning"></i>1. 请å
éæ©æ¹æ¡æ¥çç³è¯·è®°å½</span> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="ä¿é©çæèµ·æ¢æï¼" prop="startDate" style="margin-left: 40px"> |
| | |
| | | range-separator="è³" |
| | | start-placeholder="å¼å§æ¥æ" |
| | | end-placeholder="ç»ææ¥æ" /> |
| | | <span style="color: #F95601; font-size: 14px;">ï¼2. 次æ¥çææä¿è¯·äº17:30åæäº¤ï¼è¶
æ¶æäº¤ä»¥ä¿é©å为åï¼</span> |
| | | <span style="color: orange; font-size: 14px;"><i class="el-icon-warning"></i>2. 次æ¥çææä¿è¯·äº17:30åæäº¤ï¼è¶
æ¶æäº¤ä»¥ä¿é©å为å</span> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="è´¹ç¨" v-if="item"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="color: #F95601; font-size: 14px;width: 100%;text-align: left">ï¼3. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·ï¼</div> |
| | | <div style="color: orange; font-size: 14px;width: 100%;text-align: left"><i class="el-icon-warning"></i>3. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·</div> |
| | | <div class="info" v-if="item"> |
| | | <span v-if="item.specialAgreement" v-html="item.specialAgreement"></span> |
| | | <span v-if="item.specialInfo" v-html="item.specialInfo"></span> |
| | |
| | | <el-form-item label=" " prop="unionApplyId" > |
| | | <div style=" display: flex; flex-direction: column;"> |
| | | <el-button type="primary" size="small" @click="selectBaoxiandan"> éæ©ä¿é©å</el-button> |
| | | <span style="color: #F95601; font-size: 14px;">ï¼1. è¯·éæ©ä¿é©ååè¿è¡æä½ï¼</span> |
| | | <span style="color: orange; font-size: 14px;"><i class="el-icon-warning"></i>1. è¯·éæ©ä¿é©ååè¿è¡æä½</span> |
| | | </div> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="ç³è¯·æ¥æï¼" prop="applyDate" style="margin-left: 40px"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="color: #F95601; font-size: 14px;width: 100%;text-align: left">ï¼2. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·ï¼</div> |
| | | <div style="color: orange; font-size: 14px;width: 100%;text-align: left"><i class="el-icon-warning"></i>2. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·</div> |
| | | <div class="info" v-if="model"> |
| | | <span v-if="model.specialAgreement" v-html="model.specialAgreement"></span> |
| | | <span v-if="model.specialInfo" v-html="model.specialInfo"> </span> |
| | |
| | | append-to-body |
| | | center> |
| | | <div class="desc_item_from" id="selectTable"> |
| | | <div style="width: 100%; text-align: right; align-items: center;margin-bottom: 10px"> |
| | | <span class="tip-warn" style="color: orange; font-size: 14px; margin-right: 20px ;text-align: left"> |
| | | <i class="el-icon-warning"></i>注ï¼åªè½éæ©ç³è¯·åæ°å¤§äº0çç³è¯·è®°å½è¿è¡æä½ |
| | | </span> |
| | | <el-checkbox :true-label="1" :false-label="0" v-model="hasApplying" style="font-size: 12px;" @change="handleCurrentChange(1)">åªæ¾ç¤ºæç³è¯·åè®°å½</el-checkbox> |
| | | </div> |
| | | <el-table |
| | | border |
| | | ref="multipleTable1" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | @row-click="rowselect1" |
| | | row-key="id" |
| | | @selection-change="handleSelectionChange1" |
| | | :data="tableData" |
| | | stripe |
| | | > |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column label="åºå·" width="80px"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.$index + 1}}</span> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="code" label="ä¿åå·" min-width="100px"></el-table-column> |
| | | <el-table-column prop="solutionName" label="ä¿é©æ¹æ¡" min-width="100px"></el-table-column> |
| | | <el-table-column prop="insureNum" label="æä¿äººæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="guaranteeNum" label="å¨ä¿äººæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="addApplyNum" label="ç³è¯·åæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="insureNum" label="æä¿äººæ°" min-width="90px"></el-table-column> |
| | | <el-table-column prop="guaranteeNum" label="å¨ä¿äººæ°" min-width="90px"></el-table-column> |
| | | <el-table-column prop="addApplyNum" label="ç³è¯·åæ°" min-width="80px"></el-table-column> |
| | | <el-table-column prop="fee" label="æ»è´¹ç¨ï¼å
ï¼" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="æäº¤æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="æäº¤æ¶é´" min-width="180px"></el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | min-width="100" |
| | | fixed="right" |
| | | align="center" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button v-if="row.addApplyNum >0" type="primary" @click="selectDo(row)">éæ©</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="desc_item_from_page"> |
| | | <el-pagination |
| | | @current-change="handleCurrentChange" |
| | | :current-page="currentPage" |
| | | :current-page="currentPage1" |
| | | :page-size="10" |
| | | layout="total, prev, pager, next, jumper" |
| | | :total="tableTotal"> |
| | |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="selectDo()">ç¡® å®</el-button> |
| | | <!-- <el-button type="primary" @click="selectDo()">ç¡® å®</el-button>--> |
| | | <el-button @click="model=null;visibleSelect=false">å æ¶</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | applyDate: null, |
| | | businessType: 0 |
| | | }, |
| | | hasApplying:0, |
| | | pickerOptions: {}, |
| | | visibleSelect:false, |
| | | visibleSelect: true, |
| | | solutions: [], |
| | | currentPage:0, |
| | | currentPage1:1, |
| | | list: [], |
| | | tableData:[], |
| | | tableData:null, |
| | | tableTotal:0, |
| | | endTime: '', |
| | | item: null, |
| | |
| | | return new Date() |
| | | } |
| | | }, |
| | | selectDo(){ |
| | | selectDo(row){ |
| | | this.model =row |
| | | if(!this.model){ |
| | | this.$tip.apiFailed({ |
| | | type: 'error', |
| | | message: 'è¯·éæ©è³å°ä¸æ¡ç³è¯·è®°å½è¿è¡æä½' |
| | | }) |
| | | return |
| | | } |
| | | this.form.applyDate=null |
| | | this.visibleSelect=false |
| | | this.form.unionApplyId = this.model.id |
| | | var that =this |
| | | this.pickerOptions = { |
| | | disabledDate (time) { |
| | | var start = new Date(that.model.startTime) |
| | | start.setDate(start.getDate() + 1) |
| | | var end = new Date(that.model.endTime) |
| | | // console.log(end ) |
| | | // console.log(time ) |
| | | return ( time.getTime() < start.getTime() || time.getTime()>end.getTime()) |
| | | } |
| | | } |
| | | |
| | | this.getList(); |
| | | }, |
| | | selectDoOld(){ |
| | | if(!this.model){ |
| | | this.$tip.apiFailed({ |
| | | type: 'error', |
| | |
| | | |
| | | }, |
| | | selectBaoxiandan(){ |
| | | this.currentPage = 1 |
| | | this.currentPage1 = 1 |
| | | this.visibleSelect=true |
| | | this.$refs.multipleTable.clearSelection(); |
| | | this.getUnionApplyList() |
| | | }, |
| | | getUnionApplyList(){ |
| | | pageUnionList({ |
| | | capacity: 10, |
| | | page: this.currentPage, |
| | | page: this.currentPage1, |
| | | model: { |
| | | queryFlag:1, |
| | | status: 3, |
| | | hasApplying: this.hasApplying, |
| | | status: 3 |
| | | } |
| | | }).then(res => { |
| | | this.tableData.list = res.records |
| | | this.tableTotal = res.total |
| | | this.$nextTick(() => { |
| | | console.log(this.$refs.multipleTable1) |
| | | this.tableData = res.records |
| | | this.tableTotal = res.total |
| | | if (this.$refs.multipleTable1 && this.$refs.multipleTable1.doLayout) { |
| | | this.$refs.multipleTable1.doLayout() |
| | | } |
| | |
| | | }) |
| | | }, |
| | | handleCurrentChange (val) { |
| | | this.currentPage = val |
| | | this.currentPage1 = val |
| | | this.getUnionApplyList() |
| | | } |
| | | } |
| | |
| | | ::v-deep .desc_item_from .el-table__header .el-checkbox{ |
| | | display:none!important; |
| | | } |
| | | ::v-deep .el-checkbox__label{ |
| | | font-size: 12px; |
| | | } |
| | | .submit { |
| | | width: 100%; |
| | | display: flex; |
| | |
| | | <el-form-item label=" " prop="unionApplyId" > |
| | | <div style=" display: flex; flex-direction: column;"> |
| | | <el-button type="primary" size="small" @click="selectBaoxiandan"> éæ©ä¿é©å</el-button> |
| | | <span style="color: #F95601; font-size: 14px;">ï¼1. è¯·éæ©ä¿é©ååè¿è¡æä½ï¼</span> |
| | | <span style="color: orange; font-size: 14px;"><i class="el-icon-warning"></i>1. è¯·éæ©ä¿é©ååè¿è¡æä½</span> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="æ¹åçæèµ·æï¼" prop="applyDate" style="margin-left: 40px"> |
| | |
| | | type="date" |
| | | format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd" /> |
| | | <span style="color: #F95601; font-size: 14px;">ï¼2. 次æ¥çææä¿è¯·äº17:30åæäº¤ï¼è¶
æ¶æäº¤ä»¥ä¿é©å为åï¼</span> |
| | | <span style="color: orange; font-size: 14px;"> |
| | | <i class="el-icon-warning"></i>2. 次æ¥çææä¿è¯·äº17:30åæäº¤ï¼è¶
æ¶æäº¤ä»¥ä¿é©å为å</span> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="è´¹ç¨" v-if="model"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="color: #F95601; font-size: 14px;width: 100%;text-align: left">ï¼3. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·ï¼</div> |
| | | <div style="color: orange; font-size: 14px;width: 100%;text-align: left"><i class="el-icon-warning"></i>3. 请å
éæ©è³å°ä¸æ¡ç³è¯·åæäº¤æä¿ç³è¯·</div> |
| | | <div class="info" v-if="model"> |
| | | <span v-if="model.specialAgreement" v-html="model.specialAgreement"></span> |
| | | <span v-if="model.specialInfo" v-html="model.specialInfo"> </span> |
| | |
| | | append-to-body |
| | | center> |
| | | <div class="desc_item_from"> |
| | | <div style="width: 100%; text-align: right; align-items: center;margin-bottom: 10px"> |
| | | <span class="tip-warn" style="color: orange; font-size: 14px; margin-right: 20px ;text-align: left"> |
| | | <i class="el-icon-warning"></i>注ï¼åªè½éæ©ç³è¯·åæ°å¤§äº0çç³è¯·è®°å½è¿è¡æä½ |
| | | </span> |
| | | <el-checkbox :true-label="2" :false-label="0" v-model="hasApplying" style="font-size: 12px;" @change="handleCurrentChange(1)">åªæ¾ç¤ºæç³è¯·åè®°å½</el-checkbox> |
| | | </div> |
| | | <el-table |
| | | border |
| | | ref="multipleTable1" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | @row-click="rowselect1" |
| | | :data="tableData" |
| | | row-key="id" |
| | | @selection-change="handleSelectionChange1" |
| | | stripe |
| | | > |
| | | <el-table-column |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="code" label="ä¿åå·" min-width="100px"></el-table-column> |
| | | <el-table-column prop="solutionName" label="ä¿é©æ¹æ¡" min-width="100px"></el-table-column> |
| | | <el-table-column prop="insureNum" label="æä¿äººæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="guaranteeNum" label="å¨ä¿äººæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="changeApplyNum" label="ç³è¯·åæ°" min-width="100px"></el-table-column> |
| | | <el-table-column prop="insureNum" label="æä¿äººæ°" min-width="90px"></el-table-column> |
| | | <el-table-column prop="guaranteeNum" label="å¨ä¿äººæ°" min-width="90px"></el-table-column> |
| | | <el-table-column prop="changeApplyNum" label="ç³è¯·åæ°" min-width="90px"></el-table-column> |
| | | <el-table-column prop="fee" label="æ»è´¹ç¨ï¼å
ï¼" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="æäº¤æ¶é´" min-width="100px"></el-table-column> |
| | | <el-table-column prop="createDate" label="æäº¤æ¶é´" min-width="180px"></el-table-column> |
| | | <el-table-column |
| | | label="æä½" |
| | | min-width="100" |
| | | fixed="right" |
| | | align="center" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button v-if="row.changeApplyNum >0" type="primary" @click="selectDo(row)">éæ©</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="desc_item_from_page"> |
| | | <el-pagination |
| | |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <!-- |
| | | <el-button type="primary" @click="selectDo()">ç¡® å®</el-button> |
| | | --> |
| | | <el-button @click="model=null;visibleSelect=false">å æ¶</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | list: [], |
| | | pickerOptions: {}, |
| | | tableData: [], |
| | | hasApplying: 0, |
| | | tableTotal: 0, |
| | | endTime: '', |
| | | item: null, |
| | |
| | | this.model = null |
| | | } |
| | | }, |
| | | selectDo () { |
| | | selectDo (row){ |
| | | this.model =row |
| | | if (!this.model) { |
| | | this.$tip.apiFailed({ |
| | | type: 'error', |
| | | message: 'è¯·éæ©è³å°ä¸æ¡ç³è¯·è®°å½è¿è¡æä½' |
| | | }) |
| | | return |
| | | } |
| | | this.visibleSelect = false |
| | | this.form.unionApplyId = this.model.id |
| | | var that = this |
| | | this.pickerOptions = { |
| | | disabledDate (time) { |
| | | var start = new Date(that.model.startTime) |
| | | start.setDate(start.getDate() + 1) |
| | | var end = new Date(that.model.endTime) |
| | | return (time.getTime() < start.getTime() || time.getTime() > end.getTime()) |
| | | } |
| | | } |
| | | this.getList() |
| | | }, |
| | | selectDo1 () { |
| | | if (!this.model) { |
| | | this.$tip.apiFailed({ |
| | | type: 'error', |
| | |
| | | this.model = null |
| | | this.list = [] |
| | | this.visibleSelect = false |
| | | this.hasApplying= 0 |
| | | this.tableData = [] |
| | | this.tableTotal = 0 |
| | | this.item = null |
| | |
| | | capacity: 10, |
| | | page: this.currentPage, |
| | | model: { |
| | | hasApplying:this.hasApplying, |
| | | queryFlag: 2, |
| | | status: 3 |
| | | } |
| | | }).then(res => { |
| | | this.tableData.list = res.records |
| | | this.tableData = res.records |
| | | this.tableTotal = res.total |
| | | this.$nextTick(() => { |
| | | console.log(this.$refs.multipleTable1) |
| | | if (this.$refs.multipleTable1 && this.$refs.multipleTable1.doLayout) { |
| | | this.$refs.multipleTable1.doLayout() |
| | | } |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="fee" |
| | | label="已产çè´¹ç¨ï¼å
ï¼"> |
| | | label="è´¹ç¨åæ´ï¼å
ï¼"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="remark" |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="address" |
| | | label="已产çè´¹ç¨ï¼å
ï¼"> |
| | | label="è´¹ç¨åæ´ï¼å
ï¼"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="desc_item_from_page"> |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="fee" |
| | | label="已产çè´¹ç¨ï¼å
ï¼"> |
| | | label="è´¹ç¨åæ´ï¼å
ï¼"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="remark" |
| | |
| | | this.visible = true |
| | | this.tempIndex = tempIndex |
| | | this.solutionId = obj.solutionId |
| | | this.dispatching=[] |
| | | this.list = [ |
| | | { |
| | | memberName: '', |
| | |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import selectEmployees from '@/components/enterprise/selectEmployees' |
| | | import addEmployee from '@/components/enterprise/addEmployee' |
| | | import addEmployee from '@/components/enterprise/addEmployeeWithDu' |
| | | import importEmployees from '@/components/enterprise/importEmployees' |
| | | import confirmJobType from '@/components/enterprise/confirmJobType' |
| | | import ApplyChangeDetails1 from '@/components/business/ApplyChangeDetails1' |
| | |
| | | return |
| | | } |
| | | if (this.activeName === '0') { |
| | | this.$refs.addEmployee.open('æ·»å å ä¿åå·¥', { arr: this.form.addDetailList, price: this.price }) |
| | | this.$refs.addEmployee.open('æ·»å å ä¿åå·¥', { arr: this.form.addDetailList, solutionId: this.item.newVersionSolutionId, price: this.price }) |
| | | } else { |
| | | this.$refs.addEmployee.open('æ·»å åä¿åå·¥', { arr: this.form.delDetailList, price: this.reducePrice }) |
| | | this.$refs.addEmployee.open('æ·»å åä¿åå·¥', { arr: this.form.delDetailList, solutionId: this.item.newVersionSolutionId, price: this.reducePrice }) |
| | | } |
| | | }, |
| | | uploadUser () { |
| | |
| | | this.$message.warning('请å
éæ©ä¿é©æ¹æ¡') |
| | | return |
| | | } |
| | | |
| | | if (this.activeName === '0') { |
| | | this.$refs.importEmployees.open('å ä¿åå·¥åå', { arr: this.form.addDetailList,type:1, price: this.price, solutionId: this.form.solutionId }) |
| | | this.$refs.importEmployees.open('å ä¿åå·¥åå', { arr: this.form.addDetailList, type: 1, price: this.price, solutionId: this.item.newVersionSolutionId }) |
| | | } else { |
| | | this.$refs.importEmployees.open('åä¿åå·¥åå', { arr: this.form.delDetailList,type:0, price: this.reducePrice, solutionId: this.form.solutionId,insuranceApplyId: this.form.id }) |
| | | this.$refs.importEmployees.open('åä¿åå·¥åå', { arr: this.form.delDetailList, type: 0, price: this.reducePrice, solutionId: this.item.newVersionSolutionId, insuranceApplyId: this.form.id }) |
| | | } |
| | | }, |
| | | // åæ¢æ¹æ¡ |
| | |
| | | </el-form> |
| | | <!-- è¡¨æ ¼åå页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:insurance:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('å§ææä¿ç³è¯·')" v-permissions="['business:insurance:create']">æäº¤ç³è¯·</el-button></li> |
| | | <ul class="toolbar" v-if="userInfo.type==2" v-permissions="['business:unionapply:create']"> |
| | | <li><el-button type="primary" @click="$refs.OpearaUnionApply.open('å§ææä¿ç³è¯·')" v-permissions="['business:unionapply:create']">æäº¤ç³è¯·</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | v-loading="isWorking.search" |
| | |
| | | Map<String,String> idCardMap = new HashMap<>(); |
| | | for(MemberReduceImport model : dataList){ |
| | | //æ ¡éªåæ°æ¯å¦åæ³ |
| | | validReduceImportParam(model,idCardMap,dataList,index); |
| | | validReduceImportParam(model,idCardMap,index); |
| | | index += 1; |
| | | } |
| | | index = Constants.TWO; |
| | |
| | | .le(ApplyDetail::getStartTime,DateUtil.getMontageDate(new Date(),1)) |
| | | .ge(ApplyDetail::getEndTime,DateUtil.getMontageDate(new Date(),3))); |
| | | if(detail == null){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "å½åä¿åä¸ï¼åå·¥ã" + model.getName()+model.getIdCard() + "ãéå¨ä¿äººåï¼å¦æ³è¿è¡è¯¥æä½"); |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "å½åä¿åä¸ï¼åå·¥ã" + model.getName()+model.getIdCard() + "ãéå¨ä¿äººåï¼æ æ³è¿è¡è¯¥æä½"); |
| | | } |
| | | if(!StringUtils.equals(model.getName(), detail.getMemberName())){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "å½åä¿åä¸ï¼åå·¥ã" +model.getName()+ model.getIdCard() + "ãä¸å
¶ç»è®°å¨ä¿è®°å½å§åä¸ä¸è´ï¼è¯·æ ¸å®å¡«åæ£ç¡®åæä½"); |
| | | } |
| | | model.setDuId(detail.getDuId()); |
| | | model.setDuName(detail.getDuName()); |
| | |
| | | return dataList; |
| | | } |
| | | |
| | | private void validReduceImportParam(MemberReduceImport model, Map<String, String> idCardMap, List<MemberReduceImport> dataList, int index) { |
| | | private void validReduceImportParam(MemberReduceImport model, Map<String, String> idCardMap, int index) { |
| | | if(StringUtils.isBlank(model.getName())){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对ä¸èµ·ï¼ç¬¬"+index+"è¡æ°æ®å§åä¸è½ä¸ºç©ºï¼"); |
| | | } |