属地问题修改
							parent
							
								
									1503c3218a
								
							
						
					
					
						commit
						ebc052b38d
					
				| 
						 | 
					@ -470,15 +470,12 @@ const fnGetData = async () => {
 | 
				
			||||||
  if (!props.corpInfoId) return;
 | 
					  if (!props.corpInfoId) return;
 | 
				
			||||||
  const { data } = await getBusCompanyInfo({ id: props.corpInfoId });
 | 
					  const { data } = await getBusCompanyInfo({ id: props.corpInfoId });
 | 
				
			||||||
  form.value = data;
 | 
					  form.value = data;
 | 
				
			||||||
  form.value.area = form.value.province
 | 
					  form.value.area = [];
 | 
				
			||||||
    ? [
 | 
					  if (form.value.province) form.value.area.push(form.value.province);
 | 
				
			||||||
        form.value.province,
 | 
					  if (form.value.city) form.value.area.push(form.value.city);
 | 
				
			||||||
        form.value.city,
 | 
					  if (form.value.county) form.value.area.push(form.value.county);
 | 
				
			||||||
        form.value.county,
 | 
					  if (form.value.village) form.value.area.push(form.value.village);
 | 
				
			||||||
        form.value.village,
 | 
					  if (form.value.street) form.value.area.push(form.value.street);
 | 
				
			||||||
        form.value.street,
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    : [];
 | 
					 | 
				
			||||||
  form.value.sectorId = data.sectorId.split(",");
 | 
					  form.value.sectorId = data.sectorId.split(",");
 | 
				
			||||||
  form.value.address = form.value.longitude
 | 
					  form.value.address = form.value.longitude
 | 
				
			||||||
    ? `${form.value.longitude}-${form.value.latitude}`
 | 
					    ? `${form.value.longitude}-${form.value.latitude}`
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -122,13 +122,12 @@ const fnGetData = async () => {
 | 
				
			||||||
  if (!props.corpInfoId) return;
 | 
					  if (!props.corpInfoId) return;
 | 
				
			||||||
  const { data } = await getBusThirdPlatform({ id: props.corpInfoId });
 | 
					  const { data } = await getBusThirdPlatform({ id: props.corpInfoId });
 | 
				
			||||||
  form.value = data;
 | 
					  form.value = data;
 | 
				
			||||||
  form.value.area = [
 | 
					  form.value.area = [];
 | 
				
			||||||
    form.value.province,
 | 
					  if (form.value.province) form.value.area.push(form.value.province);
 | 
				
			||||||
    form.value.city,
 | 
					  if (form.value.city) form.value.area.push(form.value.city);
 | 
				
			||||||
    form.value.county,
 | 
					  if (form.value.county) form.value.area.push(form.value.county);
 | 
				
			||||||
    form.value.village,
 | 
					  if (form.value.village) form.value.area.push(form.value.village);
 | 
				
			||||||
    form.value.street,
 | 
					  if (form.value.street) form.value.area.push(form.value.street);
 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
fnGetData();
 | 
					fnGetData();
 | 
				
			||||||
const appAreaRef = useTemplateRef("areaRef");
 | 
					const appAreaRef = useTemplateRef("areaRef");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,7 @@
 | 
				
			||||||
          :options="dictionariesList"
 | 
					          :options="dictionariesList"
 | 
				
			||||||
          :props="{ value: 'name', label: 'name', children: 'list' }"
 | 
					          :props="{ value: 'name', label: 'name', children: 'list' }"
 | 
				
			||||||
        ></el-cascader> -->
 | 
					        ></el-cascader> -->
 | 
				
			||||||
        <app-area-cascader v-model="form.area" check-strictly />
 | 
					        <app-area-cascader v-model="form.area" disabled check-strictly />
 | 
				
			||||||
      </template>
 | 
					      </template>
 | 
				
			||||||
    </app-form-builder>
 | 
					    </app-form-builder>
 | 
				
			||||||
    <el-row v-if="form.menuList && form.menuList.length > 0">
 | 
					    <el-row v-if="form.menuList && form.menuList.length > 0">
 | 
				
			||||||
| 
						 | 
					@ -116,13 +116,12 @@ const fnGetData = async () => {
 | 
				
			||||||
  if (!props.corpInfoId) return;
 | 
					  if (!props.corpInfoId) return;
 | 
				
			||||||
  const { data } = await getBusThirdPlatform({ id: props.corpInfoId });
 | 
					  const { data } = await getBusThirdPlatform({ id: props.corpInfoId });
 | 
				
			||||||
  form.value = data;
 | 
					  form.value = data;
 | 
				
			||||||
  form.value.area = [
 | 
					  form.value.area = [];
 | 
				
			||||||
    form.value.province,
 | 
					  if (form.value.province) form.value.area.push(form.value.province);
 | 
				
			||||||
    form.value.city,
 | 
					  if (form.value.city) form.value.area.push(form.value.city);
 | 
				
			||||||
    form.value.county,
 | 
					  if (form.value.county) form.value.area.push(form.value.county);
 | 
				
			||||||
    form.value.village,
 | 
					  if (form.value.village) form.value.area.push(form.value.village);
 | 
				
			||||||
    form.value.street,
 | 
					  if (form.value.street) form.value.area.push(form.value.street);
 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
fnGetData();
 | 
					fnGetData();
 | 
				
			||||||
const fnClose = () => {
 | 
					const fnClose = () => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue