Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
XDJK
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wechatminiprogram
XDJK
Commits
834f4b41
Commit
834f4b41
authored
Dec 30, 2020
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.1.5
U:修改页面文案区分"用户"与"患者"
parent
c51f88b5
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
24 additions
and
16 deletions
+24
-16
components/answer/answer.js
+6
-0
packageA/buyService/buyService.wxml
+2
-2
packageA/chat/chat.wxml
+1
-1
packageA/chattingRecords/chattingRecords.wxml
+1
-1
packageA/editPatientInfo/editPatientInfo.json
+2
-1
packageA/editPatientInfo/editPatientInfo.wxml
+1
-1
packageA/editUser/editUser.js
+1
-1
packageA/editUser/editUser.json
+2
-1
packageA/editUser/editUser.wxml
+1
-1
packageA/patientList/patientList.wxml
+1
-1
packageA/selectUser/selectUser.js
+2
-2
packageA/selectUser/selectUser.json
+1
-1
packageA/selectUser/selectUser.wxml
+2
-2
pages/my/my.js
+1
-1
No files found.
components/answer/answer.js
View file @
834f4b41
...
...
@@ -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
)
=>
{
...
...
packageA/buyService/buyService.wxml
View file @
834f4b41
...
...
@@ -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>
...
...
packageA/chat/chat.wxml
View file @
834f4b41
...
...
@@ -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>
...
...
packageA/chattingRecords/chattingRecords.wxml
View file @
834f4b41
...
...
@@ -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>
...
...
packageA/editPatientInfo/editPatientInfo.json
View file @
834f4b41
...
...
@@ -3,5 +3,5 @@
"mp-toptips"
:
"/miniprogram_npm/weui-miniprogram/toptips/toptips"
,
"answer"
:
"/components/answer/answer"
},
"navigationBarTitleText"
:
"
用户
信息"
"navigationBarTitleText"
:
"
患者
信息"
}
\ No newline at end of file
packageA/editPatientInfo/editPatientInfo.wxml
View file @
834f4b41
...
...
@@ -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">
...
...
packageA/editUser/editUser.js
View file @
834f4b41
...
...
@@ -723,7 +723,7 @@ Page({
var
that
=
this
;
wx
.
showModal
({
title
:
'提示'
,
content
:
'确认删除此
用户
信息吗?'
,
content
:
'确认删除此
患者
信息吗?'
,
success
(
res
)
{
if
(
res
.
confirm
)
{
var
data
=
{
...
...
packageA/editUser/editUser.json
View file @
834f4b41
...
...
@@ -3,5 +3,5 @@
"mp-toptips"
:
"/miniprogram_npm/weui-miniprogram/toptips/toptips"
,
"answer"
:
"/components/answer/answer"
},
"navigationBarTitleText"
:
"
用户
信息"
"navigationBarTitleText"
:
"
患者
信息"
}
\ No newline at end of file
packageA/editUser/editUser.wxml
View file @
834f4b41
...
...
@@ -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">
...
...
packageA/patientList/patientList.wxml
View file @
834f4b41
...
...
@@ -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}}">
...
...
packageA/selectUser/selectUser.js
View file @
834f4b41
...
...
@@ -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
();
...
...
packageA/selectUser/selectUser.json
View file @
834f4b41
{
"navigationBarTitleText"
:
"选择
用户
"
,
"navigationBarTitleText"
:
"选择
患者
"
,
"usingComponents"
:
{
"answer"
:
"/components/answer/answer"
}
...
...
packageA/selectUser/selectUser.wxml
View file @
834f4b41
<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}}">
...
...
pages/my/my.js
View file @
834f4b41
...
...
@@ -7,7 +7,7 @@ Page({
reportRedD
:
false
,
//报告红点展示
reportRedNum
:
0
,
//未作报告数量
disabled
:
true
,
//防止重复点击
version
:
'3.1.
4
'
,
version
:
'3.1.
5
'
,
isShow
:
false
,
showClose
:
true
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment