Authored by 陶雨

Merge branch 'yohobuy_portak_dev_v4.8_20160620' of http://git.yoho.cn/fe/yohobuy…

…-portal-fe2 into yohobuy_portak_dev_v4.8_20160620
module.exports = function (app){
app.get("/goods/auditing/index", "SNS.ShareOrderAudit", function (req,res){
this.$extend={
iscreate: true
}
});
//晒单列表
app.post("/shareOrder/shareOrderList","shareOrderAudit_shareOrderList");
//查询晒单号
app.post("/shareOrder/queryShareOrderNum","shareOrderAudit_queryShareOrderNum");
//审核通过、驳回
app.post("/shareOrder/aud","shareOrderAudit_aud");
//推荐
app.post("/shareOrder/recommend","shareOrderAudit_recommend");
}
\ No newline at end of file
... ...
module.exports={
namespace:"shareOrderAudit",
apis:{
shareOrderList:{
title:"晒单列表",
url:"/shareOrder/shareOrderList",
params:[
{name: 'status', type: 'String'},
{name: 'recomReward', type: 'String'},
{name: 'hasImage', type: 'String'},
{name: 'beginTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'uid', type: 'String'},
{name: 'productName', type: 'String'},
{name: 'productSkn', type: 'String'},
{name: 'orderCode', type: 'String'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
queryShareOrderNum:{
title:"查询晒单号",
url:"/shareOrder/queryShareOrderNum",
params:[
{name: 'orderCode', type: 'Number'},
{name: 'productId', type: 'String'},
{name: 'uid', type: 'Number'}
]
},
aud:{
title:"审核通过、驳回",
url:"/shareOrder/aud",
params:[
{name: 'commentId', type: 'Number'},
{name: 'result', type: 'String'},
{name: 'uid', type: 'String'}
]
},
recommend:{
title:"推荐",
url:"/shareOrder/recommend",
params:[
{name: 'commentId', type: 'Number'},
{name: 'recomReward', type: 'String'},
{name: 'uid', type: 'String'}
]
},
}
}
\ No newline at end of file
... ...
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">晒单评价管理</a></li>
<li>晒单评价管理</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>晒单评价审核</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="form-inline">
<div class="form-group">
<!--<label for="status">审核状态 </label>-->
<select id="status" class="form-control" style="width:110px">
<option value="0">待审核</option>
<option value="1">审核通过</option>
<option value="2">审核失败</option>
</select>
</div>
<div class="form-group" >
<!--<label for="recomReward">推荐状态</label>-->
<select id="recomReward" class="form-control" style="width:120px">
<option value="">推荐状态</option>
<option value="0">未推荐</option>
<option value="1">已推荐</option>
</select>
</div>
<div class="form-group">
<!--<label for="hasImage">图片筛选</label>-->
<select id="hasImage" class="form-control" style="width:120px">
<option value="">图片筛选</option>
<option value="0">无图</option>
<option value="1">有图</option>
</select>
</div>
<div class="form-group">
<input type="text" id="beginTime" class="form-control panel-input hasDatepicker" name="start_time" placeholder="开始时间" value="" kl_vkbd_parsed="true">
</div>
<div class="form-group">
<input type="text" id="endTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value="" kl_vkbd_parsed="true">
</div>
</div>
<div class="form-inline" style="margin-top:10px">
<div class="form-group">
<!--<label for="uid">用户UID</label>-->
<input type="text" id="uid" class="form-control" placeholder="用户UID"/>
<!--</label>-->
</div>
<div class="form-group">
<!--<label for="goodsname">商品名称</label>-->
<input type="text" id="productName" class="form-control" placeholder="商品名称"/>
<!--</label>-->
</div>
<div class="form-group">
<!--<label for="skn">SKN</label>-->
<input type="number" id="productSkn" class="form-control" placeholder="SKN"/>
<!--</label>-->
</div>
<div class="form-group">
<!--<label for="order">订单编号</label>-->
<input type="text" id="orderCode" class="form-control" placeholder="订单编号"/>
<!--</label>-->
</div>
<button type="submit" id="filter" class="btn btn-info">搜索</button>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable">
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg"></ul>
</nav>
</div>
</div>
</div>
\ No newline at end of file
... ...