增加处方管理链接参数

This commit is contained in:
zoujiandong 2023-09-11 15:11:50 +08:00
parent b4db659620
commit 64ac0905da
2 changed files with 14 additions and 4 deletions

View File

@ -22,7 +22,17 @@ Page({
last_page: 0,
},
onLoad(options){
console.log(options.status)
if(options.status){
this.setData({
pharmacist_audit_status:options.status,
prescription_status:options.status
})
}
},
onShow(){
this.getList();
},
onTabsChange(e) {

View File

@ -2,14 +2,14 @@
<view class="container">
<view class="tabs">
<t-tabs
defaultValue="{{0}}"
value="{{prescription_status}}"
bind:change="onTabsChange"
bind:click="onTabsClick"
bind:scroll="onStickyScroll"
t-class="custom-tabs"
>
<t-tab-panel label="审核中" value="0" style="overflow: scroll;">
<t-tab-panel label="审核中" name ="0" value="0" style="overflow: scroll;">
<view class="item_list" style="overflow: scroll;">
<view class="item" wx:for="{{chufang_list_0}}">
@ -57,7 +57,7 @@
</view>
</t-tab-panel>
<!-- 审核通过面板 -->
<t-tab-panel label="审核通过" value="1" style="overflow: scroll;">
<t-tab-panel label="审核通过" value="1" name ="1" style="overflow: scroll;">
<view class="item_list" style="overflow: scroll;">
<view class="item" wx:for="{{chufang_list_1}}">
@ -105,7 +105,7 @@
</view>
</t-tab-panel>
<!-- 驳回面板 -->
<t-tab-panel label="驳回" value="2" style="overflow: scroll;">
<t-tab-panel label="驳回" value="2" name ="2" style="overflow: scroll;">
<view class="item_list" style="overflow: scroll;">
<view class="item" wx:for="{{chufang_list_2}}">