linwe
2024-12-27 a59ecf5410e8200789b42fd2b985e4ba36ee55f8
入参替换
9 files modified
182 ■■■■ changed files
src/views/comprehensiveSearch/components/buildingTable.vue 4 ●●●● patch | view | raw | blame | history
src/views/house/components/antiFraud.vue 43 ●●●●● patch | view | raw | blame | history
src/views/house/components/employees.vue 25 ●●●●● patch | view | raw | blame | history
src/views/house/components/nineSmallPlaces.vue 20 ●●●●● patch | view | raw | blame | history
src/views/house/components/noFraudAuthentication.vue 10 ●●●● patch | view | raw | blame | history
src/views/house/components/positionTrading.vue 10 ●●●● patch | view | raw | blame | history
src/views/house/components/rentalHouse.vue 18 ●●●●● patch | view | raw | blame | history
src/views/house/components/scanCodeAlarm.vue 10 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 42 ●●●● patch | view | raw | blame | history
src/views/comprehensiveSearch/components/buildingTable.vue
@@ -14,9 +14,9 @@
        </div>
        <div v-if="buildingTableShow" class="list">
            <div class="buildingTable-item" v-for="(item, index) in 60" :key="index">
                <div class="buildingTable-item-text">
                <!-- <div class="buildingTable-item-text">
                    {{ index }}
                </div>
                </div> -->
            </div>
        </div>
    </div>
src/views/house/components/antiFraud.vue
@@ -233,6 +233,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -256,7 +260,13 @@
  computed: {
  },
  //监控data中的数据变化
  watch: {},
  watch: {
    residentIdSave(newVal, oldVal) {
      // if (newVal) {
      //   this.init()
      // }
    }
  },
  //方法集合
  methods: {
    changeData(type) {
@@ -264,7 +274,7 @@
      this.detailBox = false
      if (type == 1) {
        this.residentLoading = true
        getTaskLabelAntiFraudPage('123456').then((res) => {
        getTaskLabelAntiFraudPage(this.residentIdSave).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
          this.residentLoading = false
@@ -273,7 +283,7 @@
        })
      } else {
        this.residentLoading = true
        getBackblastWarnHanRec('123456').then((res) => {
        getBackblastWarnHanRec(this.residentIdSave).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
          this.residentLoading = false
@@ -292,29 +302,32 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
    },
    init() {
      this.residentLoading = true
      getTaskLabelAntiFraudPage(this.residentIdSave).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
      }).catch((err) => {
        this.residentLoading = false
      })
    },
  },
  //生命周期 - 创建完成(可以访问当前this实例)
  created() {
    console.log('tableFromPop mounted', this.hushiPeoTy)
    this.residentLoading = true
    getTaskLabelAntiFraudPage(123456).then((res) => {
      this.dataList.total = res.data.data.total
      this.dataList.records = res.data.data.records
      this.residentLoading = false
    }).catch((err) => {
      this.residentLoading = false
    })
  },
  //生命周期 - 挂载完成(可以访问DOM元素)
  mounted() {
    console.log('tableFromPop mounted', this.hushiPeoTy)
    console.log('tableFromPop mounted111', this.residentIdSave)
    this.init()
  },
  beforeCreate() { }, //生命周期 - 创建之前
  beforeMount() { }, //生命周期 - 挂载之前
src/views/house/components/employees.vue
@@ -183,6 +183,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -205,12 +209,19 @@
  computed: {
  },
  //监控data中的数据变化
  watch: {},
  watch: {
    residentIdSave(newVal, oldVal) {
      console.log('residentIdSave', newVal, oldVal)
      if (newVal) {
        this.init()
      }
    }
  },
  //方法集合
  methods: {
    init() {
      this.residentLoading = true
      getPlacePractitionerPage(123456).then((res) => {
      getPlacePractitionerPage(this.residentIdSave).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -228,8 +239,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
@@ -238,14 +249,12 @@
  },
  //生命周期 - 创建完成(可以访问当前this实例)
  created() {
    console.log('tableFromPop mounted', this.hushiPeoTy)
    console.log('tableFromPop created', this.residentIdSave)
  },
  //生命周期 - 挂载完成(可以访问DOM元素)
  mounted() {
    console.log('tableFromPop mounted', this.hushiPeoTy)
    console.log('tableFromPop mounted', this.residentIdSave)
    this.init()
  },
  beforeCreate() { }, //生命周期 - 创建之前
  beforeMount() { }, //生命周期 - 挂载之前
src/views/house/components/nineSmallPlaces.vue
@@ -372,6 +372,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -431,7 +435,7 @@
      this.detailBox = false
      if (type == 1) {
        this.residentLoading = true
        getPlaceCheckPage(123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        getPlaceCheckPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
          this.residentLoading = false
@@ -440,7 +444,7 @@
        })
      } else {
        this.residentLoading = true
        getTaskPlaceSelfCheckPage(1, 123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        getTaskPlaceSelfCheckPage(1, this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
          this.residentLoading = false
@@ -451,7 +455,7 @@
    },
    init() {
      this.residentLoading = true
      getPlaceCheckPage(123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
      getPlaceCheckPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -487,16 +491,8 @@
              }
            })
          })
        }
      })
    },
@@ -506,7 +502,7 @@
        if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
          imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
            return 'http://10.141.11.11/place/' + ele
            return 'http://10.141.11.11/jczzMedia/' + ele
          })
        }
