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