Merge branch 'feat/deploy-1.0' into feat/deploy-2.0
| | |
| | | path: '/system', |
| | | title: '系统', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:setting', |
| | | icon: 'icon-park-outline:config', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 2, |
| | |
| | | path: '/userContent', |
| | | title: '用户&内容', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:user', |
| | | icon: 'icon-park-outline:peoples', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 3, |
| | |
| | | path: '/businessOperations', |
| | | title: '运营&城市', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:analysis', |
| | | icon: 'icon-park-outline:city-gate', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 4, |
| | |
| | | path: '/assetManagement', |
| | | title: '资产', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:analysis', |
| | | icon: 'icon-park-outline:car', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 5, |
| | |
| | | requiresAuth: true, |
| | | // 默认首页已切到订单管理,父级目录也需要跳过菜单权限过滤,保证整条链路可见。 |
| | | ignorePermission: true, |
| | | icon: 'icon-park-outline:analysis', |
| | | icon: 'icon-park-outline:wallet', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 6, |
| | |
| | | path: '/operations', |
| | | title: '运维执行', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:analysis', |
| | | icon: 'icon-park-outline:toolkit', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 7, |
| | |
| | | path: '/service', |
| | | title: '服务中心', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:list-view', |
| | | icon: 'icon-park-outline:helpcenter', |
| | | menuType: 'dir', |
| | | componentPath: null, |
| | | id: 8, |
| | |
| | | path: '/systemOperationLog', |
| | | title: '系统操作日志', |
| | | requiresAuth: true, |
| | | icon: 'icon-park-outline:log', |
| | | icon: 'icon-park-outline:history', |
| | | menuType: 'page', |
| | | componentPath: '/system/operationLog/index.vue', |
| | | id: 12, |
| | |
| | | pointLonAndLat: '', |
| | | createBy: '', |
| | | createTime: null, |
| | | updateBy: '', |
| | | updateTime: null, |
| | | } |
| | | |
| | | const model = ref({ ...initialModel }) |
| | |
| | | pointLat: 160, |
| | | createBy: 160, |
| | | createTime: 200, |
| | | updateBy: 160, |
| | | updateTime: 200, |
| | | actions: 200, |
| | | } as const |
| | | |
| | |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '更新人', |
| | | key: 'updateBy', |
| | | width: columnWidths.updateBy, |
| | | align: 'left', |
| | | ellipsis: true, |
| | | resizable: true, |
| | | render(row) { |
| | | return row.updateBy || '-' |
| | | }, |
| | | }, |
| | | { |
| | | title: '创建时间', |
| | | key: 'createTime', |
| | | width: columnWidths.createTime, |
| | |
| | | ellipsis: true, |
| | | render(row) { |
| | | return row.createTime ? dayjs(row.createTime).format('YYYY/MM/DD HH:mm') || '-' : '-' |
| | | }, |
| | | }, |
| | | { |
| | | title: '更新时间', |
| | | key: 'updateTime', |
| | | width: columnWidths.updateTime, |
| | | align: 'left', |
| | | ellipsis: true, |
| | | resizable: true, |
| | | render(row) { |
| | | return row.updateTime ? dayjs(row.updateTime).format('YYYY/MM/DD HH:mm') || '-' : '-' |
| | | }, |
| | | }, |
| | | { |
| | |
| | | render: () => <NInput v-model:value={model.value.createBy} placeholder="请输入" />, |
| | | }, |
| | | { |
| | | label: '更新人', |
| | | path: 'updateBy', |
| | | render: () => <NInput v-model:value={model.value.updateBy} placeholder="请输入" />, |
| | | }, |
| | | { |
| | | label: '创建时间', |
| | | path: 'createTime', |
| | | render: () => <NDatePicker v-model:value={model.value.createTime} type="daterange" format="yyyy/MM/dd" clearable actions={[]} close-on-select={true} start-placeholder="开始时间" end-placeholder="结束时间" separator="-" />, |
| | | }, |
| | | { |
| | | label: '更新时间', |
| | | path: 'updateTime', |
| | | render: () => <NDatePicker v-model:value={model.value.updateTime} type="daterange" format="yyyy/MM/dd" clearable actions={[]} close-on-select={true} start-placeholder="开始时间" end-placeholder="结束时间" separator="-" />, |
| | | }, |
| | | ]) |
| | | |
| | |
| | | pointLonAndLat: normalizePointLonAndLatInput(model.value.pointLonAndLat), |
| | | startTime: model.value.createTime ? dayjs(model.value.createTime[0]).startOf('day').format('YYYY-MM-DD HH:mm:ss') : undefined, |
| | | endTime: model.value.createTime ? dayjs(model.value.createTime[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss') : undefined, |
| | | updateStartTime: model.value.updateTime ? dayjs(model.value.updateTime[0]).startOf('day').format('YYYY-MM-DD HH:mm:ss') : undefined, |
| | | updateEndTime: model.value.updateTime ? dayjs(model.value.updateTime[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss') : undefined, |
| | | } |
| | | // Remove createTime array from params sent to API |
| | | delete params.createTime |
| | | delete params.updateTime |
| | | delete params.operationStatus |
| | | |
| | | const res = await fetchPointPageList(params) |