Commit dddbd2ae authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent 804cda5d
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
cardListLeftTitle: '能耗统计', cardListLeftTitle: '能耗统计',
cardListRightTitle: '旅客满意度调查', cardListRightTitle: '旅客满意度调查',
activeIndex: 0, activeIndex: 0,
dataList: [] || this.$store.state.d2admin.paramsList.list.syBean, dataList: [],
dateList: [ dateList: [
{ {
value: 0, value: 0,
...@@ -227,7 +227,25 @@ export default { ...@@ -227,7 +227,25 @@ export default {
data: [] data: []
} }
}, },
computed: {
syBean() {
return this.$store.state.d2admin.paramsList.list.syBean
}
},
watch: {
syBean: {
handler(n, o) {
if (n) {
this.setList()
}
},
deep: true
}
},
methods: { methods: {
setList() {
this.dataList = this.syBean
},
getDataList() { getDataList() {
this.dataListLoading = true this.dataListLoading = true
this.$http({ this.$http({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment