diff --git a/src/api/TechnologyCenter/PartDrawingMaintenance.js b/src/api/TechnologyCenter/PartDrawingMaintenance.js new file mode 100644 index 00000000..70908f37 --- /dev/null +++ b/src/api/TechnologyCenter/PartDrawingMaintenance.js @@ -0,0 +1,48 @@ +import request from '@/utils/request' + +export function projectSelect() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据_按时间排序' + } + }) +} + +export function machineSelect(projectValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_查询数据2', + param: `项目流水号=${projectValue}` + } + }) +} + +export function groupSelect(machineValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_零件明细表_组件流水号_查询数据_根据机床', + param: `机床流水号=${machineValue}` + } + }) +} +export function basicPartsData(project_check, project, machine_check, machine, group_check, group, pageSize, pageCurrent) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_零件明细表_基本件_查询数据_综合gj', + param: `项目流水号_check=${project_check}&项目流水号=${project}&机床流水号_check=${machine_check}&机床流水号=${machine}&组件流水号_check=${group_check}&组件流水号=${group}`, + Pagination: pageCurrent + '&' + pageSize + } + }) +} diff --git a/src/icons/svg/doc.svg b/src/icons/svg/doc.svg index 04117746..387dc650 100644 --- a/src/icons/svg/doc.svg +++ b/src/icons/svg/doc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/excel.svg b/src/icons/svg/excel.svg index efbf9848..603b008d 100644 --- a/src/icons/svg/excel.svg +++ b/src/icons/svg/excel.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/file.svg b/src/icons/svg/file.svg index a36bf667..83cfd9ce 100644 --- a/src/icons/svg/file.svg +++ b/src/icons/svg/file.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/pdf.svg b/src/icons/svg/pdf.svg index b2117fb9..899581f5 100644 --- a/src/icons/svg/pdf.svg +++ b/src/icons/svg/pdf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/pic.svg b/src/icons/svg/pic.svg index ca2f133a..2f8ed77b 100644 --- a/src/icons/svg/pic.svg +++ b/src/icons/svg/pic.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/ppt.svg b/src/icons/svg/ppt.svg index 27dcc3e8..40681b4a 100644 --- a/src/icons/svg/ppt.svg +++ b/src/icons/svg/ppt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/utils/request.js b/src/utils/request.js index b4407036..8eaacaf2 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -20,6 +20,8 @@ export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx` export const ServerIP = `http://192.168.1.231:8411/webpage/file/` export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231 export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231 +export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` +export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` const service = axios.create({ baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 diff --git a/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue b/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue index 00abcfba..cad4991b 100644 --- a/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue +++ b/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue @@ -313,6 +313,8 @@ export default { } }, clearSelect() { + this.active = '' + this.active1 = '' this.sudokus = [] this.isOut = '请查询' this.outName = '请查询' diff --git a/src/views/TechnologyCenter/PartDrawingMaintenance/index.vue b/src/views/TechnologyCenter/PartDrawingMaintenance/index.vue new file mode 100644 index 00000000..c94526c6 --- /dev/null +++ b/src/views/TechnologyCenter/PartDrawingMaintenance/index.vue @@ -0,0 +1,412 @@ + + + + +