src/views/house/components/noFraudAuthentication.vue
@@ -159,6 +159,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -222,7 +226,7 @@
    },
    init() {
      this.residentLoading = true
      getTaskNoFraudReporting(123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
      getTaskNoFraudReporting(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -240,8 +244,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
src/views/house/components/positionTrading.vue
@@ -177,6 +177,10 @@
      type: String,
      default: ''
    },
      residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -213,8 +217,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
@@ -226,7 +230,7 @@
    console.log('tableFromPop mounted', this.hushiPeoTy)
    // this.residentIdSave
    this.residentLoading = true
    getTaskLabelReportingEventPage(123456).then((res) => {
    getTaskLabelReportingEventPage(this.residentIdSave).then((res) => {
      this.dataList.total = res.data.data.total
      this.dataList.records = res.data.data.records
      this.residentLoading = false
src/views/house/components/rentalHouse.vue
@@ -326,6 +326,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -368,8 +372,6 @@
        { label: '儿媳', value: 17 },
        { label: '租户', value: 18 },
        { label: '其他', value: 19 },
      ]
    }
@@ -405,17 +407,17 @@
      this.current = type
      this.detailBox = false
      if (type == 1) {
        getHouseRentalPage('a1', this.pageparm.pageSize, this.pageparm.current).then((res) => {
        getHouseRentalPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
        })
      } else if (type == 2) {
        geTaskResidencePermitApplyPage(2, 'a1', this.pageparm.pageSize, this.pageparm.current).then((res) => {
        geTaskResidencePermitApplyPage(2, this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
        })
      } else if (type == 3) {
        getTenantPage(1, 'a1', this.pageparm.pageSize, this.pageparm.current).then((res) => {
        getTenantPage(1, this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
          this.dataList.total = res.data.data.total
          this.dataList.records = res.data.data.records
        })
@@ -424,7 +426,7 @@
    },
    init() {
      this.residentLoading = true
      getHouseRentalPage('a1', this.pageparm.pageSize, this.pageparm.current).then((res) => {
      getHouseRentalPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -452,8 +454,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
src/views/house/components/scanCodeAlarm.vue
@@ -108,6 +108,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -150,7 +154,7 @@
    },
    init() {
      this.residentLoading = true
      getPoliceAlarmRecordsPage(123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
      getPoliceAlarmRecordsPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -168,8 +172,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []
src/views/house/index.vue
@@ -552,57 +552,34 @@
                            @click="hushiPeoTyClick(item.value)">
                            {{ item.label }}</div>
                    </div>
                    <!-- <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 1 }" @click="hushiPeoTyClick(1)">
                        户籍人口</div>
                    <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 2 }" @click="hushiPeoTyClick(2)">
                        实有人口</div>
                    <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 3 }" @click="hushiPeoTyClick(3)">其他
                    </div>
                    <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 5 }"
                        @click="getVillageEmployeeInfo(5)">从业人员
                    </div>
                    <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 6 }"
                        @click="getVillageReportingEvent(6)">阵地控制
                    </div>
                    <div class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 7 }" @click="getVillageAntiFraud(7)">
                        反诈宣传
                    </div>
                    <div v-show="isShowPayInfo" class="tab-item" :class="{ 'tab-choose-item': hushiPeoTy == 4 }"
                        @click="hushiPeoTyClick(4)">交易信息
                    </div> -->
                </div>
                <div v-if="hushiPeoTy == 5" class="pay-info-box">
                    <employees ref="employees"></employees>
                    <employees :residentIdSave="residentIdSave" ref="employees"></employees>
                </div>
                <div v-if="hushiPeoTy == 6" class="pay-info-box">
                    <positionTrading ref="positionTrading"></positionTrading>
                    <positionTrading :residentIdSave="residentIdSave" ref="positionTrading"></positionTrading>
                </div>
                <div v-if="hushiPeoTy == 7" class="pay-info-box">
                    <antiFraud ref="antiFraud"></antiFraud>
                    <antiFraud :residentIdSave="residentIdSave" ref="antiFraud"></antiFraud>
                </div>
                <div v-if="hushiPeoTy == 8" class="pay-info-box">
                    <scanCodeAlarm ref="scanCodeAlarm"></scanCodeAlarm>
                    <scanCodeAlarm :residentIdSave="residentIdSave" ref="scanCodeAlarm"></scanCodeAlarm>
                </div>
                <div v-if="hushiPeoTy == 10" class="pay-info-box">
                    <rentalHouse ref="rentalHouse"></rentalHouse>
                    <rentalHouse :residentIdSave="residentIdSave" ref="rentalHouse"></rentalHouse>
                </div>
                <div v-if="hushiPeoTy == 12" class="pay-info-box">
                    <noFraudAuthentication ref="noFraudAuthentication"></noFraudAuthentication>
                    <noFraudAuthentication :residentIdSave="residentIdSave" ref="noFraudAuthentication"></noFraudAuthentication>
                </div>
                <div v-if="hushiPeoTy == 11" class="pay-info-box">
                    <nineSmallPlaces ref="nineSmallPlaces"></nineSmallPlaces>
                    <nineSmallPlaces :residentIdSave="residentIdSave" ref="nineSmallPlaces"></nineSmallPlaces>
                </div>
                <el-table :data="houseDate"
@@ -1314,8 +1291,9 @@
        // 户室人口类型切换
        hushiPeoTyClick(type) {
            this.hushiPeoTy = type
            this.getVillagePersonInfo(this.residentIdSave, '', { personType: this.hushiPeoTy })
            console.log('hushiPeoTyClick', type)
            if (type <= 4) {
                this.getVillagePersonInfo(this.residentIdSave, '', { personType: this.hushiPeoTy })
            }
        },
        // 鼠标移入商业数据