| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="校准时间" prop="createTime"> |
| | | <el-date-picker |
| | | v-model="dataForm.createTime" |
| | | align="right" |
| | | type="date" |
| | | placeholder="校准时间" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | <el-date-picker |
| | | v-model="dataForm.createTime" |
| | | align="right" |
| | | type="date" |
| | | placeholder="校准时间" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="校准到期时间" prop="updateTime"> |
| | | <el-date-picker |
| | | v-model="dataForm.updateTime" |
| | | align="right" |
| | | type="date" |
| | | placeholder="校准到期时间" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-date-picker |
| | | v-model="dataForm.updateTime" |
| | | align="right" |
| | | type="date" |
| | | placeholder="校准到期时间" |
| | | :picker-options="pickerOptions"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="类型" prop="type"> |
| | |
| | | class="item" effect="dark" content="请先选择设备!" placement="top-start"> |
| | | <el-input :disabled="scope.row.eId == null" |
| | | v-model="scope.row.inote" |
| | | @blur="changeState(scope.row, index)" placeholder="请输入检测值"></el-input> |
| | | @blur="changeState(scope.row, index)" placeholder="请输入检验描述"></el-input> |
| | | <!-- <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="请选择"> |
| | | <el-option v-for="item in dataVal" :key="item.value" :label="item.label" |
| | | :value="item.value"> |
| | |
| | | }) |
| | | }, |
| | | updateDevice(row,index){ |
| | | updateDeviceById({equiomentId:row.eId,fpid:row.iId}).then(res=>{ |
| | | updateDeviceById({deviceId:row.eId,fpid:row.iId}).then(res=>{ |
| | | this.inspectionItems.forEach(obj=>{ |
| | | if(obj.children){ |
| | | obj.children[index-1].inspectionValue = '' |
| | |
| | | return |
| | | } |
| | | let obj = { |
| | | equiomentId: row.eId, |
| | | deviceId: row.eId, |
| | | fpid: row.iid, |
| | | inspectionValue: str, |
| | | note : row.inote |
| | |
| | | * 配置参考: |
| | | * 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') |