Commit 54511b54 by 叶明星

优化邀请列表

parent 13c5c6da
......@@ -52,5 +52,5 @@ MENU_SIGN=/web/
LOGIN_DOMAIN=user.icsales.cc
ES_URL = http://soapi.icsales.com:8001
BASE_SERVER_URL = 192.168.20.10:61009
BASE_SERVER_URL = 192.168.2.232:61009
......@@ -34,6 +34,7 @@ layui.use(['table', 'form', 'laydate', 'layer'], function () {
, {field: 'invited_user_id', title: '被邀请用户Id'}
, {field: 'invited_user_mobile', title: '被邀请用户手机'}
, {field: 'add_time', title: '邀请时间'}
, {field: 'status', title: '认证状态', templet:'#status'}
]]
, id: 'Invite'
, page: {}
......
......@@ -28,3 +28,20 @@
<table class="layui-table" id="Invite" lay-filter="Invite"></table>
</div>
</div>
<script type="text/html" id="status">
@{{# if(d.status == 1){ }}
<button class="btn btn-xs btn-outline btn-warning">
<strong>待认证</strong>
</button>
@{{# }else if(d.status ==2 ){ }}
<button class="btn btn-xs btn-outline btn-success">
<strong>已认证</strong>
</button>
@{{# }else{ }}
<button class="btn btn-xs btn-outline btn-danger">
<strong>未知</strong>
</button>
@{{# } }}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment