This commit is contained in:
花有清香月有阴
2021-12-24 10:05:35 +08:00
parent 9f022611c3
commit e9f671fa11
2 changed files with 4 additions and 80 deletions

View File

@@ -187,6 +187,10 @@ export default {
axisLine: { axisLine: {
lineStyle: { color: '#157EFF' }, lineStyle: { color: '#157EFF' },
}, },
tooltip: {
show: true,
trigger: 'axis',
},
axisLabel: { axisLabel: {
show: true, show: true,
interval: 0, interval: 0,

View File

@@ -81,44 +81,6 @@
</div> </div>
</AiCell> </AiCell>
</div> </div>
<!-- <AiAreaPicker v-model="areaId" all :areaId="areaId" @select="areaSelect"></AiAreaPicker>
<div class="line"></div>
<div class="peopleCard">
<u-tabs :list="tabPeopleList" :is-scroll="false" :current="currentPeople" height="96" inactive-color="#000" active-color="#1365DD" @change="changePeople"></u-tabs>
<div class="seachObj">
<u-search v-model="keyword" :clearabled="true" placeholder="搜索" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
</div>
<div class="datas" v-if="data.length > 0">
<div class="datass" v-for="(item, iindex) in data" :key="iindex" @click="toDetailCard(item)">
<div class="left">
<img :src="item.avatar" alt="" v-if="item.photo" />
<img src="./components/img/4.png" alt="" v-else />
</div>
<div class="right">
<div class="rightTop">
{{ item.corpName }}
<span v-if="item.corpFullName" style="color: #3c7fc8; margin-left: 4px">@{{ item.corpFullName }}</span>
</div>
<div class="rightBottom">
<span>
<span>{{ item.name }}</span>
{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}
</span>
<span>{{ item.phone }}</span>
</div>
</div>
</div>
</div>
<AiEmpty v-else></AiEmpty>
</div> -->
</div> </div>
<div class="currentTabBar2" v-if="currentTabBar == 2"> <div class="currentTabBar2" v-if="currentTabBar == 2">
@@ -295,28 +257,7 @@ export default {
}) })
}, },
// getList() {
// this.$http
// .post('/app/wxcp/wxcustomer/list', null, {
// params: {
// size: 10,
// current: this.current,
// areaId: this.areaId,
// name: this.keyword,
// residentType: this.currentPeople == 0 ? '0' : '1',
// },
// })
// .then((res) => {
// if (res.code == 0) {
// this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
// this.pages = res.data.pages
// }
// })
// },
//
// 居民群统计 // 居民群统计
getEchart1() { getEchart1() {
this.$http.post(`/app/wxcp/wxgroup/groupStatistic`).then((res) => { this.$http.post(`/app/wxcp/wxgroup/groupStatistic`).then((res) => {
if (res.code === 0) { if (res.code === 0) {
@@ -540,27 +481,6 @@ export default {
} }
}, },
// toDetailCard(item) {
// uni.navigateTo({ url: `./DetailCard?id=${item.id}` })
// },
// areaSelect(e) {
// this.areaId = e.id
// this.getList()
// },
// handerSearch(e) {
// this.keyword = e
// this.current = 1
// this.getList()
// },
// handerClear() {
// this.keyword = ''
// this.current = 1
// this.getList()
// },
changeTab(e) { changeTab(e) {
this.currentTabBar = e this.currentTabBar = e
if (this.currentTabBar == 0) { if (this.currentTabBar == 0) {