mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	看板提醒商业版过期日期
This commit is contained in:
		@@ -26,5 +26,5 @@ Vue.component("micro-basic-label", {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// 灰色的Label
 | 
					// 灰色的Label
 | 
				
			||||||
Vue.component("grey-label", {
 | 
					Vue.component("grey-label", {
 | 
				
			||||||
	template: `<span class="ui label basic grey tiny" style="margin-top: 0.4em; font-size: 0.7em; border: 1px solid #ddd!important; font-weight: normal; margin-left: -0.2em"><slot></slot></span>`
 | 
						template: `<span class="ui label basic grey tiny" style="margin-top: 0.4em; font-size: 0.7em; border: 1px solid #ddd!important; font-weight: normal;"><slot></slot></span>`
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -63,7 +63,7 @@
 | 
				
			|||||||
            <a href="" class="item" title="点击切换界面风格" @click.prevent="changeTheme()"><i class="icon adjust"></i></a>
 | 
					            <a href="" class="item" title="点击切换界面风格" @click.prevent="changeTheme()"><i class="icon adjust"></i></a>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <!-- 企业版 -->
 | 
					            <!-- 企业版 -->
 | 
				
			||||||
           <!-- <a :href="'/settings/authority'" class="item" title="企业版" :v-if="teaIsPlus"><i class="icon gem outline yellow"></i></a>-->
 | 
					           <!-- <a :href="'/settings/authority'" class="item" title="商业版" :v-if="teaIsPlus"><i class="icon gem outline yellow"></i></a>-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <!-- 退出登录 -->
 | 
					            <!-- 退出登录 -->
 | 
				
			||||||
            <a :href="Tea.url('logout')" class="item" title="安全退出登录"><i class="icon sign out"></i>
 | 
					            <a :href="Tea.url('logout')" class="item" title="安全退出登录"><i class="icon sign out"></i>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,6 +16,12 @@
 | 
				
			|||||||
    <a :href="'/clusters/cluster/createNode?clusterId=' + dashboard.defaultClusterId">还没有在集群中添加节点,现在去添加?添加节点后才可部署网站服务。</a>
 | 
					    <a :href="'/clusters/cluster/createNode?clusterId=' + dashboard.defaultClusterId">还没有在集群中添加节点,现在去添加?添加节点后才可部署网站服务。</a>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- 过期提醒 -->
 | 
				
			||||||
 | 
					<div class="ui icon message error" v-if="plusExpireDay.length > 0">
 | 
				
			||||||
 | 
					    <i class="icon warning circle"></i>
 | 
				
			||||||
 | 
					    <strong>续费提醒:商业版服务即将在 {{plusExpireDay}} 过期,请及时续费。</strong>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- 升级提醒 -->
 | 
					<!-- 升级提醒 -->
 | 
				
			||||||
<div class="ui icon message error" v-if="!isLoading && nodeUpgradeInfo.count > 0">
 | 
					<div class="ui icon message error" v-if="!isLoading && nodeUpgradeInfo.count > 0">
 | 
				
			||||||
    <i class="icon warning circle"></i>
 | 
					    <i class="icon warning circle"></i>
 | 
				
			||||||
@@ -41,7 +47,7 @@
 | 
				
			|||||||
</div>
 | 
					</div>
 | 
				
			||||||
<div class="ui icon message error" v-if="!isLoading && authorityNodeUpgradeInfo.count > 0 && teaIsPlus">
 | 
					<div class="ui icon message error" v-if="!isLoading && authorityNodeUpgradeInfo.count > 0 && teaIsPlus">
 | 
				
			||||||
    <i class="icon warning circle"></i>
 | 
					    <i class="icon warning circle"></i>
 | 
				
			||||||
    <a href="/settings/authority/nodes">升级提醒:有 {{authorityNodeUpgradeInfo.count}} 个企业版认证节点需要升级到 v{{authorityNodeUpgradeInfo.version}} 版本</a><a href="" title="关闭" @click.prevent="closeMessage"><i class="ui icon remove small"></i></a>
 | 
					    <a href="/settings/authority/nodes">升级提醒:有 {{authorityNodeUpgradeInfo.count}} 个商业版认证节点需要升级到 v{{authorityNodeUpgradeInfo.version}} 版本</a><a href="" title="关闭" @click.prevent="closeMessage"><i class="ui icon remove small"></i></a>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- 统计图表 -->
 | 
					<!-- 统计图表 -->
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,6 +2,7 @@ Tea.context(function () {
 | 
				
			|||||||
	this.isLoading = true
 | 
						this.isLoading = true
 | 
				
			||||||
	this.trafficTab = "hourly"
 | 
						this.trafficTab = "hourly"
 | 
				
			||||||
	this.metricCharts = []
 | 
						this.metricCharts = []
 | 
				
			||||||
 | 
						this.plusExpireDay = ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this.$delay(function () {
 | 
						this.$delay(function () {
 | 
				
			||||||
		this.$post("$")
 | 
							this.$post("$")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
{$layout}
 | 
					{$layout}
 | 
				
			||||||
{$template "menu"}
 | 
					{$template "menu"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<warning-message v-if="key == null">认证之后,可以使用企业版功能,当前你还没有认证,<a href="http://edge.teaos.cn/docs/Plus/Authority/Index.md" target="_blank">[在这里看认证方法]</a>。</warning-message>
 | 
					<warning-message v-if="key == null">认证之后,可以使用商业版功能,当前你还没有认证,<a href="http://edge.teaos.cn/docs/Plus/Authority/Index.md" target="_blank">[在这里看认证方法]</a>。</warning-message>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div v-if="key != null">
 | 
					<div v-if="key != null">
 | 
				
			||||||
    <div class="margin"></div>
 | 
					    <div class="margin"></div>
 | 
				
			||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
    <div class="ui message green icon">
 | 
					    <div class="ui message green icon">
 | 
				
			||||||
        <i class="icon gem outline small yellow"></i>
 | 
					        <i class="icon gem outline small yellow"></i>
 | 
				
			||||||
        <div class="content">
 | 
					        <div class="content">
 | 
				
			||||||
            恭喜您已经成为尊贵的企业版用户。
 | 
					            恭喜您已经成为尊贵的商业版用户。
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user