modified: src/views/equipment/equipment/index.vue
modified: src/views/quality/finishedProductInspection/index.vue
modified: src/views/quality/rawMaterial/index.vue
modified: src/views/quality/rawMaterial/rawMaterial-form.vue
modified: vue.config.js
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="10" :offset="3">编号:</el-col> |
| | | <el-col :span="10" style="font-weight: bold;">{{ tem.code }}</el-col> |
| | | <el-col :span="10" style="font-weight: bold;">{{ tem.number }}</el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="10" :offset="3">设备名称:</el-col> |
| | |
| | | show: { |
| | | val: [ |
| | | '1', |
| | | '0' |
| | | ], |
| | | key: 'result' |
| | | } |
| | |
| | | show: { |
| | | val: [ |
| | | '1', |
| | | '0' |
| | | ], |
| | | key: 'judgeState' |
| | | } |
| | |
| | | </el-table-column> |
| | | <el-table-column fixed="right" style="background-color: white;" v-if="dataForm.id == null" label="操作" width="150"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.father!=null"> |
| | | <div v-if="scope.row.fId!=null"> |
| | | <el-button type="text" @click="addChildren(scope.row)">添加项目</el-button> |
| | | <el-button type="text" @click="delChildren(scope.row,scope.$index,true)">删除行</el-button> |
| | | </div> |
| | |
| | | clickAddLine(row) { |
| | | console.log(row); |
| | | let ele = { |
| | | fId: Math.random(), |
| | | father: row.father?row.father:null, |
| | | iid: Math.random(), |
| | | children:[] |
| | |
| | | this.list.push(ele) |
| | | }) |
| | | }else{ |
| | | ele.push({ |
| | | ele.children.push({ |
| | | deviceId: null, |
| | | deviceName: null, |
| | | iid: Math.random(), |
| | |
| | | * 配置参考: |
| | | * https://cli.vuejs.org/zh/config/ |
| | | */ |
| | | const url = 'http://192.168.0.23:9999' |
| | | // const url = 'http://192.168.0.23:9999' |
| | | // const url = 'http://192.168.0.51:9999' |
| | | // const url = 'http://ztt-gateway:9999' |
| | | const url = 'http://ztt-gateway:9999' |
| | | const localUrl = 'http://localhost:8089' |
| | | //const localUrl = 'http://10.88.15.95:8089' |
| | | const CompressionWebpackPlugin = require('compression-webpack-plugin') |