Commit 834f4b41 by liuquan

3.1.5

U:修改页面文案区分"用户"与"患者"
parent c51f88b5
......@@ -122,6 +122,12 @@ Component({
return
}
let userID = wx.getStorageSync('data').account_number;
if(!userID){
wx.showToast({
title: '当前用户ID异常,请重启小程序',
})
return
}
let url = `/packageA/room/room?roomID=${roomID}&template=${that.data.template}&debugMode=${that.data.debugMode}&cloudenv=${that.data.cloudenv}&userID=${userID}&roomFile=${JSON.stringify(that.data.roomFile)}`
that.tapTime = nowTime
that.checkDeviceAuthorize().then((result) => {
......
......@@ -30,7 +30,7 @@
</view>
</view>
<view class="geren">
<text>个人资料</text>
<text>患者信息</text>
<text>电话不会显示您的真实号码,请放心使用</text>
</view>
<view class="two-wrap">
......@@ -38,7 +38,7 @@
<view class="tname">姓名</view>
<input class="sname" placeholder="请输入姓名或昵称" value="{{name}}" bindinput='bindName' maxlength="30"></input>
<view class="row height20" bindtap="changeUser">
<view class="ghyh">更换用户</view>
<view class="ghyh">选择患者</view>
<image class="right1" src="/images/arrow@2x.png"></image>
</view>
</view>
......
......@@ -259,7 +259,7 @@
<!-- 用户信息 -->
<block wx:if='{{item.type == "TIMCustomElem"&&item.payload.data=="UserInfo"&&introduction==1}}'>
<view class='userInfo'>
<view class="userInfo-title">用户信息</view>
<view class="userInfo-title">患者信息</view>
<view class="basicInfo">基本信息<text class="userInfo-text">{{item.payload.description.name}}</text></view>
<view class="userInfo-GSGN">肝肾功能<text class="userInfo-text">{{item.payload.description.disease}}</text></view>
<view class="userInfo-BYQK">备孕情况<text class="userInfo-text">{{item.payload.description.beiyun}}</text></view>
......
......@@ -221,7 +221,7 @@
<!-- 用户信息 -->
<!-- <block wx:if='{{item.msg_type == "TIMCustomElem"&&item.msg_content.data=="UserInfo"}}'>
<view class='userInfo'>
<view class="userInfo-title">用户信息</view>
<view class="userInfo-title">患者信息</view>
<view class="basicInfo">基本信息<text class="userInfo-text">{{item.msg_content.description.name}}</text></view>
<view class="userInfo-GSGN">肝肾功能<text class="userInfo-text">{{item.msg_content.description.disease}}</text></view>
<view class="userInfo-BYQK">备孕情况<text class="userInfo-text">{{item.msg_content.description.beiyun}}</text></view>
......
......@@ -3,5 +3,5 @@
"mp-toptips": "/miniprogram_npm/weui-miniprogram/toptips/toptips",
"answer":"/components/answer/answer"
},
"navigationBarTitleText": "用户信息"
"navigationBarTitleText": "患者信息"
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
<mp-toptips msg="{{errorToptips}}" delay="3000" type="error" show="{{errorToptips}}"></mp-toptips>
<view class="two-wrap">
<view class="flex-xm4">
<view class="tname">用户姓名</view>
<view class="tname">患者姓名</view>
<input type="text" class="weight" placeholder="必填" value="{{name}}" bindinput='bindName' maxlength="8"></input>
</view>
<view class="flex-xm4">
......
......@@ -723,7 +723,7 @@ Page({
var that = this;
wx.showModal({
title: '提示',
content: '确认删除此用户信息吗?',
content: '确认删除此患者信息吗?',
success(res) {
if (res.confirm) {
var data = {
......
......@@ -3,5 +3,5 @@
"mp-toptips": "/miniprogram_npm/weui-miniprogram/toptips/toptips",
"answer":"/components/answer/answer"
},
"navigationBarTitleText": "用户信息"
"navigationBarTitleText": "患者信息"
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
<answer id='answer'></answer>
<view class="two-wrap">
<view class="flex-xm4">
<view class="tname">用户姓名</view>
<view class="tname">患者姓名</view>
<input type="text" class="weight" placeholder="必填" value="{{name}}" bindinput='bindName' maxlength="30"></input>
</view>
<view class="flex-xm4">
......
......@@ -31,7 +31,7 @@
</block>
</view>
<view class="three-wrap">
<view class="btn" bindtap="addUser" style="margin-bottom:{{iPhoneX?90:30}}rpx;">新增用户</view>
<view class="btn" bindtap="addUser" style="margin-bottom:{{iPhoneX?90:30}}rpx;">新增患者</view>
</view>
</view>
<block wx:if="{{!showview}}">
......
......@@ -136,7 +136,7 @@ Page({
var that = this;
if (Util.isEmpty(that.data.item)) {
wx.showModal({
content: "请选择或添加用户信息",
content: "请选择或添加患者信息",
showCancel: false,
})
wx.hideLoading();
......@@ -144,7 +144,7 @@ Page({
} else if (that.data.needIdCard == 1 && that.data.item.card == "") {
wx.showModal({
title: '提示',
content: '请选择填写过身份证的用户',
content: '请选择填写过身份证的患者',
showCancel: false,
})
wx.hideLoading();
......
{
"navigationBarTitleText": "选择用户",
"navigationBarTitleText": "选择患者",
"usingComponents": {
"answer":"/components/answer/answer"
}
......
<answer id='answer'></answer>
<view class="patient">
<view class="title">请选择用户信息</view>
<view class="title">请选择患者信息</view>
<view class="con">以便医生给出更准确的治疗,信息仅医生可见</view>
</view>
<view class="flex addBtn" bindtap='myDetails' data-src="/packageA/editUser/editUser">
<image src="/images/add.png"></image>
<text>添加用户</text>
<text>添加患者</text>
</view>
<view style="padding-bottom:{{iPhoneX?200:120}}rpx;">
<view wx:for='{{infoList}}' wx:for-item='item' wx:key='index' class="info {{iShow==item.id?'active':''}}" bindtap="switch" data-index="index" data-item="{{item}}" data-id="{{item.id}}">
......
......@@ -7,7 +7,7 @@ Page({
reportRedD: false, //报告红点展示
reportRedNum: 0, //未作报告数量
disabled:true,//防止重复点击
version:'3.1.4',
version:'3.1.5',
isShow:false,
showClose:true,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment