From 2bcf441a64810124e008bf6a5ea0522e9b3fca6c Mon Sep 17 00:00:00 2001
From: dougang <78125310@kidgrow.com>
Date: Mon, 16 Nov 2020 17:26:17 +0800
Subject: [PATCH] 增加C端微信参数
---
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html
index a12b18e..0a02a13 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html
@@ -1,9 +1,9 @@
<div class="layui-card">
<div class="layui-card-header">
- <h2 class="header-title">产品消费记录</h2>
+ <h2 class="header-title">产品充值记录</h2>
<span class="layui-breadcrumb pull-right">
<a href="#!console">首页</a>
- <a><cite>产品消费记录</cite></a>
+ <a><cite>产品充值记录</cite></a>
</span>
</div>
<div class="layui-card-body">
@@ -93,9 +93,6 @@
{ field: 'proEndtime', width: 120, title: '结束时间',templet:function(d){
return new Date(d.proEndtime).dateFormat("yyyy/MM/dd");
} },
- // { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){
- // return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss");
- // } },
{ field: 'createTime', width: 200, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" },
{ align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作',
fixed: 'right' }
@@ -111,10 +108,14 @@
layer.load(2);
admin.req('api-opration/productorderrecord/' + obj.data.id, {}, function (data) {
layer.closeAll('loading');
- layer.msg(data.msg, { icon: 1, time: 2000 }, function () {
- renderTable();
- });
- obj.del();
+ if(data.code==200)
+ {
+ layer.msg("指定充值记录删除成功!", { icon: 1, time: 2000 });
+ obj.del();
+ }
+ else{
+ layer.msg(data.msg, { icon: 3, time: 2000 });
+ }
}, 'DELETE');
});
}
--
Gitblit v1.8.0