Authored by zhaoqing

商品VIP设置

... ... @@ -5,7 +5,7 @@
module.exports = function (app) {
/*************************************搜索词管理*************************************/
/*************************************VIP管理*************************************/
//列表页
app.get("/operations/terms/index", "searchWords.SearchWords.Index", "resourceManage_getUrlAction", function(response){
this.$extend={
... ... @@ -15,8 +15,7 @@ module.exports = function (app) {
}
});
//获取所有搜索词
app.post("/operation/terms/searchWordsList", "searchWords_querySearchWords");
//获取商品VIP列表
app.post("/vip/queryProductVipList", "vip_queryProductVipList");
};
... ...
/**
* Created by yoho on 2016/6/20.
* 搜索词 接口定义
* VIP 接口定义
*/
module.exports = {
namespace: "vip",
apis: {
/*************************************搜索词管理*************************************/
querySearchWords: {
title: "获取所有搜索词数据",
url: '/searchWords/querySearchWords',
/*************************************VIP管理*************************************/
queryProductVipList: {
title: "获取商品VIP列表",
url: '/vip/queryProductVipList',
params: {
type: {type: Number},
channelIds: {type: String},
... ...
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div>
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
<a class="tag" href="/goods/special/index" style="font-size: 14px;padding:20px;color: black">特殊商品</a>
</li>
<li>
<a class="hand active" href="javascript:void(0)" style="font-size: 14px;padding:20px;color: #428bca">货到付款</a>
</li>
</ul>
</div>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select id="productSkn" class="form-control">
<option value="-1">SKN</option>
</select>
</div>
<div class="panel-col">
<select id="brandId" class="form-control">
<option value="-1">请选择品牌</option>
... ... @@ -13,22 +30,23 @@
<div class="panel-col">
<select id="isPayDelivery" class="form-control">
<option value="-1">状态</option>
<option value="-1">货到付款状态</option>
<option value="1">开启</option>
<option value="0">关闭</option>
</select>
</div>
<div class="panel-col">
<div class="panel-col-3">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="export-btn" href="" class="btn btn-info">导出</a>
<a id="btn-input" href="/goods/cod/upload" class="btn btn-info">批量导入</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div class="dataTab_wrapper" id="basicTab"></div>
<div class="dataTab_wrapper" id="basicTab" style="margin-bottom: 10px"></div>
<div class="dataTab_wrapper" id="basicTable" ></div>
</div>
</div>
... ... @@ -37,8 +55,7 @@
<script type="text/template" id="template">
<div class="rows" style="height: 100px;">
<div class="form-group">
<p>您确定要驳回申请吗?</p>
<span class="col-sm-2 control-label" style="color:red;">* 驳回原因:</span>
<span class="col-sm-2 control-label">驳回原因:</span>
<div class="col-sm-8">
<textarea id="reason" class="form-control" rows="3" ></textarea>
</div>
... ...
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div>
<ul class="nav nav-pills" style="margin-bottom: 10px">
<li>
<a class="tag" href="/goods/special/index" style="font-size: 14px;padding:20px;color: black">特殊商品</a>
</li>
<li>
<a class="hand active" href="javascript:void(0)" style="font-size: 14px;padding:20px;color: #428bca">货到付款</a>
</li>
</ul>
</div>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select id="productSkn" class="form-control">
<option value="-1">SKN</option>
... ... @@ -23,6 +12,13 @@
</div>
<div class="panel-col">
<select name="shop-name" id="shop-name" style="width: 280px;" tabindex="-1" title=""
class="form-control">
<option value="-1">请选择店铺</option>
</select>
</div>
<div class="panel-col">
<select id="brandId" class="form-control">
<option value="-1">请选择品牌</option>
</select>
... ... @@ -30,35 +26,29 @@
<div class="panel-col">
<select id="isPayDelivery" class="form-control">
<option value="-1">货到付款状态</option>
<option value="-1">VIP设置</option>
<option value="0">跟随店铺</option>
<option value="1">开启</option>
<option value="0">关闭</option>
<option value="2">关闭</option>
</select>
</div>
<div class="panel-col-3">
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="export-btn" href="" class="btn btn-info">导出</a>
<a id="btn-input" href="/goods/cod/upload" class="btn btn-info">批量导入</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div class="dataTab_wrapper" id="basicTab" style="margin-bottom: 10px"></div>
<div class="dataTab_wrapper" id="basicTable" ></div>
</div>
</div>
<script type="text/template" id="template">
<div class="rows" style="height: 100px;">
<div class="form-group">
<span class="col-sm-2 control-label">驳回原因:</span>
<div class="col-sm-8">
<textarea id="reason" class="form-control" rows="3" ></textarea>
</div>
<p>您确定要更改VIP设置吗?</p>
</div>
</div>
</div>
... ...