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
b8f5bba6
Commit
b8f5bba6
authored
Mar 07, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:组件功能
parent
45d7bb46
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
9 deletions
+3
-9
Control.cshtml
Bailun.DC.Web/Areas/Component/Views/Form/Control.cshtml
+0
-2
Query.cshtml
Bailun.DC.Web/Areas/Component/Views/Table/Query.cshtml
+0
-1
el-form-control.js
Bailun.DC.Web/wwwroot/js/component/el-form-control.js
+3
-1
el-form-filter.js
Bailun.DC.Web/wwwroot/js/component/el-form-filter.js
+0
-1
el-table-query.js
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
+0
-4
No files found.
Bailun.DC.Web/Areas/Component/Views/Form/Control.cshtml
View file @
b8f5bba6
...
...
@@ -123,10 +123,8 @@
<el-upload ref="upload" class="el-upload"
v-else-if="item.type == 'file'"
v-bind:action="item.action"
v-bind:data="item.data"
v-bind:auto-upload="false"
v-bind:show-file-list="false"
v-bind:multiple="item.multiple"
v-bind:accept="item.accept"
v-bind:on-change="onFileChange"
v-bind:on-success="onSuccess"
...
...
Bailun.DC.Web/Areas/Component/Views/Table/Query.cshtml
View file @
b8f5bba6
...
...
@@ -5,7 +5,6 @@
v-on:search="onSearch"
v-on:reset="onReset"
v-on:export="onExport"
v-on:import="onImport"
v-on:click="onClick"></el-form-filter>
</el-header>
<el-main v-loading="$root.loading">
...
...
Bailun.DC.Web/wwwroot/js/component/el-form-control.js
View file @
b8f5bba6
...
...
@@ -228,7 +228,6 @@
listFile
.
splice
(
0
,
1
)
}
that
.
$set
(
that
,
"item_value"
,
file
)
that
.
$emit
(
"change"
,
file
)
}
else
{
listFile
.
splice
(
listFile
.
length
-
1
,
1
)
that
.
$message
.
error
(
'上传文件只能是'
+
that
.
item
.
accept
+
'格式!'
)
...
...
@@ -241,6 +240,9 @@
if
(
response
.
code
=
200
)
{
listFile
.
splice
(
listFile
.
length
-
1
,
1
)
that
.
$emit
(
"import"
,
true
,
file
)
that
.
$nextTick
(
function
()
{
that
.
$set
(
that
,
"item_value"
,
{})
})
}
else
{
file
.
status
=
"ready"
that
.
loading
=
false
...
...
Bailun.DC.Web/wwwroot/js/component/el-form-filter.js
View file @
b8f5bba6
...
...
@@ -121,7 +121,6 @@
onImport
:
function
(
result
,
file
,
message
)
{
if
(
result
)
{
this
.
$message
(
"导入成功!"
)
this
.
$refs
.
file
.
clearFiles
();
}
else
{
this
.
$message
.
error
(
message
)
}
...
...
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
View file @
b8f5bba6
...
...
@@ -181,10 +181,6 @@
}
}
},
//导入
onImport
:
function
(
file
)
{
debugger
;
},
//单击事件
onClick
:
function
(
fn
)
{
var
that
=
this
;
...
...
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