s
王震
2023-11-09 d27482cf41fba24805d4ded9ac5cbac56887ce3b
s
已修改3个文件
40 ■■■■ 文件已修改
src/views/equipment/metering/metering-form.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProduct-form.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/equipment/metering/metering-form.vue
@@ -24,25 +24,25 @@
          </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">
src/views/quality/finishedProductInspection/finishedProduct-form.vue
@@ -154,7 +154,7 @@
                                            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">
@@ -390,7 +390,7 @@
            })
        },
        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 = ''
@@ -425,7 +425,7 @@
                    return
                }
                let obj = {
                    equiomentId: row.eId,
                    deviceId: row.eId,
                    fpid: row.iid,
                    inspectionValue: str,
                    note : row.inote
vue.config.js
@@ -2,9 +2,9 @@
 * 配置参考:
 * 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')