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"/>