| | |
| | | @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" |
| | | @selection-change="selectionTransferTask"> |
| | | <template #menu-left> |
| | | <el-button type="primary" plain @click="reassign">重新指派 |
| | | <el-button type="primary" plain @click="reassign">重新指派</el-button> |
| | | <el-button type="primary" v-if="permission.manual_dispatch" plain @click="reassign">手动派工 |
| | | </el-button> |
| | | <el-button type="primary" v-if="permission.auto_dispatch" plain @click="reassign">自动派工 |
| | | </el-button> |
| | | </template> |
| | | <template #menu="scope"> |
| | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(['userInfo', 'permission']), |
| | | // permissionList() { |
| | | // return { |
| | | // addBtn: this.validData(this.permission.menu_add, false), |
| | | // viewBtn: this.validData(this.permission.menu_view, false), |
| | | // delBtn: this.validData(this.permission.menu_delete, false), |
| | | // editBtn: this.validData(this.permission.menu_edit, false), |
| | | // }; |
| | | // }, |
| | | permissionList() { |
| | | return { |
| | | manual_dispatch: this.validData(this.permission.manual_dispatch, false), |
| | | auto_dispatch: this.validData(this.permission.auto_dispatch, false), |
| | | }; |
| | | }, |
| | | }, |
| | | mounted() { |
| | | getAssignee().then(res => { |