bug
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<span>
|
<span>
|
||||||
<span v-for="(item, index) in healthInfo.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''"><span v-if="index>0">;</span>{{$dict.getLabel('epidemicRecentHealth', item)}}</span>
|
<span v-for="(item, index) in healthInfo.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''"><span v-if="index>0" :style="item != 0 ? 'color:#FF4466;' : ''">;</span>{{$dict.getLabel('epidemicRecentHealth', item)}}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -172,6 +172,7 @@ export default {
|
|||||||
this.month = date.getMonth() + 1
|
this.month = date.getMonth() + 1
|
||||||
this.getStatis()
|
this.getStatis()
|
||||||
this.getCheckTodayReport()
|
this.getCheckTodayReport()
|
||||||
|
this.isGirdUser()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '健康上报'
|
document.title = '健康上报'
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<span>
|
<span>
|
||||||
<span v-for="(item, index) in healthInfo.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''"><span v-if="index>0">;</span>{{$dict.getLabel('epidemicRecentHealth', item)}}</span>
|
<span v-for="(item, index) in healthInfo.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''"><span v-if="index>0" :style="item != 0 ? 'color:#FF4466;' : ''">;</span>{{$dict.getLabel('epidemicRecentHealth', item)}}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -27,16 +27,6 @@
|
|||||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
|
||||||
<span class="label"><span class="tips">*</span>地区</span>
|
|
||||||
<div class="value">
|
|
||||||
<AiAreaPicker :areaId="user.areaId" v-model="userInfo.areaId" :name.sync="userInfo.areaName" @select="areaSelect">
|
|
||||||
<span class="label" v-if="userInfo.areaName">{{ userInfo.areaName }}</span>
|
|
||||||
<span v-else class="color-999">请选择</span>
|
|
||||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
|
||||||
</AiAreaPicker>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -60,7 +50,7 @@ export default {
|
|||||||
name: '',
|
name: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
type: '',
|
type: '',
|
||||||
isPublic: '',
|
isPublic: '1',
|
||||||
areaId: '',
|
areaId: '',
|
||||||
areaName: ''
|
areaName: ''
|
||||||
},
|
},
|
||||||
@@ -110,9 +100,6 @@ export default {
|
|||||||
if(this.userInfo.isPublic === '') {
|
if(this.userInfo.isPublic === '') {
|
||||||
return this.$u.toast('请选择是否公开')
|
return this.$u.toast('请选择是否公开')
|
||||||
}
|
}
|
||||||
if(!this.userInfo.areaId) {
|
|
||||||
return this.$u.toast('请选择地区')
|
|
||||||
}
|
|
||||||
if(!this.flag) return
|
if(!this.flag) return
|
||||||
this.$http.post(`/app/appconvenientaddressbook/addOrUpdate`, this.userInfo).then(res => {
|
this.$http.post(`/app/appconvenientaddressbook/addOrUpdate`, this.userInfo).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = "便民通讯录"
|
document.title = "通讯录"
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -3,12 +3,7 @@
|
|||||||
<div v-if="addList">
|
<div v-if="addList">
|
||||||
<div class="header-description">
|
<div class="header-description">
|
||||||
<u-form :model="forms" ref="uForm" label-width="auto">
|
<u-form :model="forms" ref="uForm" label-width="auto">
|
||||||
<u-form-item label="区域选择" prop="areaId" class="areaIds" style="position: relative">
|
|
||||||
<AiAreaPicker :value="forms.areaId" :areaId="areaIdProps" @select="areaSelect" style="color: #333"></AiAreaPicker>
|
|
||||||
<u-icon name="arrow-right" color="rgb(192, 196, 204)" size="30" style="margin-left: 4px" />
|
|
||||||
</u-form-item>
|
|
||||||
|
|
||||||
<div class="line"></div>
|
|
||||||
|
|
||||||
<u-form-item label="走访对象" prop="name" required :right-icon="id ? '' : 'arrow-right'" class="create_user_names">
|
<u-form-item label="走访对象" prop="name" required :right-icon="id ? '' : 'arrow-right'" class="create_user_names">
|
||||||
<u-input v-model="forms.name" disabled placeholder="请选择走访对象" @click="toWalkObject" />
|
<u-input v-model="forms.name" disabled placeholder="请选择走访对象" @click="toWalkObject" />
|
||||||
|
|||||||
Reference in New Issue
Block a user