切换导航条
此项目
正在载入...
登录
root
/
sleep
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
潘浩文
6 years ago
提交
e274e5af631fb9de2aaf3bd4e4cbd4c5513c35c2
1 个父辈
802d2365
1 个管道 的构建
通过
耗费 3 秒
XIAOPAN
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
15 行增加
和
2 行删除
app/portal/controller/AdminUsersController.php
public/themes/admin_simpleboot3/portal/admin_users/index.html
app/portal/controller/AdminUsersController.php
查看文件 @
e274e5a
...
...
@@ -41,6 +41,12 @@ class AdminUsersController extends AdminBaseController{
->
join
(
'equipment e'
,
'o.eq_name=e.name'
)
->
where
([
'o.users_id'
=>
$item
[
'id'
],
'o.state'
=>
1
])
->
find
()[
'serial_number'
];
}
$re
=
Db
::
name
(
'order'
)
->
where
([
'type'
=>
2
,
'state'
=>
3
,
'users_id'
=>
$item
[
'id'
]])
->
find
();
if
(
$re
){
$item
[
'recharge'
]
=
1
;
}
else
{
$item
[
'recharge'
]
=
1
;
}
return
$item
;
});
$data
->
appends
(
$param
);
...
...
public/themes/admin_simpleboot3/portal/admin_users/index.html
查看文件 @
e274e5a
...
...
@@ -35,7 +35,8 @@
<!--<th>微信头像</th>-->
<th>
手机号
</th>
<th>
是否交了押金
</th>
<th>
押金
</th>
<th>
是否充值
</th>
<th>
余额
</th>
<th>
使用设备
</th>
</tr>
</thead>
...
...
@@ -61,7 +62,13 @@
</switch>
</td>
<td>
{$vo.deposit|default='0'}
<switch
name=
"vo.recharge"
>
<case
value=
"0"
><span
class=
"label label-warning"
>
未充值
</span></case>
<case
value=
"1"
><span
class=
"label label-success"
>
已充值
</span></case>
</switch>
</td>
<td>
{$vo.fee}元
</td>
<td>
<eq
name=
"vo.is_use"
value=
"1"
>
...
...
请
注册
或
登录
后发表评论