| | |
| | | type="primary" |
| | | :color="Colors.Info" |
| | | class="dark-btn" |
| | | @click="goSubmitTaskDetail(item)" |
| | | @click.stop="goBatchTaskList(item, 'detail')" |
| | | >详情</nut-button |
| | | > |
| | | <nut-button type="primary" v-else @click="goBatchTaskList(item)">人员安排</nut-button> |
| | | <nut-button type="primary" v-else @click.stop="goBatchTaskList(item, 'arrange')" |
| | | >人员安排</nut-button |
| | | > |
| | | </template> |
| | | </JobApplicationCard> |
| | | </template> |
| | |
| | | }); |
| | | } |
| | | |
| | | function goBatchTaskList(item: API.GetFlexTaskListOutput) { |
| | | function goBatchTaskList(item: API.GetFlexTaskListOutput, status: string) { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.batchTaskList}?taskId=${item.taskId}`, |
| | | url: `${RouterPath.batchTaskList}?taskId=${item.taskId}&detail=${status}`, |
| | | }); |
| | | } |
| | | </script> |