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-actions">
<view class="goods-action" @click="handleAssetAction('待使用')"> <view class="goods-action" @click="handleAssetAction('待使用')">
<text>待使用</text> <uni-badge size="small" :text="1" absolute="rightTop" >
<text>待使用</text>
</uni-badge>
</view> </view>
<view class="goods-action" @click="handleAssetAction('待收货')"> <view class="goods-action" @click="handleAssetAction('待收货')">
<text>待收货</text> <text>待收货</text>
@ -374,7 +377,8 @@ export default {
exchangeCode: "", // exchangeCode: "", //
memorialItems: [], memorialItems: [],
assetList: [], assetList: [],
agentList:[] agentList:[],
orderStatus:[]
}; };
}, },
onLoad() { onLoad() {
@ -391,12 +395,33 @@ export default {
this.getOrderChildList(); this.getOrderChildList();
this.getUserInfo(); this.getUserInfo();
this.getAgentList() this.getAgentList()
this.getOrderStatus()
} }
}, },
methods: { methods: {
getOrderStatus(){
this.Post({}, "/framework/order/orderCountByStatus", "DES").then((res) => {
this.orderStatus = res.data
});
},
getAgentList(){ getAgentList(){
this.Post({}, "/framework/agent/purchaseList", "DES").then((res) => { 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() { getUserInfo() {

Loading…
Cancel
Save