admin
2024-10-15 6d313a4a6f9f9d7ea65ec50ab0d4491e595edb97
jcdm-ui/src/views/main/da/testDeviceInterface/index.vue
@@ -2,10 +2,10 @@
  <div class="app-container">
    <el-card class="box-card">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
          <el-form-item label="检验记录编号" prop="recordId">
          <el-form-item label-width="1" label="检验记录编号" prop="recordId">
            <el-input
              v-model="queryParams.recordId"
              placeholder="请输入检验记录编号,由各设备按自定规则生成,唯一编码"
              placeholder="请输入检验记录编号"
              clearable
              @keyup.enter.native="handleQuery"
            />
@@ -69,38 +69,38 @@
    <el-card style="margin-top: 10px" class="box-card">
        <el-row :gutter="10" class="mb8">
          <el-col :span="1.5">
            <el-button
              type="primary"
              plain
              icon="el-icon-plus"
              size="mini"
              @click="handleAdd"
              v-hasPermi="['da:testDeviceInterface:add']"
            >新增</el-button>
          </el-col>
          <el-col :span="1.5">
            <el-button
              type="success"
              plain
              icon="el-icon-edit"
              size="mini"
              :disabled="single"
              @click="handleUpdate"
              v-hasPermi="['da:testDeviceInterface:edit']"
            >修改</el-button>
          </el-col>
          <el-col :span="1.5">
            <el-button
              type="danger"
              plain
              icon="el-icon-delete"
              size="mini"
              :disabled="multiple"
              @click="handleDelete"
              v-hasPermi="['da:testDeviceInterface:remove']"
            >删除</el-button>
          </el-col>
<!--          <el-col :span="1.5">-->
<!--            <el-button-->
<!--              type="primary"-->
<!--              plain-->
<!--              icon="el-icon-plus"-->
<!--              size="mini"-->
<!--              @click="handleAdd"-->
<!--              v-hasPermi="['da:testDeviceInterface:add']"-->
<!--            >新增</el-button>-->
<!--          </el-col>-->
<!--          <el-col :span="1.5">-->
<!--            <el-button-->
<!--              type="success"-->
<!--              plain-->
<!--              icon="el-icon-edit"-->
<!--              size="mini"-->
<!--              :disabled="single"-->
<!--              @click="handleUpdate"-->
<!--              v-hasPermi="['da:testDeviceInterface:edit']"-->
<!--            >修改</el-button>-->
<!--          </el-col>-->
<!--          <el-col :span="1.5">-->
<!--            <el-button-->
<!--              type="danger"-->
<!--              plain-->
<!--              icon="el-icon-delete"-->
<!--              size="mini"-->
<!--              :disabled="multiple"-->
<!--              @click="handleDelete"-->
<!--              v-hasPermi="['da:testDeviceInterface:remove']"-->
<!--            >删除</el-button>-->
<!--          </el-col>-->
          <el-col :span="1.5">
            <el-button
              type="warning"
@@ -116,57 +116,56 @@
        <el-table border v-loading="loading" :data="testDeviceInterfaceList" @selection-change="handleSelectionChange">
          <el-table-column type="selection" width="55" align="center" />
          <el-table-column label="id" align="center" prop="id" />
          <el-table-column label="检验记录编号" align="center" prop="recordId">
          <el-table-column label="检验记录编号" width="100" :show-overflow-tooltip='true' align="center" prop="recordId">
          </el-table-column>
          <el-table-column label="站点编号" align="center" prop="stationCode">
          <el-table-column label="站点编号" width="100" align="center" prop="stationCode">
          </el-table-column>
          <el-table-column label="pack码" align="center" prop="productNum">
          <el-table-column label="pack码" width="230" :show-overflow-tooltip='true' align="center" prop="productNum">
          </el-table-column>
          <el-table-column label="整体结果 " align="center" prop="totalResult">
          <el-table-column label="整体结果" width="100" align="center" prop="totalResult">
          </el-table-column>
          <el-table-column label="工单号" align="center" prop="workOrderNo">
          <el-table-column label="工单号" width="100" align="center" prop="workOrderNo">
          </el-table-column>
          <el-table-column label="供应商类型" align="center" prop="supplierType">
<!--          <el-table-column label="供应商类型" align="center" prop="supplierType">-->
<!--          </el-table-column>-->
          <el-table-column label="入参" width="300" :show-overflow-tooltip='true' align="center" prop="checkList">
          </el-table-column>
          <el-table-column label="入参" align="center" prop="checkList">
          </el-table-column>
          <el-table-column label="状态编码" align="center" prop="resultCode">
          </el-table-column>
          <el-table-column label="返回信息" align="center" prop="resultMessage">
          </el-table-column>
          <el-table-column label="出参" align="center" prop="resultData">
          </el-table-column>
<!--          <el-table-column label="状态编码" width="100" align="center" prop="resultCode">-->
<!--          </el-table-column>-->
<!--          <el-table-column label="返回信息" width="100" align="center" prop="resultMessage">-->
<!--          </el-table-column>-->
<!--          <el-table-column label="出参" width="100" align="center" prop="resultData">-->
<!--          </el-table-column>-->
          <el-table-column label="创建用户" align="center" prop="createUser">
          </el-table-column>
          <el-table-column label="创建时间" align="center" prop="createTime">
          <el-table-column label="创建时间" width="160" align="center" prop="createTime">
          </el-table-column>
          <el-table-column label="更改用户" align="center" prop="updateUser">
          </el-table-column>
          <el-table-column label="更改时间" align="center" prop="updateTime">
          <el-table-column label="更改时间" width="160" align="center" prop="updateTime">
          </el-table-column>
          <el-table-column fixed="right" width="200" label="操作" align="center" class-name="small-padding fixed-width">
            <template slot-scope="scope">
              <el-button
                size="mini"
                type="success"
                plain
                style="width: 72px"
                icon="el-icon-edit"
                @click="handleUpdate(scope.row)"
                v-hasPermi="['da:testDeviceInterface:edit']"
              >修改</el-button>
              <el-button
                size="mini"
                type="danger"
                plain
                style="width: 72px"
                icon="el-icon-delete"
                @click="handleDelete(scope.row)"
                v-hasPermi="['da:testDeviceInterface:remove']"
              >删除</el-button>
            </template>
          </el-table-column>
<!--          <el-table-column fixed="right" width="200" label="操作" align="center" class-name="small-padding fixed-width">-->
<!--            <template slot-scope="scope">-->
<!--              <el-button-->
<!--                size="mini"-->
<!--                type="success"-->
<!--                plain-->
<!--                style="width: 72px"-->
<!--                icon="el-icon-edit"-->
<!--                @click="handleUpdate(scope.row)"-->
<!--                v-hasPermi="['da:testDeviceInterface:edit']"-->
<!--              >修改</el-button>-->
<!--              <el-button-->
<!--                size="mini"-->
<!--                type="danger"-->
<!--                plain-->
<!--                style="width: 72px"-->
<!--                icon="el-icon-delete"-->
<!--                @click="handleDelete(scope.row)"-->
<!--                v-hasPermi="['da:testDeviceInterface:remove']"-->
<!--              >删除</el-button>-->
<!--            </template>-->
<!--          </el-table-column>-->
        </el-table>
    </el-card>