Commit 48e919ed authored by 李智书's avatar 李智书

1.提交更新

parent ab9ea15a
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</van-tab> </van-tab>
</van-tabs> </van-tabs>
<!-- 选择日期组件 --> <!-- 选择日期组件 -->
<van-calendar v-model="calendar" :min-date="minDate" :max-range="93" :show-confirm="true" position="bottom" <van-calendar v-model="calendar" :min-date="minDate" :max-range="93" :show-confirm="true" position="bottom"
color="#01CB88" type="range" @confirm="onConfirm" /> color="#01CB88" type="range" @confirm="onConfirm" />
<!-- 门店选择 --> <!-- 门店选择 -->
<van-popup v-model="showPicker" round position="bottom"> <van-popup v-model="showPicker" round position="bottom">
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
console.warn(item, index) console.warn(item, index)
uni.setStorageSync("details", item) uni.setStorageSync("details", item)
uni.navigateTo({ uni.navigateTo({
url: "../transactionDetails/transactionDetails", url: `../transactionDetails/transactionDetails?starttime=${this.starttime}&endtime=${this.endtime}`,
success: () => { success: () => {
loading.clear(); loading.clear();
} }
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,10 @@
} }
}, },
onLoad: function(options) { onLoad: function(options) {
if (options['endtime'] && options['starttime']) {
this.starttime = options['starttime']
this.endtime = options['endtime']
}
this.DeviceInfo() this.DeviceInfo()
this.DeviceFlows() this.DeviceFlows()
}, },
......
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