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
0e3b84a6
Commit
0e3b84a6
authored
Jun 20, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
Develop See merge request
!162
parents
a852090e
08721dc6
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
26 deletions
+41
-26
.env
.env
+1
-1
mixin.js
src/components/input/AreaDashboard/mixin.js
+1
-1
store.js
src/components/input/AreaDashboard/store.js
+6
-8
CampusCustomerData.vue
...iners/Dashboard/CampusCustomerData/CampusCustomerData.vue
+1
-0
CustomerData.vue
src/containers/Dashboard/CustomerData/CustomerData.vue
+1
-0
Dashboard.js
src/containers/Dashboard/Dashboard.js
+2
-6
Dashboard.vue
src/containers/Dashboard/Dashboard.vue
+0
-1
Demo.vue
src/containers/HomePage/Demo.vue
+29
-9
No files found.
.env
View file @
0e3b84a6
...
@@ -4,7 +4,7 @@ VUE_APP_CUSTOMER_MENU_CODE=0001
...
@@ -4,7 +4,7 @@ VUE_APP_CUSTOMER_MENU_CODE=0001
VUE_APP_BASE_MENU_CODE=0002
VUE_APP_BASE_MENU_CODE=0002
VUE_APP_SYSTEM_MENU_CODE=0003
VUE_APP_SYSTEM_MENU_CODE=0003
VUE_APP_FEEDBACK_MENU_CODE=0018
VUE_APP_FEEDBACK_MENU_CODE=0018
VUE_APP_WARNNING_MENU_CODE=0
098
VUE_APP_WARNNING_MENU_CODE=0
100
VUE_APP_STATISTICS_MENU_CODE=0044
VUE_APP_STATISTICS_MENU_CODE=0044
VUE_APP_DEVICE_MENU_CODE=0048
VUE_APP_DEVICE_MENU_CODE=0048
VUE_APP_CUSTOMER_OPERATE_CODE=0077
VUE_APP_CUSTOMER_OPERATE_CODE=0077
...
...
src/components/input/AreaDashboard/mixin.js
View file @
0e3b84a6
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
storeIndex
=
store
.
install
(
this
.
$store
);
this
.
storeIndex
=
store
.
install
(
this
.
$store
,
this
.
$attrs
);
},
},
mounted
()
{
mounted
()
{
if
(
this
.
dashboardArea
&&
!
this
.
dashboardArea
.
length
)
{
if
(
this
.
dashboardArea
&&
!
this
.
dashboardArea
.
length
)
{
...
...
src/components/input/AreaDashboard/store.js
View file @
0e3b84a6
...
@@ -3,21 +3,19 @@ import areaStroe from './areaStore';
...
@@ -3,21 +3,19 @@ import areaStroe from './areaStore';
let
index
=
0
;
let
index
=
0
;
export
default
{
export
default
{
install
(
store
)
{
install
(
store
,
attrs
)
{
let
name
=
attrs
.
name
?
attrs
.
name
:
'Da'
+
index
++
;
if
(
!
store
.
state
.
base
)
{
if
(
!
store
.
state
.
base
)
{
store
.
registerModule
([
'base'
],
{
store
.
registerModule
([
'base'
],
{
state
:
{},
state
:
{},
});
});
}
}
if
(
!
store
.
state
.
base
[
'dashboardArea'
+
index
])
{
if
(
!
store
.
state
.
base
[
'dashboardArea'
+
name
])
{
store
.
registerModule
([
'base'
,
'dashboardArea'
+
index
],
areaStroe
);
store
.
registerModule
([
'base'
,
'dashboardArea'
+
name
],
areaStroe
);
}
else
{
index
++
;
store
.
registerModule
([
'base'
,
'dashboardArea'
+
index
],
areaStroe
);
}
}
return
index
;
return
name
;
},
},
uninstall
(
store
)
{
uninstall
(
store
,
index
)
{
store
.
unregisterModule
([
'base'
,
'dashboardArea'
+
index
]);
store
.
unregisterModule
([
'base'
,
'dashboardArea'
+
index
]);
},
},
};
};
src/containers/Dashboard/CampusCustomerData/CampusCustomerData.vue
View file @
0e3b84a6
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
</search-item>
</search-item>
<search-item
label=
"区域"
>
<search-item
label=
"区域"
>
<dashboard-area-select
<dashboard-area-select
name=
'campusData'
:operateId=
"filters.operateId"
:operateId=
"filters.operateId"
:value=
"filters.choiceareaIds"
:value=
"filters.choiceareaIds"
multiple
multiple
...
...
src/containers/Dashboard/CustomerData/CustomerData.vue
View file @
0e3b84a6
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
</search-item>
</search-item>
<search-item
label=
"区域"
>
<search-item
label=
"区域"
>
<dashboard-area-select
<dashboard-area-select
name=
'customerData'
:operateId=
"filters.operateId"
:operateId=
"filters.operateId"
:value=
"filters.areaId"
:value=
"filters.areaId"
multiple
multiple
...
...
src/containers/Dashboard/Dashboard.js
View file @
0e3b84a6
...
@@ -205,12 +205,8 @@ const actions = {
...
@@ -205,12 +205,8 @@ const actions = {
commit
(
GET_TITLE_DATA
,
data
);
commit
(
GET_TITLE_DATA
,
data
);
});
});
},
},
getWarnningCount
({
commit
,
rootGetters
})
{
getWarnningCount
({
commit
})
{
getWarnningCount
({
getWarnningCount
().
then
(
res
=>
{
params
:
{
operatorId
:
rootGetters
.
userInfo
.
operateId
,
},
}).
then
(
res
=>
{
commit
(
GET_WARNNING_COUNT
,
res
.
data
);
commit
(
GET_WARNNING_COUNT
,
res
.
data
);
});
});
},
},
...
...
src/containers/Dashboard/Dashboard.vue
View file @
0e3b84a6
...
@@ -42,7 +42,6 @@ export default {
...
@@ -42,7 +42,6 @@ export default {
};
};
},
},
beforeDestroy
()
{
beforeDestroy
()
{
console
.
log
(
'in beforeDestroy'
);
if
(
this
.
timer
)
{
if
(
this
.
timer
)
{
clearInterval
(
this
.
timer
);
clearInterval
(
this
.
timer
);
}
}
...
...
src/containers/HomePage/Demo.vue
View file @
0e3b84a6
...
@@ -8,29 +8,47 @@
...
@@ -8,29 +8,47 @@
@
input=
"val => updateFilters(
{operateId: val,areaIdArr:[]})"
@
input=
"val => updateFilters(
{operateId: val,areaIdArr:[]})"
/>
/>
</search-item>
</search-item>
<
!--
<search-item
label=
"区域
"
>
<
search-item
label=
"区域1
"
>
<dashboard-area-select
<dashboard-area-select
:operateId=
"filters.operateId"
name=
'da1'
:value=
"filters.areaIdArr"
:operateId=
"3"
:value=
"filters.areaIdArr1"
multiple
multiple
@
input=
"val => updateFilters(
{areaIdArr: val})"
@
input=
"val => updateFilters(
{areaIdArr: val})"
/>
/>
</search-item>
-->
</search-item>
<search-item
label=
"区域"
>
<search-item
label=
"区域2"
>
<dashboard-area-select
name=
'da2'
:operateId=
"28"
:value=
"filters.areaIdArr2"
multiple
@
input=
"val => updateFilters(
{areaIdArr: val})"
/>
</search-item>
<search-item
label=
"区域3"
>
<dashboard-area-select
:operateId=
"39"
:value=
"filters.areaIdArr3"
multiple
@
input=
"val => updateFilters(
{areaIdArr: val})"
/>
</search-item>
<!--
<search-item
label=
"区域"
>
<area-select
<area-select
:value=
"filters.areaId"
:value=
"filters.areaId"
@
input=
"val => updateFilters(
{areaId: val})"
@
input=
"val => updateFilters(
{areaId: val})"
/>
/>
</search-item>
</search-item>
-->
<search-item
label=
"服务"
>
<
!--
<
search-item
label=
"服务"
>
<area-service-select
<area-service-select
:areaId=
"filters.areaId"
:areaId=
"filters.areaId"
:filterList=
"[3]"
:filterList=
"[3]"
:value=
"filters.service"
:value=
"filters.service"
@
input=
"val => updateFilters(
{service: val})"
@
input=
"val => updateFilters(
{service: val})"
/>
/>
</search-item>
</search-item>
-->
</
template
>
</
template
>
</list-layout>
</list-layout>
</template>
</template>
...
@@ -41,7 +59,9 @@ export default {
...
@@ -41,7 +59,9 @@ export default {
return
{
return
{
filters
:
{
filters
:
{
operateId
:
undefined
,
operateId
:
undefined
,
areaIdArr
:
[],
areaIdArr1
:
[
15
],
areaIdArr2
:
[
123
],
areaIdArr3
:
[
128
],
areaId
:
undefined
,
areaId
:
undefined
,
service
:
undefined
,
service
:
undefined
,
},
},
...
...
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