| | |
| | | }).then((res) => { // 替换为你的API端点 |
| | | if (res.code === 200) { |
| | | ElMessage.success(res.message); |
| | | } else {n |
| | | } else { |
| | | n |
| | | ElMessage.warning(res.message) |
| | | } |
| | | }) |
| | |
| | | |
| | | const fetchData = async () => { |
| | | //扫码回车提交 |
| | | alert(searchs.value); |
| | | //alert(searchs.value); |
| | | searchs.value=""; |
| | | } |
| | | const filterTableData = computed(() => |
| | |
| | | <el-dialog v-model="blind" top="30vh" style="text-align: center;" @close="handleDialogClose"> |
| | | <!-- 未领取的标准任务 --> |
| | | |
| | | <el-table :data="findPrimitiveTask" stripe style="height:260px" :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129', textAlign: 'center' }" :cell-style="{ textAlign: 'center' }"> |
| | | <el-table :data="findPrimitiveTask" stripe style="height:260px" |
| | | :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129', textAlign: 'center' }" |
| | | :cell-style="{ textAlign: 'center' }"> |
| | | <!-- <el-table-column type="selection" min-width="30" /> --> |
| | | |
| | | <el-table-column type="index" :label="$t('glassInfo.number')" min-width="30" /> |
| | |
| | | <el-table-column type="index" :label="$t('glassInfo.number')" min-width="30" /> |
| | | <el-table-column prop="batchNumber" sortable :label="$t('glassInfo.batchNumber')" /> |
| | | <el-table-column prop="taskType" sortable :label="$t('glassInfo.taskType')" /> |
| | | <el-table-column prop="scanId" sortable :label="$t('glassInfo.scanId')" > |
| | | <el-table-column prop="scanId" :label="$t('glassInfo.scanId')"> |
| | | <template #header> |
| | | <div> |
| | | <div>{{ $t('glassInfo.taskType') }} |
| | | <el-icon @click="fetchData"><CaretTop /></el-icon> |
| | | <el-icon @click="fetchData"><CaretBottom /></el-icon> |
| | | <el-icon color="#409efc"><Filter /></el-icon> |
| | | </div> |
| | | <span>{{ $t('glassInfo.scanId') }}</span> |
| | | <span style="margin-left:10px ;"></span> |
| | | <el-popover placement="bottom" title="筛选" :width="200" trigger="click"> |
| | | <el-input v-model="searchs" type="primary" id="ReportSubmission" @keyup.enter="fetchData"></el-input> |
| | | <template #reference> |
| | | <el-icon><Filter /></el-icon> |
| | | </template> |
| | | </el-popover> |
| | | <el-icon><CaretTop /></el-icon> |
| | | <el-icon><CaretBottom /></el-icon> |
| | | <!-- <el-input v-model="searchs" type="primary" id="ReportSubmission" @keyup.enter="fetchData"></el-input> --> |
| | | <!-- <el-input size="small" placeholder="Type to search" /> --> |
| | | </div> |
| | | </template> |
| | |
| | | </div> |
| | | |
| | | <div id="main-body" style="width: 100%; height: 460px;min-width: 1200px;"> |
| | | <el-image style="width: 70%;min-width: 900px; height: 460px;float: left;" src="../../src/assets/扫码识别.png"></el-image> |
| | | <img style="width: 70%;min-width: 900px; height: 460px;float: left;" src="../../assets/扫码识别.png"> |
| | | <!-- <el-image style="width: 70%;min-width: 900px; height: 460px;float: left;" src="../../src/assets/扫码识别.png"></el-image> --> |
| | | <!-- <div style="width: 70%;min-width: 900px; height: 460px;background-image: url(../../src/assets/扫码识别.png) ;background-size: 100% 100%;float: left;"> |
| | | |
| | | </div> --> |
| | |
| | | border: none; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .dotClass { |
| | | width:10px; |
| | | height:10px; |