educode_sales 0.9.54 → 0.9.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d84bb1c7e9e34758e91acc40d652ddd0d5349078f7415634e9b543354e801f7a
|
4
|
+
data.tar.gz: e27fd016f131694941d502c8e9111fc3eb530f8f95484af1518754966602ca80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be84a8610f48ec6db17c36264699f12e4de5adf8d3452b4a7ef07940c85d5003ad4f1667ae90c93f5434fbc781ada0fc08e8a2005c96267c4a74435a143bb06d
|
7
|
+
data.tar.gz: 78f9a6bdff957b4459d3792992c86a9bc7b53507e2f4acd51626535d9be53e474072f766196b71f6b626e896c235f90d2c18eb83ee4ec4ff540c2af82a10caf0
|
@@ -18,7 +18,7 @@ module EducodeSales
|
|
18
18
|
|
19
19
|
if params[:q] && params[:q][:created_at].present?
|
20
20
|
date = params[:q][:created_at].split(" - ")
|
21
|
-
@ideas = @ideas.where("educode_sales_ideas.created_at >= ? AND educode_sales_ideas.created_at <= ?", date[0], date[1])
|
21
|
+
@ideas = @ideas.where("educode_sales_ideas.created_at >= ? AND educode_sales_ideas.created_at <= ?", date[0] + " 00:00:00", date[1] + " 23:59:59")
|
22
22
|
end
|
23
23
|
if params[:q].present? && params[:q][:name].present?
|
24
24
|
@ideas = @ideas.where("educode_sales_ideas.name like ?", "%#{params[:q][:name]}%")
|
@@ -18,7 +18,7 @@ module EducodeSales
|
|
18
18
|
|
19
19
|
if params[:q] && params[:q][:created_at].present?
|
20
20
|
date = params[:q][:created_at].split(" - ")
|
21
|
-
@ideas = @ideas.where("educode_sales_ideas.created_at >= ? AND educode_sales_ideas.created_at <= ?", date[0], date[1])
|
21
|
+
@ideas = @ideas.where("educode_sales_ideas.created_at >= ? AND educode_sales_ideas.created_at <= ?", date[0] + " 00:00:00", date[1] + " 23:59:59")
|
22
22
|
end
|
23
23
|
if params[:q].present? && params[:q][:name].present?
|
24
24
|
@ideas = @ideas.where("educode_sales_ideas.name like ?", "%#{params[:q][:name]}%")
|
@@ -84,7 +84,7 @@
|
|
84
84
|
<script type="text/html" id="currentTableBar">
|
85
85
|
<a class="layui-btn layui-btn-normal layui-btn-xs data-count-edita" lay-event="add_event">详情</a>
|
86
86
|
<a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="idea_edit">编辑</a>
|
87
|
-
<a class="layui-btn layui-btn-danger layui-btn-xs data-count-edit" lay-event="idea_recycle"
|
87
|
+
<a class="layui-btn layui-btn-danger layui-btn-xs data-count-edit" lay-event="idea_recycle">移除</a>
|
88
88
|
</script>
|
89
89
|
<script>
|
90
90
|
layui.use(['form', 'table', 'miniPage', 'element', 'request', 'laydate'], function () {
|