Authored by 王钱钧

晚上晒单审核功能

... ... @@ -197,6 +197,11 @@ grid.prototype = {
if (column.width) {
c.attr("width", column.width);
}
if (column.style) {
c.attr("style", column.style);
}
if (column.name) c.attr({
columnname: column.name
});
... ...
... ... @@ -95,8 +95,10 @@ var g = new common.grid({
}
}, {
display: '评价内容',
name: "content"
}, {
name: "content",
//width:'15%',
style:"width:15%; word-break:break-all;"}
, {
display: '评价星级',
name: "satisfied"
}, {
... ... @@ -211,5 +213,8 @@ $(document).on('click', '.recomment', function () {
});
$(document).on('click', '#filter', function () {
g.reload();
});
... ...
... ... @@ -39,7 +39,7 @@ var g = new common.grid({
tagName: common.util.__input('articleTitle'),
classifyId: common.util.__input('maxSortId'),
isHot: common.util.__input('articleGender'),
status: common.util.__input('status1'),
status: common.util.__input('status'),
};
},
columns: [
... ...
... ... @@ -16,12 +16,13 @@ var config = {
//domain:'http://172.16.6.140:8088/platform', // Object
//domain: 'http://172.16.6.236:8088/platform',// 钱军
// domain:'http://172.16.6.176:8088/platform',// 王书生
domain:'http://172.16.6.141:9090/',// 赵琪
// domain: 'http://172.16.6.214:8088/platform',//陈超
//http://172.16.6.124:8088/platform/product/queryAllProductAttr
//domain: 'http://172.16.6.146:8088/platform', //玛丽
//domain:'http://172.16.6.157:8080/yohobuy-platform-web',//葛超
// domain: 'http://192.168.102.216:8086/platform',
domain: 'http://192.168.102.202:8088/platform',
//domain: 'http://192.168.102.202:8088/platform',
//domain:'http://172.16.6.120:8088/platform',//曹艳
//domain:'http://172.16.6.231:8080/platform',//王伟
//domain: 'http://172.16.6.239:8080', //孙杰翔
... ...
... ... @@ -5,7 +5,7 @@ exports.domain = require('../config/common.js').domain;
//=================================【资讯管理】
exports.res = [
{//逛-> 资讯管理 空白页
route: '/guang/article/index',
route: '/goods/auditing/index',
method: 'GET',
view: 'pages/goods/auditing',
src: '/goods/auditing',
... ...
... ... @@ -6,35 +6,35 @@
exports.domain = require('../config/common.js').domain;
//=================================【资讯管理】
exports.res = [
//{//逛-> 资讯管理 空白页
// route: '/guang/article/index',
// method: 'GET',
// view: 'pages/guang/infoManager',
// src: '/guang/infoManager',
// data: {
// iscreate: true
// }
//}, {
//
// // 资讯管理列表数据
// route: '/guang/article/list',
// method: 'POST',
// url: '/guang/article/getList',
// params: [
// {name: 'articleTitle', type: 'String'},
// {name: 'articleGender', type: 'String'},
// {name: 'authorId', type: 'Number'},
// {name: 'maxSortId', type: 'Number'},
// {name: 'status', type: 'Number'},
// {name: 'orderBy', type: 'String'},
// {name: 'startTime', type: 'String'},
// {name: 'endTime', type: 'String'},
// {name: 'page', type: 'Number'},
// {name: 'size', type: 'Number'},
//
// ]
//},
//
{//逛-> 资讯管理 空白页
route: '/guang/article/index',
method: 'GET',
view: 'pages/guang/infoManager',
src: '/guang/infoManager',
data: {
iscreate: true
}
}, {
// 资讯管理列表数据
route: '/guang/article/list',
method: 'POST',
url: '/guang/article/getList',
params: [
{name: 'articleTitle', type: 'String'},
{name: 'articleGender', type: 'String'},
{name: 'authorId', type: 'Number'},
{name: 'maxSortId', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'orderBy', type: 'String'},
{name: 'startTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
]
},
{
// 资讯管理-列表操作(修改、发布、关闭、推荐、取消推荐)
... ...
... ... @@ -54,11 +54,11 @@
</div>
<div class="form-group">
<input type="text" id="starttime" class="form-control panel-input hasDatepicker" name="start_time" placeholder="开始时间" value="" kl_vkbd_parsed="true">
<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">
<input type="text" id="endTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value="" kl_vkbd_parsed="true">
</div>
</div>
... ... @@ -71,19 +71,19 @@
<div class="form-group">
<!--<label for="goodsname">商品名称</label>-->
<input type="text" id="goodsname" class="form-control" placeholder="商品名称"/>
<input type="text" id="productName" class="form-control" placeholder="商品名称"/>
<!--</label>-->
</div>
<div class="form-group">
<!--<label for="skn">SKN</label>-->
<input type="text" id="skn" class="form-control" placeholder="SKN"/>
<input type="number" id="productSkn" class="form-control" placeholder="SKN"/>
<!--</label>-->
</div>
<div class="form-group">
<!--<label for="order">订单编号</label>-->
<input type="text" id="order" class="form-control" placeholder="订单编号"/>
<input type="text" id="orderCode" class="form-control" placeholder="订单编号"/>
<!--</label>-->
</div>
... ...
... ... @@ -83,7 +83,8 @@
<div class="col-sm-10">
<input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title="">
<select id="classifyId" value="[[classifyId]]" required="required" class="form-control">
<option value="-1">请选择分类</option>
<!--<option value="-1">请选择分类</option>-->
<option value="[[classifyId||-1]]">[[classifyName||"请选择分类"]]</option>
</select>
</div>
</div>
... ... @@ -98,12 +99,12 @@
</div>
<div class="form-group">
<label for="status1" class="col-sm-2 control-label">是否启用:</label>
<label for="status" class="col-sm-2 control-label">是否启用:</label>
<div class="radio">
<label><input type="radio" value="1" name="status1" kl_vkbd_parsed="true"></label>
<label><input type="radio" value="0" name="status1" kl_vkbd_parsed="true"></label>
<label><input type="radio" value="1" name="status" kl_vkbd_parsed="true"></label>
<label><input type="radio" value="0" name="status" kl_vkbd_parsed="true"></label>
</div>
<input id="status1" type="hidden" value="[[status]]" for="radio" required="required" kl_vkbd_parsed="true">
<input id="status" type="hidden" value="[[status]]" for="radio" required="required" kl_vkbd_parsed="true">
</div>
</script>
... ...