diff --git a/src/views/report/talent/Index.vue b/src/views/report/talent/Index.vue index 9860b80e922e11837e9c7ad378688c04ef260257..dfcab8f15dc8b95212347fa5065f376f8854d3e2 100644 --- a/src/views/report/talent/Index.vue +++ b/src/views/report/talent/Index.vue @@ -30,7 +30,9 @@ <template slot="option" slot-scope="record"> <a-button type="link" size="small" @click="recordClick(record,'view')">查看</a-button> <a-button type="link" size="small" @click="recordClick(record,'edit')">修改</a-button> - <a-button type="link" size="small" @click="recordClick(record,'report')">上报</a-button> + <a-popconfirm title="确定要上报吗?" v-if="((record.talentState == 10 || record.talentState == 30))" ok-text="确定" cancel-text="取消" @confirm="recordClick(record,'report')"> + <a-button type="link" size="small">上报</a-button> + </a-popconfirm> </template> </a-table> <a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" />