| | |
| | | <script> |
| | | // import {getExpertTypes,addExpertInfo,uploadFile} from '@/api/system/form' |
| | | // import { verifySimplePhone, verifyIdCard } from "@/utils/validate"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import axios from "axios"; |
| | | export default { |
| | | name: "nCertificateDialog", |
| | |
| | | return key in obj |
| | | }, |
| | | |
| | | async getExpertsType(){ |
| | | const res = await getExpertTypes() |
| | | if(res.code == 200){ |
| | | this.expertsType = res.data |
| | | }else{ |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res.msg |
| | | }); |
| | | } |
| | | }, |
| | | // async getExpertsType(){ |
| | | // const res = await getExpertTypes() |
| | | // if(res.code == 200){ |
| | | // this.expertsType = res.data |
| | | // }else{ |
| | | // this.$message({ |
| | | // type: 'warning', |
| | | // message: res.msg |
| | | // }); |
| | | // } |
| | | // }, |
| | | avatorChange(file, fileList) { |
| | | this.fileList = fileList; |
| | | }, |