| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-10-10 10:17:22 |
| | | * @LastEditTime: 2024-10-23 10:34:29 |
| | | * @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 |
| | | --> |
| | |
| | | </div> |
| | | <div class="aposcope-right"> |
| | | <div class="content-machine-box"> |
| | | <div class="content-machine-img"><img src="./station.png" alt=""></div> |
| | | <div class="content-machine-img"><img :src="stationForm.avatar" alt=""></div> |
| | | <div class="content-machine-detail"> |
| | | <div class="content-machine-name">{{stationForm.machineName}}</div> |
| | | <el-form :model="stationForm" ref="dialogForm" label-width="80px" label-position="center" style="width: 100%;"> |
| | |
| | | <save-dialog v-if="dialog.save" ref="saveDialog" @success="addfeedbackSuccess" :workstationId="lastLevelId" @closed="dialog.save=false"></save-dialog> |
| | | </template> |
| | | <script> |
| | | import station from "./station.png"; |
| | | import moment from 'moment' |
| | | import * as echarts from 'echarts'; |
| | | import saveDialog from './add-station-status' |
| | |
| | | this.lastLevelId = data.id; |
| | | this.$HTTP.get(`/api/blade-cps/workstation/get?workstationId=${this.lastLevelId}`).then(res=> { |
| | | if(res.code == 200) { |
| | | if(res.data.avatar == "") { |
| | | res.data.avatar = station; |
| | | } |
| | | this.stationForm = res.data; |
| | | this.getdmp(this.lastLevelId,this.stationForm.machineId); |
| | | //this.newDate(); //获取当前日期 |
| | |
| | | }, |
| | | getlist() { |
| | | this.$HTTP.get(`/api/blade-cps/workstation/get?workstationId=${this.lastLevelId}`).then(res=> { |
| | | if(res.code == 200) { |
| | | if(res.code == 200) { |
| | | if(res.data.avatar == "") { |
| | | res.data.avatar = station; |
| | | } |
| | | this.stationForm = res.data; |
| | | this.getdmp(this.lastLevelId,this.stationForm.machineId); |
| | | } |