|  |  | @ -236,6 +236,14 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                         </template> |  |  |  |                         </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-table-column> |  |  |  |                     </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-table> |  |  |  |                 </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :page-size="userQuery.limit" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     @current-change="loadUserList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     layout="prev, pager, next" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :total="userTotal" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :current-page="userQuery.page" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-card> |  |  |  |             </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-card style="width: 49%; float: right; margin-left: 0px;"> |  |  |  |             <el-card style="width: 49%; float: right; margin-left: 0px;"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -273,6 +281,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                         </template> |  |  |  |                         </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-table-column> |  |  |  |                     </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-table> |  |  |  |                 </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :page-size="busQuery.limit" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     @current-change="loadBusList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     layout="prev, pager, next" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :total="busTotal" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     :current-page="busQuery.page" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-card> |  |  |  |             </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -296,6 +313,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="用户名" prop="employeeName" fixed></el-table-column> |  |  |  |                 <el-table-column label="用户名" prop="employeeName" fixed></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-table> |  |  |  |             </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :page-size="hospitalUserQuery.limit" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @current-change="getHospitalUser" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 layout="prev, pager, next" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :total="hospitalUserTotal" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :current-page="hospitalUserQuery.page" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div slot="footer" class="dialog-footer"> |  |  |  |             <div slot="footer" class="dialog-footer"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button @click.native="userFormVisible = !userFormVisible" |  |  |  |                 <el-button @click.native="userFormVisible = !userFormVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 >取消 |  |  |  |                 >取消 | 
			
		
	
	
		
		
			
				
					|  |  | @ -328,6 +354,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="单据类型名称" prop="name" fixed></el-table-column> |  |  |  |                 <el-table-column label="单据类型名称" prop="name" fixed></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-table> |  |  |  |             </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :page-size="bussinessTypeQuery.limit" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @current-change="getBussinessType" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 layout="prev, pager, next" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :total="bussinessTypeTotal" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :current-page="bussinessTypeQuery.page" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div slot="footer" class="dialog-footer"> |  |  |  |             <div slot="footer" class="dialog-footer"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button @click.native="bussinessTypeFormVisible = !bussinessTypeFormVisible" |  |  |  |                 <el-button @click.native="bussinessTypeFormVisible = !bussinessTypeFormVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 >取消 |  |  |  |                 >取消 | 
			
		
	
	
		
		
			
				
					|  |  | @ -831,6 +866,29 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             configParms: {}, |  |  |  |             configParms: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             subData: {}, |  |  |  |             subData: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             subFromName: "add", |  |  |  |             subFromName: "add", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             userQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 limit: 10 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             userTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             busQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 limit: 10 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             busTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             hospitalUserQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 limit: 10 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             hospitalUserTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             bussinessTypeQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 enabled: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 limit: 10 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             bussinessTypeTotal: 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     methods: { |  |  |  |     methods: { | 
			
		
	
	
		
		
			
				
					|  |  | @ -842,6 +900,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 name: "", |  |  |  |                 name: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |                 status: "", |  |  |  |                 status: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.userQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.busQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         onSubmit() { |  |  |  |         onSubmit() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1222,19 +1282,36 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         loadLinkData(row) { |  |  |  |         loadLinkData(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             let query = { |  |  |  |             this.userQuery.page = 1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 code: row.code |  |  |  |             this.busQuery.page = 1; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.userQuery.code = row.code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.busQuery.code = row.code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //加载用户数据 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |            this.loadUserList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //加载单据类型数据 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.loadBusList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         loadUserList(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (val != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.userQuery.page = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             //加载用户数据 |  |  |  |             //加载用户数据 | 
			
		
	
		
		
			
				
					
					|  |  |  |             warehouseUserList(query).then((res) => { |  |  |  |             warehouseUserList(this.userQuery).then((res) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.userData = res.data; |  |  |  |                 this.userData = res.data.list; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.userTotal = res.data.total; | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch((error) => { |  |  |  |             }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error("用户数据加载失败") |  |  |  |                 this.$message.error("用户数据加载失败") | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         }, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         loadBusList(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (val != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.busQuery.page = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             //加载单据类型数据 |  |  |  |             //加载单据类型数据 | 
			
		
	
		
		
			
				
					
					|  |  |  |             warehouseBussinessTypeList(query).then((res) => { |  |  |  |             warehouseBussinessTypeList(this.busQuery).then((res) => { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 this.bussinessTypeData = res.data; |  |  |  |                 this.bussinessTypeData = res.data.list; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.busTotal = res.data.total; | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch((error) => { |  |  |  |             }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error("单据类型数据加载失败") |  |  |  |                 this.$message.error("单据类型数据加载失败") | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1249,24 +1326,56 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error("请先选择当前分库!") |  |  |  |                 this.$message.error("请先选择当前分库!") | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.userFormVisible = true; |  |  |  |                 this.userFormVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 getHospitalUserList().then((res) => { |  |  |  |                 this.hospitalUserQuery.page = 1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     this.selectUserList = []; |  |  |  |                 this.getHospitalUser(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     this.userList = res.data; |  |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     var that = this; |  |  |  |         }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     that.$nextTick(() => { |  |  |  |         getHospitalUser(val) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         if (that.$refs.checkUserList) { |  |  |  |             if (val != null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             that.$refs.checkUserList.clearSelection(); |  |  |  |                 this.hospitalUserQuery.page = val; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             getHospitalUserList(this.hospitalUserQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.selectUserList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.userList = res.data.list; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.hospitalUserTotal = res.data.total; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 var that = this; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 that.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (that.$refs.checkUserList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         that.$refs.checkUserList.clearSelection(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     that.userList.forEach(row => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         for (let j in that.userData) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             if (row.id == that.userData[j].userid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 that.$refs.checkUserList.toggleRowSelection(row, true); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |                         } | 
			
		
	
		
		
			
				
					
					|  |  |  |                         that.userList.forEach(row => { |  |  |  |                     }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             for (let j in that.userData) { |  |  |  |                 }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 if (row.id == that.userData[j].userid) { |  |  |  |             }); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                     that.$refs.checkUserList.toggleRowSelection(row, true); |  |  |  |         }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                                 } |  |  |  |         getBussinessType(val) { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (val != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.bussinessTypeQuery.page = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             getJoinBussinessType(this.bussinessTypeQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.selectBussinessTypeList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.bussinessTypeList = res.data.list; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 var that = this; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 that.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     if (that.$refs.typeList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         that.$refs.typeList.clearSelection(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     that.bussinessTypeList.forEach(row => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         for (let j in that.bussinessTypeData) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             if (row.action == that.bussinessTypeData[j].action) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 that.$refs.typeList.toggleRowSelection(row, true); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             } |  |  |  |                             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                         }); |  |  |  |                         } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     }) |  |  |  |                     }); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             }).catch((error) => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         handleUserSelectionChange(row) { |  |  |  |         handleUserSelectionChange(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             let _this = this; |  |  |  |             let _this = this; | 
			
		
	
	
		
		
			
				
					|  |  | @ -1330,28 +1439,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error("请先选择当前分库!") |  |  |  |                 this.$message.error("请先选择当前分库!") | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.bussinessTypeFormVisible = true; |  |  |  |                 this.bussinessTypeFormVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 let query = { |  |  |  |                 this.bussinessTypeQuery.page = 1; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     enabled: true |  |  |  |                 this.getBussinessType(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 }; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 getJoinBussinessType(query).then((res) => { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.selectBussinessTypeList = []; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.bussinessTypeList = res.data.list; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     var that = this; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     that.$nextTick(() => { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         if (that.$refs.typeList) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             that.$refs.typeList.clearSelection(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         that.bussinessTypeList.forEach(row => { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             for (let j in that.bussinessTypeData) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 if (row.action == that.bussinessTypeData[j].action) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     that.$refs.typeList.toggleRowSelection(row, true); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         }); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     }); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }).catch((error) => { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         addBussinessTypeData() { |  |  |  |         addBussinessTypeData() { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |