| | |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | | > |
| | | <!-- 退回投保 --> |
| | | <!-- 退回申请 --> |
| | | <div v-if="visible1==true" class="form"> |
| | | <div class="form_item"> |
| | | <div class="form_item_label"><span>*</span>填写退回说明:</div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 上传保险单 --> |
| | | <!-- 上传批单 --> |
| | | <div v-if="visible3==true" class="form"> |
| | | <template v-if="model.delOnlyReplace != 1"> |
| | | <div class="form_item"> |
| | | <div class="form_item_label">期望批增生效日期:</div> |
| | | <div class="form_item_val">{{ model.applyStartTime }}</div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form_item" v-if="form.selectRadio === 1"> |
| | | <div class="form_item_label"><span>*</span>批增生效日期:</div> |
| | | <div class="form_item_label" ><span>*</span>批增生效日期:</div> |
| | | <div class="form_item_val"> |
| | | <el-date-picker |
| | | v-model="form.applyStartTime" |
| | |
| | | <div class="form_item_label">批减生效日期:</div> |
| | | <div class="form_item_val">{{ form.delValidTime }}</div> |
| | | </div> |
| | | </template> |
| | | <template v-if="model.delOnlyReplace == 1"> |
| | | <div class="form_item"> |
| | | <div class="form_item_label">期望批改生效日期:</div> |
| | | <div class="form_item_val">{{ model.delValidTime }}</div> |
| | | </div> |
| | | <div class="form_item"> |
| | | <div class="form_item_label">批单生效起期是否一致:</div> |
| | | <div class="form_item_val"> |
| | | <el-radio-group v-model="form.selectRadio" @change="selectChange"> |
| | | <el-radio :label="0" >与批单一致</el-radio> |
| | | <el-radio :label="1" >与批单不一致</el-radio> |
| | | </el-radio-group> |
| | | </div> |
| | | </div> |
| | | <div class="form_item" v-if="form.selectRadio === 1"> |
| | | <div class="form_item_label"><span>*</span>批改生效日期:</div> |
| | | <div class="form_item_val"> |
| | | <el-date-picker |
| | | v-model="form.delValidTime" |
| | | type="date" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择日期"> |
| | | </el-date-picker> |
| | | </div> |
| | | </div> |
| | | <div class="form_item"> |
| | | <div class="form_item_label">批改生效日期:</div> |
| | | <div class="form_item_val">{{ form.delValidTime }}</div> |
| | | </div> |
| | | </template> |
| | | <div class="form_item"> |
| | | <div class="form_item_label"><span>*</span>批单号:</div> |
| | | <div class="form_item_val" > |
| | |
| | | <div class="form_item"> |
| | | <div class="form_item_label"><span>*</span>上传批单:</div> |
| | | <div class="form_item_val"> |
| | | <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" /> |
| | | <UploadFile :limit="99" :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @remove="removePIDAN" @uploadSuccess="baoxianFileUploaded" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="form_item"> |
| | | <div class="form_item_label"><span>*</span>上传批单:</div> |
| | | <div class="form_item_val"> |
| | | <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList2" @uploadSuccess="editBaoxianFileUploaded" /> |
| | | <UploadFile :limit="99" :uploadData="{ folder: 'apply',fileType:'.pdf' }" @remove="removeEditPiDan" :fileList="form.fileList2" @uploadSuccess="editBaoxianFileUploaded" /> |
| | | </div> |
| | | </div> |
| | | <div class="form_item"> |
| | |
| | | applyStartTime: null, |
| | | delValidTime: null, |
| | | validCode: null, |
| | | pidanFile: null, |
| | | editPidanFile: null, |
| | | pidanFile: [], |
| | | editPidanFile: [], |
| | | fileList1: [], |
| | | fileList2: [], |
| | | selectRadio: 0 |
| | |
| | | delValidTime: null, |
| | | applyStartTime: null, |
| | | validCode: null, |
| | | pidanFile: null, |
| | | editPidanFile: null, |
| | | pidanFile: [], |
| | | editPidanFile: [], |
| | | fileList1: [], |
| | | fileList2: [], |
| | | selectRadio: 0 |
| | |
| | | } |
| | | }, |
| | | baoxianFileUploaded (data) { |
| | | this.form.pidanFile = data |
| | | this.form.pidanFile.push(data) |
| | | }, |
| | | removePIDAN(e) { |
| | | this.form.pidanFile.forEach((item, index) => { |
| | | if (e === item.imgaddr) { |
| | | this.form.pidanFile.splice(index, 1) |
| | | } |
| | | }) |
| | | }, |
| | | editBaoxianFileUploaded (data) { |
| | | this.form.editPidanFile = data |
| | | this.form.editPidanFile.push(data) |
| | | }, |
| | | removeEditPiDan(e) { |
| | | this.form.editPidanFile.forEach((item, index) => { |
| | | if (e === item.imgaddr) { |
| | | this.form.editPidanFile.splice(index, 1) |
| | | } |
| | | }) |
| | | }, |
| | | backDo () { |
| | | this.$dialog.messageConfirm('确认进行该操作吗?') |
| | |
| | | this.$dialog.messageConfirm('确认进行该操作吗?') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | uploadChangePidan({ id: this.model.id, applyStartTime: this.form.applyStartTime, delValidTime: this.form.delValidTime, validCode: this.form.validCode, pidanFile: this.form.pidanFile }) |
| | | uploadChangePidan({ |
| | | id: this.model.id, |
| | | applyStartTime: (this.model.delOnlyReplace != 1 ? this.form.applyStartTime : this.form.delValidTime), |
| | | delValidTime: this.form.delValidTime, |
| | | validCode: this.form.validCode, |
| | | pidanFileList: this.form.pidanFile |
| | | }) |
| | | .then(response => { |
| | | this.visible = false |
| | | this.$emit('success') |
| | |
| | | this.$dialog.messageConfirm('确认进行该操作吗?') |
| | | .then(() => { |
| | | this.isWorking = true |
| | | editChangePidan({ id: this.model.id, checkInfo: this.form.editCheckInfo, validCode: this.form.editValidCode, pidanFile: this.form.editPidanFile }) |
| | | editChangePidan({ id: this.model.id, checkInfo: this.form.editCheckInfo, validCode: this.form.editValidCode, pidanFileList: this.form.editPidanFile }) |
| | | .then(response => { |
| | | this.visible = false |
| | | this.$emit('success') |