诊断信息录入增加open——id
This commit is contained in:
parent
fea571df66
commit
71ffeb1912
@ -43,7 +43,7 @@ Page({
|
||||
async getSfList() {
|
||||
|
||||
this.followPlans()
|
||||
this.getArticleList()
|
||||
// this.getArticleList()
|
||||
this.getCarList()
|
||||
},
|
||||
async followPlans() {
|
||||
@ -152,7 +152,7 @@ Page({
|
||||
|
||||
|
||||
onLoad() {
|
||||
|
||||
this.getArticleList()
|
||||
},
|
||||
|
||||
onReady() {
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
<text lines="1" class="text_2">手机号登录/注册</text>
|
||||
</view>
|
||||
<view class="text-wrapper_3">
|
||||
<text lines="1" class="text_4">登录或注册完成即代表您同意</text>
|
||||
<text lines="1" class="text_5">《用户服务协议》</text>
|
||||
<!-- <text lines="1" class="text_4">登录或注册完成即代表您同意</text>
|
||||
<text lines="1" class="text_5">《用户服务协议》</text> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
<text lines="1" class="text_4" bind:tap="login">登录/注册</text>
|
||||
</view>
|
||||
<view class="text-wrapper_2">
|
||||
<text lines="1" class="text_6">登录或注册完成即代表您同意</text>
|
||||
<text lines="1" class="text_7">《用户服务协议》</text>
|
||||
<!-- <text lines="1" class="text_6">登录或注册完成即代表您同意</text>
|
||||
<text lines="1" class="text_7">《用户服务协议》</text> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -29,7 +29,7 @@ Page({
|
||||
msg: ''
|
||||
},
|
||||
formKey: '',
|
||||
|
||||
open_id: '',
|
||||
|
||||
getUserinfo(e) {
|
||||
console.log(e)
|
||||
@ -127,6 +127,7 @@ Page({
|
||||
title: '正在提交...',
|
||||
})
|
||||
const body = {
|
||||
open_id: this.open_id,
|
||||
username: this.data.form.username,
|
||||
mmp_7: this.data.form.mmp_7,
|
||||
day: Number(this.data.form.day),
|
||||
@ -154,7 +155,8 @@ Page({
|
||||
const resd = await request('patient/diagnostic/search', 'post', {
|
||||
mobile: this.data.form.mobile,
|
||||
user_id: data.user_id,
|
||||
username: this.data.form.username
|
||||
username: this.data.form.username,
|
||||
open_id: this.open_id,
|
||||
})
|
||||
if(resd.success == true){
|
||||
wx.hideLoading()
|
||||
@ -181,7 +183,7 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
this.open_id = options.scrm_userid
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user