odf_new/odf-uniapp/services/markerPole.js
zpc 827d7a4367
All checks were successful
continuous-integration/drone/push Build is passing
feat(odf): Add marker pole management and audit logging for v1.2.0
- Add marker pole CRUD functionality with database tables (odf_marker_poles, odf_marker_pole_images)
- Implement marker pole API endpoints and service layer with data isolation by department
- Add UniApp pages for marker pole list, detail, and creation workflows
- Add Vue management backend pages for marker pole and audit log management
- Implement audit logging system via ActionFilter to track all business entity modifications
- Extend search API to include marker poles in results alongside cables and faults
- Add OdfAuditLogsController and service for querying audit trail data
- Update optical box detail page with left-right frame color scheme (green-orange)
- Add cable type page as entry point for marker poles and fault lists
- Create database migration scripts for v1.2.0 schema and permissions
- Add DeptDataScopeHelper for department-based data access control
- Update MCP settings to disable SQL Server connection and fix formatting
- Add marker pole service integration in UniApp with COS image upload support
2026-04-18 22:50:15 +08:00

28 lines
801 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { get, post } from './api'
/**
* 获取标石/杆号牌列表
* @param {number} cableId - 光缆ID
* @param {number} pageNum - 页码
* @param {number} pageSize - 每页条数
* @returns {Promise}
*/
export const getMarkerPoleList = (cableId, pageNum, pageSize) =>
get('/business/OdfMarkerPoles/list', { cableId, pageNum, pageSize })
/**
* 获取标石/杆号牌详情
* @param {number} id - 标石记录ID
* @returns {Promise}
*/
export const getMarkerPoleDetail = (id) =>
get(`/business/OdfMarkerPoles/${id}`)
/**
* 新增标石/杆号牌JSON 提交,图片已上传至 COS
* @param {object} data - 标石信息,含 imageUrls 数组
* @returns {Promise}
*/
export const addMarkerPole = (data) =>
post('/business/OdfMarkerPoles/add', data, { timeout: 120000 })