25768
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="AppResidentDocument">
|
<div class="AppResidentDocument">
|
||||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
||||||
|
|
||||||
<AiAreaPicker v-model="areaId" all :areaId="areaId" @select="areaSelect"></AiAreaPicker>
|
<!-- <AiAreaPicker v-model="areaId" :areaId="areaId" @select="areaSelect"></AiAreaPicker> -->
|
||||||
|
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<div class="datas" v-if="datas.length > 0">
|
<div class="datas" v-if="datas.length > 0">
|
||||||
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
|
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
|
||||||
<!-- <div class="left">
|
<div class="left">
|
||||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||||
<img src="./components/img/4.png" alt="" v-else />
|
<img src="./components/img/4.png" alt="" v-else />
|
||||||
</div>
|
</div>
|
||||||
@@ -22,6 +22,23 @@
|
|||||||
<div class="rightBottom">
|
<div class="rightBottom">
|
||||||
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}</span>
|
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}</span>
|
||||||
|
|
||||||
|
<span>{{ item.phone }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <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="margin-left: 4px">@{{ item.corpFullName }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="rightBottom">
|
||||||
|
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}</span>
|
||||||
|
|
||||||
<span>{{ item.phone }}</span>
|
<span>{{ item.phone }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
@@ -33,6 +50,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AppResidentDocument',
|
name: 'AppResidentDocument',
|
||||||
appName: '居民档案',
|
appName: '居民档案',
|
||||||
@@ -40,6 +59,7 @@ export default {
|
|||||||
props: {},
|
props: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
keyword: '',
|
||||||
datas: [],
|
datas: [],
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
@@ -54,18 +74,23 @@ export default {
|
|||||||
currentTabs: 0,
|
currentTabs: 0,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {
|
||||||
|
...mapState(['user', 'global']),
|
||||||
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
onLoad() {},
|
onLoad() {
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
onShow() {},
|
onShow() {},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.$http
|
this.$http
|
||||||
.post('/app/wxcp/wxcustomer/list', null, {
|
.post('/app/appresident/list', null, {
|
||||||
params: {
|
params: {
|
||||||
size: this.size,
|
size: this.size,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
// createUserId: this.currentTabs == 1 ? this.user.id : '',
|
con: this.keyword,
|
||||||
|
residentType: this.currentTabs == 0 ? '0' : '1',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
BIN
src/apps/AppResidentDocument/components/img/1.png
Normal file
BIN
src/apps/AppResidentDocument/components/img/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 740 B |
BIN
src/apps/AppResidentDocument/components/img/11.png
Normal file
BIN
src/apps/AppResidentDocument/components/img/11.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/apps/AppResidentDocument/components/img/22.png
Normal file
BIN
src/apps/AppResidentDocument/components/img/22.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/apps/AppResidentDocument/components/img/4.png
Normal file
BIN
src/apps/AppResidentDocument/components/img/4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/apps/AppResidentDocument/components/img/44.png
Normal file
BIN
src/apps/AppResidentDocument/components/img/44.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
@@ -76,6 +76,26 @@
|
|||||||
<div class="datas" v-if="data.length > 0">
|
<div class="datas" v-if="data.length > 0">
|
||||||
<div class="datass" v-for="(item, iindex) in data" :key="iindex" @click="toDetailCard(item)">
|
<div class="datass" v-for="(item, iindex) in data" :key="iindex" @click="toDetailCard(item)">
|
||||||
<div class="left">
|
<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 class="left">
|
||||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||||
<img src="./components/img/4.png" alt="" v-else />
|
<img src="./components/img/4.png" alt="" v-else />
|
||||||
</div>
|
</div>
|
||||||
@@ -87,7 +107,7 @@
|
|||||||
|
|
||||||
<span>{{ item.phone }}</span>
|
<span>{{ item.phone }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -240,12 +260,12 @@ export default {
|
|||||||
|
|
||||||
getList() {
|
getList() {
|
||||||
this.$http
|
this.$http
|
||||||
.post('/app/appresident/list', null, {
|
.post('/app/wxcp/wxcustomer/list', null, {
|
||||||
params: {
|
params: {
|
||||||
size: 10,
|
size: 10,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
areaId: this.areaId,
|
areaId: this.areaId,
|
||||||
con: this.keyword,
|
name: this.keyword,
|
||||||
residentType: this.currentPeople == 0 ? '0' : '1',
|
residentType: this.currentPeople == 0 ? '0' : '1',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user