1. 开方2.0优化重构,线下接诊已完成

This commit is contained in:
李琦
2026-05-12 10:10:38 +08:00
parent 45996a26b6
commit e9966af14d
21 changed files with 3069 additions and 3208 deletions

View File

@@ -201,14 +201,13 @@
</view>
</scroll-view>
<!-- 底部按钮 -->
<!-- 底部按钮另存常用方未对接保存接口不展示 -->
<view class="bottom flex-jus-sp flex-ali-center safe-area-inset-bottom">
<view class="btnText" @click="saveAsCommonPrescription">另存常用方</view>
<u-button
:throttle-time="0"
@click="sendPrescription"
shape="circle"
:custom-style="{backgroundColor:buttonLodging?'#A5DCD2':'#6ACDBB',color:'#fff',height:'86rpx', width: '448rpx'}"
:custom-style="{backgroundColor:buttonLodging?'#A5DCD2':'#6ACDBB',color:'#fff',height:'86rpx', width: '686rpx'}"
:disabled="buttonLodging">
发送处方
</u-button>
@@ -708,18 +707,6 @@ export default {
}
},
/**
* 另存常用方
*/
async saveAsCommonPrescription() {
if (this.currentDrugs.length === 0) {
uni.showToast({ title: '请先添加药品后再保存为常用方', icon: 'none' });
return;
}
uni.showToast({ title: '另存常用方功能待实现', icon: 'none' });
// TODO: 实现另存常用方功能
},
/**
* 返回
*/