|
@@ -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
|