Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
1217eccf
Commit
1217eccf
authored
Jul 15, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改销售平台流水 json格式显示为字符串
parent
1ccd3043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
OrderBillings.cshtml
...as/DataWareHouse/Views/PlatformOrder/OrderBillings.cshtml
+12
-1
No files found.
Bailun.DC.Web/Areas/DataWareHouse/Views/PlatformOrder/OrderBillings.cshtml
View file @
1217eccf
...
@@ -230,7 +230,13 @@
...
@@ -230,7 +230,13 @@
var _r = '<tr><td>' + result.rows[i].datatime+'</td>';
var _r = '<tr><td>' + result.rows[i].datatime+'</td>';
for (var r in _obj) {
for (var r in _obj) {
_r += '<td style="width:160px;">' + '<div class="mules" title="' + _obj[r] + '">' + _obj[r] + '</div>' +'</td>';
var _v = _obj[r];
if (isJson(_obj[r])) {
_v = JSON.stringify(_obj[r]).replace(/"/g, "'");
}
_r += '<td style="width:160px;">' + '<div class="mules" title="' + _v + '">' + _v + '</div>' +'</td>';
}
}
_r += '</tr>';
_r += '</tr>';
...
@@ -291,6 +297,11 @@
...
@@ -291,6 +297,11 @@
}
}
function isJson (obj) {
var isjson = typeof (obj) == "object" && Object.prototype.toString.call(obj).toLowerCase() == "[object object]" && !obj.length;
return isjson;
}
function ExportCSV() {
function ExportCSV() {
//var website = $('#website').val();
//var website = $('#website').val();
//var month = $('#month').val();
//var month = $('#month').val();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment