BUG 26286
This commit is contained in:
		@@ -176,13 +176,11 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    submit() {
 | 
					    submit() {
 | 
				
			||||||
      this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
 | 
					      this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
 | 
				
			||||||
        if (res.code == 0) {
 | 
					        if (res?.code == 0) {
 | 
				
			||||||
          this.$u.toast('提交成功')
 | 
					          this.$u.toast('提交成功')
 | 
				
			||||||
          setTimeout(() => {
 | 
					          setTimeout(() => {
 | 
				
			||||||
            uni.navigateBack()
 | 
					            uni.navigateBack({})
 | 
				
			||||||
            uni.$emit('update')
 | 
					 | 
				
			||||||
          }, 600)
 | 
					          }, 600)
 | 
				
			||||||
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -161,17 +161,11 @@ export default {
 | 
				
			|||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
    ...mapState(['user']),
 | 
					    ...mapState(['user']),
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  created() {
 | 
					 | 
				
			||||||
    this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
 | 
					 | 
				
			||||||
        'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
 | 
					 | 
				
			||||||
      this.getBuilding()
 | 
					 | 
				
			||||||
    })
 | 
					 | 
				
			||||||
    uni.$on('update', () => {
 | 
					 | 
				
			||||||
      this.getBuilding()
 | 
					 | 
				
			||||||
    })
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  onShow() {
 | 
					  onShow() {
 | 
				
			||||||
    document.title = "以房找人"
 | 
					    document.title = "以房找人"
 | 
				
			||||||
 | 
					    this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
 | 
				
			||||||
 | 
					        'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
 | 
				
			||||||
 | 
					    this.getBuilding()
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    getSelectList(communityId) {
 | 
					    getSelectList(communityId) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user