|  |  | @ -37,12 +37,16 @@ | 
			
		
	
		
			
				
					|  |  |  |                 border | 
			
		
	
		
			
				
					|  |  |  |                 style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |                 class="resi-table" | 
			
		
	
		
			
				
					|  |  |  |                 :height="tableHeight" | 
			
		
	
		
			
				
					|  |  |  |                 @select-all="selectAll" | 
			
		
	
		
			
				
					|  |  |  |                 @selection-change="selectionChange"> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column type="selection" | 
			
		
	
		
			
				
					|  |  |  |                           fixed="left" | 
			
		
	
		
			
				
					|  |  |  |                           :selectable="checkSelect" | 
			
		
	
		
			
				
					|  |  |  |                          width="55" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column label="序号" | 
			
		
	
		
			
				
					|  |  |  |                          type="index" | 
			
		
	
		
			
				
					|  |  |  |                          fixed="left" | 
			
		
	
		
			
				
					|  |  |  |                          align="center" | 
			
		
	
		
			
				
					|  |  |  |                          width="50"> | 
			
		
	
		
			
				
					|  |  |  |         </el-table-column> | 
			
		
	
	
		
			
				
					|  |  | @ -54,7 +58,10 @@ | 
			
		
	
		
			
				
					|  |  |  |                          :show-overflow-tooltip="true" | 
			
		
	
		
			
				
					|  |  |  |                          :width="item.itemType === 'radio' ? computedWidth(item.label) : 180"> | 
			
		
	
		
			
				
					|  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |             <span>{{ handleFilterSpan(scope.row, item) }}</span> | 
			
		
	
		
			
				
					|  |  |  |             <a v-if="item.columnName == 'NAME'" class="name-a" @click="handleLook(scope.row)"> | 
			
		
	
		
			
				
					|  |  |  |               {{ handleFilterSpan(scope.row, item) }} | 
			
		
	
		
			
				
					|  |  |  |             </a> | 
			
		
	
		
			
				
					|  |  |  |             <span v-else>{{ handleFilterSpan(scope.row, item) }}</span> | 
			
		
	
		
			
				
					|  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |         <el-table-column fixed="right" | 
			
		
	
	
		
			
				
					|  |  | @ -62,10 +69,10 @@ | 
			
		
	
		
			
				
					|  |  |  |                          align="center" | 
			
		
	
		
			
				
					|  |  |  |                          width="150"> | 
			
		
	
		
			
				
					|  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |             <el-button @click="handleLook(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |             <!-- <el-button @click="handleLook(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |                        type="text" | 
			
		
	
		
			
				
					|  |  |  |                        size="small" | 
			
		
	
		
			
				
					|  |  |  |                        class="btn-color-look">查看</el-button> | 
			
		
	
		
			
				
					|  |  |  |                        class="btn-color-look">查看</el-button> --> | 
			
		
	
		
			
				
					|  |  |  |             <el-button @click="handleTransfer(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |                        type="text" | 
			
		
	
		
			
				
					|  |  |  |                        size="small" | 
			
		
	
	
		
			
				
					|  |  | @ -81,10 +88,10 @@ | 
			
		
	
		
			
				
					|  |  |  |                          class="btn-color-edit">编辑</el-button> | 
			
		
	
		
			
				
					|  |  |  |               <el-popconfirm title="删除之后无法回复,确认删除?" | 
			
		
	
		
			
				
					|  |  |  |                              @onConfirm="handleDel(scope.row)"> | 
			
		
	
		
			
				
					|  |  |  |                 <el-button slot="reference" | 
			
		
	
		
			
				
					|  |  |  |                 <!-- <el-button slot="reference" | 
			
		
	
		
			
				
					|  |  |  |                            type="text" | 
			
		
	
		
			
				
					|  |  |  |                            size="small" | 
			
		
	
		
			
				
					|  |  |  |                            class="btn-color-del">删除</el-button> | 
			
		
	
		
			
				
					|  |  |  |                            class="btn-color-del">删除</el-button> --> | 
			
		
	
		
			
				
					|  |  |  |               </el-popconfirm> | 
			
		
	
		
			
				
					|  |  |  |             </template> | 
			
		
	
		
			
				
					|  |  |  |           </template> | 
			
		
	
	
		
			
				
					|  |  | @ -119,32 +126,36 @@ | 
			
		
	
		
			
				
					|  |  |  |                :visible.sync="dialogVisible" | 
			
		
	
		
			
				
					|  |  |  |                width="80%" | 
			
		
	
		
			
				
					|  |  |  |                append-to-body | 
			
		
	
		
			
				
					|  |  |  |                class="dialog-h" | 
			
		
	
		
			
				
					|  |  |  |                :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |                :before-close="handlerCancle"> | 
			
		
	
		
			
				
					|  |  |  |       <resi-form v-if="dialogVisible" | 
			
		
	
		
			
				
					|  |  |  |       <div class="dialog-h-content scroll-h"> | 
			
		
	
		
			
				
					|  |  |  |         <resi-form v-if="dialogVisible" | 
			
		
	
		
			
				
					|  |  |  |                  ref="baseForm" | 
			
		
	
		
			
				
					|  |  |  |                  :fixed="true" | 
			
		
	
		
			
				
					|  |  |  |                  :form-list="formList" | 
			
		
	
		
			
				
					|  |  |  |                  @changegroup="handleChangeGroup" /> | 
			
		
	
		
			
				
					|  |  |  |       <div v-if="dialogVisible" | 
			
		
	
		
			
				
					|  |  |  |            class="resi-other"> | 
			
		
	
		
			
				
					|  |  |  |         <div class="resi-other-title">其他</div> | 
			
		
	
		
			
				
					|  |  |  |         <div class="tabs-other-info"> | 
			
		
	
		
			
				
					|  |  |  |           <el-tabs v-model="activeName" | 
			
		
	
		
			
				
					|  |  |  |                    @tab-click="handleClick"> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane v-for="item in tabsList" | 
			
		
	
		
			
				
					|  |  |  |                          :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                          :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                          :name="'group' + item.groupId"> | 
			
		
	
		
			
				
					|  |  |  |               <resi-form :ref="'group' + item.groupId" | 
			
		
	
		
			
				
					|  |  |  |                          :columns="3" | 
			
		
	
		
			
				
					|  |  |  |                          :support-add="item.supportAdd" | 
			
		
	
		
			
				
					|  |  |  |                          :form-id="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                          :form-list="item.itemList" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |           </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |         <div v-if="dialogVisible" | 
			
		
	
		
			
				
					|  |  |  |             class="resi-other"> | 
			
		
	
		
			
				
					|  |  |  |           <div class="resi-other-title">其他</div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="tabs-other-info"> | 
			
		
	
		
			
				
					|  |  |  |             <el-tabs v-model="activeName" | 
			
		
	
		
			
				
					|  |  |  |                     @tab-click="handleClick"> | 
			
		
	
		
			
				
					|  |  |  |               <el-tab-pane v-for="item in tabsList" | 
			
		
	
		
			
				
					|  |  |  |                           :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                           :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                           :name="'group' + item.groupId"> | 
			
		
	
		
			
				
					|  |  |  |                 <resi-form :ref="'group' + item.groupId" | 
			
		
	
		
			
				
					|  |  |  |                           :columns="3" | 
			
		
	
		
			
				
					|  |  |  |                           :support-add="item.supportAdd" | 
			
		
	
		
			
				
					|  |  |  |                           :form-id="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                           :form-list="item.itemList" /> | 
			
		
	
		
			
				
					|  |  |  |               </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |        | 
			
		
	
		
			
				
					|  |  |  |       <div class="resi-btns"> | 
			
		
	
		
			
				
					|  |  |  |         <el-button size="small" | 
			
		
	
		
			
				
					|  |  |  |                    @click="handlerCancle">取消</el-button> | 
			
		
	
	
		
			
				
					|  |  | @ -159,9 +170,11 @@ | 
			
		
	
		
			
				
					|  |  |  |                :visible.sync="dialogEditVisible" | 
			
		
	
		
			
				
					|  |  |  |                width="80%" | 
			
		
	
		
			
				
					|  |  |  |                append-to-body | 
			
		
	
		
			
				
					|  |  |  |                class="dialog-h" | 
			
		
	
		
			
				
					|  |  |  |                :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |                :before-close="handlerEditCancle"> | 
			
		
	
		
			
				
					|  |  |  |       <edit-resi v-if="dialogEditVisible" | 
			
		
	
		
			
				
					|  |  |  |       <div class="dialog-h-content scroll-h"> | 
			
		
	
		
			
				
					|  |  |  |         <edit-resi v-if="dialogEditVisible" | 
			
		
	
		
			
				
					|  |  |  |                  ref="baseForm" | 
			
		
	
		
			
				
					|  |  |  |                  :disabled="disabled" | 
			
		
	
		
			
				
					|  |  |  |                  :form-info="editForm" | 
			
		
	
	
		
			
				
					|  |  | @ -169,27 +182,28 @@ | 
			
		
	
		
			
				
					|  |  |  |                  :form-list="formList" | 
			
		
	
		
			
				
					|  |  |  |                  :agency-id="editAgencyId" | 
			
		
	
		
			
				
					|  |  |  |                  @changegroup="handleChangeGroup" /> | 
			
		
	
		
			
				
					|  |  |  |       <div v-if="dialogEditVisible" | 
			
		
	
		
			
				
					|  |  |  |            class="resi-other"> | 
			
		
	
		
			
				
					|  |  |  |         <div class="resi-other-title">其他</div> | 
			
		
	
		
			
				
					|  |  |  |         <div class="tabs-other-info"> | 
			
		
	
		
			
				
					|  |  |  |           <el-tabs v-model="activeName" | 
			
		
	
		
			
				
					|  |  |  |                    @tab-click="handleClick"> | 
			
		
	
		
			
				
					|  |  |  |             <el-tab-pane v-for="item in tabsList" | 
			
		
	
		
			
				
					|  |  |  |                          :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                          :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                          :name="'group' + item.groupId"> | 
			
		
	
		
			
				
					|  |  |  |               <edit-resi :ref="'group' + item.groupId" | 
			
		
	
		
			
				
					|  |  |  |                          :columns="3" | 
			
		
	
		
			
				
					|  |  |  |                          :support-add="item.supportAdd" | 
			
		
	
		
			
				
					|  |  |  |                          :form-id="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                          :muti-list="item.mutiList" | 
			
		
	
		
			
				
					|  |  |  |                          :form-list="item.itemList" | 
			
		
	
		
			
				
					|  |  |  |                          :disabled="disabled" | 
			
		
	
		
			
				
					|  |  |  |                          :label-width="'140px'" | 
			
		
	
		
			
				
					|  |  |  |                          :agency-id="editAgencyId" /> | 
			
		
	
		
			
				
					|  |  |  |             </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |           </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |         <div v-if="dialogEditVisible" | 
			
		
	
		
			
				
					|  |  |  |             class="resi-other"> | 
			
		
	
		
			
				
					|  |  |  |           <div class="resi-other-title">其他</div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="tabs-other-info"> | 
			
		
	
		
			
				
					|  |  |  |             <el-tabs v-model="activeName" | 
			
		
	
		
			
				
					|  |  |  |                     @tab-click="handleClick"> | 
			
		
	
		
			
				
					|  |  |  |               <el-tab-pane v-for="item in tabsList" | 
			
		
	
		
			
				
					|  |  |  |                           :key="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                           :label="item.label" | 
			
		
	
		
			
				
					|  |  |  |                           :name="'group' + item.groupId"> | 
			
		
	
		
			
				
					|  |  |  |                 <edit-resi :ref="'group' + item.groupId" | 
			
		
	
		
			
				
					|  |  |  |                           :columns="3" | 
			
		
	
		
			
				
					|  |  |  |                           :support-add="item.supportAdd" | 
			
		
	
		
			
				
					|  |  |  |                           :form-id="item.columnName" | 
			
		
	
		
			
				
					|  |  |  |                           :muti-list="item.mutiList" | 
			
		
	
		
			
				
					|  |  |  |                           :form-list="item.itemList" | 
			
		
	
		
			
				
					|  |  |  |                           :disabled="disabled" | 
			
		
	
		
			
				
					|  |  |  |                           :label-width="'140px'" | 
			
		
	
		
			
				
					|  |  |  |                           :agency-id="editAgencyId" /> | 
			
		
	
		
			
				
					|  |  |  |               </el-tab-pane> | 
			
		
	
		
			
				
					|  |  |  |             </el-tabs> | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <div class="resi-btns"> | 
			
		
	
	
		
			
				
					|  |  | @ -235,6 +249,7 @@ import resiSearch from '../../components/resiSearch.vue' | 
			
		
	
		
			
				
					|  |  |  | import resiForm from '../../components/resiForm.vue' | 
			
		
	
		
			
				
					|  |  |  | import editResi from '../../components/editResi.vue' | 
			
		
	
		
			
				
					|  |  |  | import axios from 'axios' | 
			
		
	
		
			
				
					|  |  |  | import { mapGetters } from 'vuex' | 
			
		
	
		
			
				
					|  |  |  | import resiTransfer from '../../components/resiTransfer.vue' | 
			
		
	
		
			
				
					|  |  |  | import resiChangeRecord from '../../components/resiChangeRecord.vue' | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -265,6 +280,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       currentPage: 1, | 
			
		
	
		
			
				
					|  |  |  |       pageSize: 20, | 
			
		
	
		
			
				
					|  |  |  |       total: null, | 
			
		
	
		
			
				
					|  |  |  |       tableHeight: 0, | 
			
		
	
		
			
				
					|  |  |  |       conditions: [], | 
			
		
	
		
			
				
					|  |  |  |       activeName: '', | 
			
		
	
		
			
				
					|  |  |  |       tableData: [], | 
			
		
	
	
		
			
				
					|  |  | @ -315,13 +331,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     await this.getTableHeader() | 
			
		
	
		
			
				
					|  |  |  |     // console.log('this.$refs.resiSearch', this) | 
			
		
	
		
			
				
					|  |  |  |     this.$refs.resiSearch.handleSearch() | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     // this.handleSearch() | 
			
		
	
		
			
				
					|  |  |  |     // this.getTableData() | 
			
		
	
		
			
				
					|  |  |  |     this.pageLoading = true | 
			
		
	
		
			
				
					|  |  |  |     console.log('storeoooo----0000', this.$store) | 
			
		
	
		
			
				
					|  |  |  |     console.log('resiSearch', this.$refs.resiSearch.$el.offsetHeight) | 
			
		
	
		
			
				
					|  |  |  |     this.tableHeight = document.documentElement.clientHeight - this.$refs.resiSearch.$el.offsetHeight - 280 + 'px' | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |     console.log('document.documentElement.clientWidth', document.documentElement.clientHeight) | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     checkSelect (row, index) { | 
			
		
	
		
			
				
					|  |  |  |        | 
			
		
	
		
			
				
					|  |  |  |       return row.isChecked | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     //调动 | 
			
		
	
		
			
				
					|  |  |  |     async handleTransfer (row) { | 
			
		
	
		
			
				
					|  |  |  |       this.tranferShow = true | 
			
		
	
	
		
			
				
					|  |  | @ -378,7 +404,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.$refs.ref_table.clearSelection(); | 
			
		
	
		
			
				
					|  |  |  |       if (selectAllFlag) { | 
			
		
	
		
			
				
					|  |  |  |         this.tableData.forEach(row => { | 
			
		
	
		
			
				
					|  |  |  |           this.$refs.ref_table.toggleRowSelection(row); | 
			
		
	
		
			
				
					|  |  |  |           // this.$refs.ref_table.toggleRowSelection(row); | 
			
		
	
		
			
				
					|  |  |  |           if (row.isChecked) { | 
			
		
	
		
			
				
					|  |  |  |             this.$refs.ref_table.toggleRowSelection(row); | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |         }); | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  | @ -820,7 +849,12 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |           if (res.code !== 0) { | 
			
		
	
		
			
				
					|  |  |  |             return this.$message.error(res.msg) | 
			
		
	
		
			
				
					|  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |             this.tableData = res.data.list | 
			
		
	
		
			
				
					|  |  |  |             this.tableData = res.data.list.map(item => { | 
			
		
	
		
			
				
					|  |  |  |               return { | 
			
		
	
		
			
				
					|  |  |  |                 ...item, | 
			
		
	
		
			
				
					|  |  |  |                 isChecked: this.filterEdit(item.ORG_ID) | 
			
		
	
		
			
				
					|  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |             this.total = res.data.total | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
	
		
			
				
					|  |  | @ -1084,6 +1118,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     color: rgba(0, 167, 169, 1); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .name-a { | 
			
		
	
		
			
				
					|  |  |  |   cursor: pointer; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | </style> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | <style lang="scss" scoped> | 
			
		
	
	
		
			
				
					|  |  | 
 |