Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
Project
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
姜雷
dcxy-manage-shell
Commits
851a51c4
Commit
851a51c4
authored
May 30, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改储值区域为多选
parent
dbd2a435
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
AreaSelect.vue
src/components/input/AreaDashboard/AreaSelect.vue
+5
-0
CustomerData.vue
src/containers/Dashboard/CustomerData/CustomerData.vue
+16
-0
CustomerDataStore.js
src/containers/Dashboard/CustomerData/CustomerDataStore.js
+1
-1
No files found.
src/components/input/AreaDashboard/AreaSelect.vue
View file @
851a51c4
...
...
@@ -6,6 +6,7 @@
filterable
:value=
"value"
@
change=
"changeHandle"
@
visible-change=
"resetFilterText"
:multiple=
"multiple"
ref=
"select"
>
...
...
@@ -14,6 +15,7 @@
<el-input
v-if=
"multiple"
class=
"out-input"
:value=
"filterText"
clearable
@
click
.
stop
@
input=
"debouncedQueryChange"
...
...
@@ -111,6 +113,9 @@ export default {
handleQueryChange
(
val
)
{
this
.
filterText
=
val
;
},
resetFilterText
(
visible
)
{
if
(
!
visible
)
this
.
filterText
=
''
;
},
},
};
</
script
>
...
...
src/containers/Dashboard/CustomerData/CustomerData.vue
View file @
851a51c4
...
...
@@ -12,6 +12,7 @@
<dashboard-area-select
:operateId=
"filters.operateId"
:value=
"filters.areaId"
multiple
@
input=
"val => updateFilters(
{areaId: val})"
/>
</search-item>
...
...
@@ -114,6 +115,21 @@ export default {
flex
:
1
;
}
}
.el-select
{
.el-select__tags
{
height
:
90%
;
overflow
:
hidden
;
input
{
display
:
none
;
}
}
.el-input
{
overflow
:
hidden
;
}
.el-input__inner
{
height
:
100%
!
important
;
}
}
}
</
style
>
src/containers/Dashboard/CustomerData/CustomerDataStore.js
View file @
851a51c4
...
...
@@ -4,7 +4,7 @@ import initFiltersStore from '@/store/modules/filters';
const
initFilters
=
()
=>
({
operateId
:
undefined
,
areaId
:
undefined
,
areaId
:
[]
,
timeType
:
0
,
// 0 本日,1 本月, 2 本年
});
const
filtersStore
=
initFiltersStore
(
initFilters
);
...
...
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