| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-position="left" label-width="50px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="料号" prop="itemNumber"> |
| | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <!-- <el-table v-loading="loading" :data="professionalFixedCycleManagementList" @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="itemNumber" /> |
| | | <el-table-column label="专业描述" align="center" prop="professionalDescription" /> |
| | | <el-table-column label="专业" align="center" prop="professional" /> |
| | | <el-table-column label="专业固定周期" align="center" prop="professionalFixedCycle" /> |
| | | <el-table-column label="集成日期" align="center" prop="integrationDate" /> |
| | | <el-table-column label="适用工厂" align="center" prop="applicableFactories" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['basicData:professionalFixedCycleManagement:edit']">修改</el-button> |
| | | <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['basicData:professionalFixedCycleManagement:remove']">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | v-model:page="queryParams.pageNum" |
| | | v-model:limit="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> --> |
| | | |
| | | <HxlhTable |
| | | style="width: 100%" |
| | |
| | | const ids = ref([]); |
| | | const single = ref(true); |
| | | const multiple = ref(true); |
| | | const total = ref(0); |
| | | const title = ref(""); |
| | | const height = ref(document.documentElement.clientHeight - 230 + "px;") |
| | | const queryPlants = ref({status: 1}); |
| | |
| | | |
| | | /** 搜索按钮操作 */ |
| | | function handleQuery() { |
| | | page.value.current = 1; |
| | | queryParams.value.pageNum = 1; |
| | | getList(); |
| | | } |
| | |
| | | } |
| | | |
| | | function changePageNo(currentPage) { |
| | | queryParams.value.pageNum = currentPage; |
| | | page.value.current = currentPage; |
| | | queryParams.value.pageNum = currentPage; |
| | | getList(); |
| | | } |
| | | |