| | |
| | | render: (row) => { |
| | | return ( |
| | | <NSpace wrap={false} size={8}> |
| | | <NButton |
| | | text |
| | | v-permission="50119" |
| | | type="primary" |
| | | onClick={() => handleDetail(row)} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | {row.status == '1' && ( |
| | | <NButton |
| | | text |
| | |
| | | 更新信息 |
| | | </NButton> |
| | | )} |
| | | <NButton |
| | | text |
| | | v-permission="50119" |
| | | type="primary" |
| | | onClick={() => handleDetail(row)} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | |
| | | {/* <NButton |
| | | text |
| | | v-permission="50120" |
| | |
| | | <NSpace justify="flex-start" wrap={false} size={8}> |
| | | <NButton |
| | | text |
| | | v-permission="50134" |
| | | type="primary" |
| | | onClick={() => handleConvertToInventory(row)} |
| | | > |
| | | 转为在库车辆 |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="50131" |
| | | type="primary" |
| | | onClick={() => handleViewDetail(row)} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="50134" |
| | | type="primary" |
| | | onClick={() => handleConvertToInventory(row)} |
| | | > |
| | | 转为在库车辆 |
| | | </NButton> |
| | | |
| | | </NSpace> |
| | | ) |
| | | }, |
| | |
| | | <div class="flex items-center justify-start gap-2"> |
| | | <span |
| | | class="cursor-pointer" |
| | | v-permission="202642962" |
| | | style={{ color: '#0068FF' }} |
| | | onClick={() => handleEdit(row)} |
| | | > |
| | | 编辑 |
| | | </span> |
| | | <span |
| | | class="cursor-pointer" |
| | | v-permission="202642963" |
| | | style={{ color: '#0068FF' }} |
| | | onClick={() => handleDetail(row)} |
| | |
| | | </span> |
| | | <span |
| | | class="cursor-pointer" |
| | | v-permission="202642962" |
| | | style={{ color: '#0068FF' }} |
| | | onClick={() => handleEdit(row)} |
| | | > |
| | | 编辑 |
| | | </span> |
| | | |
| | | <span |
| | | class="cursor-pointer" |
| | | v-permission="202642964" |
| | | style={{ color: '#0068FF' }} |
| | | onClick={() => handleDelete(row)} |
| | |
| | | <div class="flex items-center gap-16px"> |
| | | |
| | | {/* <a v-permission="70115" style={{ color: '#0068FF', cursor: 'pointer' }} onClick={() => handleEdit(row)}>编辑</a> */} |
| | | <a v-permission="70117" style={{ color: '#0068FF', cursor: 'pointer' }} onClick={() => handleResetPassword(row)}>重置密码</a> |
| | | <a v-permission="70111" style={{ color: '#0068FF', cursor: 'pointer' }} onClick={() => router.push(`/operations/personnel/personnelManagement/detail/${row.id}`)}>详情</a> |
| | | <a v-permission="70117" style={{ color: '#0068FF', cursor: 'pointer' }} onClick={() => handleResetPassword(row)}>重置密码</a> |
| | | <a v-permission="70118" style={{ color: '#0068FF', cursor: 'pointer' }} onClick={() => handleDelete(row)}>删除</a> |
| | | <NSwitch |
| | | v-permission="70116" |
| | |
| | | render: (row) => { |
| | | return ( |
| | | <NSpace> |
| | | <NButton |
| | | text |
| | | v-permission="7054" |
| | | type="primary" |
| | | onClick={() => handleDetail(row)} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | {(row.status === 0 || row.status === 1) && ( |
| | | <NButton |
| | | text |
| | |
| | | 分配 |
| | | </NButton> |
| | | )} |
| | | <NButton |
| | | text |
| | | v-permission="7054" |
| | | type="primary" |
| | | onClick={() => handleDetail(row)} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | |
| | | <NButton |
| | | text |
| | | v-permission="7055" |
| | |
| | | <div class="flex items-center justify-start gap-2"> |
| | | <NButton |
| | | text |
| | | v-permission="202642951" |
| | | type="primary" |
| | | onClick={() => handleEdit(row)} |
| | | > |
| | | 编辑 |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="202642952" |
| | | type="primary" |
| | | onClick={() => handleDetail(row)} |
| | |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="202642951" |
| | | type="primary" |
| | | onClick={() => handleEdit(row)} |
| | | > |
| | | 编辑 |
| | | </NButton> |
| | | |
| | | <NButton |
| | | text |
| | | v-permission="202642953" |
| | | type="primary" |
| | | onClick={() => handleDelete(row)} |
| | |
| | | </NButton> */} |
| | | <NButton |
| | | text |
| | | v-permission="6023" |
| | | type="primary" |
| | | onClick={() => router.push({ name: 'setPrice', query: { id: row.id, type: 'add', category: row.pricingType } })} |
| | | > |
| | | 设置价格 |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="6024" |
| | | type="primary" |
| | | onClick={() => router.push({ name: 'pricingDetail', query: { id: row.id, type: 'view', category: row.pricingType } })} |
| | | > |
| | | 详情 |
| | | </NButton> |
| | | <NButton |
| | | text |
| | | v-permission="6023" |
| | | type="primary" |
| | | onClick={() => router.push({ name: 'setPrice', query: { id: row.id, type: 'add', category: row.pricingType } })} |
| | | > |
| | | 设置价格 |
| | | </NButton> |
| | | |
| | | {/* <NButton |
| | | text |
| | | v-permission="6025" |
| | |
| | | const status = Number(row.status) |
| | | return ( |
| | | <n-space size={12}> |
| | | <NButton text type="primary" v-permission="302314" onClick={() => handleDetail(row)}> |
| | | 详情 |
| | | </NButton> |
| | | {status === 2 && ( |
| | | <NButton v-permission="302313" text type="primary" onClick={() => handleSend(row)}> |
| | | 发券 |
| | | </NButton> |
| | | )} |
| | | <NButton text type="primary" v-permission="302314" onClick={() => handleDetail(row)}> |
| | | 详情 |
| | | </NButton> |
| | | {status === 1 && ( |
| | | <NButton text type="primary" v-permission="302316" onClick={() => handleEdit(row)}> |
| | | 编辑 |