巡查上报
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<span @click="toMap" class="right-span" :style="forms.mapInfo.address ? '' : 'color:#999;'">{{ forms.mapInfo.address || '请选择上报位置' }}</span>
|
<span @click="toMap" class="right-span" :style="forms.mapInfo.address ? '' : 'color:#999;'">{{ forms.mapInfo.address || '请选择上报位置' }}</span>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="所属网格" prop="girdName" required :border-bottom="false">
|
<u-form-item label="所属网格" prop="girdName" required :border-bottom="false">
|
||||||
<AiPagePicker type="gird" v-model="forms.girdId" @change="confirmGird" valueObj nodeKey="id" formType="2" class="right-span">
|
<AiPagePicker type="gird" @select="confirmGird" valueObj nodeKey="id" formType="2" class="right-span">
|
||||||
<AiMore v-model="forms.girdName" placeholder="请选择所属网格"/>
|
<AiMore v-model="forms.girdName" placeholder="请选择所属网格"/>
|
||||||
</AiPagePicker>
|
</AiPagePicker>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
@@ -73,15 +73,15 @@ export default {
|
|||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.typeList()
|
this.typeList()
|
||||||
|
this.forms.girdId = this.user.girdId
|
||||||
|
this.forms.girdName = this.user.girdName
|
||||||
|
this.forms.girdMemberId = this.user.girdMemberId
|
||||||
|
this.forms.girdMemberName = this.user.name
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '巡查添加'
|
document.title = '巡查添加'
|
||||||
this.forms.name = this.user.name
|
this.forms.name = this.user.name
|
||||||
this.forms.phone = this.user.phone
|
this.forms.phone = this.user.phone
|
||||||
this.forms.girdId = this.user.girdId
|
|
||||||
this.forms.girdName = this.user.girdName
|
|
||||||
this.forms.girdMemberId = this.user.girdMemberId
|
|
||||||
this.forms.girdMemberName = this.user.name
|
|
||||||
uni.$on('chooseLat', res => {
|
uni.$on('chooseLat', res => {
|
||||||
this.forms.mapInfo = {...res}
|
this.forms.mapInfo = {...res}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user