diff --git a/src/api/device/repairOrder.js b/src/api/device/repairOrder.js index de607b4..71f2c80 100644 --- a/src/api/device/repairOrder.js +++ b/src/api/device/repairOrder.js @@ -79,4 +79,12 @@ export function queryEquFaultTypeTree(query) { }); } +// 维修工单检验 +export function subInspect(data) { + return request({ + url: '/device/repairOrder/subInspect', + method: 'post', + data: data + }); + } diff --git a/src/api/energy/kanban/LeadershipView/ApparentState.js b/src/api/energy/kanban/LeadershipView/ApparentState.js index a68eb3a..6ce4404 100644 --- a/src/api/energy/kanban/LeadershipView/ApparentState.js +++ b/src/api/energy/kanban/LeadershipView/ApparentState.js @@ -1,11 +1,11 @@ import request from '@/utils/request' -import { parseStrEmpty } from "@/utils/ruoyi"; +import { parseStrEmpty } from '@/utils/ruoyi' // 左侧数据 export function gettreeData(query) { return request({ url: '/energy/buildInfo/treeData', - method: 'get', + method: 'get' // params: query, }) } @@ -13,24 +13,35 @@ export function gettreeData(query) { // 右侧菜单 export function gettablewareInfo(query) { return request({ - url: `/energy/report/board/tablewareInfo`, + url: `/energy/report/board/tablewareInfo`, method: 'get', - params: query, + params: query }) } + // 详情数据 export function gettablewareDetailsInfo(query) { return request({ url: '/energy/record/dnbInstant/tablewareDetailsInfo', method: 'post', - params: query, + data: query }) } + // 详情数据水 export function getwaterInstantInfo(query) { return request({ url: '/energy/record/waterInstant/tablewareDetailsInfo', method: 'post', - params: query, + data: query }) -} \ No newline at end of file +} + +// 详情数据水 +export function tablewareDetailsInfo(query) { + return request({ + url: '/energy/report/board/tablewareDetailsInfo', + method: 'get', + params: query + }) +} diff --git a/src/api/mes/prepareDetail.js b/src/api/mes/prepareDetail.js index 4cf7215..a38bb08 100644 --- a/src/api/mes/prepareDetail.js +++ b/src/api/mes/prepareDetail.js @@ -1,12 +1,19 @@ import request from '@/utils/request' // 打印 -export function printPrepareByCode(workorderCode) { +export function printPrepareByCode(workorderCode,recoil) { return request({ - url: '/mes/prepareDetail/printPrepareByCode/' + workorderCode, + url: '/mes/prepareDetail/printPrepareByCode/' + workorderCode+'/'+recoil, method: 'get' }); } +export function printPrepareXByCode(productDate) { + return request({ + url: '/mes/prepareDetail/printPrepareXByCode/' + productDate, + method: 'get' + }); + } + // 查询mes备料单明细列表 export function listPrepareDetail(query) { diff --git a/src/api/mes/reportWork.js b/src/api/mes/reportWork.js index dca7815..2102dd6 100644 --- a/src/api/mes/reportWork.js +++ b/src/api/mes/reportWork.js @@ -68,6 +68,14 @@ export function getDailyReport(query) { }); } +export function getDailyReportNew(query) { + return request({ + url: '/mes/reportWork/getDailyReportNew', + method: 'get', + params: query + }); +} + export function getWorkcenterList() { return request({ url: '/mes/reportWork/getWorkcenterList', @@ -344,3 +352,23 @@ export function getWarehouseList(query) { params: query }); } + +// 删除报工报表 +export function deleteReportNow(reportCode) { + return request({ + url: '/mes/reportWork/deleteReportNow/' + reportCode, + method: 'delete' + }); +} + +//预报工 +export function preReportRow(reportCode) { + const data = { + reportCode + } + return request({ + url: '/mes/reportWork/preReportRow', + method: 'post', + data: data + }); +} diff --git a/src/api/plan/workorder.js b/src/api/plan/workorder.js index 0fc34ad..6be3492 100644 --- a/src/api/plan/workorder.js +++ b/src/api/plan/workorder.js @@ -135,4 +135,42 @@ export function getUnReadComment(data){ method:'post', data:data }) - } \ No newline at end of file +} + +export function getWorkOrderBatch(workOrderId) { + return request({ + url: '/plan/pro/workorder/getWorkOrderBatch/' + workOrderId, + method: 'get' + }); +} + +export function getWorkOrderBatchInfo(query) { + return request({ + url: '/plan/pro/workorder/getWorkOrderBatchInfo', + method: 'get', + params: query + }); +} + +export function insertWorkOrderBatch(data){ + return request({ + url:'/plan/pro/workorder/insertWorkOrderBatch', + method:'post', + data:data + }) +} + export function updateWorkOrderBatch(data){ + return request({ + url:'/plan/pro/workorder/updateWorkOrderBatch', + method:'put', + data:data + }) + } + +export function removeWorkOrderBatch(batchCode,workorderCode) { + return request({ + url: '/plan/pro/workorder/removeWorkOrderBatch/' +batchCode+ '/' +workorderCode, + method: 'delete', + }); +} + diff --git a/src/api/quality/aql.js b/src/api/quality/aql.js new file mode 100644 index 0000000..722f2a4 --- /dev/null +++ b/src/api/quality/aql.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询抽样规则-接收质量限列表 +export function listAql(query) { + return request({ + url: '/quality/aql/list', + method: 'get', + params: query + }); +} + +// 查询抽样规则-接收质量限详细 +export function getAql(id) { + return request({ + url: '/quality/aql/' + id, + method: 'get' + }); +} + +// 新增抽样规则-接收质量限 +export function addAql(data) { + return request({ + url: '/quality/aql', + method: 'post', + data: data + }); +} + +// 修改抽样规则-接收质量限 +export function updateAql(data) { + return request({ + url: '/quality/aql', + method: 'put', + data: data + }); +} + +// 删除抽样规则-接收质量限 +export function delAql(id) { + return request({ + url: '/quality/aql/' + id, + method: 'delete' + }); +} diff --git a/src/api/quality/code.js b/src/api/quality/code.js new file mode 100644 index 0000000..bdef6f2 --- /dev/null +++ b/src/api/quality/code.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询抽样规则-样品量字码列表 +export function listCode(query) { + return request({ + url: '/quality/code/list', + method: 'get', + params: query + }); +} + +// 查询抽样规则-样品量字码详细 +export function getCode(id) { + return request({ + url: '/quality/code/' + id, + method: 'get' + }); +} + +// 新增抽样规则-样品量字码 +export function addCode(data) { + return request({ + url: '/quality/code', + method: 'post', + data: data + }); +} + +// 修改抽样规则-样品量字码 +export function updateCode(data) { + return request({ + url: '/quality/code', + method: 'put', + data: data + }); +} + +// 删除抽样规则-样品量字码 +export function delCode(id) { + return request({ + url: '/quality/code/' + id, + method: 'delete' + }); +} diff --git a/src/assets/images/ApparentState.jpeg b/src/assets/images/ApparentState.jpeg new file mode 100644 index 0000000..c795e46 Binary files /dev/null and b/src/assets/images/ApparentState.jpeg differ diff --git a/src/assets/images/electricityModal.png b/src/assets/images/electricityModal.png new file mode 100644 index 0000000..215c3f3 Binary files /dev/null and b/src/assets/images/electricityModal.png differ diff --git a/src/assets/images/electricityOne1.png b/src/assets/images/electricityOne1.png new file mode 100644 index 0000000..140b9ff Binary files /dev/null and b/src/assets/images/electricityOne1.png differ diff --git a/src/components/demo.vue b/src/components/demo.vue new file mode 100644 index 0000000..ea056a2 --- /dev/null +++ b/src/components/demo.vue @@ -0,0 +1,150 @@ + + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 7b44fde..947108c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -313,12 +313,14 @@ export default { setInterval(() => this.getAlarmData(), 1000 * 60); this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST")); this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT"); + //先执行一次 this.getUnReadList(); // 实现轮询 this.timer = setInterval(() => { setTimeout(this.getUnReadList(), 30000); }, 30000); + }, components: { Breadcrumb, diff --git a/src/router/index.js b/src/router/index.js index 4fd5343..49336de 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -150,6 +150,21 @@ export const constantRoutes = [ component: () => import("@/views/kanban/Dryingprocess/index"), hidden: true, }, + { + path: "/report/board/LeadershipViewCheart", + component: () => import("@/views/energy/LeadershipView/LeadershipViewChearts"), + hidden: true, + }, + { + path: "/report/board/GroupHomePage", + component: () => import("@/views/energy/LeadershipView/GroupHomePage"), + hidden: true, + }, + { + path: "/report/board/ApparentState", + component: () => import("@/views/energy/LeadershipView/ApparentState"), + hidden: true, + }, ] diff --git a/src/utils/request.js b/src/utils/request.js index eff9a73..8f90d55 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -34,6 +34,9 @@ service.interceptors.request.use(config => { if (getToken() && !isToken) { config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改 } + if(config.contentType) { + config.headers['Content-Type']= config.contentType + } // get请求映射params参数 if (config.method === 'get' && config.params) { if(config.params.poolName){ diff --git a/src/views/device/faultReport/index.vue b/src/views/device/faultReport/index.vue index 9acbc8b..2479eeb 100644 --- a/src/views/device/faultReport/index.vue +++ b/src/views/device/faultReport/index.vue @@ -196,13 +196,13 @@ > - - {{ - form.workDownMachine ? "是" : "否" + form.workDownMachine ? "否" : "是" }} {{ form.workPlanDownTime @@ -832,7 +832,7 @@ form.workPlanTime }} {{ - form.workDownMachine ? "是" : "否" + form.workDownMachine ? "否" : "是" }} {{ form.workPlanDownTime @@ -922,7 +922,7 @@ v-model="form.orderBreakdownTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" - placeholder="报修时间" + placeholder="故障时间" style="width: 200px" > @@ -956,10 +956,10 @@ - + 委外申请 + + 结果检验 + + + + + + + + 待检验 + 未通过 + 通过 + + 取 消 + 确 定 + + + item.workId); + this.orderCodes = selection.map((item) => item.workCode); this.single = selection.length !== 1; this.multiple = !selection.length; }, @@ -2327,6 +2367,37 @@ export default { } }); }, + // 点击结果检验按钮 + clickInspect() { + if (this.ids.length == 0 || this.ids == null) { + this.$message({ + message: "请勾选工单!", + type: "warning", + }); + return; + } + //需要加一个结果检验 + this.inspectDialog = true; + this.inspect = "1"; + }, + + // 提交检验信息 + subInspect() { + const data = { + ids: this.ids, + inspect: this.inspect, + orderCodes: this.orderCodes, + }; + + subInspect(data).then((response) => { + this.getList(); + this.inspectDialog = false; + this.$message({ + message: "提交成功!", + type: "success", + }); + }); + }, //设备选择 handleSelectEquipment() { this.$refs.itemSelect.showFlag = true; diff --git a/src/views/device/sparePartsApplicationRecord/index.vue b/src/views/device/sparePartsApplicationRecord/index.vue index 2e35115..d077b2b 100644 --- a/src/views/device/sparePartsApplicationRecord/index.vue +++ b/src/views/device/sparePartsApplicationRecord/index.vue @@ -9,6 +9,22 @@ v-show="showSearch" label-width="98px" > + + + + + + + + + - + @@ -49,14 +73,6 @@ @keyup.enter.native="handleQuery" /> --> - - - + {{ parseTime(scope.row.applyTime) }} - { if (valid) { + console.log("this.form",this.form); if (this.form.applyId != null) { updateSparePartsApplicationRecord(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); @@ -639,6 +658,7 @@ export default { this.getList(); }); } else { + console.log("this.form",this.form); if ( this.form.amount - this.form.storageAmount < this.form.spareQuantity diff --git a/src/views/device/sparePartsLedger/index.vue b/src/views/device/sparePartsLedger/index.vue index 8754f59..f84b564 100644 --- a/src/views/device/sparePartsLedger/index.vue +++ b/src/views/device/sparePartsLedger/index.vue @@ -76,38 +76,41 @@ - + + 新增 + + + 修改 + + + 删除 + - + + + - - - + + + - - - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + - + - - + + @@ -232,9 +329,10 @@ /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --> + + + @@ -470,7 +747,9 @@ export default { spareConversionRatio: null, spareInventoryFloor: null, spareInventoryUpper: null, - ownEquipmentName : null, + ownEquipmentName: null, + ownEquipmentCode: null, + unitPrice: null, }, options: [ { @@ -562,6 +841,7 @@ export default { spareConversionRatio: null, spareInventoryFloor: null, spareInventoryUpper: null, + unitPrice: null, }; this.resetForm("form"); }, @@ -601,6 +881,7 @@ export default { submitForm() { this.$refs["form"].validate((valid) => { if (valid) { + this.form.spareName = this.form.materialDesc; if (this.form.storageId != null) { updateSparePartsLedger(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); @@ -643,7 +924,6 @@ export default { `sparePartsLedger_${new Date().getTime()}.xlsx` ); }, - }, }; - + \ No newline at end of file diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue index 77d729b..314b2d5 100644 --- a/src/views/device/upkeepOrder/index.vue +++ b/src/views/device/upkeepOrder/index.vue @@ -447,6 +447,14 @@ /> + + + - - - { @@ -2137,6 +2140,9 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map((item) => item.orderId); + this.orderCodes = selection.map((item) => item.orderCode); + console.log('this.ids',this.ids); + console.log('this.orderCodes',this.orderCodes); this.single = selection.length !== 1; this.multiple = !selection.length; }, diff --git a/src/views/energy/LeadershipView/ApparentState/index.vue b/src/views/energy/LeadershipView/ApparentState/index.vue new file mode 100644 index 0000000..9e357b2 --- /dev/null +++ b/src/views/energy/LeadershipView/ApparentState/index.vue @@ -0,0 +1,466 @@ + + + + diff --git a/src/views/energy/LeadershipView/GroupHomePage/index.vue b/src/views/energy/LeadershipView/GroupHomePage/index.vue new file mode 100644 index 0000000..193a0ac --- /dev/null +++ b/src/views/energy/LeadershipView/GroupHomePage/index.vue @@ -0,0 +1,1259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/energy/LeadershipView/GroupHomePage/indextest.vue b/src/views/energy/LeadershipView/GroupHomePage/indextest.vue new file mode 100644 index 0000000..0ba9bf7 --- /dev/null +++ b/src/views/energy/LeadershipView/GroupHomePage/indextest.vue @@ -0,0 +1,908 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/energy/LeadershipView/LeadershipViewChearts/index.vue b/src/views/energy/LeadershipView/LeadershipViewChearts/index.vue new file mode 100644 index 0000000..e34158a --- /dev/null +++ b/src/views/energy/LeadershipView/LeadershipViewChearts/index.vue @@ -0,0 +1,1611 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/energy/LeadershipView/LeadershipViewChearts/index2.vue b/src/views/energy/LeadershipView/LeadershipViewChearts/index2.vue new file mode 100644 index 0000000..fe67f61 --- /dev/null +++ b/src/views/energy/LeadershipView/LeadershipViewChearts/index2.vue @@ -0,0 +1,749 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/kanban/Packagingline/index2.vue b/src/views/kanban/Packagingline/index2.vue index 0402e0f..ecc32d2 100644 --- a/src/views/kanban/Packagingline/index2.vue +++ b/src/views/kanban/Packagingline/index2.vue @@ -173,7 +173,7 @@ - + - + - +
+
{{ workOrder.productName }}
{{ workOrder.productCode }}
+
+
+ +
+
产线效率用人
+ +
+
+
标准用人
+
{{ workOrder.standarMan }}
+
+
+
标准效率
+
+ {{ workOrder.standarXl }}{{ workOrder.unit }} +
+
+ +
+
+
+
实际用人
+
{{ workOrder.actMan }}
+
+
+
实际效率
+
+ {{ workOrder.actXl }}{{ workOrder.unit }} +
+
+ +
+ + + @@ -443,7 +510,7 @@ export default { factoryCode: "ds_" + _this.selectxt, }).then((response) => { if (response) { - _this.workOrder = response.data.workOrder; + _this.workOrder = response.data.workOrder; _this.taskNum = response.data.taskNum; _this.taskSampleNum = response.data.taskSampleNum; if (response.data.piedata.checkList) { @@ -462,10 +529,9 @@ export default { } }); _this.initChart2(); - }else{ + } else { _this.initChart3(); } - } }); getPorOrderList({ @@ -703,7 +769,7 @@ export default { var data5 = this.piedata; console.log(data5); var myChart5 = echarts.init(document.querySelector("#echart5")); - + var option5 = { tooltip: { trigger: "item", @@ -738,11 +804,10 @@ export default { }, center: ["50%", "55%"], avoidLabelOverlap: true, - + data: [ { - value: - data5[0] && data5[0].name == "合格" ? data5[0].value : 0, + value: data5[0] && data5[0].name == "合格" ? data5[0].value : 0, name: data5[0] && data5[0].name == "合格" ? data5[0].name : "合格", selected: true, @@ -757,10 +822,9 @@ export default { }, }, label: { - // formatter: "{e|}\n{a|}{b|{c}/" + (d !== undefined ? "{d}%" : "") + "}{c|}", formatter: "{e|}\n{a|}{b|{c}/{d}%}{c|}", - + rich: { a: { padding: -33, @@ -804,11 +868,9 @@ export default { }, }, label: { - formatter: "{e|}\n{c|}{b|{c}/{d}%}{a|}", rich: { c: { - padding: [5, 0], lineHeight: 60, verticalAlign: "top", @@ -844,7 +906,7 @@ export default { var data5 = this.piedata; console.log(data5); var myChart5 = echarts.init(document.querySelector("#echart5")); - + var option5 = { tooltip: { trigger: "item", @@ -879,11 +941,10 @@ export default { }, center: ["50%", "55%"], avoidLabelOverlap: true, - + data: [ { - value: - data5[0] && data5[0].name == "合格" ? data5[0].value : 0, + value: data5[0] && data5[0].name == "合格" ? data5[0].value : 0, name: data5[0] && data5[0].name == "合格" ? data5[0].name : "合格", selected: true, @@ -942,11 +1003,9 @@ export default { }, }, label: { - formatter: "{e|}\n{c|}{b|{c}%}{a|}", rich: { c: { - padding: [5, 0], lineHeight: 60, verticalAlign: "top", @@ -1410,7 +1469,7 @@ export default { } .table-tbody { - height: 240px; + height: 320px; // width: 1775px; margin: auto; @@ -1463,14 +1522,17 @@ export default { } } .Totalnumberbox { + margin-top: 22px; + margin-bottom: 24px; display: flex; align-items: center; - justify-content: space-between; + justify-content: space-around; .Totalnumber:first-child { margin-right: 10px; } .Totalnumber { flex: 1; + // width: 235px; height: 79px; background: url("../../../assets/images/packagingline/bg-title5.png") no-repeat; @@ -1480,7 +1542,7 @@ export default { justify-content: space-around; .number1 { - font-size: 18px; + font-size: 16px; color: #ffffff; line-height: 20px; } @@ -1492,6 +1554,66 @@ export default { } } } + .data-box { + display: flex; + align-items: center; + justify-content: space-around; + margin-bottom: 20px; + + .box { + width: 176px; + height: 179px; + text-align: center; + + .data1 { + font-weight: 500; + font-size: 48px; + color: #32c5ff; + text-align: center; + text-transform: none; + margin-top: 41px; + } + + .data2 { + font-weight: 400; + font-size: 22px; + color: #ffffff; + text-align: center; + text-transform: none; + margin-top: 29px; + } + } + + .box1 { + background: url("../../../assets/images/packagingline/bg-yichang1.png") + no-repeat; + background-size: 100% 100%; + + .data1 { + color: #32c5ff; + } + } + + .box2 { + background: url("../../../assets/images/packagingline/bg-yichang2.png") + no-repeat; + background-size: 100% 100%; + + .data1 { + color: #66ffff; + } + } + + .box3 { + background: url("../../../assets/images/packagingline/bg-yichang3.png") + no-repeat; + background-size: 100% 100%; + + .data1 { + color: #edb83f; + } + } + } } } } diff --git a/src/views/mes/dailyReportNew/index.vue b/src/views/mes/dailyReportNew/index.vue new file mode 100644 index 0000000..58eb925 --- /dev/null +++ b/src/views/mes/dailyReportNew/index.vue @@ -0,0 +1,272 @@ + + + diff --git a/src/views/mes/mesLine/index.vue b/src/views/mes/mesLine/index.vue index 65ea4c3..be30dbc 100644 --- a/src/views/mes/mesLine/index.vue +++ b/src/views/mes/mesLine/index.vue @@ -33,7 +33,7 @@ @keyup.enter.native="handleQuery" /> - + - + - - - - - - - - - - - - - - 删除 - + + + + + + + + + + + + + + + + + + + + + + + + + + 删除 + + + - +
- + - 生产订单备料单(订单物料) + 生产订单备料单({{printData.printTitle}}) 工厂:{{printData.factory}} 工作中心:{{printData.workCenter}} + 线体:{{printData.prodLineCode}} 生产日期:{{printData.productDate}} 打印日期:{{printData.printDate}} 页次: 1/ 1 - - - - - - - - - - - - - - - - - - + v-if="refreshNewWorkerTable" v-loading="newWorkerLoading"class="my-print-table":data="printData.workTable" + border style="width: 100%"> + + + + + + + + + -
@@ -299,22 +272,18 @@ SAP-No:{{printData.SAPNo}} Z-PM-F-030-A.2 -
- -
打 印
- diff --git a/src/views/quality/aql/index.vue b/src/views/quality/aql/index.vue new file mode 100644 index 0000000..8d27958 --- /dev/null +++ b/src/views/quality/aql/index.vue @@ -0,0 +1,440 @@ + + + diff --git a/src/views/quality/checkTypeProject/selectProject.vue b/src/views/quality/checkTypeProject/selectProject.vue index 19636b4..2dfe97e 100644 --- a/src/views/quality/checkTypeProject/selectProject.vue +++ b/src/views/quality/checkTypeProject/selectProject.vue @@ -17,13 +17,15 @@ @keyup.enter.native="handleQuery" />
- - + + + + + @@ -32,17 +34,7 @@ - - - {{ item.projectTypeName }} - - - + diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index 522f234..7a28404 100644 --- a/src/views/quality/produceReport/index.vue +++ b/src/views/quality/produceReport/index.vue @@ -518,7 +518,12 @@ - + + + + + +
@@ -572,7 +577,7 @@ - + @@ -584,7 +589,7 @@ - + {{ parseTime(form.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }} @@ -601,24 +606,24 @@ - - + - - + + + + - - +