| | |
| | | class="w-full opacity-0" |
| | | :disabled="isEdit" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :is-date-disabled="disablePreviousDate" |
| | |
| | | class="w-full opacity-0" |
| | | :disabled="isEdit" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :close-on-select="true" |
| | |
| | | class="w-full opacity-0" |
| | | :disabled="isLocked" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :is-date-disabled="disablePreviousDate" |
| | |
| | | class="w-full opacity-0" |
| | | :disabled="isLocked" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :close-on-select="true" |
| | |
| | | :disabled="!formModel.maintenanceStatus" |
| | | type="datetime" |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | placeholder="请选择日期" |
| | | style="width: 240px;" |
| | | clearable |
| | |
| | | :disabled="!formModel.maintenanceStatus" |
| | | type="datetime" |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | placeholder="请选择日期" |
| | | style="width: 240px;" |
| | | :actions="[]" :update-value-on-close="true" :close-on-select="true" |
| | |
| | | :actions="null" |
| | | update-value-on-close |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | value-format="timestamp" |
| | | placeholder="开始日期时间" |
| | | style="flex: 1;" |
| | |
| | | :actions="null" |
| | | update-value-on-close |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | value-format="timestamp" |
| | | placeholder="结束日期时间" |
| | | style="flex: 1;" |
| | |
| | | return |
| | | } |
| | | |
| | | const columnElements = Array.from(columnsContainer.children).filter((element) => |
| | | const columnElements = Array.from(columnsContainer.children).filter(element => |
| | | (element as HTMLElement).classList.contains('n-time-picker-col'), |
| | | ) |
| | | const columnIndex = columnElements.indexOf(columnElement) |
| | |
| | | class="w-full opacity-0" |
| | | :disabled="isEdit" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :is-date-disabled="disablePreviousDate" |
| | |
| | | class="w-full opacity-0" |
| | | :disabled="isEdit" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="[]" |
| | | :update-value-on-close="true" |
| | | :close-on-select="true" |
| | |
| | | type="datetimerange" |
| | | clearable |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | style={{ width: '100%' }} |
| | | start-placeholder="开始时间" |
| | | end-placeholder="结束时间" |
| | | |
| | | /> |
| | | ), |
| | | }, |
| | |
| | | } |
| | | closeDateTimePicker(startTimePicker) |
| | | }, |
| | | }" :disabled="formModel.isLongValid === 1" format="yyyy/MM/dd HH:mm" placeholder="请选择开始时间" class="max-w-[200px]" |
| | | }" :disabled="formModel.isLongValid === 1" format="yyyy/MM/dd HH:mm" date-format="yyyy/MM/dd" placeholder="请选择开始时间" class="max-w-[200px]" |
| | | /> |
| | | <span style="color: rgba(23, 31, 38, 0.8);">至</span> |
| | | <NDatePicker |
| | | ref="endTimePicker" v-model:value="formModel.endTime" type="datetime" clearable |
| | | :actions="null" :disabled="formModel.isLongValid === 1" format="yyyy/MM/dd HH:mm" |
| | | :actions="null" :disabled="formModel.isLongValid === 1" format="yyyy/MM/dd HH:mm" date-format="yyyy/MM/dd" |
| | | placeholder="请选择结束时间" class="max-w-[200px]" |
| | | :is-date-disabled="isEndDateDisabled" |
| | | :is-time-disabled="isEndTimeDisabled" |
| | |
| | | resizable: true, |
| | | render(row) { |
| | | const option = statusOptions.find(item => item.value === row.status) |
| | | if (!option) |
| | | return '-' |
| | | return ( |
| | | <NTag |
| | | color={{ textColor: option?.textColor, color: option?.color }} |
| | |
| | | 退款 |
| | | </NButton> |
| | | )} |
| | | |
| | | |
| | | {row.status === 0 && ( |
| | | <NButton |
| | | text |
| | |
| | | { |
| | | label: t('transaction.orderTime'), |
| | | path: 'orderTime', |
| | | render: () => <n-date-picker format="yyyy/MM/dd" v-model:value={model.value.orderTime} type="daterange" clearable actions={[]} close-on-select={true} />, |
| | | render: () => ( |
| | | <n-date-picker |
| | | format="yyyy/MM/dd" |
| | | v-model:value={model.value.orderTime} |
| | | type="daterange" |
| | | clearable |
| | | actions={[]} |
| | | close-on-select={true} |
| | | /> |
| | | ), |
| | | }, |
| | | { |
| | | label: '下单用户昵称', |
| | |
| | | <n-card class="flex-1 robotaxi-table-card"> |
| | | <template #header> |
| | | <n-flex justify="space-between"> |
| | | <div class="flex gap-2 items-center" v-permission="60112"> |
| | | <div v-permission="60112" class="flex gap-2 items-center"> |
| | | <span v-if="checkedRowKeysRef.length > 0" style="color: rgba(23, 31, 38, 0.6);font-weight: 400;"> |
| | | {{ $t('accountManagement.messages.selectedRecords', { count: checkedRowKeysRef.length }) }} |
| | | </span> |
| | |
| | | </span> |
| | | </div> |
| | | <NButton v-permission="60118" @click="handleOpenOperationLog"> |
| | | 操作日志 |
| | | </NButton> |
| | | 操作日志 |
| | | </NButton> |
| | | </n-flex> |
| | | </template> |
| | | <div class="flex-1 flex flex-col h-full"> |
| | |
| | | update-value-on-close |
| | | close-on-select |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :time-picker-props="{ |
| | | actions: ['now'], |
| | | format: 'HH:mm', |
| | |
| | | class="w-240px" |
| | | :disabled="formModel.validTimeLong" |
| | | format="yyyy/MM/dd HH:mm" |
| | | date-format="yyyy/MM/dd" |
| | | :actions="null" |
| | | update-value-on-close |
| | | close-on-select |
| | |
| | | v-model:value="formModel.startTime" |
| | | type="datetime" |
| | | format="yyyy/MM/dd HH:mm:ss" |
| | | date-format="yyyy/MM/dd" |
| | | placeholder="年/月/日" |
| | | style="width: 100%;" |
| | | clearable |