浏览代码

feat:配置文件

zhanghui 3 月之前
父节点
当前提交
1916dc3b1c
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      pages/index/index.vue

+ 10 - 0
pages/index/index.vue

@@ -689,6 +689,7 @@ export default {
         if (!this.currService) {
           return
         }
+        this.currServiceList()
         this.equityCard(this.currService)
         this.currService.avatar = this.currService.avatar.replace(/^http:/, "https:")
       }).catch(err => {
@@ -699,6 +700,15 @@ export default {
 
     },
 
+    currServiceInfoList(){
+      this.$api.service.currServiceInfoList({
+        storeId: this.userInfo.workStoreId,
+        orderNo: this.currService.orderNo
+      }).then(res=>{
+        this.currServiceList  =  res.data.data
+      })
+    },
+
     //查询是否是有权益卡的服务对象
     equityCard(data) {
       if (!data || !data.serviceObjectId) {