From bcfb18f33fe5b757f3b195e9cbdadb8917080599 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 20 六月 2024 10:15:05 +0800 Subject: [PATCH] bug修改 --- src/views/safetyReview/projectManage/components/siteCheckRcd.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/safetyReview/projectManage/components/siteCheckRcd.vue b/src/views/safetyReview/projectManage/components/siteCheckRcd.vue index 2e83829..9ec1e3e 100644 --- a/src/views/safetyReview/projectManage/components/siteCheckRcd.vue +++ b/src/views/safetyReview/projectManage/components/siteCheckRcd.vue @@ -13,10 +13,10 @@ <el-row :gutter="30" style="margin-bottom: 30px" v-if="state.data.length>0"> <el-col :span="28"> <div style="display: flex;align-items: center"> - <span style="font-size: 22px;font-weight: 600">记录编号:{{ chooseItem.index }}(提交时间:{{chooseItem.createTime}})</span> + <span style="font-size: 22px;font-weight: 600;margin-top: 10px;">记录编号:{{ chooseItem.index }}(提交时间:{{chooseItem.createTime}})</span> <div style="display: flex;align-items: center;flex-wrap: wrap"> <div v-for="(item,index) in state.data"> - <el-check-tag style="margin-left: 20px;margin-top:10px;cursor: pointer" :checked="chooseItem.id === item.id" type="primary" @click="chooseRecord(item,index)">记录编号{{ index+1 }}</el-check-tag> + <el-check-tag style="margin-left: 20px;margin-top:10px;cursor: pointer;padding: 15px 25px" :checked="chooseItem.id === item.id" size="large" @click="chooseRecord(item,index)">记录编号{{ index+1 }}</el-check-tag> </div> </div> </div> @@ -42,7 +42,9 @@ v-model="state.formData.location" size="large" placeholder="请填写现场勘验位置" + @focus="openLocation" > + <template #append> <el-button :icon="Search" @click="openLocation"/> </template> @@ -519,7 +521,12 @@ } const achieveLatLng=(lng,lat)=>{ - state.formData.location = lng + ',' + lat + if(lng && lat){ + state.formData.location = lng + ',' + lat + }else { + ElMessage.warning('请选择勘验位置') + } + } // 图片上传 -- Gitblit v1.9.2