提交 ddb20174 authored 作者: luojie's avatar luojie

修改后台管理。

上级 63aa2301
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"echarts": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/echarts/-/echarts-4.5.0.tgz",
"integrity": "sha512-q9M0errodeX/786uPifro76x0elbrUQkbSHh235QzbkaASuvP9AQoMErhGBno4iC/yq6kFDLqgmm3XCPWQGLzA==",
"requires": {
"zrender": "4.1.2"
}
},
"echarts-amap": {
"version": "1.0.0-rc.6",
"resolved": "https://registry.npmjs.org/echarts-amap/-/echarts-amap-1.0.0-rc.6.tgz",
"integrity": "sha1-V4KnTa7lLtRM4/j2JXdWF4PwnhY="
},
"echarts-liquidfill": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/echarts-liquidfill/-/echarts-liquidfill-2.0.5.tgz",
"integrity": "sha512-3G19W5ngoh1L3BXYuD34g0Vd30ORWvQtyxRuL+7vmOZ3FkF6xkgD4pfcCL7QVAQOr+XZ4OiD2ot6dNGsRhflcg=="
},
"echarts-wordcloud": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/echarts-wordcloud/-/echarts-wordcloud-1.1.3.tgz",
"integrity": "sha512-Et8D5xEAoYkidmHun+hEH+2lF9dhCt6D0JJ390vlr2r/1zwhhZAbcL01CEvG93QcMcJpSvSPK8vRiGkTbMHRxg=="
},
"numerify": {
"version": "1.2.9",
"resolved": "https://registry.npmjs.org/numerify/-/numerify-1.2.9.tgz",
"integrity": "sha512-X4QzQiytV5ZN3TVLhzbtFzjTarUNnaa1pgNDFqt7u7Nqhxe7FvY2eYrGt4WYHlYXDqgtfC/n/a5nJ2y0LijV8w=="
},
"utils-lite": {
"version": "0.1.10",
"resolved": "https://registry.npmjs.org/utils-lite/-/utils-lite-0.1.10.tgz",
"integrity": "sha512-jlHvdtI8MyWURF/3u+ufIjf1Cs5WjN6WZl9qO8dEkZsVjaI7X5YMUhaCFzkvB69ljt6fo4Dd7V/Oj2NJOFDFOQ=="
},
"v-charts": {
"version": "1.19.0",
"resolved": "https://registry.npmjs.org/v-charts/-/v-charts-1.19.0.tgz",
"integrity": "sha512-vm2HBUmxAsXK0ivwce9LytcpqrItDA5JSPLYVxZXtiuoyhcn80XX1/3dPJd/1GqG1OYv3jfBo1s9ra4q8GowqA==",
"requires": {
"echarts-amap": "1.0.0-rc.6",
"echarts-liquidfill": "^2.0.2",
"echarts-wordcloud": "^1.1.3",
"numerify": "1.2.9",
"utils-lite": "0.1.10"
}
},
"zrender": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-4.1.2.tgz",
"integrity": "sha512-MJYEo1ZOVesjxYsfcGtPXnUREmh4ACMV08QZLGZ3S7D1xOd96iz3O6nf6pv5PHb5NSHkbizr7ChSIgtAGwncvA=="
}
}
}
......@@ -13,7 +13,6 @@ import com.platform.vo.PlatformOrderVo;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;
import java.math.BigDecimal;
......@@ -167,7 +166,7 @@ public class TbCfOrderController {
//查询列表数据
Query query = new Query(params);
List<TbCfOrderListEntity> tbCfOrderList = tbCfOrderListService.queryOrderList(query);
int total = tbCfOrderListService.queryOrderTotal(query);
int total = tbCfOrderListService.queryTotal(query);
PageUtils pageUtil = new PageUtils(tbCfOrderList,total, query.getLimit(), query.getPage());
return R.ok().put("page", pageUtil);
}
......@@ -181,5 +180,18 @@ public class TbCfOrderController {
int totalPay = tbCfOrderListService.totalPay();
return R.ok().put("totalPay", totalPay);
}
/**
* 订单列表(代购订单列表)
*/
@GetMapping("/orderDeliveryList/{orderId}")
@RequiresPermissions("tbcforder:orderDeliveryList")
@ResponseBody
public R orderDeliveryList(@PathVariable("orderId") String orderId){
//查询列表数据
List<TbCfOrderListEntity> tbCfOrderList = tbCfOrderListService.queryOrderDeliveryList(orderId);
int total = tbCfOrderListService.queryOrderDeliveryTotal(orderId);
PageUtils pageUtil = new PageUtils(tbCfOrderList,total);
return R.ok().put("page", pageUtil);
}
}
package com.platform.controller;
import com.platform.entity.TbCfItemDetailEntity;
import com.platform.entity.TbCfOrderEntity;
import com.platform.entity.TbCfOrderListEntity;
import com.platform.service.TbCfOrderListService;
import com.platform.service.TbCfOrderService;
import com.platform.utils.PageUtils;
import com.platform.utils.Query;
import com.platform.utils.R;
import com.platform.vo.PlatformOrderVo;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
......@@ -39,7 +35,7 @@ public class TbCfOrderListController {
//查询列表数据
Query query = new Query(params);
List<TbCfOrderListEntity> tbCfOrderList = tbCfOrderListService.queryOrderList(query);
int total = tbCfOrderListService.queryOrderTotal(query);
int total = tbCfOrderListService.queryTotal(query);
PageUtils pageUtil = new PageUtils(tbCfOrderList,total, query.getLimit(), query.getPage());
return R.ok().put("page", pageUtil);
}
......
package com.platform.controller.api;
import com.platform.enums.Result;
import com.platform.service.TbCfOrderService;
import com.platform.utils.R;
import com.platform.vo.OrderInfoVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Api(tags="后台首页管理")
@RestController
@RequestMapping("/sys/index")
public class HomePageApi {
@Autowired
private TbCfOrderService tbCfOrderService;
@ApiOperation("首页订单统计数据")
@RequestMapping("/orderInfo")
public R getOrderInfo(){
OrderInfoVo orderInfoVo =new OrderInfoVo();
orderInfoVo.setOrderTotal(tbCfOrderService.queryOrderTotal());
orderInfoVo.setOrderPriceToday(tbCfOrderService.queryOrderPriceToday());
orderInfoVo.setOrderPriceYesterday(tbCfOrderService.queryOrderPriceYesterday());
return R.ok().put("orderInfoVo",orderInfoVo);
}
}
......@@ -66,4 +66,10 @@ public interface TbCfOrderDao extends BaseDao<TbCfOrderEntity> {
void updates(TbCfOrderEntity tbCfOrderEntity);
List<TbCfItemDetailEntity> getOrderItemLists(String orderId);
int queryOrderTotal();
BigDecimal queryOrderPriceToday();
BigDecimal queryOrderPriceYesterday();
}
package com.platform.dao;
import com.platform.entity.TbCfOrderListEntity;
import com.platform.utils.Query;
import java.util.List;
import java.util.Map;
......@@ -22,4 +23,9 @@ public interface TbCfOrderListDao extends BaseDao<TbCfOrderListEntity> {
List<TbCfOrderListEntity> queryOrderList(Map<String, Object> map);
int totalPay();
int queryOrderDeliveryTotal(String orderId);
List<TbCfOrderListEntity> queryOrderDeliveryList(String orderId);
}
......@@ -64,6 +64,8 @@ public class TbCfOrderListEntity implements Serializable {
* 快递单号
*/
private String pExpressNumber;
private String orderStatus;
/**
* 支付状态
*/
......@@ -264,4 +266,12 @@ public class TbCfOrderListEntity implements Serializable {
public void setDeliveryPhone(String deliveryPhone) {
this.deliveryPhone = deliveryPhone;
}
public String getOrderStatus() {
return orderStatus;
}
public void setOrderStatus(String orderStatus) {
this.orderStatus = orderStatus;
}
}
......@@ -25,7 +25,12 @@ public interface TbCfOrderListService {
* 分页统计条数
* @return
*/
int queryOrderTotal(Map<String, Object> map);
int totalPay();
List<TbCfOrderListEntity> queryOrderDeliveryList(String orderId);
int queryTotal(Query query);
int queryOrderDeliveryTotal(String orderId);
}
......@@ -4,6 +4,7 @@ import com.platform.entity.TbCfItemDetailEntity;
import com.platform.entity.TbCfOrderEntity;
import com.platform.vo.PlatformOrderVo;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
......@@ -103,4 +104,9 @@ public interface TbCfOrderService {
String getPhone(String orderId);
int queryOrderTotal();
BigDecimal queryOrderPriceToday();
BigDecimal queryOrderPriceYesterday();
}
......@@ -3,6 +3,7 @@ package com.platform.service.impl;
import com.platform.dao.TbCfOrderListDao;
import com.platform.entity.TbCfOrderListEntity;
import com.platform.service.TbCfOrderListService;
import com.platform.utils.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -26,12 +27,24 @@ public class TbCfOrderListServiceImpl implements TbCfOrderListService {
}
@Override
public int queryOrderTotal(Map<String, Object> map) {
return tbCfOrderListDao.queryTotal(map);
public int totalPay() {
return tbCfOrderListDao.totalPay();
}
@Override
public int totalPay() {
return tbCfOrderListDao.totalPay();
public List<TbCfOrderListEntity> queryOrderDeliveryList(String orderId) {
return tbCfOrderListDao.queryOrderDeliveryList(orderId);
}
@Override
public int queryTotal(Query query) {
return tbCfOrderListDao.queryTotal(query);
}
@Override
public int queryOrderDeliveryTotal(String orderId) {
return tbCfOrderListDao.queryOrderDeliveryTotal(orderId);
}
}
......@@ -15,6 +15,7 @@ import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
import java.util.*;
/**
......@@ -148,4 +149,20 @@ public class TbCfOrderServiceImpl implements TbCfOrderService {
return tbCfOrderDao.getPhone(orderId);
}
@Override
public int queryOrderTotal() {
return tbCfOrderDao.queryOrderTotal();
}
@Override
public BigDecimal queryOrderPriceToday() {
return tbCfOrderDao.queryOrderPriceToday();
}
@Override
public BigDecimal queryOrderPriceYesterday() {
return tbCfOrderDao.queryOrderPriceYesterday();
}
}
package com.platform.vo;
import java.math.BigDecimal;
public class OrderInfoVo {
private Integer orderTotal;
private BigDecimal orderPriceToday;
private BigDecimal orderPriceYesterday;
public Integer getOrderTotal() {
return orderTotal;
}
public void setOrderTotal(Integer orderTotal) {
this.orderTotal = orderTotal;
}
public BigDecimal getOrderPriceToday() {
return orderPriceToday;
}
public void setOrderPriceToday(BigDecimal orderPriceToday) {
this.orderPriceToday = orderPriceToday;
}
public BigDecimal getOrderPriceYesterday() {
return orderPriceYesterday;
}
public void setOrderPriceYesterday(BigDecimal orderPriceYesterday) {
this.orderPriceYesterday = orderPriceYesterday;
}
}
......@@ -146,7 +146,7 @@
order by ${sidx} ${order}
</when>
<otherwise>
order by order_id desc
order by o.order_time desc
</otherwise>
</choose>
<if test="offset != null and limit != null">
......@@ -179,6 +179,14 @@
</if>
</select>
<select id="queryOrderTotal" resultType="int">
select count(*) from tb_cf_order o left join tb_cf_coupon c on c.coupon_id=o.coupon_id
left join tb_cf_item_order_r i on i.order_id=o.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
WHERE 1=1 and i.enable_flag=1 and o.enable_flag=1
</select>
<insert id="save" parameterType="com.platform.entity.TbCfOrderEntity">
insert into tb_cf_order(
`order_id`,
......@@ -336,4 +344,19 @@
<update id="updateOrderStatus" parameterType="com.platform.entity.TbCfOrderEntity">
update tb_cf_order set order_status=#{orderStatus} where order_id=#{orderId}
</update>
<select id="queryOrderPriceToday" resultType="BigDecimal">
select count(o.reality_pay) from tb_cf_order o left join tb_cf_coupon c on c.coupon_id=o.coupon_id
left join tb_cf_item_order_r i on i.order_id=o.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
WHERE 1=1 and i.enable_flag=1 and o.enable_flag=1
and DATEDIFF(o.order_time,NOW())=0
</select>
<select id="queryOrderPriceYesterday" resultType="BigDecimal">
select count(o.reality_pay) from tb_cf_order o left join tb_cf_coupon c on c.coupon_id=o.coupon_id
left join tb_cf_item_order_r i on i.order_id=o.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
WHERE 1=1 and i.enable_flag=1 and o.enable_flag=1
and DATEDIFF(o.order_time,NOW())=-1
</select>
</mapper>
\ No newline at end of file
......@@ -17,6 +17,7 @@
<result property="payWayCode" column="pay_way_code"/>
<result property="deliveryFlag" column="delivery_flag"/>
<result property="userName" column="user_name"/>
<result property="orderStatus" column="order_status"/>
</resultMap>
<!--查询订单列表-->
<select id="queryOrderList" resultType="com.platform.entity.TbCfOrderListEntity">
......@@ -30,7 +31,8 @@
o.delivery_name,
o.delivery_phone,
o.delivery_address,
f.pay_way_code
f.pay_way_code,
o.order_status
from tb_cf_order o
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
......@@ -64,6 +66,47 @@
</if>
</select>
<!--查询订单列表-->
<select id="queryOrderDeliveryList" resultType="com.platform.entity.TbCfOrderListEntity">
select
i.order_item_id ordersId,
o.order_id,
o.order_no,
CONCAT_WS("_",u.nick,u.user_no) userInfo,
o.order_time,
o.reality_pay,
o.delivery_name,
o.delivery_phone,
o.delivery_address,
f.pay_way_code,
o.order_status
from tb_cf_order o
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
INNER JOIN tb_cf_user_info u on u.user_id=o.user_id
WHERE 1=1 and i.enable_flag=1 and f.pay_way_code!='null' and o.order_id=#{orderId}
</select>
<!--查询总记录数-->
<select id="queryOrderTotal" resultType="int">
select count( distinct i.order_id)
from tb_cf_order o
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
INNER JOIN tb_cf_user_info u on u.user_id=o.user_id
WHERE 1=1 and i.enable_flag=1 and f.pay_way_code!='null'
</select>
<!--查询总记录数-->
<select id="queryOrderDeliveryTotal" resultType="int">
select count( distinct i.order_id)
from tb_cf_order o
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
INNER JOIN tb_cf_user_info u on u.user_id=o.user_id
WHERE 1=1 and i.enable_flag=1 and f.pay_way_code!='null'
</select>
<!--查询总记录数-->
<select id="queryTotal" resultType="int">
select count( distinct i.order_id)
......@@ -89,7 +132,6 @@
AND i.delivery_flag =#{deliveryFlag}
</if>
</select>
<select id="totalPay">
select sum(o.reality_pay)
from tb_cf_order o
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -9,6 +9,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<style>
......@@ -46,6 +52,7 @@
<i-button type="info" @click="tospecific">&nbsp;特殊发放</i-button>
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
<!--优惠券新增、修改界面-->
......
......@@ -3,6 +3,14 @@
<head>
<title></title>
#parse("sys/header.html")
<style>
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="height: calc(100% - 15px);">
......@@ -27,6 +35,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
<!DOCTYPE html>
<html>
<!--element-ui-->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<head>
<title></title>
#parse("sys/header.html")
<style>
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.el-select{
width:120px;
}
.el-date-editor{
width:220px;
}
.el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner {
width: 230px;
}
.ivu-col{
width: 280px;
}
.ivu-input{
height: 40px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
.table-responsive {
min-height: .01%;
overflow-x: hidden;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="width:100%;
height: -webkit-calc(100% - 15px);
height: -moz-calc(100% - 15px);
height: calc(100% - 15px);
overflow:hidden;">
<!--代购信息-->
<el-dialog title="代购信息" >
<el-form :model="agentInfo" >
<el-form-item label="代购人" :label-width="formLabelWidth">
<el-input v-model="agentInfo.userName" disabled="true"></el-input>
</el-form-item>
<el-form-item label="代购平台名称" :label-width="formLabelWidth">
<i-select v-model="agentInfo.platformName" >
<i-option
v-for="(el,i) in store" :key = 'el.platformCode'
:value="el.platformCode">{{el.platformName}}</i-option>
</i-select>
</el-form-item>
<el-form-item label="原网站订单号" :label-width="formLabelWidth">
<el-input v-model="agentInfo.pOrderId" ></el-input>
</el-form-item>
<el-form-item label="商品品名" :label-width="formLabelWidth">
<i-select v-model="agentInfo.descripitionId" >
<i-option
v-for="(el,i) in descripition" :key = 'el.templateId'
:value="el.templateId">{{el.templateTitle}}</i-option>
</i-select>
</el-form-item>
<el-form-item label="实际付款" :label-width="formLabelWidth">
<el-input v-model="agentInfo.realityPay"></el-input>
</el-form-item>
<el-form-item label="快递单号" :label-width="formLabelWidth">
<el-input v-model="agentInfo.pExpressNumber" ></el-input>
</el-form-item>
</el-form>
<el-form>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="agentVisible = false">取 消</el-button>
<el-button type="primary" @click="saveOrUpdateAgentInfo">保 存</el-button>
</div>
</el-dialog>
</div>
<!--element-ui-->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="${rc.contextPath}/js/sys/tbcforder.js?_${date.systemTime}"></script>
</body>
</html>
\ No newline at end of file
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -3,6 +3,14 @@
<head>
<title>汇率管理</title>
#parse("sys/header.html")
<style>
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="height: calc(100% - 15px);">
......@@ -27,6 +35,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -33,6 +39,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -32,6 +32,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -3,6 +3,14 @@
<head>
<title></title>
#parse("sys/header.html")
<style>
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="height: calc(100% - 15px);">
......@@ -27,6 +35,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 15px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
<!DOCTYPE html>
<html>
<!--element-ui-->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<link rel="stylesheet" href="${rc.contextPath}/statics/css/index.css">
<!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
<head>
<title></title>
#parse("sys/header.html")
......@@ -24,15 +25,25 @@
.ivu-input{
height: 40px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
.table-responsive {
min-height: .01%;
overflow-x: hidden;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="width:1680px;
<div id="rrapp" v-cloak style="width:100%;
height: -webkit-calc(100% - 15px);
height: -moz-calc(100% - 15px);
height: calc(100% - 15px);">
<div v-show="showList" style="height: 100%;">
height: calc(100% - 15px);
overflow:hidden;">
<div v-show="showList" style="height: 98%;">
<Row :gutter="16">
<div class="search-group">
<i-col span="4">
......@@ -77,9 +88,9 @@
<i-button @click="reloadSearch">重置</i-button>
</div>
<div class="buttons-group">
<i-button type="info" @click="showItems">查看商品详情</i-button>
<i-button type="info" @click="showAgent">代购信息</i-button>
<i-button type="info" @click="showOrders">查看订单详情</i-button>
<i-button type="info" @click="showItems"><i class="ivu-icon ivu-icon-search"></i>商品详情</i-button>
<i-button type="info" @click="showOrders"><i class="ivu-icon ivu-icon-search"></i>订单详情</i-button>
<!-- <i-button type="info" @click="showAgent"><i class="ivu-icon ivu-icon-android-cart"></i>点击代购</i-button>-->
#if($shiro.hasPermission("tbcforder:save"))
<i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
#end
......@@ -91,7 +102,8 @@
#end
</div>
</Row>
<table id="jqGrid"></table>
<div id="speedp"></div>
<table id="jqGrid" style="overflow-x: hidden"></table>
</div>
<Card v-show="!showList">
......@@ -236,11 +248,8 @@
<el-input v-model="agentInfo.realityPay"></el-input>
</el-form-item>
<el-form-item label="快递单号" :label-width="formLabelWidth">
<el-input v-model="agentInfo.pExpressNumber" ></el-input>
<el-input v-model="agentInfo.pExpressNumber" ></el-input>
</el-form-item>
</el-form>
<el-form>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="agentVisible = false">取 消</el-button>
......@@ -263,7 +272,8 @@
</el-dialog>
</div>
<!--element-ui-->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<!--<script type="text/javascript" src="https://unpkg.com/element-ui/lib/index.js"></script>-->
<script src="${rc.contextPath}/statics/plugins/elmentui/index.js"></script>
<script src="${rc.contextPath}/js/sys/tbcforder.js?_${date.systemTime}"></script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<!--element-ui-->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<link rel="stylesheet" href="${rc.contextPath}/statics/css/index.css">
<!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">-->
<head>
<title></title>
#parse("sys/header.html")
......@@ -24,7 +25,16 @@
.ivu-input{
height: 40px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
.table-responsive {
min-height: .01%;
overflow-x: hidden;
}
</style>
</head>
<body>
......@@ -58,68 +68,106 @@
:value="item.value">
</el-option>
</el-select>-->
<el-select v-model="payWayCode" placeholder="支付方式">
<!-- <el-select v-model="payStatus" placeholder="支付状态">
<el-option
v-for="item in payStatusOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-select v-model="orderStatus" placeholder="订单状态">
<el-option
v-for="item in orderStatusOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-select v-model="deliveryFlag" placeholder="代购状态">
<el-option
v-for="item in deliveryFlagOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>-->
<!-- <el-select v-model="payWayCode" placeholder="支付方式">
<el-option
v-for="(el,i) in payWayCodeList" :key = 'el.pay_way_code'
:value="el.pay_way_code">{{el.pay_way_code}}</el-option>
</el-select>
</el-select>-->
<i-button type="success" @click="queryAll">查询</i-button>
<i-button type="warning" @click="reloadSearch">重置</i-button>
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
<Card v-show="!showList">
<p slot="title">{{title}}</p>
<i-form ref="formValidate" :model="tbCfOrderList" :rules="ruleValidate">
<Form-item label="orderId" prop="orderId">
<i-input v-model="tbCfOrderList.orderId" placeholder="订单Id"/>
</Form-item>
<Form-item label="商品Id" prop="itemId">
<i-input v-model="tbCfOrderList.itemId" placeholder="商品Id"/>
</Form-item>
<Form-item label="用户id" prop="userId">
<i-input v-model="tbCfOrderList.userId" placeholder="用户id"/>
</Form-item>
<Form-item label="订单号" prop="orderNo">
<i-input v-model="tbCfOrderList.orderNo" placeholder="订单号"/>
</Form-item>
<Form-item label="下单时间" prop="orderTime">
<i-input v-model="tbCfOrderList.orderTime" placeholder="下单时间"/>
</Form-item>
<Form-item label="金额" prop="realityPay">
<i-input v-model="tbCfOrderList.realityPay" placeholder="金额"/>
</Form-item>
<Form-item label="商品" prop="itemTitle">
<i-input v-model="tbCfOrderList.itemTitle" placeholder="商品"/>
</Form-item>
<Form-item label="商品数量" prop="itemNum">
<i-input v-model="tbCfOrderList.itemNum" placeholder="商品数量"/>
</Form-item>
<Form-item label="收货地址" prop="deliveryAddress">
<i-input v-model="tbCfOrderList.deliveryAddress" placeholder="收货地址"/>
</Form-item>
<Form-item label="快递单号" prop="pExpressNumber">
<i-input v-model="tbCfOrderList.pExpressNumber" placeholder="快递单号"/>
</Form-item>
<Form-item label="支付状态" prop="payWayCode">
<i-input v-model="tbCfOrderList.payWayCode" placeholder="支付方式"/>
</Form-item>
<Form-item label="物流状态" prop="expressStatus">
<i-input v-model="tbCfOrderList.expressStatus" placeholder="快递状态"/>
</Form-item>
<Form-item>
<i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
<i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
<i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
</Form-item>
</i-form>
</Card>
<div v-show="showLists" style="height: 100%;">
<table id="showLists" width="1680px" height="20px" border="2px">
<thread>
<tr>
<th>订单ID</th>
<th>订单号</th>
<th>用户</th>
<th>收货人</th>
<th>手机号</th>
<th>收货地址</th>
<th>操作</th>
</tr>
</thread>
<tr v-for="(item,i) in tbCfOrderLists">
<td>{{item.ordersId}}</td>
<td>{{item.orderNo}}</td>
<td>{{item.userInfo}}</td>
<td>{{item.deliveryName}}</td>
<td>{{item.deliveryPhone}}</td>
<td>{{item.deliveryAddress}}</td>
<td><i-button @click="showAgent(item.ordersId)">代购</i-button></td>
</tr>
</table>
</div>
<!--代购信息-->
<el-dialog title="代购信息" :visible.sync="agentVisible">
<el-form ref="formValidate" :model="agentInfo" >
<el-form-item label="代购人" :label-width="formLabelWidth">
<el-input v-model="agentInfo.userName" disabled="true"></el-input>
</el-form-item>
<el-form-item label="代购平台名称" :label-width="formLabelWidth">
<i-select v-model="agentInfo.platformName" >
<i-option
v-for="(el,i) in store" :key = 'el.platformCode'
:value="el.platformCode">{{el.platformName}}</i-option>
</i-select>
</el-form-item>
<el-form-item label="原网站订单号" :label-width="formLabelWidth">
<el-input v-model="agentInfo.pOrderId" ></el-input>
</el-form-item>
<el-form-item label="商品品名" :label-width="formLabelWidth">
<i-select v-model="agentInfo.descripitionId" >
<i-option
v-for="(el,i) in descripition" :key = 'el.templateId'
:value="el.templateId">{{el.templateTitle}}</i-option>
</i-select>
</el-form-item>
<el-form-item label="实际付款" :label-width="formLabelWidth">
<el-input v-model="agentInfo.realityPay"></el-input>
</el-form-item>
<el-form-item label="快递单号" :label-width="formLabelWidth">
<el-input v-model="agentInfo.pExpressNumber" ></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="agentVisible = false">取 消</el-button>
<el-button type="primary" @click="saveOrUpdateAgentInfo">保 存</el-button>
</div>
</el-dialog>
</div>
<!--element-ui-->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<!--<script type="text/javascript" src="https://unpkg.com/element-ui/lib/index.js"></script>-->
<script src="${rc.contextPath}/statics/plugins/elmentui/index.js"></script>
<script src="${rc.contextPath}/js/sys/tbcforderList.js?_${date.systemTime}"></script>
</body>
</html>
\ No newline at end of file
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -3,6 +3,14 @@
<head>
<title></title>
#parse("sys/header.html")
<style>
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="rrapp" v-cloak style="height: calc(100% - 15px);">
......@@ -27,6 +35,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="jqGrid"></table>
</div>
......
......@@ -7,6 +7,12 @@
.ui-jqgrid .ui-jqgrid-bdiv{
height:auto!important;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-top: 2px solid #e7eaec;
line-height: 1.38857;
padding: 13px;
vertical-align: middle;
}
</style>
</head>
<body>
......@@ -32,6 +38,7 @@
#end
</div>
</Row>
<div id="speedp"></div>
<table id="sysUserGrid"></table>
</div>
......
......@@ -46,7 +46,7 @@
style="text-align: center;font-size: 18px;font-weight: 600;color: white;">
{{domainName}}
</div>
<div class="logo-element">大平台
<div class="logo-element">Chinafrica
</div>
</li>
<menu-item :item="item" v-for="item in menuList"></menu-item>
......@@ -124,7 +124,7 @@
data-id="main" seamless></iframe>
</div>
<div class="footer">
<div class="pull-right">&copy; 2018-2020 <a href="#" target="_blank">综合管理平台</a>
<div class="pull-right">&copy; 2019-2020 <a href="#" target="_blank">综合管理平台</a>
</div>
</div>
</div>
......
......@@ -139,9 +139,11 @@ function eyeImages(data) {
* @param name
*/
function handleResetForm(vue, name) {
vue.$refs[name].resetFields();
debugger
vue.$refs[name].resetFields();
};
/**
* 表单验证
* @param vue vue对象
......@@ -688,6 +690,8 @@ userTypeFormat = function (cellvalue) {
returnStr = "facebook";
} else if (cellvalue == '3') {
returnStr = "twitter";
}else if (cellvalue == '4') {
returnStr = "手机";
}
}
return returnStr;
......@@ -790,4 +794,5 @@ userLevelFormat = function (cellvalue, options, rowObject) {
}
}
return returnStr;
};
\ No newline at end of file
};
......@@ -23,7 +23,20 @@ $(function () {
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80},
{label: '修改人', name: 'updateUserId', index: 'update_user_id', width: 80, hidden: true},
{label: '修改时间', name: 'updateTime', index: 'update_time', width: 80, hidden: true},
{label: '是否为注册即送优惠券', name: 'couponVaild', index: 'coupon_vaild', width: 90,formatter:validFormat}]
{label: '是否为注册即送优惠券', name: 'couponVaild', index: 'coupon_vaild', width: 90,formatter:validFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
$.get('../tbcfcoupon/queryAllCoupon',function (res) {
vm.Coupon=res.list;
......
......@@ -5,7 +5,19 @@ $(function () {
{label: '优惠券类型ID', name: 'couponCategoryId', index: 'coupon_category_id', key: true},
{label: '优惠券类型名称 ', name: 'couponCategoryName', index: 'coupon_category_name', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80},
{label: '是否有效(0无效,1有效)', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:validFormat}]
{label: '是否有效(0无效,1有效)', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:validFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -5,7 +5,19 @@ $(function () {
{label: 'useId', name: 'useId', index: 'use_id', key: true, hidden: true},
{label: '用户名称', name: 'name', index: 'name', width: 80},
{label: '优惠券名称', name: 'title', index: 'title', width: 80},
{label: '使用时间', name: 'useTime', index: 'use_time', width: 80}]
{label: '使用时间', name: 'useTime', index: 'use_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'use_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -8,7 +8,19 @@ $(function () {
{label: '下单商品数', name: 'itemCount', index: 'item_count', width: 80},
{label: '平均价格', name: 'itemAveragePrice', index: 'item_average_price', width: 80},
{label: '下单总额', name: 'totalSales', index: 'total_sales', width: 80},
{label: '统计时间', name: 'statisticsTime', index: 'statistics_time', width: 80}]
{label: '统计时间', name: 'statisticsTime', index: 'statistics_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'statistics_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -6,7 +6,19 @@ $(function () {
{label: '商品品名', name: 'descripitionName', index: 'descripition_name', width: 80},
{label: '海关编码', name: 'descripitionCode', index: 'descripition_code', width: 80},
{label: '商品一级分类标题', name: 'goodtype', index: 'goodtype', width: 80},
{label: '商品二级分类标题', name: 'title', index: 'title', width: 80}]
{label: '商品二级分类标题', name: 'title', index: 'title', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'descripition_id',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -9,7 +9,19 @@ $(function () {
{label: '汇率', name: 'exchangeRate', index: 'exchange_rate', width: 80},
{label: '状态', name: 'delFlag', index: 'del_flag', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}
]
],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -8,7 +8,19 @@ $(function () {
{label: '快递费', name: 'expressFee', index: 'express_fee', width: 80},
{label: '续件费', name: 'continuationFee', index: 'continuation_fee', width: 80},
{label: '国家编号', name: 'countryCode', index: 'country_code', width: 80, hidden: true},
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80, hidden: true}]
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80, hidden: true}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc",
});
});
......
......@@ -4,7 +4,19 @@ $(function () {
colModel: [
{label: 'id', name: 'id', index: 'id', key: true, hidden: true},
{label: '模板id,express_template', name: 'templateId', index: 'template_id', width: 80},
{label: '关键字', name: 'keyword', index: 'keyword', width: 80}]
{label: '关键字', name: 'keyword', index: 'keyword', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'templateId',
viewrecords: true,
sortorder: "desc",
});
});
......
......@@ -6,7 +6,18 @@ $(function () {
//{label: '收费类型,1为百分比,目前只有一种收费方式', name: 'feeType', index: 'fee_type', width: 80},
//{label: '是否生效标志', name: 'enableFlag', index: 'enable_flag', width: 80},
{label: '收取费用百分比', name: 'feePercent', index: 'fee_percent', width: 80},
{label: '设置美元转换', name: 'feeRate', index: 'fee_rate', width: 80}]
{label: '设置美元转换', name: 'feeRate', index: 'fee_rate', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
viewrecords: true,
sortorder: "desc",
});
});
......
......@@ -7,7 +7,19 @@ $(function () {
{label: '是否展示,1展示,0不展示', name: 'enableFlag', index: 'enable_flag', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80, hidden: true},
{label: '反馈问题类型,1为填写类型', name: 'questionType', index: 'question_type', width: 80, hidden: true},
{label: '排序,数字,倒序', name: 'sort', index: 'sort', width: 80}]
{label: '排序,数字,倒序', name: 'sort', index: 'sort', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc",
});
});
......
......@@ -6,7 +6,19 @@ $(function () {
{label: '反馈用户id', name: 'userId', index: 'user_id', width: 80},
{label: '反馈问题id', name: 'feedbackId', index: 'feedback_id', width: 80},
{label: '反馈填写内容', name: 'answer', index: 'answer', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}]
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -10,7 +10,19 @@ $(function () {
{label: '支付流水号', name: 'payId', index: 'pay_id', width: 80},
{label: '支付方式', name: 'payWayCode', index: 'pay_way_code', width: 80},
{label: '支付时间', name: 'payTime', index: 'pay_Time', width: 80},
{label: '支付后显示页面', name: 'receiptUrl', index: 'receipt_url', width: 80}]
{label: '支付后显示页面', name: 'receiptUrl', index: 'receipt_url', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'pay_Time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -4,7 +4,19 @@ $(function () {
colModel: [
{label: '商品二级分类Id', name: 'goodstwotypeId', index: 'goodstwotype_id', key: true, hidden: true},
{label: '商品一级分类标题', name: 'goodstypeTitle', index: 'goodstype_title', width: 80},
{label: '商品二级分类标题', name: 'goodstwotypeTitle', index: 'goodstwotype_title', width: 80}]
{label: '商品二级分类标题', name: 'goodstwotypeTitle', index: 'goodstwotype_title', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'goodstwotype_id',
viewrecords: true,
sortorder: "asc"
});
});
......
......@@ -5,7 +5,19 @@ $(function () {
{label: 'goodstypeId', name: 'goodstypeId', index: 'goodstype_id', key: true, hidden: true},
{label: '商品分类标题', name: 'goodstypeTitle', index: 'goodstype_title', width: 80},
{label: '商品分类排序编号', name: 'goodstypeTitle', index: 'goodstype_title', width: 80},
{label: '商品分类跳转链接', name: 'goodstypeUrl', index: 'goodstype_url', width: 80}]
{label: '商品分类跳转链接', name: 'goodstypeUrl', index: 'goodstype_url', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'goodstype_title',
viewrecords: true,
sortorder: "asc"
});
});
......
......@@ -9,7 +9,19 @@ $(function () {
{label: '图片', name: 'imgUrl', index: 'img_url', width: 80,formatter: imageFormat},
{label: '是否支持浏览', name: 'scanFlag', index: 'scan_flag', width: 80,formatter: yesOrNoFormat},
{label: '跳转页面', name: 'redirectFlag', index: 'redirect_flag', width: 80,formatter: pageFormat},
{label: '是否可用', name: 'enableFlag', index: 'enable_flag', width: 80,formatter: yesOrNoFormat}]
{label: '是否可用', name: 'enableFlag', index: 'enable_flag', width: 80,formatter: yesOrNoFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'sort',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -11,7 +11,19 @@ $(function () {
{label: '用户昵称', name: 'nick', index: 'nick', width: 80},
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80},
{label: '是否已经使用(0已使用,1未使用)', name: 'enableFlag', index: 'enable_flag', width: 80}
]
],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -14,7 +14,19 @@ $(function () {
{label: '点赞人数', name: 'likeNum', index: 'like_num', width: 80},
{label: '状态', name: 'delFlag', index: 'del_flag', width: 80, formatter: statusFormat},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}
]
],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -15,7 +15,19 @@ $(function () {
{label: '所属平台id', name: 'shopId', index: 'shop_id', width: 80},
{label: '所属平台名', name: 'shopName', index: 'shop_name', width: 80},
{label: '所属商铺链接', name: 'shopUrl', index: 'shop_url', width: 80},
{label: '加入时间', name: 'createTime', index: 'create_time', width: 80}]
{label: '加入时间', name: 'createTime', index: 'create_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:10,
rowList:[10,30,50],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -5,7 +5,19 @@ $(function () {
{label: 'orderItemId', name: 'orderItemId', index: 'order_item_id', key: true, hidden: true},
{label: '商品表记录id', name: 'itemId', index: 'item_id', width: 80},
{label: '订单id', name: 'orderId', index: 'order_id', width: 80},
{label: '是否有效', name: 'enableFlag', index: 'enable_flag', width: 80}]
{label: '是否有效', name: 'enableFlag', index: 'enable_flag', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'order_item_id',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -4,7 +4,19 @@ $(function () {
colModel: [
{label: 'recordId', name: 'recordId', index: 'record_id', key: true, hidden: true},
{label: '页面或者站点id', name: 'pageId', index: 'page_id', width: 80},
{label: '访问次数', name: 'pageCount', index: 'page_count', width: 80}]
{label: '访问次数', name: 'pageCount', index: 'page_count', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'page_count',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -10,7 +10,19 @@ $(function () {
{label: '平台图片', name: 'platformImg', index: 'platform_img', width: 80,formatter:imageFormat},
{label: '启用状态', name: 'enableFlag', index: 'enable_flag', width: 80},
{label: '排序(倒序)', name: 'sort', index: 'sort', width: 80},
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80}]
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -12,7 +12,19 @@ $(function () {
{label: '代购人id', name: 'userId', index: 'user_id', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80},
{label: '实际付款', name: 'realityPay', index: 'reality_pay', width: 80},
{label: '第三方快递单号', name: 'pExpressNumber', index: 'p_express_number', width: 80}]
{label: '第三方快递单号', name: 'pExpressNumber', index: 'p_express_number', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -7,7 +7,7 @@ $(function () {
{label: '答案', name: 'answer', index: 'answer', width: 80,formatter:contentFormat},
{label: '是否展示', name: 'enableFlag', index: 'enable_flag', width: 80},
{label: '排序', name: 'sort', index: 'sort', width: 80},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}]
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}],
});
});
......
......@@ -9,7 +9,19 @@ $(function () {
{label: '回复内容', name: 'replyMessage', index: 'reply_message', width: 80},
{label: '状态', name: 'delFlag', index: 'del_flag', width: 80, formatter: statusFormat},
{label: '创建时间', name: 'createTime', index: 'create_time', width: 80}
]
],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -10,7 +10,19 @@ $(function () {
{label: '商品数量', name: 'itemNum', index: 'item_num', width: 80},
{label: '支付流水号', name: 'payId', index: 'pay_id', width: 80},
{label: '支付方式', name: 'payWayCode', index: 'pay_way_code', width: 80},
{label: '支付时间', name: 'payTime', index: 'pay_time', width: 80}]
{label: '支付时间', name: 'payTime', index: 'pay_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -8,7 +8,19 @@ $(function () {
{label: '站点销量', name: 'stationSales', index: 'station_sales', width: 80},
{label: '销售额', name: 'salesVolume', index: 'sales_volume', width: 80},
{label: '点击量', name: 'clicks', index: 'clicks', width: 80},
{label: '统计时间', name: 'statisticTime', index: 'statistic_time', width: 80}]
{label: '统计时间', name: 'statisticTime', index: 'statistic_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'statistic_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -13,7 +13,19 @@ $(function () {
{label: '所属平台', name: 'platformCode', index: 'platform_code', width: 80},
{label: '平台名', name: 'platformName', index: 'platform_name', width: 80},
{label: '启用状态', name: 'enableFlag', index: 'enable_flag', width: 80},
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80}]
{label: '创建日期', name: 'createTime', index: 'create_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -9,7 +9,19 @@ $(function () {
{label: '优惠券名称', name: 'couponTitle', index: 'couponTitle', width: 80},
{label: '用户昵称', name: 'nick', index: 'nick', width: 80},
{label: '领取时间', name: 'createTime', index: 'create_time', width: 80},
{label: '是否已经使用', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:yesOrNoFormat}]
{label: '是否已经使用', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:yesOrNoFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -7,7 +7,19 @@ $(function () {
{label: '商品类型名', name: 'categoryName', index: 'category_name', width: 80, hidden: true},
{label: '起征点', name: 'mixAmount', index: 'mix_amount', width: 80, hidden: true},
{label: '税率', name: 'taxRate', index: 'tax_rate', width: 80},
{label: '启用状态', name: 'enableFlag', index: 'enable_flag', width: 80, hidden: true}]
{label: '启用状态', name: 'enableFlag', index: 'enable_flag', width: 80, hidden: true}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'mix_amount',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -8,7 +8,19 @@ $(function () {
{label: '有效开始时间', name: 'startTime', index: 'start_time', width: 80},
{label: '有效结束时间', name: 'endTime', index: 'end_time', width: 80},
{label: '标识(1发放,2领取,3注册)', name: 'identification', index: 'identification', width: 80,formatter:enableFormat},
{label: '是否已使用(0已使用,1未使用)', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:useFormat}]
{label: '是否已使用(0已使用,1未使用)', name: 'enableFlag', index: 'enable_flag', width: 80,formatter:useFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'start_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -5,7 +5,19 @@ $(function () {
{label: 'useId', name: 'useId', index: 'use_id', key: true, hidden: true},
{label: '用户id', name: 'userId', index: 'user_id', width: 80},
{label: '优惠券id', name: 'couponId', index: 'coupon_id', width: 80},
{label: '使用时间', name: 'useTime', index: 'use_time', width: 80}]
{label: '使用时间', name: 'useTime', index: 'use_time', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'use_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -5,7 +5,19 @@ $(function () {
{label: 'userAddressId', name: 'userAddressId', index: 'user_address_id', key: true, hidden: true},
{label: '用户id', name: 'userId', index: 'user_id', width: 80},
{label: '地址id', name: 'addressId', index: 'address_id', width: 80},
{label: '是否有效', name: 'enableFlag', index: 'enable_flag', width: 80}]
{label: '是否有效', name: 'enableFlag', index: 'enable_flag', width: 80}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'enable_flag',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -25,7 +25,19 @@ $(function () {
{label: '邀请用户', name: 'invitedUserId', index: 'invited_user_id', width: 120},
{label: '邀请人数', name: 'invitedCount', index: 'invited_count', width: 80},
{label: '是否有效', name: 'enableFlag', index: 'enable_flag', width: 60,formatter:yesOrNoFormat},
{label: '邮箱是否已经验证', name: 'emailFlag', index: 'email_flag', width: 80,formatter:yesOrNoFormat}]
{label: '邮箱是否已经验证', name: 'emailFlag', index: 'email_flag', width: 80,formatter:yesOrNoFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -6,7 +6,19 @@ $(function () {
{label: '版本code', name: 'versionCode', index: 'version_code', width: 80},
{label: '版本更新链接', name: 'versionLike', index: 'version_like', width: 80},
{label: '版本更新内容', name: 'versionDetail', index: 'version_detail', width: 80},
{label: '版本分类', name: 'versionSort', index: 'version_sort', width: 80,formatter:sortFormat}]
{label: '版本分类', name: 'versionSort', index: 'version_sort', width: 80,formatter:sortFormat}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'version_code',
viewrecords: true,
sortorder: "desc"
});
});
......
......@@ -18,7 +18,19 @@ $(function () {
label: '创建时间', name: 'createTime', index: "create_time", width: 80, formatter: function (value) {
return transDate(value);
}
}]
}],
shrinkToFit: true,
datatype : "json",
rowNum:15,
rowList:[15,30,45],
mtype: "POST",
rownumbers: true,
rownumWidth: 40,
gridview: true,
pager: '#speedp',
sortname: 'create_time',
viewrecords: true,
sortorder: "desc"
});
});
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #a67f59;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论