| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-17 22:29:43 |
| | | * @LastEditTime: 2024-09-12 11:28:21 |
| | | * @FilePath: /smart-web/src/views/master/person/main/index.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | | <template> |
| | | <div class="aposcope-main"> |
| | | <div class="aposcope-left"> |
| | | <div class="left-title">查询条件</div> |
| | | <div class="left-title">查询条件1</div> |
| | | <el-tree :data="tableData" node-key="id" default-expand-all :expand-on-click-node="false" :props="defalutProps" @node-click="handleNodeClick" ref="treeRef" highlight-current /> |
| | | </div> |
| | | <div class="aposcope-right"> |
| | |
| | | <div class="status-box" v-for="item in achievements"><div class="status-color" :style="{'background-color': item.color}"></div>{{ item.name }}</div> |
| | | </div> |
| | | <div class="status-wrap"> |
| | | <el-checkbox v-model="checked1" label="人工反馈状态" size="large" /> |
| | | <el-checkbox v-model="humanFeedback" label="人工反馈状态" size="large" /> |
| | | <div class="status-con"> |
| | | <div class="status-box" v-for="item in collectionstatus"><div class="status-color" :style="{'background-color': item.color}"></div>{{ item.name }}</div> |
| | | </div> |
| | |
| | | return { |
| | | achievements: [], |
| | | collectionstatus: [], |
| | | checked1: "", |
| | | humanFeedback: "", |
| | | alarmtotal: 0, |
| | | alarmtableData: [], |
| | | wcsDate: "", |
| | |
| | | getrecord() { //班次状态记录table |
| | | var obj = { |
| | | date: this.wcsDate, |
| | | humanFeedback: true, |
| | | humanFeedback: this.humanFeedback, |
| | | workstationId: this.lastLevelId |
| | | } |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/shift-index-status-record-table`,obj).then(res=> { |
| | |
| | | var obj = { |
| | | date: this.wcsDate, |
| | | //date : "2024-05-15", |
| | | humanFeedback: true, |
| | | humanFeedback: this.humanFeedback, |
| | | workstationId: this.lastLevelId |
| | | } |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/shift-index-status-record-chart`,obj).then(res=> { |
| | |
| | | getwscLvalue() { |
| | | var obj = { |
| | | date: this.wcsDate, |
| | | humanFeedback: true, |
| | | humanFeedback: this.humanFeedback, |
| | | workstationId: this.lastLevelId |
| | | } |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/time-distribution`,obj).then(res=> { |
| | |
| | | getwcsR() { |
| | | var obj = { |
| | | date: this.wcsDate, |
| | | humanFeedback: true, |
| | | humanFeedback: this.humanFeedback, |
| | | workstationId: this.lastLevelId |
| | | } |
| | | this.$HTTP.post(`/api/blade-mdc/status-record/equipment-efficiency`,obj).then(res=> { |
| | |
| | | }else { |
| | | if(eventData.data[item.name]) { |
| | | item.codeName = eventData.data[item.name].v; |
| | | item.color = "#75C0C0"; |
| | | } |
| | | item.color = "#75C0C0"; |
| | | } |
| | | } |
| | | }); |