诊断信息录入增加open——id

This commit is contained in:
@zuopngfei 2025-08-11 15:21:54 +08:00
parent fea571df66
commit 71ffeb1912
4 changed files with 11 additions and 9 deletions

View File

@ -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() {

View File

@ -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>

View File

@ -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>

View File

@ -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
},
/**