diff --git a/src/views/projectFront/laborManage/personModule/laborComponent.vue b/src/views/projectFront/laborManage/personModule/laborComponent.vue index 758ab002..5b649ba4 100644 --- a/src/views/projectFront/laborManage/personModule/laborComponent.vue +++ b/src/views/projectFront/laborManage/personModule/laborComponent.vue @@ -290,7 +290,7 @@ size="medium" @click="passEquipment()" type="primary" - style="margin-left: 5px;" + style="margin-left: 5px" :disabled="checkedWorker.length <= 0" >下发通行设备 @@ -303,7 +303,7 @@ size="medium" @click="checkAllFn()" type="primary" - style="margin-left: 5px;" + style="margin-left: 5px" >全选
@@ -312,23 +312,23 @@ :model="tableParameter" size="medium" class="demo-form-inline" - style="margin-top: 5px;" + style="margin-top: 5px" > - - - - - + + + + + 0){ + enterpriseId: this.checkedId, + }; + if (this.checkedWorker.length > 0) { const ids = this.checkedWorker.map((item) => item.id).join(","); - requestData.workerIds = ids + requestData.workerIds = ids; } sendBatchWokerApi(requestData).then((res) => { if (res.code == 200) {