diff --git a/gear-ui3/src/api/oa/express.js b/gear-ui3/src/api/oa/express.js new file mode 100644 index 0000000..6544707 --- /dev/null +++ b/gear-ui3/src/api/oa/express.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +// 查询物流预览列表 +export function listExpress(query) { + return request({ + url: '/oa/express/list', + method: 'get', + params: query + }) +} + +// 查询物流预览详细 +export function getExpress(expressId) { + return request({ + url: '/oa/express/' + expressId, + method: 'get' + }) +} +// 查询物流预览详细 +export function refreshExpress(expressId) { + return request({ + url: '/oa/express/refresh/' + expressId, + method: 'get' + }) +} + +// 新增物流预览 +export function addExpress(data) { + return request({ + url: '/oa/express', + method: 'post', + data: data + }) +} + +// 修改物流预览 +export function updateExpress(data) { + return request({ + url: '/oa/express', + method: 'put', + data: data + }) +} + +// 删除物流预览 +export function delExpress(expressId) { + return request({ + url: '/oa/express/' + expressId, + method: 'delete' + }) +} diff --git a/gear-ui3/src/api/oa/expressQuestion.js b/gear-ui3/src/api/oa/expressQuestion.js new file mode 100644 index 0000000..b20a993 --- /dev/null +++ b/gear-ui3/src/api/oa/expressQuestion.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询快递问题列表 +export function listExpressQuestion(query) { +return request({ +url: '/oa/expressQuestion/list', +method: 'get', +params: query +}) +} + +// 查询快递问题详细 +export function getExpressQuestion(questionId) { +return request({ +url: '/oa/expressQuestion/' + questionId, +method: 'get' +}) +} + +// 新增快递问题 +export function addExpressQuestion(data) { +return request({ +url: '/oa/expressQuestion', +method: 'post', +data: data +}) +} + +// 修改快递问题 +export function updateExpressQuestion(data) { +return request({ +url: '/oa/expressQuestion', +method: 'put', +data: data +}) +} + +// 删除快递问题 +export function delExpressQuestion(questionId) { +return request({ +url: '/oa/expressQuestion/' + questionId, +method: 'delete' +}) +} diff --git a/gear-ui3/src/api/oa/feedback.js b/gear-ui3/src/api/oa/feedback.js new file mode 100644 index 0000000..05215da --- /dev/null +++ b/gear-ui3/src/api/oa/feedback.js @@ -0,0 +1,61 @@ +import request from '@/utils/request' + +// 查询问题反馈列表 +export function listFeedback(query) { + return request({ + url: '/oa/feedback/list', + method: 'get', + params: query + }) +} +// 查询问题反馈列表 +export function indexListFeedback(query) { + return request({ + url: '/oa/feedback/index-list', + method: 'get', + params: query + }) +} + +// 查询问题反馈详细 +export function getFeedback(feedbackId) { + return request({ + url: '/oa/feedback/' + feedbackId, + method: 'get' + }) +} + +// 新增问题反馈 +export function addFeedback(data) { + return request({ + url: '/oa/feedback', + method: 'post', + data: data + }) +} + +// 修改问题反馈 +export function updateFeedback(data) { + return request({ + url: '/oa/feedback', + method: 'put', + data: data + }) +} + +// 修改问题反馈 +export function toRead(data) { + return request({ + url: '/oa/feedback/toRead', + method: 'put', + data: data + }) +} + +// 删除问题反馈 +export function delFeedback(feedbackId) { + return request({ + url: '/oa/feedback/remove/' + feedbackId, + method: 'delete' + }) +} diff --git a/gear-ui3/src/api/oa/reportDetail.js b/gear-ui3/src/api/oa/reportDetail.js new file mode 100644 index 0000000..0099fba --- /dev/null +++ b/gear-ui3/src/api/oa/reportDetail.js @@ -0,0 +1,93 @@ +import request from '@/utils/request' + +// 查询设计项目汇报详情列表 +export async function listReportDetail(query) { + // return { + // rows: [ + // { + // reportDetailId: 1, + // deviceCode: 1, + // category: '设备类型2', + // deviceDescription: '设备生产说明', + // reportDetail: '汇报详情', + // ossIds: '1,2', + // images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php' + // }, + // { + // reportDetailId: 2, + // deviceCode: 1, + // category: '设备类型3', + // deviceDescription: '设备生产说明', + // reportDetail: '汇报详情', + // images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php', + // ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php' + // }, + // { + // reportDetailId: 3, + // deviceCode: 1, + // category: '设备类型4', + // deviceDescription: '设备生产说明', + // reportDetail: '汇报详情', + // images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php', + // ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php' + // }, + // { + // reportDetailId: 4, + // deviceCode: 1, + // category: '设备类型5', + // deviceDescription: '设备生产说明', + // reportDetail: '汇报详情', + // images: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php', + // ossIds: 'https://api.mtyqx.cn/api/random.php,https://api.mtyqx.cn/xjjapi/random.php' + // }, + // ], + // total: 1 + // } + return request({ + url: '/system/reportDetail/list', + method: 'get', + params: query + }) +} + +// 查询设计项目汇报详情详细 +export function getReportDetail(id) { + return request({ + url: '/system/reportDetail/' + id, + method: 'get' + }) +} + +// 新增设计项目汇报详情 +export function addReportDetail(data) { + return request({ + url: '/system/reportDetail', + method: 'post', + data: data + }) +} + +// 修改设计项目汇报详情 +export function updateReportDetail(data) { + return request({ + url: '/system/reportDetail', + method: 'put', + data: data + }) +} + +// 删除设计项目汇报详情 +export function delReportDetail(id) { + return request({ + url: '/system/reportDetail/' + id, + method: 'delete' + }) +} + + +export function listReportDetailByProjectId(projectId) { + return request({ + url: '/system/reportDetail/project/' + projectId, + method: 'get' + }) +} diff --git a/gear-ui3/src/api/oa/reportSummary.js b/gear-ui3/src/api/oa/reportSummary.js new file mode 100644 index 0000000..a919390 --- /dev/null +++ b/gear-ui3/src/api/oa/reportSummary.js @@ -0,0 +1,81 @@ +import request from '@/utils/request' + +// 查询设计项目汇报概述列表 +export async function listReportSummary(query) { + // return { + // rows: [ + // { + // reportSummaryId: 1, + // reportTitle: '汇报标题', + // reportDate: '汇报日期', + // reporter: '汇报人', + // projectName: '设计项目', + // projectId: '1' + // }, + // { + // reportSummaryId: 2, + // reportTitle: '汇报标题', + // reportDate: '汇报日期', + // reporter: '汇报人', + // projectName: '设计项目', + // projectId: '1' + // }, + // { + // reportSummaryId: 3, + // reportTitle: '汇报标题', + // reportDate: '汇报日期', + // reporter: '汇报人', + // projectName: '设计项目', + // projectId: '1' + // }, + // { + // reportSummaryId: 4, + // reportTitle: '汇报标题', + // reportDate: '汇报日期', + // reporter: '汇报人', + // projectName: '设计项目', + // projectId: '1' + // }, + // ], + // total: 1, + // } + return request({ + url: '/system/reportSummary/list', + method: 'get', + params: query + }) +} + +// 查询设计项目汇报概述详细 +export function getReportSummary(id) { + return request({ + url: '/system/reportSummary/' + id, + method: 'get' + }) +} + +// 新增设计项目汇报概述 +export function addReportSummary(data) { + return request({ + url: '/system/reportSummary', + method: 'post', + data: data + }) +} + +// 修改设计项目汇报概述 +export function updateReportSummary(data) { + return request({ + url: '/system/reportSummary', + method: 'put', + data: data + }) +} + +// 删除设计项目汇报概述 +export function delReportSummary(id) { + return request({ + url: '/system/reportSummary/' + id, + method: 'delete' + }) +} diff --git a/gear-ui3/src/components/IconSelect/index.vue b/gear-ui3/src/components/IconSelect/index.vue index b527b7d..69a2e02 100644 --- a/gear-ui3/src/components/IconSelect/index.vue +++ b/gear-ui3/src/components/IconSelect/index.vue @@ -8,7 +8,7 @@ @clear="filterIcons" @input="filterIcons" > - +