You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
556 B
24 lines
556 B
4 years ago
|
<template>
|
||
|
<view> </view>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
onLoad(options => {
|
||
|
// 根据交付物id获取上传记录
|
||
|
(async function getHistory() {
|
||
|
try {
|
||
|
const param = { deliverId: options.deliverId };
|
||
|
const data = await uni.$u.api.getDeliverHistory(param);
|
||
|
name.value = data.deliverName;
|
||
|
listRef.value = data.deliverRecordList;
|
||
|
console.log(data);
|
||
|
} catch (error) {
|
||
|
console.log('error: ', error);
|
||
|
uni.$ui.showToast('获取交付物历史失败');
|
||
|
}
|
||
|
}());
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss"></style>
|