zss
2024-04-25 226afbfb5ce732b0cd8317db57c645aca8b8d8e2
要求值加上文字提示
已修改3个文件
16 ■■■■ 文件已修改
src/views/technology/document/document-form.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/technology/document/teststandard.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/technology/document/document-form.vue
@@ -24,10 +24,12 @@
          <el-row>
            <el-col :span="6">
              <el-form-item prop="name" label="文件名称">
                <el-tooltip class="item" effect="dark" :content="dataForm.name" >
                <el-input
                  v-model="dataForm.name"
                  placeholder="文件名称"
                ></el-input>
                </el-tooltip>
              </el-form-item>
            </el-col>
            <el-col :span="6">
src/views/technology/document/teststandard.vue
@@ -51,7 +51,7 @@
            width="50"
          />
          <el-table-column label="参数编号" prop="code" align="center" />
          <el-table-column label="参数项" prop="parameterItem" align="center" />
          <el-table-column label="参数项" prop="parameterItem" align="center"/>
          <el-table-column
            label="要求值"
            prop="referenceValue"
@@ -59,38 +59,46 @@
            width="120px"
          >
          <template slot-scope="scope">
            <el-tooltip class="item" effect="dark" :content="scope.row.referenceValue" >
                <el-input
                v-model="scope.row.referenceValue"
                placeholder="值"
                :disabled="!editable"
                ></el-input>
                </el-tooltip>
            </template>
            </el-table-column>
          <el-table-column label="单位" prop="unit" align="center" width="120px">
            <template slot-scope="scope">
              <el-tooltip class="item" effect="dark" :content="scope.row.unit" >
                <el-input
                v-model="scope.row.unit"
                placeholder="单位"
                :disabled="!editable"
                ></el-input>
                </el-tooltip>
            </template>
          </el-table-column>
          <el-table-column label="测试方法" prop="method" align="center">
            <template slot-scope="scope">
              <el-tooltip class="item" effect="dark" :content="scope.row.method" >
                <el-input
                v-model="scope.row.method"
                placeholder=""
                :disabled="!editable"
                ></el-input>
                </el-tooltip>
            </template>
          </el-table-column>
          <el-table-column label="测试目的" prop="purpose" align="center">
            <template slot-scope="scope">
              <el-tooltip class="item" effect="dark" :content="scope.row.purpose" >
                <el-input
                v-model="scope.row.purpose"
                placeholder=""
                :disabled="!editable"
                ></el-input>
                </el-tooltip>
            </template>
          </el-table-column>
          <el-table-column label="操作" align="center" fixed="right">
vue.config.js
@@ -6,8 +6,8 @@
// const url = 'https://ztms-mes.chinaztt.cn/'
//  const url = 'http://localhost:9999'
const url = 'http://192.168.32.45:9999'
  const url = 'http://localhost:9999'
//const url = 'http://192.168.32.45:9999'
const localUrl = 'http://localhost:8089'