Browse Source

处理合并问题

liqk 3 năm trước cách đây
mục cha
commit
b037222a53
1 tập tin đã thay đổi với 2 bổ sung16 xóa
  1. 2 16
      TEAMModelOS/ClientApp/src/view/auth/Product.vue

+ 2 - 16
TEAMModelOS/ClientApp/src/view/auth/Product.vue

@@ -1,4 +1,4 @@
-<template>
+<template>
     <div class="product-container">
         <Loading v-show="isLoading"></Loading>
         <!-- 模组列表 -->
@@ -57,7 +57,7 @@
                     </span>
                 </div>
                 <Alert show-icon v-if="spaceStatus == 2" type="warning">
-                    <p style="font-size:12px">
+                    <p s tyle="font-size:12px">
                         {{$t('auth.spaceWarning')}}
                     </p>
                 </Alert>
@@ -218,20 +218,6 @@ export default {
                     item.time = svc.time //目前暂定取time字段,后续确认返回格式
                 }
             })
-        getProductInfo() {
-            this.isLoading = true
-            this.$api.serviceDriveAuth.getSchoolProduct(this.$store.state.userInfo.schoolCode).then(
-                res => {
-                    let services = res.service || []
-                    this.productList.forEach(item => {
-                        let svc = services.find(s => s.prodCode == item.prodCode)
-                        if (svc) {
-                            item.isPay = 1
-                            item.start = svc.avaliableStartDate 
-                            item.end = svc.avaliableEndDate
-                        }
-                    })
-
             //获取学校规模授权数量
             let scaleInfo = services.find(item => item.prodCode === '3CLYJ6NP')
             if (scaleInfo) this.scaleCount = scaleInfo.avaliable || 0