| | |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <!-- 自定义按钮 --> |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="success" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-upload2" |
| | | @click="handleImport" |
| | | >缴费凭证批量上传 |
| | | </el-button> |
| | | </template> |
| | | |
| | | </avue-crud> |
| | | <el-dialog |
| | | title="预览" |
| | |
| | | class="see-img-box" |
| | | > |
| | | <div class="img" :style="{ background: imgUrl }"></div> |
| | | </el-dialog> |
| | | <el-dialog |
| | | title="缴费凭证批量上传" |
| | | append-to-body |
| | | :visible.sync="excelBox" |
| | | width="555px" |
| | | > |
| | | <avue-form |
| | | :option="excelOption" |
| | | v-model="excelForm" |
| | | :upload-after="uploadAfter" |
| | | > |
| | | </avue-form> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | |
| | | query: {}, |
| | | loading: true, |
| | | imgSee: false, |
| | | excelBox: false, |
| | | excelForm: {}, |
| | | excelOption: { |
| | | submitBtn: false, |
| | | emptyBtn: false, |
| | | column: [ |
| | | { |
| | | label: "模板上传", |
| | | prop: "excelFile", |
| | | type: "upload", |
| | | drag: true, |
| | | loadText: "模板上传中,请稍等", |
| | | span: 24, |
| | | propsHttp: { |
| | | res: "data", |
| | | }, |
| | | tip: "请上传 zip 压缩文件", |
| | | action: "/api/blade-resource/oss/endpoint/put-file-exam-payment-zip", |
| | | } |
| | | ], |
| | | }, |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | |
| | | dialogClickModal: false, |
| | | |
| | | column: [ |
| | | // { |
| | | // label: "缴费类型", |
| | | // prop: "type", |
| | | // dicData:[ |
| | | // { |
| | | // label:"公司缴费", |
| | | // value: 1 |
| | | // }, |
| | | // { |
| | | // label:"个人缴费", |
| | | // value: 2 |
| | | // } |
| | | // ], |
| | | // searchSpan: 4, |
| | | // search: true, |
| | | // type: "select", |
| | | // }, |
| | | { |
| | | label: "缴费人", |
| | | prop: "realName", |
| | |
| | | prop: "idCardNo", |
| | | search:true, |
| | | searchSpan:4, |
| | | width:150 |
| | | }, |
| | | { |
| | | label: "性别", |
| | |
| | | prop: "deptName", |
| | | search:true, |
| | | searchSpan:6, |
| | | width:200 |
| | | }, |
| | | { |
| | | label: "报考证件类型", |
| | | prop: "paperType" |
| | | }, |
| | | { |
| | | label: "报名时间", |
| | | prop: "applyTime", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | width:150 |
| | | }, |
| | | { |
| | | label: "缴费状态", |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | ], |
| | | }, |
| | | data: [ |
| | |
| | | |
| | | this.imgSee = true; |
| | | }, |
| | | handleImport() { |
| | | this.excelBox = true; |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox = false; |
| | | this.refreshChange(); |
| | | done(); |
| | | }, |
| | | // onLoad(page, params = {}) { |
| | | // // this.loading = false; |
| | | // this.loading = true; |