| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="8"> |
| | | <el-form-item prop="agency.certPath" label="资质证书"> |
| | | <el-upload disabled :limit='state.imgLimit' :show-file-list="false" list-type="picture-card" > |
| | | <el-image v-if="certImageUrl" :src="certImageUrl" :preview-src-list="certList" style="width: 100%;max-height: 146px;" /> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="8"> |
| | | <el-form-item prop="agency.assetValue" label="固定资产总值"> |
| | |
| | | import {getDict} from "@/api/login"; |
| | | import {getRegionTree} from "@/api/area"; |
| | | const imageUrl = ref(""); |
| | | const certImageUrl = ref(""); |
| | | const srcList = ref([]); |
| | | const certList = ref([]); |
| | | const registerForm = ref({ |
| | | agency:{ |
| | | name: "", |
| | |
| | | registerForm.value.agency.business = res.data.business.split(",").map(Number) |
| | | imageUrl.value = import.meta.env.VITE_APP_BASE_API + "/" + res.data.reportPath |
| | | srcList.value.push(imageUrl.value) |
| | | certImageUrl.value = import.meta.env.VITE_APP_BASE_API + "/" + res.data.certPath |
| | | certList.value.push(certImageUrl.value) |
| | | |
| | | |
| | | }else{ |
| | | ElMessage.warning(res.message) |
| | |
| | | dialogVisible.value = false; |
| | | state.fileList = [] |
| | | srcList.value = [] |
| | | certList.value = [] |
| | | } |
| | | |
| | | defineExpose({ |