|  |  | @ -184,13 +184,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-tab-pane> |  |  |  |             <el-tab-pane> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <!--              {{ workplaceName }}---> |  |  |  |               <!--              {{ workplaceName }}---> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <span slot="label">采集工位</span> |  |  |  |               <span slot="label">采集工位</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-form :inline="true" :model="busQuery" class="query-form" size="mini" |  |  |  |               <el-form :inline="true" :model="cargowQuery" class="query-form" size="mini" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                        style="margin-bottom: 10px" |  |  |  |                        style="margin-bottom: 10px" | 
			
		
	
		
		
			
				
					
					|  |  |  |               > |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-form-item class="query-form-item" label="采集工位名称:"> |  |  |  |                 <el-form-item class="query-form-item" label="采集工位名称:"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <el-input |  |  |  |                   <el-input | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="busQuery.busKey" |  |  |  |                     v-model="cargowQuery.keyWords" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 placeholder="采集工位名称" |  |  |  |                     placeholder="采集工位/业务名称" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     clearable |  |  |  |                     clearable | 
			
		
	
		
		
			
				
					
					|  |  |  |                   ></el-input> |  |  |  |                   ></el-input> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-form-item> |  |  |  |                 </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -199,10 +199,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-button |  |  |  |                     <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |                       type="primary" |  |  |  |                       type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |                       icon="el-icon-refresh" |  |  |  |                       icon="el-icon-refresh" | 
			
		
	
		
		
			
				
					
					|  |  |  |                   @click="onBusTypeReset" |  |  |  |                       @click="onCollectList" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     >重置 |  |  |  |                     >重置 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-button> |  |  |  |                     </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button type="primary" @click="loadBusList" |  |  |  |                     <el-button type="primary" @click="loadCollectList" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                icon="el-icon-search" |  |  |  |                                icon="el-icon-search" | 
			
		
	
		
		
			
				
					
					|  |  |  |                     >查询 |  |  |  |                     >查询 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-button |  |  |  |                     </el-button | 
			
		
	
	
		
		
			
				
					|  |  | @ -233,19 +233,19 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-button |  |  |  |                     <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |                       type="text" |  |  |  |                       type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |                       size="small" |  |  |  |                       size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |                   @click.native.stop="removeBusType(scope.row)" |  |  |  |                       @click.native.stop="removeCollect(scope.row)" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     >删除 |  |  |  |                     >删除 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-button> |  |  |  |                     </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |                   </template> |  |  |  |                   </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-table-column> |  |  |  |                 </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-table> |  |  |  |               </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <!--<pagination--> |  |  |  |               <pagination | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!--  :total="busTypeTotal"--> |  |  |  |                 :total="collectTotal" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!--  :limit.sync="busQuery.limit"--> |  |  |  |                 :limit.sync="cargowQuery.limit" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!--  :page.sync="busQuery.page"--> |  |  |  |                 :page.sync="cargowQuery.page" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!--  @pagination="getWorkBindBusTypes()"--> |  |  |  |                 @pagination="getCargowBindCollectList()" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!-->--> |  |  |  |               > | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <!--</pagination>--> |  |  |  |               </pagination> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-tab-pane> |  |  |  |             </el-tab-pane> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-tabs> |  |  |  |           </el-tabs> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-col> |  |  |  |         </el-col> | 
			
		
	
	
		
		
			
				
					|  |  | @ -262,7 +262,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <addCollectWorkplace |  |  |  |           <addCollectWorkplace | 
			
		
	
		
		
			
				
					
					|  |  |  |             :workplaceId="workplaceId" |  |  |  |             :workplaceId="workplaceId" | 
			
		
	
		
		
			
				
					
					|  |  |  |             :collectWorks="collectWorks" |  |  |  |             :collectWorks="collectWorks" | 
			
		
	
		
		
			
				
					
					|  |  |  |       :closeDialog="closeDialog"> |  |  |  |             :closeDialog="closeDialog" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           </addCollectWorkplace> |  |  |  |           </addCollectWorkplace> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-dialog> |  |  |  |         </el-dialog> | 
			
		
	
	
		
		
			
				
					|  |  | @ -477,9 +478,8 @@ import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   printWorkLabel, updateWorkplace |  |  |  |   printWorkLabel, updateWorkplace | 
			
		
	
		
		
			
				
					
					|  |  |  | } from '@/api/basic/workPlace/sysWorkplaceManage' |  |  |  | } from '@/api/basic/workPlace/sysWorkplaceManage' | 
			
		
	
		
		
			
				
					
					|  |  |  | import { addTree, deleteTree, getTree, updateTree } from '@/api/basic/collectPoint/collectPointManage' |  |  |  | import { addTree, deleteTree, getTree, updateTree } from '@/api/basic/collectPoint/collectPointManage' | 
			
		
	
		
		
			
				
					
					|  |  |  | import { getBindCollectList } from '@/api/basic/collectPoint/cargowWorkplaceManage' |  |  |  | import { delCollect, getBindCollectList } from '@/api/basic/collectPoint/cargowWorkplaceManage' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import addCollectWorkplace from "./addCollectWorkplace" |  |  |  | import addCollectWorkplace from './addCollectWorkplace' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { addCollectWorkplace }, |  |  |  |   components: { addCollectWorkplace }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -487,6 +487,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  |       Dictionary: false, |  |  |  |       Dictionary: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       showSearch: true, |  |  |  |       showSearch: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       workplaceCode: '6001', | 
			
		
	
		
		
			
				
					
					|  |  |  |       treeList: [ |  |  |  |       treeList: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
		
		
			
				
					
					|  |  |  |           code: '1001', |  |  |  |           code: '1001', | 
			
		
	
	
		
		
			
				
					|  |  | @ -500,11 +501,13 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: null, |  |  |  |         code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workplaceStatus: 1, |  |  |  |         workplaceStatus: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceClass: 2, |  |  |  |         workPlaceClass: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         deptCode: this.$store.getters.locDeptCode, |  |  |  |         deptCode: this.$store.getters.locDeptCode | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       DeptList: [], |  |  |  |       DeptList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       list: [], |  |  |  |       list: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       collectList: [], |  |  |  |       collectList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       collectAndTypeIds: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       users: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       busTypeTotal: 0, |  |  |  |       busTypeTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       total: 0, |  |  |  |       total: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       subFormVisible: false, |  |  |  |       subFormVisible: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -565,7 +568,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         0: '完全赋码', |  |  |  |         0: '完全赋码', | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '部分赋码', |  |  |  |         1: '部分赋码', | 
			
		
	
		
		
			
				
					
					|  |  |  |         2: '赋码超出', |  |  |  |         2: '赋码超出', | 
			
		
	
		
		
			
				
					
					|  |  |  |         4: '', |  |  |  |         4: '' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       warnTypeMap: { |  |  |  |       warnTypeMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '信息提醒', |  |  |  |         1: '信息提醒', | 
			
		
	
	
		
		
			
				
					|  |  | @ -574,12 +577,12 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       isPopulars: { |  |  |  |       isPopulars: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '是', |  |  |  |         1: '是', | 
			
		
	
		
		
			
				
					
					|  |  |  |         0: '否', |  |  |  |         0: '否' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       shippers: { |  |  |  |       shippers: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '原始单据的发货方', |  |  |  |         1: '原始单据的发货方', | 
			
		
	
		
		
			
				
					
					|  |  |  |         2: '原始单据的收货方', |  |  |  |         2: '原始单据的收货方', | 
			
		
	
		
		
			
				
					
					|  |  |  |         3: '用户所属仓库', |  |  |  |         3: '用户所属仓库' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       consignees: { |  |  |  |       consignees: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: '原始单据的收货方', |  |  |  |         1: '原始单据的收货方', | 
			
		
	
	
		
		
			
				
					|  |  | @ -588,7 +591,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         4: '客户', |  |  |  |         4: '客户', | 
			
		
	
		
		
			
				
					
					|  |  |  |         5: '特殊往来', |  |  |  |         5: '特殊往来', | 
			
		
	
		
		
			
				
					
					|  |  |  |         6: '内部科室', |  |  |  |         6: '内部科室', | 
			
		
	
		
		
			
				
					
					|  |  |  |         7: '填写', |  |  |  |         7: '填写' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       userList: [], |  |  |  |       userList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       userLoading: false, |  |  |  |       userLoading: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -598,9 +601,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       cargowQuery: { |  |  |  |       cargowQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |         userKey: null, |  |  |  |         keyWords: null, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         workPlaceCode: null |  |  |  |         workPlaceCode: null | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       collectTotal:0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       busQuery: { |  |  |  |       busQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         busKey: '', |  |  |  |         busKey: '', | 
			
		
	
		
		
			
				
					
					|  |  |  |         workplaceCode: null, |  |  |  |         workplaceCode: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -652,6 +656,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         //   { required: true, message: '请选择工位类型', trigger: 'blur' } |  |  |  |         //   { required: true, message: '请选择工位类型', trigger: 'blur' } | 
			
		
	
		
		
			
				
					
					|  |  |  |         // ] |  |  |  |         // ] | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   computed: {}, |  |  |  |   computed: {}, | 
			
		
	
	
		
		
			
				
					|  |  | @ -702,7 +707,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20, |  |  |  |         limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workplaceStatus: 1, |  |  |  |         workplaceStatus: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceClass: 2, |  |  |  |         workPlaceClass: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         deptCode: this.$store.getters.locDeptCode, |  |  |  |         deptCode: this.$store.getters.locDeptCode | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList() |  |  |  |       this.getList() | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -754,23 +759,61 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.cargowQuery.workPlaceCode = this.rowData.workplaceId |  |  |  |       this.cargowQuery.workPlaceCode = this.rowData.workplaceId | 
			
		
	
		
		
			
				
					
					|  |  |  |       getBindCollectList(this.cargowQuery).then(res => { |  |  |  |       getBindCollectList(this.cargowQuery).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code != 20000) { |  |  |  |         if (res.code != 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           return this.$message.error("获取失败") |  |  |  |           return this.$message.error('获取失败') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.collectList = res.data.list || [] |  |  |  |         this.collectList = res.data.list || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.collectTotal = res.data.total || 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     onCollectList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (this.rowData.workplaceId == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         return this.$message.error('请选择上货工位') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.$router.push({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         path: '' | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.cargowQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         keyWords: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         workPlaceCode: null | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.getCargowBindCollectList() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     loadCollectList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (this.rowData.workplaceId == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         return this.$message.error('请选择上货工位') | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.cargowQuery.page = 1 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.getCargowBindCollectList() | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     chooseCollect() { |  |  |  |     chooseCollect() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.rowData.workplaceId == null) { |  |  |  |       if (this.rowData.workplaceId == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error('请选择上货工位') |  |  |  |         return this.$message.error('请选择上货工位') | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       console.log("hhhhhhh",this.collectList) |  |  |  |       this.collectWorks = this.collectList.map(item => item.collectAndTypeCodes) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.collectWorks = this.collectList.map(item => ({ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         workplaceCode: item.collectWorkPlaceCode, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         documentTypeCode: item.collectBusTypeCode |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       })); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       // this.collectWorks = this.collectWorkPlaceCodes.concat(this.collectBusTypeCodes); |  |  |  |       // this.collectWorks = this.collectWorkPlaceCodes.concat(this.collectBusTypeCodes); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.chooseCollectDialogVisible = true |  |  |  |       this.chooseCollectDialogVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     removeCollect(row){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.$confirm('此操作将永久删除该采集工位, 是否继续?', '提示', { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         confirmButtonText: '确定', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         cancelButtonText: '取消', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         type: 'warning' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         delCollect(row).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           if (res.code != 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.$message.error(res.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.$message.success("删除成功") | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.getCargowBindCollectList() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleNodeClick(row) { |  |  |  |     handleNodeClick(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.groupData = row |  |  |  |       this.groupData = row | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.query.code = row.code |  |  |  |       this.query.code = row.code | 
			
		
	
	
		
		
			
				
					|  |  | @ -825,7 +868,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceClass: 2, |  |  |  |         workPlaceClass: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         deptCode: null, |  |  |  |         deptCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         chargeUser: null, |  |  |  |         chargeUser: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         constituencies: "1001", |  |  |  |         constituencies: '1001', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         invRemindNumber: 0, |  |  |  |         invRemindNumber: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |         remake: null |  |  |  |         remake: null | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | @ -837,7 +880,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       createWorkplaceId().then(res => { |  |  |  |       createWorkplaceId().then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code == 20000) { |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (res.data == null) { |  |  |  |           if (res.data == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.workplaceId = this.workplaceCode + 1001 |  |  |  |             this.formData.workplaceId = this.workplaceCode + 1002 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.addWorkplaceDialogVisible = true |  |  |  |             this.addWorkplaceDialogVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getTree() |  |  |  |             this.getTree() | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -889,7 +932,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return this.$message.error(res.message) |  |  |  |             return this.$message.error(res.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.addWorkplaceDialogVisible = false |  |  |  |           this.addWorkplaceDialogVisible = false | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.success("更新成功") |  |  |  |           this.$message.success('更新成功') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           this.getList() |  |  |  |           this.getList() | 
			
		
	
		
		
			
				
					
					|  |  |  |         }).catch(() => { |  |  |  |         }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.addWorkplaceDialogVisible = false |  |  |  |           this.addWorkplaceDialogVisible = false | 
			
		
	
	
		
		
			
				
					|  |  | @ -969,7 +1012,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.deptList = res.data.list || [] |  |  |  |           this.deptList = res.data.list || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     } | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.getDepts() |  |  |  |     this.getDepts() | 
			
		
	
	
		
		
			
				
					|  |  | 
 |