feat: 新增订单管理页操作日志弹窗、修复组件路由并添加安全员页面权限控制

- 为订单管理页面引入OperationLogModal组件
- 修复OperationLogModal内的两处路由路径配置
- 为安全员页面的所有操作按钮添加v-permission权限校验指令
4个文件已修改
25 ■■■■■ 已修改文件
src/components/custom/OperationLogModal.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/list.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operations/personnel/safetyOfficerInfo/index.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/transaction/order/orderManagement/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/custom/OperationLogModal.vue
@@ -112,7 +112,7 @@
  { path: '/operations/attendance/address', type: 34 },
  { path: '/operations/cruiseCheckInManagement/cruiseCheckIn', type: 34 },
  { path: '/operations/attendance/shift', type: 35 },
  { path: '/operations/taskOrder/taskOrderCenter', type: 37 },
  { path: '/operations/taskOrderCenter', type: 37 },
  { path: '/operations/cruiseCheckInManagement/cruiseCheckInRule', type: 38 },
  { path: '/service/review/personnel', type: 39 },
  { path: '/service/review/policyApplication', type: 40 },
@@ -121,7 +121,7 @@
  { path: '/transaction/order/orderManagement', type: 43 },
  { path: '/testDemo/testPointManagement/list', type: 44 },
  { path: '/businessOperations/pointManagement', type: 45 },
  { path: '/userContent/whitelistManagement/invitationCode', type: 46 },
  { path: '/userContent/whitelist-management/invitation-code', type: 46 },
]
const resolvedBusinessType = computed<number | undefined>(() => {
src/views/businessOperations/operationWorkbench/list.vue
@@ -1546,7 +1546,7 @@
            placeholder="请选择"
            clearable
            multiple
             max-tag-count="responsive"
            max-tag-count="responsive"
            onUpdate:show={(val: boolean) => isStationPointNumOpen.value = val}
          >
            {{
@@ -1572,7 +1572,7 @@
            placeholder="请选择"
            clearable
            multiple
             max-tag-count="responsive"
            max-tag-count="responsive"
            onUpdate:show={(val: boolean) => isStationStatusOpen.value = val}
          >
            {{
@@ -2252,7 +2252,7 @@
  if (activeTab.value === 'fence')
    return 22
  if (activeTab.value === 'station')
    return 57
    return 58
  return 45
})
src/views/operations/personnel/safetyOfficerInfo/index.vue
@@ -358,10 +358,10 @@
    align: 'left',
    render: row => (
      <n-space size={12}>
        <NButton text type="primary" onClick={() => handleEdit(row)}>
        <NButton text v-permission="70122" type="primary" onClick={() => handleEdit(row)}>
          编辑
        </NButton>
        <NButton text type="primary" onClick={() => handleToggleStatus(row)}>
        <NButton text v-permission="70123" type="primary" onClick={() => handleToggleStatus(row)}>
          {row.deleted ? '启用' : '停用'}
        </NButton>
      </n-space>
@@ -413,21 +413,21 @@
            <span v-if="checkedRowKeys.length > 0" style="color: rgba(23, 31, 38, 0.6); font-weight: 400;">
              已选择{{ checkedRowKeys.length }}条记录
            </span>
            <NButton :disabled="checkedRowKeys.length === 0" @click="handleBatchExport">
            <NButton v-permission="70125" :disabled="checkedRowKeys.length === 0" @click="handleBatchExport">
              批量导出
            </NButton>
            <NButton @click="handleBatchImport">
            <NButton v-permission="70124" @click="handleBatchImport">
              批量导入
            </NButton>
            <NButton @click="handleDownloadTemplate">
            <NButton v-permission="70124" @click="handleDownloadTemplate">
              下载导入模板
            </NButton>
            <NButton @click="handleOpenOperationLog">
            <NButton v-permission="70126" @click="handleOpenOperationLog">
              操作日志
            </NButton>
          </n-flex>
          <NButton type="primary" secondary @click="handleAdd">
          <NButton v-permission="70121" type="primary" secondary @click="handleAdd">
            新增
          </NButton>
        </n-flex>
src/views/transaction/order/orderManagement/index.vue
@@ -758,5 +758,6 @@
    <TableModal ref="modalRef" modal-name="订单改派" @refresh="handleSearch" />
    <CloseOrderModal ref="closeOrderModalRef" modal-name="关闭订单" @refresh="handleSearch" />
    <Modal ref="modalRef1" modal-name="改价" @refresh="handleSearch" />
    <OperationLogModal v-model:show="showOperationLogModal" />
  </div>
</template>