25768
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
  <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>
 | 
			
		||||
 | 
			
		||||
    <AiAreaPicker v-model="areaId" all :areaId="areaId" @select="areaSelect"></AiAreaPicker>
 | 
			
		||||
    <!-- <AiAreaPicker v-model="areaId"  :areaId="areaId" @select="areaSelect"></AiAreaPicker> -->
 | 
			
		||||
 | 
			
		||||
    <div class="line"></div>
 | 
			
		||||
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
 | 
			
		||||
    <div class="datas" v-if="datas.length > 0">
 | 
			
		||||
      <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="./components/img/4.png" alt="" v-else />
 | 
			
		||||
        </div>
 | 
			
		||||
@@ -22,6 +22,23 @@
 | 
			
		||||
          <div class="rightBottom">
 | 
			
		||||
            <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>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div> -->
 | 
			
		||||
@@ -33,6 +50,8 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import { mapState } from 'vuex'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: 'AppResidentDocument',
 | 
			
		||||
  appName: '居民档案',
 | 
			
		||||
@@ -40,6 +59,7 @@ export default {
 | 
			
		||||
  props: {},
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      keyword: '',
 | 
			
		||||
      datas: [],
 | 
			
		||||
      current: 1,
 | 
			
		||||
      size: 10,
 | 
			
		||||
@@ -54,18 +74,23 @@ export default {
 | 
			
		||||
      currentTabs: 0,
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  computed: {},
 | 
			
		||||
  computed: {
 | 
			
		||||
    ...mapState(['user', 'global']),
 | 
			
		||||
  },
 | 
			
		||||
  watch: {},
 | 
			
		||||
  onLoad() {},
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    this.getList()
 | 
			
		||||
  },
 | 
			
		||||
  onShow() {},
 | 
			
		||||
  methods: {
 | 
			
		||||
    getList() {
 | 
			
		||||
      this.$http
 | 
			
		||||
        .post('/app/wxcp/wxcustomer/list', null, {
 | 
			
		||||
        .post('/app/appresident/list', null, {
 | 
			
		||||
          params: {
 | 
			
		||||
            size: this.size,
 | 
			
		||||
            current: this.current,
 | 
			
		||||
            // createUserId: this.currentTabs == 1 ? this.user.id : '',
 | 
			
		||||
            con: this.keyword,
 | 
			
		||||
            residentType: this.currentTabs == 0 ? '0' : '1',
 | 
			
		||||
          },
 | 
			
		||||
        })
 | 
			
		||||
        .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="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 class="left">
 | 
			
		||||
              <img :src="item.photo" alt="" v-if="item.photo" />
 | 
			
		||||
              <img src="./components/img/4.png" alt="" v-else />
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -87,7 +107,7 @@
 | 
			
		||||
 | 
			
		||||
                <span>{{ item.phone }}</span>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            </div> -->
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
@@ -240,12 +260,12 @@ export default {
 | 
			
		||||
 | 
			
		||||
    getList() {
 | 
			
		||||
      this.$http
 | 
			
		||||
        .post('/app/appresident/list', null, {
 | 
			
		||||
        .post('/app/wxcp/wxcustomer/list', null, {
 | 
			
		||||
          params: {
 | 
			
		||||
            size: 10,
 | 
			
		||||
            current: this.current,
 | 
			
		||||
            areaId: this.areaId,
 | 
			
		||||
            con: this.keyword,
 | 
			
		||||
            name: this.keyword,
 | 
			
		||||
            residentType: this.currentPeople == 0 ? '0' : '1',
 | 
			
		||||
          },
 | 
			
		||||
        })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user