|  | @ -1,245 +1,213 @@ | 
			
		
	
		
		
			
				
					|  |  | <template> |  |  | <template> | 
			
		
	
		
		
			
				
					|  |  |   <div> |  |  |   <div> | 
			
		
	
		
		
			
				
					|  |  |     <div class="div_btn"> |  |  |     <div class="div_btn"> | 
			
		
	
		
		
			
				
					
					|  |  |       <el-button |  |  |       <el-button v-if="agencyObj.level === 'building' || source !== 'search'" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-if="agencyObj.level === 'building' || source !== 'search'" |  |  |                  v-show="btnAuths.ic_house_add" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-show="btnAuths.ic_house_add" |  |  |                  style="float: left" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         style="float: left" |  |  |                  class="diy-button--add" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         class="diy-button--add" |  |  |                  size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         size="small" |  |  |                  @click="handleAdd">新增房屋</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @click="handleAdd" |  |  |       <div class="btn_upload" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         >新增房屋</el-button |  |  |            v-if="showImportBtn"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       > |  |  |         <el-button :headers="$getElUploadHeaders()" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       <div class="btn_upload" v-if="showImportBtn"> |  |  |                    v-if="btnAuths.ic_house_import" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         <el-button |  |  |                    style="float: left" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :headers="$getElUploadHeaders()" |  |  |                    class="diy-button--export" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           v-if="btnAuths.ic_house_import" |  |  |                    size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           style="float: left" |  |  |                    @click="handleExportModule">下载房屋模板</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           class="diy-button--export" |  |  |         <el-upload ref="upload" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           size="small" |  |  |                    v-if="btnAuths.ic_house_import" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           @click="handleExportModule" |  |  |                    :multiple="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           >下载房屋模板</el-button |  |  |                    :show-file-list="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         > |  |  |                    :before-upload="beforeUpload" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         <el-upload |  |  |                    action="" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           ref="upload" |  |  |                    accept=".xls,.xlsx" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           v-if="btnAuths.ic_house_import" |  |  |                    :limit="1" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :multiple="false" |  |  |                    :on-exceed="handleExceed" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :show-file-list="false" |  |  |                    :http-request="uploadFile"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :before-upload="beforeUpload" |  |  |           <el-button style="margin-left: 10px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           action="" |  |  |                      size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           accept=".xls,.xlsx" |  |  |                      class="diy-button--delete">导入房屋数据</el-button> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           :limit="1" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |           :on-exceed="handleExceed" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |           :http-request="uploadFile" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
			
				
					|  |  |           <el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             style="margin-left: 10px" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             size="small" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             class="diy-button--delete" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             >导入房屋数据</el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |           > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-upload> |  |  |         </el-upload> | 
			
		
	
		
		
			
				
					|  |  |       </div> |  |  |       </div> | 
			
		
	
		
		
			
				
					
					|  |  |       <el-button |  |  |       <el-button style="float: left; margin-left: 10px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         style="float: left; margin-left: 10px" |  |  |                  v-if="btnAuths.ic_house_export" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-if="btnAuths.ic_house_export" |  |  |                  class="diy-button--reset" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         class="diy-button--reset" |  |  |                  size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         size="small" |  |  |                  @click="handleExport">导出</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @click="handleExport" |  |  |       <el-button style="float: left; margin-left: 10px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         >导出</el-button |  |  |                  v-if="btnAuths.ic_house_batch_del" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       > |  |  |                  class="diy-button--more" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       <el-button |  |  |                  size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         style="float: left; margin-left: 10px" |  |  |                  @click="deleteBatch">批量删除</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-if="btnAuths.ic_house_batch_del" |  |  |       <el-button style="margin-left: 10px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         class="diy-button--more" |  |  |                  v-if="btnAuths.ic_house_export_yhyd" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         size="small" |  |  |                  class="diy-button--export" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @click="deleteBatch" |  |  |                  size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         >批量删除</el-button |  |  |                  :disabled="yihuyidangDisabled" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       > |  |  |                  @click="handleExportYihuyidang()">导出一户一档</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       <el-button |  |  |       <el-button size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         style="margin-left: 10px" |  |  |                  class="diy-button--add" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-if="btnAuths.ic_house_export_yhyd" |  |  |                  v-if="btnAuths.ic_house_smart_import && displayedBaobiaoBtn" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         class="diy-button--export" |  |  |                  @click="reportForm">智能填报</el-button> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |         size="small" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         :disabled="yihuyidangDisabled" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         @click="handleExportYihuyidang()" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         >导出一户一档</el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       > |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       <el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         size="small" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         class="diy-button--add" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         v-if="btnAuths.ic_house_smart_import && displayedBaobiaoBtn" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         @click="reportForm" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         >智能填报</el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |     </div> |  |  |     </div> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     <div class="div_table_item"> |  |  |     <div class="div_table_item"> | 
			
		
	
		
		
			
				
					
					|  |  |       <el-table |  |  |       <el-table ref="ref_table" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         ref="ref_table" |  |  |                 :data="tableData" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         :data="tableData" |  |  |                 :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         :header-cell-style="{ background: '#2195FE', color: '#FFFFFF' }" |  |  |                 v-loading="tableLoading" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         v-loading="tableLoading" |  |  |                 @sort-change="handleSortOrderChange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @sort-change="handleSortOrderChange" |  |  |                 border | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         border |  |  |                 :height="tableHeight" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         :height="tableHeight" |  |  |                 style="width: 100%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         style="width: 100%" |  |  |                 @select-all="selectAll" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @select-all="selectAll" |  |  |                 @selection-change="selectionChange"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         @selection-change="selectionChange" |  |  |         <el-table-column type="selection" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       > |  |  |                          :selectable="checkSelect" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column type="selection" :selectable="checkSelect" width="55"> |  |  |                          width="55"> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column |  |  |         <el-table-column fixed="left" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           fixed="left" |  |  |                          width="55" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           width="55" |  |  |                          type="index" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           type="index" |  |  |                          label="序号" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           label="序号" |  |  |                          :index="indexMethod"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           :index="indexMethod" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column |  |  |         <el-table-column prop="houseNameShow" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           prop="houseNameShow" |  |  |                          label="房屋名称" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           label="房屋名称" |  |  |                          fixed="left" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           fixed="left" |  |  |                          min-width="160"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           min-width="160" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column |  |  |         <el-table-column prop="neighborHoodName" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           prop="neighborHoodName" |  |  |                          label="所属小区" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           label="所属小区" |  |  |                          min-width="150"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           min-width="150" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="buildingName" label="所属楼栋" width="80"> |  |  |         <el-table-column prop="buildingName" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="所属楼栋" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="80"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="unitNum" label="单元号" width="70"> |  |  |         <el-table-column prop="unitNum" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="单元号" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="70"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="doorName" label="门牌号" width="70"> |  |  |         <el-table-column prop="doorName" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="门牌号" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="70"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="houseType" label="类型" width="50"> |  |  |         <el-table-column prop="houseType" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="类型" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="50"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="purpose" label="用途" width="50"> |  |  |         <el-table-column prop="purpose" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="用途" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="50"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="rentFlag" label="房屋状态" width="80"> |  |  |         <el-table-column prop="rentFlag" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="房屋状态" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="80"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="ownerName" label="房主姓名" width="90"> |  |  |         <el-table-column prop="ownerName" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="房主姓名" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="90"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="ownerPhone" label="联系方式" width="110"> |  |  |         <el-table-column prop="ownerPhone" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="联系方式" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="110"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="ownerIdCard" label="身份证" width="170"> |  |  |         <el-table-column prop="ownerIdCard" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="身份证" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="170"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column prop="remark" label="备注" width="170"> |  |  |         <el-table-column prop="remark" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                          label="备注" | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                          width="170"> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column |  |  |         <el-table-column prop="sort" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           prop="sort" |  |  |                          sortable="custom" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           sortable="custom" |  |  |                          min-width="140" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           min-width="140" |  |  |                          label="排序"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           label="排序" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |           <template slot-scope="scope"> |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					|  |  |             <div @click="handleEditSort(scope.row)"> |  |  |             <div @click="handleEditSort(scope.row)"> | 
			
		
	
		
		
			
				
					|  |  |               <span v-if="!scope.row.isChange">{{ scope.row.sort }}</span> |  |  |               <span v-if="!scope.row.isChange">{{ scope.row.sort }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |               <el-input-number |  |  |               <el-input-number v-else | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 v-else |  |  |                                @change="handleChangeSort(scope.row)" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 @change="handleChangeSort(scope.row)" |  |  |                                v-model="scope.row.sort" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 v-model="scope.row.sort" |  |  |                                class="item_width_4" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 class="item_width_4" |  |  |                                :precision="2" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 :precision="2" |  |  |                                size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 size="small" |  |  |                                :min="0" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 :min="0" |  |  |                                :max="9999" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |                 :max="9999" |  |  |                                label="描述文字"></el-input-number> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |                 label="描述文字" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               ></el-input-number> |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |             </div> |  |  |             </div> | 
			
		
	
		
		
			
				
					|  |  |           </template> |  |  |           </template> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-table-column |  |  |         <el-table-column label="操作" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           label="操作" |  |  |                          fixed="right" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           fixed="right" |  |  |                          width="140" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           width="140" |  |  |                          header-align="center" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           header-align="center" |  |  |                          align="center" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           align="center" |  |  |                          class="operate"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           class="operate" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |           <template slot-scope="scope"> |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |             <el-button |  |  |             <el-button type="text" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               type="text" |  |  |                        v-if="btnAuths.ic_house_view" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               v-if="btnAuths.ic_house_view" |  |  |                        class="div-table-button--detail" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               class="div-table-button--detail" |  |  |                        size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               size="small" |  |  |                        @click="handleDetail(scope.row)">查看</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               @click="handleDetail(scope.row)" |  |  |             <el-button v-if="btnAuths.ic_house_update && scope.row.showBtn" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               >查看</el-button |  |  |                        type="text" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             > |  |  |                        class="div-table-button--edit" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             <el-button |  |  |                        size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               v-if="btnAuths.ic_house_update && scope.row.showBtn" |  |  |                        @click="handleEdit(scope.row)">修改</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               type="text" |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               class="div-table-button--edit" |  |  |             <el-button v-if="btnAuths.ic_house_del && scope.row.showBtn" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               size="small" |  |  |                        type="text" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               @click="handleEdit(scope.row)" |  |  |                        class="div-table-button--delete" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |               >修改</el-button |  |  |                        size="small" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |             > |  |  |                        @click="handleDelete(scope.row)">删除</el-button> | 
			
				
				
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             <el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               v-if="btnAuths.ic_house_del && scope.row.showBtn" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               type="text" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               class="div-table-button--delete" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               size="small" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               @click="handleDelete(scope.row)" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |               >删除</el-button |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |           </template> |  |  |           </template> | 
			
		
	
		
		
			
				
					|  |  |         </el-table-column> |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					|  |  |       </el-table> |  |  |       </el-table> | 
			
		
	
		
		
			
				
					|  |  |       <div> |  |  |       <div> | 
			
		
	
		
		
			
				
					
					|  |  |         <el-pagination |  |  |         <el-pagination @size-change="handleSizeChange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           @size-change="handleSizeChange" |  |  |                        @current-change="handleCurrentChange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           @current-change="handleCurrentChange" |  |  |                        :current-page.sync="pageNo" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :current-page.sync="pageNo" |  |  |                        :page-sizes="[20, 50, 100, 200]" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :page-sizes="[20, 50, 100, 200]" |  |  |                        :page-size="pageSize" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           :page-size="pageSize" |  |  |                        layout="sizes, prev, pager, next, total" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |           layout="sizes, prev, pager, next, total" |  |  |                        :total="total"> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |           :total="total" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         > |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |         </el-pagination> |  |  |         </el-pagination> | 
			
		
	
		
		
			
				
					|  |  |       </div> |  |  |       </div> | 
			
		
	
		
		
			
				
					|  |  |     </div> |  |  |     </div> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     <!-- 修改弹出框 --> |  |  |     <!-- 修改弹出框 --> | 
			
		
	
		
		
			
				
					
					|  |  |     <el-dialog |  |  |     <el-dialog :visible.sync="formShow" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :visible.sync="formShow" |  |  |                :close-on-click-modal="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :close-on-click-modal="false" |  |  |                :close-on-press-escape="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :close-on-press-escape="false" |  |  |                :title="formTitle" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :title="formTitle" |  |  |                width="900px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       width="900px" |  |  |                top="5vh" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       top="5vh" |  |  |                class="dialog-h" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       class="dialog-h" |  |  |                @closed="diaClose"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       @closed="diaClose" |  |  |       <room-form ref="ref_form" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |     > |  |  |                  :view_real_data="btnAuths.ic_house_view_real_data" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       <room-form |  |  |                  @dialogCancle="addFormCancle" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         ref="ref_form" |  |  |                  @dialogOk="addFormOk"></room-form> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |         @dialogCancle="addFormCancle" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         @dialogOk="addFormOk" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       ></room-form> |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |     </el-dialog> |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     <!-- 详情弹出框 --> |  |  |     <!-- 详情弹出框 --> | 
			
		
	
		
		
			
				
					
					|  |  |     <el-dialog |  |  |     <el-dialog :visible.sync="detailShow" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :visible.sync="detailShow" |  |  |                :close-on-click-modal="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :close-on-click-modal="false" |  |  |                :close-on-press-escape="false" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :close-on-press-escape="false" |  |  |                :title="'查看房屋'" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       :title="formTitle" |  |  |                width="900px" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       width="900px" |  |  |                top="5vh" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       top="5vh" |  |  |                class="dialog-h" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       class="dialog-h" |  |  |                @closed="detailFormCancle"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       @closed="detailFormCancle" |  |  |       <room-detail ref="ref_form_detail" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |     > |  |  |                    :view_real_data="btnAuths.ic_house_view_real_data" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |       <room-detail |  |  |                    @diaDetailClose="detailFormCancle"></room-detail> | 
			
				
				
			
		
	
		
		
			
				
					|  |  |         ref="ref_form_detail" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         :view_real_data="btnAuths.ic_house_view_real_data" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         @diaDetailClose="detailFormCancle" |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       ></room-detail> |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |     </el-dialog> |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     <baobiao ref="baobiao" /> |  |  |     <baobiao ref="baobiao" /> | 
			
		
	
	
		
		
			
				
					|  | @ -256,7 +224,7 @@ import baobiao from "@/views/modules/cpts/baobiao"; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | let loading; // 加载动画 |  |  | let loading; // 加载动画 | 
			
		
	
		
		
			
				
					|  |  | export default { |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |   data() { |  |  |   data () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     return { |  |  |     return { | 
			
		
	
		
		
			
				
					|  |  |       source: "tree", //来源 |  |  |       source: "tree", //来源 | 
			
		
	
		
		
			
				
					|  |  |       importRoomLoading: false, |  |  |       importRoomLoading: false, | 
			
		
	
	
		
		
			
				
					|  | @ -320,7 +288,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     roomForm, |  |  |     roomForm, | 
			
		
	
		
		
			
				
					|  |  |     roomDetail, |  |  |     roomDetail, | 
			
		
	
		
		
			
				
					|  |  |   }, |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |   async mounted() { |  |  |   async mounted () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     this.updateBtnAuths(); |  |  |     this.updateBtnAuths(); | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ |  |  |     this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ | 
			
		
	
	
		
		
			
				
					|  | @ -331,7 +299,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }); |  |  |     }); | 
			
		
	
		
		
			
				
					|  |  |   }, |  |  |   }, | 
			
		
	
		
		
			
				
					|  |  |   computed: { |  |  |   computed: { | 
			
		
	
		
		
			
				
					
					|  |  |     tableHeight() { |  |  |     tableHeight () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       return this.$store.state.inIframe |  |  |       return this.$store.state.inIframe | 
			
		
	
		
		
			
				
					|  |  |         ? this.clientHeight - 425 + this.iframeHeight |  |  |         ? this.clientHeight - 425 + this.iframeHeight | 
			
		
	
		
		
			
				
					|  |  |         : this.clientHeight - 425; |  |  |         : this.clientHeight - 425; | 
			
		
	
	
		
		
			
				
					|  | @ -341,7 +309,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |   }, |  |  |   }, | 
			
		
	
		
		
			
				
					|  |  |   methods: { |  |  |   methods: { | 
			
		
	
		
		
			
				
					|  |  |     // 更新按钮权限 |  |  |     // 更新按钮权限 | 
			
		
	
		
		
			
				
					
					|  |  |     updateBtnAuths() { |  |  |     updateBtnAuths () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let rot = this.$route; |  |  |       let rot = this.$route; | 
			
		
	
		
		
			
				
					|  |  |       if (Array.isArray(rot.meta.btns)) { |  |  |       if (Array.isArray(rot.meta.btns)) { | 
			
		
	
		
		
			
				
					|  |  |         rot.meta.btns.forEach((item) => { |  |  |         rot.meta.btns.forEach((item) => { | 
			
		
	
	
		
		
			
				
					|  | @ -350,7 +318,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     reportForm() { |  |  |     reportForm () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let paramMap = { |  |  |       let paramMap = { | 
			
		
	
		
		
			
				
					|  |  |         pageSize: this.pageSize, |  |  |         pageSize: this.pageSize, | 
			
		
	
		
		
			
				
					|  |  |         pageNo: this.pageNo, |  |  |         pageNo: this.pageNo, | 
			
		
	
	
		
		
			
				
					|  | @ -374,25 +342,25 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     indexMethod(index) { |  |  |     indexMethod (index) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       return index + 1; |  |  |       return index + 1; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     handleSortOrderChange(value) { |  |  |     handleSortOrderChange (value) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.sortType = value.order === "ascending" ? "asc" : "desc"; |  |  |       this.sortType = value.order === "ascending" ? "asc" : "desc"; | 
			
		
	
		
		
			
				
					|  |  |       this.loadTable(); |  |  |       this.loadTable(); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     handleSortChange(value) { |  |  |     handleSortChange (value) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.sortType = value.order === "ascending" ? "asc" : "desc"; |  |  |       this.sortType = value.order === "ascending" ? "asc" : "desc"; | 
			
		
	
		
		
			
				
					|  |  |       this.loadTable(); |  |  |       this.loadTable(); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleEditSort(row) { |  |  |     handleEditSort (row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       if (!row.isChange) { |  |  |       if (!row.isChange) { | 
			
		
	
		
		
			
				
					|  |  |         row.isChange = true; |  |  |         row.isChange = true; | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async handleChangeSort(row, index) { |  |  |     async handleChangeSort (row, index) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       // row.isChange = false |  |  |       // row.isChange = false | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       let params = { |  |  |       let params = { | 
			
		
	
	
		
		
			
				
					|  | @ -415,7 +383,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     checkSelect(row, index) { |  |  |     checkSelect (row, index) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let isChecked = false; |  |  |       let isChecked = false; | 
			
		
	
		
		
			
				
					|  |  |       if (row.showBtn) { |  |  |       if (row.showBtn) { | 
			
		
	
		
		
			
				
					|  |  |         // 判断里面是否存在某个参数 |  |  |         // 判断里面是否存在某个参数 | 
			
		
	
	
		
		
			
				
					|  | @ -426,9 +394,9 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       return isChecked; |  |  |       return isChecked; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     loadTreeFromSearch() {}, |  |  |     loadTreeFromSearch () { }, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async loadTable(source, treeObj) { |  |  |     async loadTable (source, treeObj) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.source = source; |  |  |       this.source = source; | 
			
		
	
		
		
			
				
					|  |  |       this.tableLoading = true; |  |  |       this.tableLoading = true; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -501,12 +469,12 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       this.tableLoading = false; |  |  |       this.tableLoading = false; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     diaClose() { |  |  |     diaClose () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.$refs.ref_form.resetData(); |  |  |       this.$refs.ref_form.resetData(); | 
			
		
	
		
		
			
				
					|  |  |       this.formShow = false; |  |  |       this.formShow = false; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleDetail(row) { |  |  |     handleDetail (row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       // this.formTitle = "房屋详情"; |  |  |       // this.formTitle = "房屋详情"; | 
			
		
	
		
		
			
				
					|  |  |       // this.formShow = true; |  |  |       // this.formShow = true; | 
			
		
	
		
		
			
				
					|  |  |       // this.$nextTick(() => { |  |  |       // this.$nextTick(() => { | 
			
		
	
	
		
		
			
				
					|  | @ -521,12 +489,12 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     detailFormCancle() { |  |  |     detailFormCancle () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       // this.$refs.ref_form_detail.diaDestroy() |  |  |       // this.$refs.ref_form_detail.diaDestroy() | 
			
		
	
		
		
			
				
					|  |  |       this.detailShow = false; |  |  |       this.detailShow = false; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleAdd() { |  |  |     handleAdd () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.formTitle = "新增房屋"; |  |  |       this.formTitle = "新增房屋"; | 
			
		
	
		
		
			
				
					|  |  |       this.formShow = true; |  |  |       this.formShow = true; | 
			
		
	
		
		
			
				
					|  |  |       this.$nextTick(() => { |  |  |       this.$nextTick(() => { | 
			
		
	
	
		
		
			
				
					|  | @ -534,7 +502,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleEdit(row) { |  |  |     handleEdit (row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.formTitle = "修改房屋"; |  |  |       this.formTitle = "修改房屋"; | 
			
		
	
		
		
			
				
					|  |  |       this.formShow = true; |  |  |       this.formShow = true; | 
			
		
	
		
		
			
				
					|  |  |       this.$nextTick(() => { |  |  |       this.$nextTick(() => { | 
			
		
	
	
		
		
			
				
					|  | @ -542,15 +510,15 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     addFormCancle() { |  |  |     addFormCancle () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.formShow = false; |  |  |       this.formShow = false; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     addFormOk() { |  |  |     addFormOk () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.formShow = false; |  |  |       this.formShow = false; | 
			
		
	
		
		
			
				
					|  |  |       this.loadTable(); |  |  |       this.loadTable(); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     deleteBatch() { |  |  |     deleteBatch () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       if (this.selection.length > 0) { |  |  |       if (this.selection.length > 0) { | 
			
		
	
		
		
			
				
					|  |  |         this.$confirm("确认删除选择的房屋?", "提示", { |  |  |         this.$confirm("确认删除选择的房屋?", "提示", { | 
			
		
	
		
		
			
				
					|  |  |           confirmButtonText: "确定", |  |  |           confirmButtonText: "确定", | 
			
		
	
	
		
		
			
				
					|  | @ -572,14 +540,14 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         this.$message.warning("请先选择要删除的房屋"); |  |  |         this.$message.warning("请先选择要删除的房屋"); | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     selectAll(selection) { |  |  |     selectAll (selection) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.selection = selection; |  |  |       this.selection = selection; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     selectionChange(selection) { |  |  |     selectionChange (selection) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.selection = selection; |  |  |       this.selection = selection; | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async handleDelete(row) { |  |  |     async handleDelete (row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.$confirm("确认删除?", "提示", { |  |  |       this.$confirm("确认删除?", "提示", { | 
			
		
	
		
		
			
				
					|  |  |         confirmButtonText: "确定", |  |  |         confirmButtonText: "确定", | 
			
		
	
		
		
			
				
					|  |  |         cancelButtonText: "取消", |  |  |         cancelButtonText: "取消", | 
			
		
	
	
		
		
			
				
					|  | @ -598,7 +566,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |         }); |  |  |         }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async deleteCommunityBatch() { |  |  |     async deleteCommunityBatch () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let ids = []; |  |  |       let ids = []; | 
			
		
	
		
		
			
				
					|  |  |       this.selection.forEach((element) => { |  |  |       this.selection.forEach((element) => { | 
			
		
	
		
		
			
				
					|  |  |         ids.push(element.houseId); |  |  |         ids.push(element.houseId); | 
			
		
	
	
		
		
			
				
					|  | @ -633,7 +601,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async deleteRoom(row) { |  |  |     async deleteRoom (row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       const url = "/gov/org/house/housedel"; |  |  |       const url = "/gov/org/house/housedel"; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       let params = { |  |  |       let params = { | 
			
		
	
	
		
		
			
				
					|  | @ -655,7 +623,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     //导出表格 |  |  |     //导出表格 | 
			
		
	
		
		
			
				
					
					|  |  |     async handleExport() { |  |  |     async handleExport () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let title = this.agencyObj.label; |  |  |       let title = this.agencyObj.label; | 
			
		
	
		
		
			
				
					|  |  |       title = title + "—房屋列表"; |  |  |       title = title + "—房屋列表"; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -706,7 +674,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     // 下载文件 |  |  |     // 下载文件 | 
			
		
	
		
		
			
				
					
					|  |  |     download(data, fileName) { |  |  |     download (data, fileName) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       if (!data) { |  |  |       if (!data) { | 
			
		
	
		
		
			
				
					|  |  |         return; |  |  |         return; | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
	
		
		
			
				
					|  | @ -730,7 +698,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleExportModule() { |  |  |     handleExportModule () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       let title = ""; |  |  |       let title = ""; | 
			
		
	
		
		
			
				
					|  |  |       title = "房屋模板"; |  |  |       title = "房屋模板"; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -750,7 +718,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     //导出一户一档 |  |  |     //导出一户一档 | 
			
		
	
		
		
			
				
					
					|  |  |     handleExportYihuyidang() { |  |  |     handleExportYihuyidang () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.yihuyidangDisabled = true; |  |  |       this.yihuyidangDisabled = true; | 
			
		
	
		
		
			
				
					|  |  |       let title = this.agencyObj.label; |  |  |       let title = this.agencyObj.label; | 
			
		
	
		
		
			
				
					|  |  |       title = title + "-一户一档"; |  |  |       title = title + "-一户一档"; | 
			
		
	
	
		
		
			
				
					|  | @ -806,7 +774,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       ); |  |  |       ); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  |     // 上传文件之前的钩子 |  |  |     // 上传文件之前的钩子 | 
			
		
	
		
		
			
				
					
					|  |  |     beforeUpload(file) { |  |  |     beforeUpload (file) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.files = file; |  |  |       this.files = file; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |       const isText = file.type === "application/vnd.ms-excel"; |  |  |       const isText = file.type === "application/vnd.ms-excel"; | 
			
		
	
	
		
		
			
				
					|  | @ -823,11 +791,11 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       } |  |  |       } | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  |     // 上传文件个数超过定义的数量 |  |  |     // 上传文件个数超过定义的数量 | 
			
		
	
		
		
			
				
					
					|  |  |     handleExceed(files, fileList) { |  |  |     handleExceed (files, fileList) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`); |  |  |       this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     async uploadFile() { |  |  |     async uploadFile () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       if (this.fileName == "") { |  |  |       if (this.fileName == "") { | 
			
		
	
		
		
			
				
					|  |  |         this.$message.warning("请选择要上传的文件!"); |  |  |         this.$message.warning("请选择要上传的文件!"); | 
			
		
	
		
		
			
				
					|  |  |         return false; |  |  |         return false; | 
			
		
	
	
		
		
			
				
					|  | @ -876,7 +844,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       ); |  |  |       ); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     showMessage(msg) { |  |  |     showMessage (msg) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.$alert(msg, "操作结果", { |  |  |       this.$alert(msg, "操作结果", { | 
			
		
	
		
		
			
				
					|  |  |         confirmButtonText: "关闭", |  |  |         confirmButtonText: "关闭", | 
			
		
	
		
		
			
				
					|  |  |         callback: (action) => { |  |  |         callback: (action) => { | 
			
		
	
	
		
		
			
				
					|  | @ -886,18 +854,18 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     handleSizeChange(val) { |  |  |     handleSizeChange (val) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.pageSize = val; |  |  |       this.pageSize = val; | 
			
		
	
		
		
			
				
					|  |  |       this.pageNo = 1; |  |  |       this.pageNo = 1; | 
			
		
	
		
		
			
				
					|  |  |       this.loadTable(); |  |  |       this.loadTable(); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |     handleCurrentChange(val) { |  |  |     handleCurrentChange (val) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       this.pageNo = val; |  |  |       this.pageNo = val; | 
			
		
	
		
		
			
				
					|  |  |       this.loadTable(); |  |  |       this.loadTable(); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     // 开启加载动画 |  |  |     // 开启加载动画 | 
			
		
	
		
		
			
				
					
					|  |  |     startLoading() { |  |  |     startLoading () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       loading = Loading.service({ |  |  |       loading = Loading.service({ | 
			
		
	
		
		
			
				
					|  |  |         lock: true, // 是否锁定 |  |  |         lock: true, // 是否锁定 | 
			
		
	
		
		
			
				
					|  |  |         text: "正在加载……", // 加载中需要显示的文字 |  |  |         text: "正在加载……", // 加载中需要显示的文字 | 
			
		
	
	
		
		
			
				
					|  | @ -905,7 +873,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  |     // 结束加载动画 |  |  |     // 结束加载动画 | 
			
		
	
		
		
			
				
					
					|  |  |     endLoading() { |  |  |     endLoading () { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       // clearTimeout(timer); |  |  |       // clearTimeout(timer); | 
			
		
	
		
		
			
				
					|  |  |       if (loading) { |  |  |       if (loading) { | 
			
		
	
		
		
			
				
					|  |  |         loading.close(); |  |  |         loading.close(); | 
			
		
	
	
		
		
			
				
					|  | @ -913,7 +881,7 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |     }, |  |  |     }, | 
			
		
	
		
		
			
				
					|  |  |   }, |  |  |   }, | 
			
		
	
		
		
			
				
					|  |  |   watch: { |  |  |   watch: { | 
			
		
	
		
		
			
				
					
					|  |  |     selection(val) { |  |  |     selection (val) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |       if (val.length > 0) { |  |  |       if (val.length > 0) { | 
			
		
	
		
		
			
				
					|  |  |         this.showDeletBtn = true; |  |  |         this.showDeletBtn = true; | 
			
		
	
		
		
			
				
					|  |  |       } else { |  |  |       } else { | 
			
		
	
	
		
		
			
				
					|  | 
 |