健康上报

This commit is contained in:
liuye
2022-02-09 11:32:49 +08:00
parent 60076e88d0
commit efb3748ab9

View File

@@ -14,7 +14,7 @@
<h2>姓名</h2>
</div>
<div class="form-item__right">
<input placeholder="请输入" v-model="form.name" :maxlength="20" />
<AiOpenData v-if="user.wxUserId" type="userName" :openid="user.wxUserId" />
</div>
</div>
</div>
@@ -79,7 +79,7 @@
<div class="form-item__title">
<span class="label">姓名</span>
</div>
<div class="form-item__right">张三</div>
<div class="form-item__right"><AiOpenData v-if="user.wxUserId" type="userName" :openid="user.wxUserId" /></div>
</div>
</div>
</div>
@@ -145,7 +145,7 @@ export default {
data() {
return {
tabList: [{ name: '健康上报'},{ name: '上报统计'}],
currentTabs: 1,
currentTabs: 0,
form: {},
isUpload: false,
weekList: ['一', '二', '三', '四', '五', '六', '日']
@@ -155,12 +155,19 @@ export default {
...mapState(['user']),
},
onLoad() {
this.getStatis()
},
onShow() {
document.title = '健康上报'
},
methods: {
getStatis() {
this.$http.post(`/app/appepidemichealthreport/statistic`).then((res) => {
if (res.code == 0) {
// this.dataInfo = res.data
}
})
},
change(index) {
this.currentTabs = index
},