diff --git a/src/component/Administrator/subscriptionPlan.vue b/src/component/Administrator/subscriptionPlan.vue new file mode 100644 index 00000000..af1691ea --- /dev/null +++ b/src/component/Administrator/subscriptionPlan.vue @@ -0,0 +1,669 @@ + + + + + + + diff --git a/src/component/HomePage/renew.vue b/src/component/HomePage/renew.vue index c33ee0ea..57148cb7 100644 --- a/src/component/HomePage/renew.vue +++ b/src/component/HomePage/renew.vue @@ -854,6 +854,7 @@ export default defineComponent({ height: 4rem; box-sizing: border-box; line-height: 4rem; + border-radius: 0.6rem; } > .payMethod_payAffirm_clause { text-align: center; diff --git a/src/router/index.ts b/src/router/index.ts index 1be5c769..b6606e7c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -290,6 +290,13 @@ const routes: Array = [ component: () => import("@/component/Administrator/organization/organization.vue"), }, + { + path: "subscriptionPlan", + name: "subscriptionPlan", + meta: { enter: 3 }, + component: () => + import("@/component/Administrator/subscriptionPlan.vue"), + }, //企业版教育管理员页面 { path: "allUserSE", diff --git a/src/tool/adminRouter.js b/src/tool/adminRouter.js index 7312c682..dcea9b8c 100644 --- a/src/tool/adminRouter.js +++ b/src/tool/adminRouter.js @@ -177,6 +177,12 @@ const all = (t)=>{ route:'/administrator/organization', key:'sub13', isShow:true, + },{ + name:'Subscription Plan', + icon:'usetime', + route:'/administrator/subscriptionPlan', + key:'sub14', + isShow:true, }] } const schoolOrEnterprise = (t) =>{ diff --git a/src/tool/https.js b/src/tool/https.js index a0352e4a..e49e16d0 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -325,6 +325,11 @@ export const Https = { deletePromCode:`/api/stripe/deletePromCode`,//删除优惠券 addOrganization:`/api/inquiry/addOrganization`,//添加企业版或者教育版 queryOrganization:`/api/inquiry/queryOrganization`,//查询企业版或者教育版 + createSubscribePlan:'/api/subscription_plan/createPlan', // 创建订阅计划 + deleteSubscribePlan: '/api/subscription_plan/deletePlan', // 删除订阅计划 + updateSubscribePlan: '/api/subscription_plan/updatePlan', // 修改订阅计划 + searchAllSubscribePlan: '/api/subscription_plan/searchByPage', // 查询所有订阅计划 + switchSubscribePlan:'/api/subscription_plan/switchSubscriptionPlan', // 切换订阅计划 //云生成