fix:暂时取消地图选点
This commit is contained in:
parent
95bb9ab404
commit
00342e1d52
@ -6,14 +6,14 @@
|
|||||||
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title></title>
|
<title></title>
|
||||||
<script>
|
<!-- <script>
|
||||||
window._AMapSecurityConfig = {
|
window._AMapSecurityConfig = {
|
||||||
securityJsCode: 'f09302d3ed65110614bdb26e44717ddf',
|
securityJsCode: 'f09302d3ed65110614bdb26e44717ddf',
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="https://webapi.amap.com/maps?v=2.0&key=c843a50db7157faf295c6fa37c48719f&plugin=AMap.PlaceSearch,AMap.Geocoder"></script>
|
src="https://webapi.amap.com/maps?v=2.0&key=c843a50db7157faf295c6fa37c48719f&plugin=AMap.PlaceSearch,AMap.Geocoder"></script>
|
||||||
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.0.11"></script>
|
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.0.11"></script> -->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
<template #landCertificateUrl-form="{ type }">
|
<template #landCertificateUrl-form="{ type }">
|
||||||
<Attrs v-model:attrs="landOwnerAttrs" :view="type" />
|
<Attrs v-model:attrs="landOwnerAttrs" :view="type" />
|
||||||
</template>
|
</template>
|
||||||
<template #coordinate-form>
|
<!-- <template #coordinate-form>
|
||||||
<avue-input-map v-model="local" :params="params" placeholder="请选择位置"></avue-input-map>
|
<avue-input-map v-model="local" :params="params" placeholder="请选择位置"></avue-input-map>
|
||||||
</template>
|
</template> -->
|
||||||
<template #landUrl-form="{ type }">
|
<template #landUrl-form="{ type }">
|
||||||
<Attrs v-model:attrs="landAttrs" :view="type" />
|
<Attrs v-model:attrs="landAttrs" :view="type" />
|
||||||
</template>
|
</template>
|
||||||
@ -342,16 +342,16 @@ const option = reactive({
|
|||||||
label: '土地使用权信息',
|
label: '土地使用权信息',
|
||||||
prop: 'baseGroup',
|
prop: 'baseGroup',
|
||||||
column: [
|
column: [
|
||||||
{
|
// {
|
||||||
label: '地理位置',
|
// label: '地理位置',
|
||||||
prop: 'coordinate',
|
// prop: 'coordinate',
|
||||||
viewDisplay: false,
|
// viewDisplay: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
label: '地理位置',
|
// label: '地理位置',
|
||||||
prop: 'coordinateView',
|
// prop: 'coordinateView',
|
||||||
addDisplay: false,
|
// addDisplay: false,
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: '图片',
|
label: '图片',
|
||||||
prop: 'landUrl',
|
prop: 'landUrl',
|
||||||
@ -388,7 +388,7 @@ async function getList() {
|
|||||||
v.isTransfer = v.landTransfer || 1;
|
v.isTransfer = v.landTransfer || 1;
|
||||||
v.isTransferView = v.landTransfer == 1 ? '否' : '是';
|
v.isTransferView = v.landTransfer == 1 ? '否' : '是';
|
||||||
v.landClassificationTypeView = handleIficationType(v.handleIficationType);
|
v.landClassificationTypeView = handleIficationType(v.handleIficationType);
|
||||||
v.coordinateView = v.coordinate;
|
// v.coordinateView = v.coordinate;
|
||||||
});
|
});
|
||||||
pageData.total = res.data.total;
|
pageData.total = res.data.total;
|
||||||
}
|
}
|
||||||
@ -518,9 +518,9 @@ async function handleRowSave(val, done, loading) {
|
|||||||
data.landCertificateUrl = landOwnerUrls.join();
|
data.landCertificateUrl = landOwnerUrls.join();
|
||||||
data.landUrl = landUrls.join();
|
data.landUrl = landUrls.join();
|
||||||
data.villageCode = data.villageCode[data.villageCode.length - 1] || '';
|
data.villageCode = data.villageCode[data.villageCode.length - 1] || '';
|
||||||
if (local.value.length != 0) {
|
// if (local.value.length != 0) {
|
||||||
data.coordinate = `${local.value[0]}E,${local.value[1]}N`;
|
// data.coordinate = `${local.value[0]}E,${local.value[1]}N`;
|
||||||
}
|
// }
|
||||||
const res = await saveLand(data);
|
const res = await saveLand(data);
|
||||||
loading();
|
loading();
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
@ -547,4 +547,46 @@ async function handleRowSave(val, done, loading) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.create_land_attrs_content_ {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
box-sizing: border-box;
|
||||||
|
gap: 20px;
|
||||||
|
.custom-form__uploader {
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
> div {
|
||||||
|
width: calc(50% - 10px);
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
|
}
|
||||||
|
.attrs_content__item {
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
padding: 6px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 4px;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
.clear_btn {
|
||||||
|
position: absolute;
|
||||||
|
right: 0px;
|
||||||
|
top: 0px;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #f15c5c;
|
||||||
|
opacity: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
.clear_btn {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user