diff --git a/src/api/cost/costEnergy.js b/src/api/cost/costEnergy.js new file mode 100644 index 00000000..7831ae34 --- /dev/null +++ b/src/api/cost/costEnergy.js @@ -0,0 +1,34 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-19 16:11:19 + * @Description: + */ + +import request from '@/utils/request' +// 更新原片能源历史 +export function updateEnergyHis(data) { + return request({ + url: '/monitoring/cost-energy-his/update', + method: 'put', + data: data + }) +} +// 获得原片能源历史分页 +export function getEnergyHisPage(query) { + return request({ + url: '/monitoring/cost-energy-his/page', + method: 'get', + params: query + }) +} + +// 获得原片能源-成本查询分页 +export function getEnergyRealtimePage(query) { + return request({ + url: '/monitoring/cost-energy-realtime/page', + method: 'get', + params: query + }) +} diff --git a/src/api/cost/costEnergyDeep.js b/src/api/cost/costEnergyDeep.js new file mode 100644 index 00000000..adadc91a --- /dev/null +++ b/src/api/cost/costEnergyDeep.js @@ -0,0 +1,34 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-22 14:51:14 + * @Description: + */ + +import request from '@/utils/request' +// 更新深加工能源历史 +export function updateEnergyHis(data) { + return request({ + url: '/monitoring/cost-deep-energy-his/update', + method: 'put', + data: data + }) +} +// 获得深加工能源历史分页 +export function getEnergyHisPage(query) { + return request({ + url: '/monitoring/cost-deep-energy-his/page', + method: 'get', + params: query + }) +} + +// 获得深加工能源-成本查询分页 +export function getEnergyRealtimePage(query) { + return request({ + url: '/monitoring/cost-deep-energy-realtime/page', + method: 'get', + params: query + }) +} diff --git a/src/api/cost/costMaterial.js b/src/api/cost/costMaterial.js new file mode 100644 index 00000000..9cf72cea --- /dev/null +++ b/src/api/cost/costMaterial.js @@ -0,0 +1,34 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-19 16:12:14 + * @Description: + */ + +import request from '@/utils/request' +// 更新原料成本-历史 +export function updateMaterialHis(data) { + return request({ + url: '/monitoring/cost-material-his/update', + method: 'put', + data: data + }) +} +// 获得原料成本-历史分页 +export function getMaterialHisPage(query) { + return request({ + url: '/monitoring/cost-material-his/page', + method: 'get', + params: query + }) +} + +// 获得原料成本-成本查询分页 +export function getMaterialRealtimePage(query) { + return request({ + url: '/monitoring/cost-material-realtime/page', + method: 'get', + params: query + }) +} diff --git a/src/api/cost/costOriginRatioHis.js b/src/api/cost/costOriginRatioHis.js new file mode 100644 index 00000000..f4a43db7 --- /dev/null +++ b/src/api/cost/costOriginRatioHis.js @@ -0,0 +1,26 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-22 10:53:55 + * @Description: + */ + +import request from '@/utils/request' +// 更新原片良品率 +export function updatecostOriginRatioHis(data) { + return request({ + url: '/monitoring/cost-origin-ratio-his/update', + method: 'put', + data: data + }) +} +// 获得原片良品率 +export function getcostOriginRatioHisPage(query) { + return request({ + url: '/monitoring/cost-origin-ratio-his/page', + method: 'get', + params: query + }) +} + diff --git a/src/api/cost/costOthercostHis.js b/src/api/cost/costOthercostHis.js new file mode 100644 index 00000000..ee3f1695 --- /dev/null +++ b/src/api/cost/costOthercostHis.js @@ -0,0 +1,34 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-19 14:24:17 + * @Description: + */ + +import request from '@/utils/request' +// 更新原片其他成本-历史 +export function updateRawOthercostHis(data) { + return request({ + url: '/monitoring/cost-othercost-his/update', + method: 'put', + data: data + }) +} +// 获得原片其他成本-历史分页 +export function getRawOthercostHisPage(query) { + return request({ + url: '/monitoring/cost-othercost-his/page', + method: 'get', + params: query + }) +} + +// 获得原片其他成本-成本查询分页 +export function getRawOthercostSunPage(query) { + return request({ + url: '/monitoring/cost-othercost-log/page-sum', + method: 'get', + params: query + }) +} diff --git a/src/api/cost/costOthercostHisDeep.js b/src/api/cost/costOthercostHisDeep.js new file mode 100644 index 00000000..fdf06342 --- /dev/null +++ b/src/api/cost/costOthercostHisDeep.js @@ -0,0 +1,34 @@ +/* + * @Author: zwq + * @Date: 2024-04-18 16:53:17 + * @LastEditors: zwq + * @LastEditTime: 2024-04-22 15:15:18 + * @Description: + */ + +import request from '@/utils/request' +// 更新深加工其他成本-历史 +export function updateRawOthercostHis(data) { + return request({ + url: '/monitoring/cost-deep-othercost-his/update', + method: 'put', + data: data + }) +} +// 获得深加工其他成本-历史分页 +export function getRawOthercostHisPage(query) { + return request({ + url: '/monitoring/cost-deep-othercost-his/page', + method: 'get', + params: query + }) +} + +// 获得深加工其他成本-成本查询分页 +export function getRawOthercostSunPage(query) { + return request({ + url: '/monitoring/cost-deep-othercost-log/page-sum', + method: 'get', + params: query + }) +} diff --git a/src/api/cost/costOthercostLog.js b/src/api/cost/costOthercostLog.js new file mode 100644 index 00000000..553d4cd0 --- /dev/null +++ b/src/api/cost/costOthercostLog.js @@ -0,0 +1,68 @@ +/* + * @Author: zwq + * @Date: 2024-04-15 17:01:20 + * @LastEditors: zwq + * @LastEditTime: 2024-04-18 15:40:27 + * @Description: + */ +import request from '@/utils/request' + +// 创建原片其他成本-记录 +export function createRawOthercostLog(data) { + return request({ + url: '/monitoring/cost-othercost-log/create', + method: 'post', + data: data + }) +} + +// 更新原片其他成本-记录 +export function updateRawOthercostLog(data) { + return request({ + url: '/monitoring/cost-othercost-log/update', + method: 'put', + data: data + }) +} + +// 删除原片其他成本-记录 +export function deleteRawOthercostLog(id) { + return request({ + url: '/monitoring/cost-othercost-log/delete?id=' + id, + method: 'delete' + }) +} + +// 获得原片其他成本-记录 +export function getRawOthercostLog(id) { + return request({ + url: '/monitoring/cost-othercost-log/get?id=' + id, + method: 'get' + }) +} + +// 获得原片其他成本-记录分页 +export function getRawOthercostLogPage(query) { + return request({ + url: '/monitoring/cost-othercost-log/page', + method: 'get', + params: query + }) +} + +// 导出原片其他成本-记录 Excel +export function exportRawOthercostLogExcel(query) { + return request({ + url: '/monitoring/cost-othercost-log/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} +// 获得所有原片其他成本-记录列表 +export function getRawOthercostLogAll() { + return request({ + url: '/monitoring/cost-othercost-log/listAll', + method: 'get' + }) +} diff --git a/src/api/cost/costOthercostLogDeep.js b/src/api/cost/costOthercostLogDeep.js new file mode 100644 index 00000000..bfdcb0d2 --- /dev/null +++ b/src/api/cost/costOthercostLogDeep.js @@ -0,0 +1,68 @@ +/* + * @Author: zwq + * @Date: 2024-04-15 17:01:20 + * @LastEditors: zwq + * @LastEditTime: 2024-04-22 14:59:35 + * @Description: + */ +import request from '@/utils/request' + +// 创建深加工其他成本-记录 +export function createRawOthercostLog(data) { + return request({ + url: '/monitoring/cost-deep-othercost-log/create', + method: 'post', + data: data + }) +} + +// 更新深加工其他成本-记录 +export function updateRawOthercostLog(data) { + return request({ + url: '/monitoring/cost-deep-othercost-log/update', + method: 'put', + data: data + }) +} + +// 删除深加工其他成本-记录 +export function deleteRawOthercostLog(id) { + return request({ + url: '/monitoring/cost-deep-othercost-log/delete?id=' + id, + method: 'delete' + }) +} + +// 获得深加工其他成本-记录 +export function getRawOthercostLog(id) { + return request({ + url: '/monitoring/cost-deep-othercost-log/get?id=' + id, + method: 'get' + }) +} + +// 获得深加工其他成本-记录分页 +export function getRawOthercostLogPage(query) { + return request({ + url: '/monitoring/cost-deep-othercost-log/page', + method: 'get', + params: query + }) +} + +// 导出深加工其他成本-记录 Excel +export function exportRawOthercostLogExcel(query) { + return request({ + url: '/monitoring/cost-deep-othercost-log/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} +// 获得所有深加工其他成本-记录列表 +export function getRawOthercostLogAll() { + return request({ + url: '/monitoring/cost-deep-othercost-log/listAll', + method: 'get' + }) +} diff --git a/src/api/cost/deepOthercostRule.js b/src/api/cost/deepOthercostRule.js new file mode 100644 index 00000000..9f4aca68 --- /dev/null +++ b/src/api/cost/deepOthercostRule.js @@ -0,0 +1,68 @@ +/* + * @Author: zwq + * @Date: 2024-04-15 17:01:20 + * @LastEditors: zwq + * @LastEditTime: 2024-04-22 14:55:00 + * @Description: + */ +import request from '@/utils/request' + +// 创建深加工其他成本-配置 +export function createRawOthercostRule(data) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/create', + method: 'post', + data: data + }) +} + +// 更新深加工其他成本-配置 +export function updateRawOthercostRule(data) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/update', + method: 'put', + data: data + }) +} + +// 删除深加工其他成本-配置 +export function deleteRawOthercostRule(id) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/delete?id=' + id, + method: 'delete' + }) +} + +// 获得深加工其他成本-配置 +export function getRawOthercostRule(id) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/get?id=' + id, + method: 'get' + }) +} + +// 获得深加工其他成本-配置分页 +export function getRawOthercostRulePage(query) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/page', + method: 'get', + params: query + }) +} + +// 导出深加工其他成本-配置 Excel +export function exportRawOthercostRuleExcel(query) { + return request({ + url: '/monitoring/cost-deep-othercost-rule/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} +// 获得所有深加工其他成本-配置列表 +export function getRawOthercostRuleAll() { + return request({ + url: '/monitoring/cost-deep-othercost-rule/listAll', + method: 'get' + }) +} diff --git a/src/api/cost/rawOthercostRule.js b/src/api/cost/rawOthercostRule.js index 8b2b644d..67b67f66 100644 --- a/src/api/cost/rawOthercostRule.js +++ b/src/api/cost/rawOthercostRule.js @@ -2,12 +2,12 @@ * @Author: zwq * @Date: 2024-04-15 17:01:20 * @LastEditors: zwq - * @LastEditTime: 2024-04-15 17:05:47 + * @LastEditTime: 2024-04-18 15:39:12 * @Description: */ import request from '@/utils/request' -// 创建设备 +// 创建原片其他成本-配置 export function createRawOthercostRule(data) { return request({ url: '/monitoring/cost-othercost-rule/create', @@ -16,7 +16,7 @@ export function createRawOthercostRule(data) { }) } -// 更新设备 +// 更新原片其他成本-配置 export function updateRawOthercostRule(data) { return request({ url: '/monitoring/cost-othercost-rule/update', @@ -25,7 +25,7 @@ export function updateRawOthercostRule(data) { }) } -// 删除设备 +// 删除原片其他成本-配置 export function deleteRawOthercostRule(id) { return request({ url: '/monitoring/cost-othercost-rule/delete?id=' + id, @@ -33,7 +33,7 @@ export function deleteRawOthercostRule(id) { }) } -// 获得设备 +// 获得原片其他成本-配置 export function getRawOthercostRule(id) { return request({ url: '/monitoring/cost-othercost-rule/get?id=' + id, @@ -41,7 +41,7 @@ export function getRawOthercostRule(id) { }) } -// 获得设备分页 +// 获得原片其他成本-配置分页 export function getRawOthercostRulePage(query) { return request({ url: '/monitoring/cost-othercost-rule/page', @@ -50,7 +50,7 @@ export function getRawOthercostRulePage(query) { }) } -// 导出设备 Excel +// 导出原片其他成本-配置 Excel export function exportRawOthercostRuleExcel(query) { return request({ url: '/monitoring/cost-othercost-rule/export-excel', @@ -59,7 +59,7 @@ export function exportRawOthercostRuleExcel(query) { responseType: 'blob' }) } -// 获得所有设备列表 +// 获得所有原片其他成本-配置列表 export function getRawOthercostRuleAll() { return request({ url: '/monitoring/cost-othercost-rule/listAll', diff --git a/src/views/core/base/factory/index.vue b/src/views/core/base/factory/index.vue index 7f6b4152..d03a3b4e 100644 --- a/src/views/core/base/factory/index.vue +++ b/src/views/core/base/factory/index.vue @@ -51,7 +51,7 @@ const tableProps = [ { prop: 'code', label: '工厂编码' - }, + }, { prop: 'name', label: '工厂名称' diff --git a/src/views/cost/deep/costDeepEnergy/add-or-updata.vue b/src/views/cost/deep/costDeepEnergy/add-or-updata.vue new file mode 100644 index 00000000..3d9e7f31 --- /dev/null +++ b/src/views/cost/deep/costDeepEnergy/add-or-updata.vue @@ -0,0 +1,113 @@ + + + + diff --git a/src/views/cost/deep/costDeepEnergy/index.vue b/src/views/cost/deep/costDeepEnergy/index.vue new file mode 100644 index 00000000..96f4569a --- /dev/null +++ b/src/views/cost/deep/costDeepEnergy/index.vue @@ -0,0 +1,347 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostHis/add-or-updata.vue b/src/views/cost/deep/costDeepOthercostHis/add-or-updata.vue new file mode 100644 index 00000000..c60a85f1 --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostHis/add-or-updata.vue @@ -0,0 +1,115 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostHis/index.vue b/src/views/cost/deep/costDeepOthercostHis/index.vue new file mode 100644 index 00000000..dcbea69c --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostHis/index.vue @@ -0,0 +1,321 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostLog/add-or-updata.vue b/src/views/cost/deep/costDeepOthercostLog/add-or-updata.vue new file mode 100644 index 00000000..39587f79 --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostLog/add-or-updata.vue @@ -0,0 +1,123 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostLog/index.vue b/src/views/cost/deep/costDeepOthercostLog/index.vue new file mode 100644 index 00000000..d3a939b9 --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostLog/index.vue @@ -0,0 +1,208 @@ + + + diff --git a/src/views/cost/deep/costDeepOthercostRule/add-or-updata.vue b/src/views/cost/deep/costDeepOthercostRule/add-or-updata.vue new file mode 100644 index 00000000..49d6590b --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostRule/add-or-updata.vue @@ -0,0 +1,159 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostRule/index.vue b/src/views/cost/deep/costDeepOthercostRule/index.vue new file mode 100644 index 00000000..30f0fce4 --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostRule/index.vue @@ -0,0 +1,109 @@ + + + + diff --git a/src/views/cost/deep/costDeepOthercostRule/typeRule.vue b/src/views/cost/deep/costDeepOthercostRule/typeRule.vue new file mode 100644 index 00000000..d5ebce60 --- /dev/null +++ b/src/views/cost/deep/costDeepOthercostRule/typeRule.vue @@ -0,0 +1,31 @@ + + + diff --git a/src/views/cost/raw/costEnergy/add-or-updata.vue b/src/views/cost/raw/costEnergy/add-or-updata.vue new file mode 100644 index 00000000..d7cf03cd --- /dev/null +++ b/src/views/cost/raw/costEnergy/add-or-updata.vue @@ -0,0 +1,113 @@ + + + + diff --git a/src/views/cost/raw/costEnergy/index.vue b/src/views/cost/raw/costEnergy/index.vue new file mode 100644 index 00000000..094149e2 --- /dev/null +++ b/src/views/cost/raw/costEnergy/index.vue @@ -0,0 +1,347 @@ + + + + diff --git a/src/views/cost/raw/costMaterial/add-or-updata.vue b/src/views/cost/raw/costMaterial/add-or-updata.vue new file mode 100644 index 00000000..598fc544 --- /dev/null +++ b/src/views/cost/raw/costMaterial/add-or-updata.vue @@ -0,0 +1,114 @@ + + + + diff --git a/src/views/cost/raw/costMaterial/index.vue b/src/views/cost/raw/costMaterial/index.vue new file mode 100644 index 00000000..661ea4a2 --- /dev/null +++ b/src/views/cost/raw/costMaterial/index.vue @@ -0,0 +1,346 @@ + + + + diff --git a/src/views/cost/raw/costMaterial/typeRule.vue b/src/views/cost/raw/costMaterial/typeRule.vue new file mode 100644 index 00000000..046a1261 --- /dev/null +++ b/src/views/cost/raw/costMaterial/typeRule.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/views/cost/raw/costOriginRatioHis/add-or-updata.vue b/src/views/cost/raw/costOriginRatioHis/add-or-updata.vue new file mode 100644 index 00000000..3d34fffa --- /dev/null +++ b/src/views/cost/raw/costOriginRatioHis/add-or-updata.vue @@ -0,0 +1,171 @@ + + + + diff --git a/src/views/cost/raw/costOriginRatioHis/index.vue b/src/views/cost/raw/costOriginRatioHis/index.vue new file mode 100644 index 00000000..0dee7d35 --- /dev/null +++ b/src/views/cost/raw/costOriginRatioHis/index.vue @@ -0,0 +1,237 @@ + + + + diff --git a/src/views/cost/raw/costOthercostHis/add-or-updata.vue b/src/views/cost/raw/costOthercostHis/add-or-updata.vue new file mode 100644 index 00000000..dcc665ec --- /dev/null +++ b/src/views/cost/raw/costOthercostHis/add-or-updata.vue @@ -0,0 +1,115 @@ + + + + diff --git a/src/views/cost/raw/costOthercostHis/index.vue b/src/views/cost/raw/costOthercostHis/index.vue new file mode 100644 index 00000000..65d1ae80 --- /dev/null +++ b/src/views/cost/raw/costOthercostHis/index.vue @@ -0,0 +1,321 @@ + + + + diff --git a/src/views/cost/raw/costOthercostLog/add-or-updata.vue b/src/views/cost/raw/costOthercostLog/add-or-updata.vue new file mode 100644 index 00000000..4df7580f --- /dev/null +++ b/src/views/cost/raw/costOthercostLog/add-or-updata.vue @@ -0,0 +1,123 @@ + + + + diff --git a/src/views/cost/raw/costOthercostLog/index.vue b/src/views/cost/raw/costOthercostLog/index.vue new file mode 100644 index 00000000..de9794c8 --- /dev/null +++ b/src/views/cost/raw/costOthercostLog/index.vue @@ -0,0 +1,208 @@ + + + diff --git a/src/views/cost/raw/costOthercostRule/add-or-updata.vue b/src/views/cost/raw/costOthercostRule/add-or-updata.vue index aafeb237..e81f94a3 100644 --- a/src/views/cost/raw/costOthercostRule/add-or-updata.vue +++ b/src/views/cost/raw/costOthercostRule/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-01 13:52:10 * @LastEditors: zwq - * @LastEditTime: 2024-03-21 15:59:26 + * @LastEditTime: 2024-04-17 16:59:58 * @Description: --> diff --git a/src/views/cost/raw/costOthercostRule/index.vue b/src/views/cost/raw/costOthercostRule/index.vue index 213a0204..4805e345 100644 --- a/src/views/cost/raw/costOthercostRule/index.vue +++ b/src/views/cost/raw/costOthercostRule/index.vue @@ -1,3 +1,10 @@ +