Browse Source

假数据对接

dev_des
1054425342@qq.com 2 months ago
parent
commit
f889055866
  1. 31
      pages/index/iSoul.vue

31
pages/index/iSoul.vue

@ -157,7 +157,10 @@
<!-- 底部操作按钮 -->
<view class="goods-actions">
<view class="goods-action" @click="handleAssetAction('待使用')">
<text>待使用</text>
<uni-badge size="small" :text="1" absolute="rightTop" >
<text>待使用</text>
</uni-badge>
</view>
<view class="goods-action" @click="handleAssetAction('待收货')">
<text>待收货</text>
@ -374,7 +377,8 @@ export default {
exchangeCode: "", //
memorialItems: [],
assetList: [],
agentList:[]
agentList:[],
orderStatus:[]
};
},
onLoad() {
@ -391,12 +395,33 @@ export default {
this.getOrderChildList();
this.getUserInfo();
this.getAgentList()
this.getOrderStatus()
}
},
methods: {
getOrderStatus(){
this.Post({}, "/framework/order/orderCountByStatus", "DES").then((res) => {
this.orderStatus = res.data
});
},
getAgentList(){
this.Post({}, "/framework/agent/purchaseList", "DES").then((res) => {
this.agentList = res.data
this.agentList = [
{
headImage:
"https://epic.js-dyyj.com/uploads/20250728/d27ef6e6c26877da7775664fed376c6f.png",
name:'文徵明',
status:0
},
{
headImage:
"https://epic.js-dyyj.com/uploads/20250728/d7bf0dd2f3f272afba687b525a7c575c.png",
name:'颜真卿',
status:1
},
]
});
},
getUserInfo() {

Loading…
Cancel
Save