记得上下班打卡 | git大法好,push需谨慎

Commit b588b8eb authored by zhengfuxin's avatar zhengfuxin

Merge branch 'dev-smile' of gitlab.zhengzai.tv:dongjingwei/liquidnet-bus-v1 into dev-smile

parents 1f26aa34 ba4631ea
......@@ -10,9 +10,9 @@ spring:
cloud:
config:
# uri: http://127.0.0.1:7002/support-config
uri: http://39.107.71.112:7002/support-config
# uri: http://39.107.71.112:7002/support-config
name: ${spring.application.name},${spring.application.name}-druid #默认为spring.application.name
profile: ${liquidnet.cloudConfig.profile}
# discovery:
# enabled: true
# service-id: liquidnet-support-config
discovery:
enabled: true
service-id: liquidnet-support-config
......@@ -258,16 +258,16 @@
title: '地区'
},
{
field: 'activityType',
field: 'agentName',
title: '组长'
},
{
field: 'smileUserVoOrgListOrdinary',
title: '组员',
formatter: function (value, row, index) {
}
},
// {
// field: 'smileUserVoOrgListOrdinary',
// title: '组员',
// formatter: function (value, row, index) {
//
// }
// },
{
title: '操作',
align: 'center',
......
......@@ -8,31 +8,38 @@
width: 800px;
padding-top: 20px;
}
#addClassify .selectClassify {
display: flex;
align-items: center;
padding: 0 20px;
}
#addClassify .selectClassify label {
display: flex;
margin-right: 20px;
align-items: center;
}
#addClassify .selectClassify label input {
margin: 0;
margin-right: 2px;
}
#detailPro .detail_inner {
margin-bottom: 20px;
}
#detailPro .detail_title {
margin-top: 50px;
font-weight: bold;
font-size: 16px;
}
.form-group span {
padding-right: 20px;
}
.bottomBtn {
text-align: left;
padding: 10px 15px 12px;
......@@ -42,24 +49,24 @@
<body class="gray-bg">
<div class="container-div">
<div class="row">
<!-- <div class="col-sm-12 search-collapse">-->
<!-- <form id="formId">-->
<!-- <div class="select-list">-->
<!-- <ul>-->
<!-- <li>-->
<!-- <label>手机号:</label>-->
<!-- <input type="text" name="activityTitle"/>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i-->
<!-- class="fa fa-search"></i>&nbsp;搜索</a>-->
<!--&lt;!&ndash; <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i&ndash;&gt;-->
<!--&lt;!&ndash; class="fa fa-refresh"></i>&nbsp;重置</a>&ndash;&gt;-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- <div class="col-sm-12 search-collapse">-->
<!-- <form id="formId">-->
<!-- <div class="select-list">-->
<!-- <ul>-->
<!-- <li>-->
<!-- <label>手机号:</label>-->
<!-- <input type="text" name="activityTitle"/>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i-->
<!-- class="fa fa-search"></i>&nbsp;搜索</a>-->
<!--&lt;!&ndash; <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i&ndash;&gt;-->
<!--&lt;!&ndash; class="fa fa-refresh"></i>&nbsp;重置</a>&ndash;&gt;-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<div class="col-sm-12 select-table table-bordered">
<table id="bootstrap-table"></table>
</div>
......@@ -89,7 +96,7 @@
// // exportUrl: prefix + "/export",
// // modalName: "订单",
var subOArr = [];
$(function() {
$(function () {
var options = {
url: smilePrefix + "/list",
columns: [{
......@@ -126,7 +133,7 @@
{
field: 'status',
title: '打款状态',
formatter: function(value, row, index) {
formatter: function (value, row, index) {
if (value == 1) {
return '已打款';
} else {
......@@ -137,7 +144,7 @@
{
field: 'comment',
title: '序列',
formatter: function(value, row, index) {
formatter: function (value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="topBtn(\'' + row.performancesId + '\')"><i class="fa fa-edit"></i>置顶</a> ');
return actions.join('');
......@@ -146,7 +153,7 @@
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
formatter: function (value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="toPop(\'' + row.performancesId + '\')"><i class="fa fa-edit"></i>设置票提</a> ');
actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="editPop(\'' + row.performancesId + '\')"><i class="fa fa-edit"></i>编辑票提</a> ');
......@@ -166,10 +173,11 @@
$.ajax({
type: 'post',
url: ctx + 'smile/show/sort',
headers:{"Content-Type":"application/json;charset=UTF-8"},
headers: {"Content-Type": "application/json;charset=UTF-8"},
data: JSON.stringify(postData),
success:function(e) {
success: function (e) {
// alert(e.msg)
location.reload();
}
});
}
......@@ -196,9 +204,9 @@
$.ajax({
type: 'post',
url: ctx + 'smile/agent/create',
headers:{"Content-Type":"application/json;charset=UTF-8"},
headers: {"Content-Type": "application/json;charset=UTF-8"},
data: JSON.stringify(postData),
success:function(e) {
success: function (e) {
$(".layui-layer-close1").click();
}
});
......@@ -218,8 +226,8 @@
$.ajax({
type: 'post',
url: ctx + 'smile/agent/list?performancesId=' + id,
headers:{"Content-Type":"application/json;charset=UTF-8"},
success:function(e) {
headers: {"Content-Type": "application/json;charset=UTF-8"},
success: function (e) {
subOArr = e.data;
for (var i in e.data) {
$('#addClassify .form-group').append(
......@@ -234,7 +242,7 @@
}
});
},
cancel: function(res){
cancel: function (res) {
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
});
......@@ -254,16 +262,16 @@
$.ajax({
type: 'post',
url: ctx + 'smile/agent/list?performancesId=' + id,
headers:{"Content-Type":"application/json;charset=UTF-8"},
success:function(e) {
headers: {"Content-Type": "application/json;charset=UTF-8"},
success: function (e) {
subOArr = e.data;
for (var i in e.data) {
$('#addClassify .form-group').append(
'<div class="ticketsti' + i + '">' +
'<p>' + e.data.title + '</p>' +
'<p>票提设置</p>' +
'<span>总代<input type="text" class="total">%</span>' +
'<span>普代<input type="text" class="normal">%</span>' +
'<p>' + e.data.title + '</p>' +
'<p>票提设置</p>' +
'<span>总代<input type="text" class="total">%</span>' +
'<span>普代<input type="text" class="normal">%</span>' +
'</div>'
)
}
......@@ -271,7 +279,7 @@
}
});
},
cancel: function(res){
cancel: function (res) {
// layer.msg('捕获就是从页面已经存在的元素上,包裹layer的结构', {time: 5000, icon:6});
}
});
......
......@@ -166,7 +166,7 @@ public class SmileUserServiceImpl extends ServiceImpl<SmileUserMapper, SmileUser
//根据uid查询redis中的用户缓存信息
SmileUserVO smileUserVO = getSmileUserVOFromRedis(smileUserCheckVo.getUid());
if (!smileUserVO.getType().equals(0)) {
return AjaxResult.warn("已经审核过");
return AjaxResult.warn("已审核");
}
//判断是否通过
if (smileUserCheckVo.getType().equals(4)) {
......
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 to comment