数据总览
This commit is contained in:
@@ -43,7 +43,7 @@ export default {
|
||||
],
|
||||
current: 0,
|
||||
data: {},
|
||||
dataArray: ['新增居民档案','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
dataArray: ['新增居民档案','居民档案更新','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
beginDate: '2022-12-19'
|
||||
}
|
||||
},
|
||||
@@ -58,12 +58,12 @@ export default {
|
||||
getData() {
|
||||
this.$http.post(`/app/appwxcpopenstatistics/statistics`,null, {
|
||||
params: {
|
||||
beginDate: '2022-12-19',
|
||||
beginDate: this.beginDate,
|
||||
type: this.current==0? '1':'2'
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
console.log(res);
|
||||
this.data = res.data
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
<div :class="index == tabIndex ? 'tab-item active' : 'tab-item'" v-for="(item, index) in tabList" :key="index" @click="tabClick(index)">{{ item.text }}<span></span></div>
|
||||
</div>
|
||||
<component ref='list' :is="tabList[tabIndex].component" :areaId="areaId" class="component" />
|
||||
|
||||
<button @click="toOverData">按钮</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
],
|
||||
current: 0,
|
||||
data: {},
|
||||
dataArray: ['新增居民档案','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
dataArray: ['新增居民档案','居民档案更新','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user