From cc7f6a1508d82c2856b8541ed49c7bfb958f0ff5 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Wed, 1 Feb 2023 17:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/request.js | 4 +-- pages/massif/info.vue | 4 +-- pages/massif/mana/recovery.vue | 7 +++- static/map_point_1.png | Bin 0 -> 1940 bytes static/map_point_2.png | Bin 0 -> 1622 bytes .../d-form/components/d-form/d-form.vue | 34 +++++++++++------- 6 files changed, 32 insertions(+), 17 deletions(-) create mode 100644 static/map_point_1.png create mode 100644 static/map_point_2.png diff --git a/common/request.js b/common/request.js index 46b1ead..b292f9d 100644 --- a/common/request.js +++ b/common/request.js @@ -2,8 +2,8 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ var url=process.env.NODE_ENV === 'development'?{ - default:`http://zrxsae.natappfree.cc` //陈 - // default:`http://uq5pak.natappfree.cc` //马 + // default:`http://zrxsae.natappfree.cc` //陈 + default:`http://uq5pak.natappfree.cc` //马 }:{ default:`http://qv6mj8.natappfree.cc` } diff --git a/pages/massif/info.vue b/pages/massif/info.vue index 5c6f995..7b4d0dc 100644 --- a/pages/massif/info.vue +++ b/pages/massif/info.vue @@ -14,7 +14,7 @@ v-bind="v" :required="!!rules[k]" :field="k" - :value="(/^dateRange$|^select$/.test(v.type)?fields[k].value:formData[k])" + :value="(/^dateRange$|^select$|^map$/.test(v.type)?fields[k].value:formData[k])" ref="dForm" @input="formData[k]=$event" @selectRDate="selectDate" @@ -37,7 +37,7 @@ import request from '@/common/request' realityArea:{label:"实际面积",type:'digit'}, image:{label:"地块图片",type:"upImg",num:3,value:''}, date:{label:"使用日期",type:"dateRange",value:[]}, - jw:{label:"经/纬度",type:"map"}, + jw:{label:"经/纬度",type:"map",value:[]}, address:{label:"详细地址",type:"textarea"}, }, formData:{ diff --git a/pages/massif/mana/recovery.vue b/pages/massif/mana/recovery.vue index 901de2a..996be40 100644 --- a/pages/massif/mana/recovery.vue +++ b/pages/massif/mana/recovery.vue @@ -118,7 +118,7 @@ @close="show=false" @cancel="show=false" :value="date" - @confirm="searchVal[dateType]=new Date($event.value).format('yyyy-MM-dd');show=false"/> + @confirm="searchVal[dateType]=new Date($event.value).format('yyyy-MM-dd');clean();search();show=false"/>