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
a7447cdc
Commit
a7447cdc
authored
Mar 07, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:组件功能
parent
de9dd982
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
18 deletions
+8
-18
PlatformOrderFeeServices.cs
Bailun.DC.Services/DataWareHouse/PlatformOrderFeeServices.cs
+0
-0
TableController.cs
Bailun.DC.Web/Areas/Component/Controllers/TableController.cs
+0
-16
PlatformOrderController.cs
...reas/DataWareHouse/Controllers/PlatformOrderController.cs
+0
-0
el-form-control.js
Bailun.DC.Web/wwwroot/js/component/el-form-control.js
+3
-0
el-form-filter.js
Bailun.DC.Web/wwwroot/js/component/el-form-filter.js
+1
-0
el-table-control.js
Bailun.DC.Web/wwwroot/js/component/el-table-control.js
+4
-2
No files found.
Bailun.DC.Services/DataWareHouse/PlatformOrderFeeServices.cs
View file @
a7447cdc
This diff is collapsed.
Click to expand it.
Bailun.DC.Web/Areas/Component/Controllers/TableController.cs
View file @
a7447cdc
...
...
@@ -181,22 +181,6 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
return
Json
(
result
);
}
[
HttpPost
]
public
JsonResult
Import
(
IFormFile
file
)
{
ResultDTO
result
=
default
(
ResultDTO
);
try
{
result
=
new
ResultDTO
{
Result
=
true
};
}
catch
(
Exception
ex
)
{
result
=
new
ResultDTO
()
{
Message
=
ex
.
Message
};
}
return
Json
(
result
);
}
private
class
IgnoreJsonAttributesResolver
:
DefaultContractResolver
{
private
string
Id
{
get
;
set
;
}
...
...
Bailun.DC.Web/Areas/DataWareHouse/Controllers/PlatformOrderController.cs
View file @
a7447cdc
This diff is collapsed.
Click to expand it.
Bailun.DC.Web/wwwroot/js/component/el-form-control.js
View file @
a7447cdc
...
...
@@ -216,6 +216,7 @@
},
//上传文件
upLoad
()
{
Vue
.
set
(
this
.
$root
,
"loading"
,
true
);
this
.
$refs
.
upload
.
submit
();
},
//清除文件
...
...
@@ -252,12 +253,14 @@
that
.
loading
=
false
that
.
$emit
(
"import"
,
false
,
file
,
response
.
message
||
"上传文件失败!"
)
}
Vue
.
set
(
this
.
$root
,
"loading"
,
false
);
},
//文件上传失败
onError
(
err
,
file
,
listFile
)
{
file
.
status
=
"ready"
this
.
loading
=
false
this
.
$emit
(
"import"
,
false
,
file
,
err
)
Vue
.
set
(
this
.
$root
,
"loading"
,
false
);
},
},
template
:
'#elFormControl'
...
...
Bailun.DC.Web/wwwroot/js/component/el-form-filter.js
View file @
a7447cdc
...
...
@@ -121,6 +121,7 @@
onImport
:
function
(
result
,
file
,
message
)
{
if
(
result
)
{
this
.
$message
(
"导入成功!"
)
this
.
onSearch
();
}
else
{
this
.
$message
.
error
(
message
)
}
...
...
Bailun.DC.Web/wwwroot/js/component/el-table-control.js
View file @
a7447cdc
...
...
@@ -42,7 +42,9 @@
return
{
isFirst
:
false
,
listData
:
[],
setting
:
{}
setting
:
{},
rows
:
[],
row
:
null
}
},
methods
:
{
...
...
@@ -224,7 +226,7 @@
},
//选择项发生变化事件
onSelectionChange
(
selection
)
{
this
.
rows
=
selection
this
.
$set
(
this
,
"rows"
,
selection
);
this
.
$emit
(
"selection-change"
,
selection
)
},
//顺序号
...
...
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