Authored by zhaoqing

商品VIP设置

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