mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-08 15:35:36 +00:00
no message
This commit is contained in:
parent
1cf5a24c26
commit
4024cfb7c7
@ -575,12 +575,12 @@ class SystemController extends AbstractController
|
||||
$data['error'][] = '终端MAC与License不匹配';
|
||||
}
|
||||
}
|
||||
if ($data['user_count'] > $data['info']['people']) {
|
||||
$data['error'][] = '终端用户数超过License限制';
|
||||
}
|
||||
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
|
||||
$data['error'][] = '终端License已过期';
|
||||
}
|
||||
}
|
||||
if ($data['user_count'] > $data['info']['people']) {
|
||||
$data['error'][] = '终端用户数超过License限制';
|
||||
}
|
||||
if ($data['info']['expired_at'] && strtotime($data['info']['expired_at']) <= Base::time()) {
|
||||
$data['error'][] = '终端License已过期';
|
||||
}
|
||||
//
|
||||
return Base::retSuccess('success', $data);
|
||||
|
||||
@ -2,7 +2,9 @@
|
||||
<div class="page-dashboard">
|
||||
<PageTitle :title="$L('仪表盘')"/>
|
||||
<div class="dashboard-wrapper">
|
||||
<Alert v-if="warningMsg" class="dashboard-warning" type="warning" show-icon>{{warningMsg}}</Alert>
|
||||
<Alert v-if="warningMsg" class="dashboard-warning" type="warning" show-icon>
|
||||
<span @click="goForward({name: 'manage-setting-license'})">{{warningMsg}}</span>
|
||||
</Alert>
|
||||
<div class="dashboard-hello">{{$L('欢迎您,' + userInfo.nickname)}}</div>
|
||||
<div class="dashboard-desc">
|
||||
{{$L('以下是你当前的任务统计数据')}}
|
||||
|
||||
@ -18,6 +18,10 @@
|
||||
border-top: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
padding-right: 14px;
|
||||
> span {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard-hello,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user