| | |
| | | <el-dialog v-model="dialogVisible" width="75%" top="50vh" align-center @close="closeDialog"> |
| | | <el-form ref="registerRef" :model="registerForm" class="register-form" label-position="top"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="8"> |
| | | <el-col :span="6"> |
| | | <el-form-item prop="agency.name" label="机构名称"> |
| | | <el-input |
| | | disabled |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-col :span="6"> |
| | | <el-form-item prop="agency.creditCode" label="社会信用代码"> |
| | | <el-input |
| | | disabled |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-col :span="6"> |
| | | <el-form-item prop="agency.attribute" label="机构属性"> |
| | | <el-radio-group v-model="registerForm.agency.attribute" style="width: 50%" disabled> |
| | | <el-radio :label="0" size="large">疆内</el-radio> |
| | |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item prop="agency.businessType" label="业务类别"> |
| | | <el-checkbox-group v-model="registerForm.agency.businessType" disabled> |
| | | <el-checkbox v-for="item in registerForm.businessTypeList" :label="item.value" :key="item.value">{{ item.label }}</el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | |
| | | regAddress: '', |
| | | business: '', |
| | | reportPath: '', |
| | | businessType: [] |
| | | }, |
| | | username: '', |
| | | phone: '', |
| | | password: '', |
| | | confirmPassword: '' |
| | | confirmPassword: '', |
| | | businessTypeList: [ |
| | | { |
| | | value: 1, |
| | | label: '安全评价' |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: '检验检测' |
| | | }, |
| | | ] |
| | | }); |
| | | |
| | | |
| | |
| | | registerForm.value.agency.area = [res.data.province,res.data.city,res.data.district].filter(item => { return item && item.trim() }) |
| | | } |
| | | registerForm.value.agency.business = res.data.business.split(",").map(Number) |
| | | registerForm.value.agency.businessType = res.data.businessType ? res.data.businessType.split(',').map(Number): [] |
| | | imageUrl.value = import.meta.env.VITE_APP_BASE_API + "/" + res.data.reportPath |
| | | srcList.value.push(imageUrl.value) |
| | | |