diff --git a/src/views/train/flow/components/list.vue b/src/views/train/flow/components/list.vue index 4efc06b..f6de9bf 100644 --- a/src/views/train/flow/components/list.vue +++ b/src/views/train/flow/components/list.vue @@ -7,7 +7,7 @@ - + @@ -34,7 +34,7 @@ border fit highlight-current-row> - + @@ -51,7 +51,7 @@
- 批量推送 + 批量推送
diff --git a/src/views/train/synInfo/components/list.vue b/src/views/train/synInfo/components/list.vue index f351f8e..01a8f19 100644 --- a/src/views/train/synInfo/components/list.vue +++ b/src/views/train/synInfo/components/list.vue @@ -7,7 +7,7 @@
- + @@ -34,7 +34,7 @@ border fit highlight-current-row> - + @@ -50,7 +50,7 @@
- 批量推送 + 批量推送
@@ -164,29 +164,14 @@ export default { }, handleAdd() { const _selectData = this.$refs.multipleTable.selection - if (_selectData == null || _selectData.length == 0) { + if (_selectData == null || _selectData.length === 0) { this.$message({ - message: '未勾选培训人员...', + message: '未勾选人员...', type: 'error' }) return false } - - var users = [] - _selectData.map(item => { - if (item.STATUS === 0) { - users.push(item.USER_ID) - } - }) - - if (users == null || users.length == 0) { - this.$message({ - message: '勾选人员暂无法提交申请...', - type: 'error' - }) - return false - } - this.$refs.apply.init(users) + this.$refs.sendUtil.init(_selectData) }, hasButton() { var keys = 'trainingbatch:add,trainingbatch:del,trainingbatch:edit,fhSms,email,fromExcel,toExcel' diff --git a/src/views/train/synInfo/components/sendUtil.vue b/src/views/train/synInfo/components/sendUtil.vue index 3b46ac8..de8d4c5 100644 --- a/src/views/train/synInfo/components/sendUtil.vue +++ b/src/views/train/synInfo/components/sendUtil.vue @@ -1,18 +1,21 @@