| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -14,7 +14,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-row v-if="fixed" class="resi-row"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <!-- <el-col v-for="n in item" :key="n.id" :span="n.itemType === 'textarea'&&24 || (24/columns)"> --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-col :span="6"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-form-item :prop="form.GRID_ID" label="所属网格" required> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-form-item prop="GRID_ID" label="所属网格" required> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <!-- <div class="resi-cell"> --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <!-- <div class="resi-cell-label">{{n.label}}</div> --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <div class="resi-cell-value"> | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -33,7 +33,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </el-form-item> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-col> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-col :span="18"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-form-item :prop="form.VILLAGE_ID" label="所属小区" required> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-form-item prop="VILLAGE_ID" label="所属小区" required> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <div class="resi-cell-value"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  <el-select v-model.trim="form.VILLAGE_ID" :disabled="disabled" placeholder="请选择小区" size="small" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                  clearable class="resi-cell-select" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -259,6 +259,10 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: String, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      default: 'resiForm' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    agencyId: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: String, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      default: '' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    formList: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: Array, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      default: function () { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -639,7 +643,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                _form[n] = this.fixedList[n] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              if (Object.keys(_form).length > 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (!_form.AGENCY_ID) _form.AGENCY_ID = this.$store.state.user.agencyId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (!_form.AGENCY_ID) _form.AGENCY_ID = this.agencyId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              if (!_form.ID) _form.ID = ID | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -680,8 +684,11 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    getGridList () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const { user } = this.$store.state | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      let purpose = 'query' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (this.disabled) purpose = 'query' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      else purpose = 'addorupdate' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$http | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .post('/gov/org/customergrid/gridoption', { agencyId: this.agencyId, purpose }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .then(({ data: res }) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          if (res.code !== 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return this.$message.error(res.msg) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -697,7 +704,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    getValiheList () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const { user } = this.$store.state | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$http | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.form.GRID_ID, agencyId: user.agencyId }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .post('/gov/org/icneighborhood/neighborhoodoption', { gridId: this.form.GRID_ID, agencyId: this.agencyId }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .then(({ data: res }) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          if (res.code !== 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return this.$message.error(res.msg) | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |