|
@@ -4,7 +4,7 @@
|
|
|
<el-input v-model="modelValue.checkName" />
|
|
|
</el-form-item> -->
|
|
|
<el-form-item label="检验内容" prop="checkContent">
|
|
|
- <el-select v-model="modelValue.checkContent">
|
|
|
+ <el-select v-model="modelValue.checkContent" filterable>
|
|
|
<el-option
|
|
|
v-for="(item, index) in options"
|
|
|
:key="index"
|
|
@@ -39,18 +39,15 @@
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { useProcessStore } from "@/store/modules/processView";
|
|
|
-import { checkList } from "@/api/prosteps/dianjian";
|
|
|
+import { checkLists } from "@/api/prosteps/dianjian";
|
|
|
const processStore = useProcessStore();
|
|
|
const checkListData = ref([]);
|
|
|
const getCheckOpList = async () => {
|
|
|
- const { data } = await checkList({
|
|
|
- operationId: Number(processStore.odersData.operationId),
|
|
|
- processId: Number(processStore.scanInfo.id),
|
|
|
- seqNo: processStore.scanInfo.seqNo,
|
|
|
+ const { data } = await checkLists({
|
|
|
pageSize: 9999,
|
|
|
pageNo: 1,
|
|
|
});
|
|
|
- checkListData.value = data;
|
|
|
+ checkListData.value = data.records;
|
|
|
};
|
|
|
const rules = reactive({
|
|
|
checkContent: [{ required: true, trigger: "blur" }],
|