Browse Source

激素 bugfix

dev
kola-web 2 months ago
parent
commit
cb0edcb0af
  1. 5
      src/patient/pages/hormones/index.scss
  2. 5
      src/patient/pages/hormones/index.ts
  3. 4
      src/patient/pages/hormonesStart/index.ts
  4. 2
      src/patient/pages/index/index.wxml

5
src/patient/pages/hormones/index.scss

@ -138,10 +138,15 @@ page { @@ -138,10 +138,15 @@ page {
min-width: 3em;
max-width: 4em;
color: #211D2E;
font-size: 40rpx;
}
.palce-input{
color: #ADACB2;
}
.sub{
font-size: 40rpx;
color: #211D2E;
}
}
.description {
margin-top: 32rpx;

5
src/patient/pages/hormones/index.ts

@ -83,9 +83,14 @@ Page({ @@ -83,9 +83,14 @@ Page({
focus: false,
},
onLoad(options) {
console.log("DEBUGPRINT[139]: index.ts:85: options=", options)
app.waitLogin({ type: [1] }).then(() => {
this.getBaseInfo()
if (Number(options.id) > 0) {
wx.showToast({
icon: 'none',
title: '每日仅录入1次,您可修改已录信息',
})
this.getDetail(options.id)
}
})

4
src/patient/pages/hormonesStart/index.ts

@ -7,10 +7,6 @@ Page({ @@ -7,10 +7,6 @@ Page({
onLoad(options) {
app.waitLogin({ type: [1] }).then(() => {
if (options.id) {
wx.showToast({
icon: 'none',
title: '每日仅录入1次,您可修改已录信息',
})
this.setData({
id: options.id,
})

2
src/patient/pages/index/index.wxml

@ -90,7 +90,7 @@ @@ -90,7 +90,7 @@
最近一次录入时间 {{hormoneDetail.createTime}}
</view>
<view
wx:if="{{hormoneDetail.recordId}}"
wx:if="{{hormoneDetail.recordId>0}}"
class="btn"
catch:tap="routerTo"
data-url="/patient/pages/hormones/index?id={{hormoneDetail.recordId}}"

Loading…
Cancel
Save