|
@@ -170,23 +170,23 @@ const {query} = useRoute() // 查询参数
|
|
const loading = ref(true) // 列表的加载中
|
|
const loading = ref(true) // 列表的加载中
|
|
const list = ref<SpecimenOutboundVO[]>([]) // 列表的数据
|
|
const list = ref<SpecimenOutboundVO[]>([]) // 列表的数据
|
|
const total = ref(0) // 列表的总页数
|
|
const total = ref(0) // 列表的总页数
|
|
-// const queryParams = reactive({
|
|
|
|
-// pageNo: 1,
|
|
|
|
-// pageSize: 10,
|
|
|
|
-// infoId: undefined,
|
|
|
|
-// chineseName: undefined,
|
|
|
|
-// specimenNumber: undefined,
|
|
|
|
-// attachments: undefined,
|
|
|
|
-// processInstanceId: undefined,
|
|
|
|
-// specimenCondition: undefined,
|
|
|
|
-// imagePath:undefined
|
|
|
|
-// })
|
|
|
|
|
|
+const queryParams = reactive({
|
|
|
|
+ pageNo: 1,
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ infoId: undefined,
|
|
|
|
+ chineseName: undefined,
|
|
|
|
+ specimenNumber: undefined,
|
|
|
|
+ attachments: undefined,
|
|
|
|
+ processInstanceId: undefined,
|
|
|
|
+ specimenCondition: undefined,
|
|
|
|
+ imagePath:undefined
|
|
|
|
+})
|
|
|
|
|
|
/** 查询列表 */
|
|
/** 查询列表 */
|
|
const getList = async () => {
|
|
const getList = async () => {
|
|
loading.value = true
|
|
loading.value = true
|
|
try {
|
|
try {
|
|
- const data = await SpecimenOutboundApi.getSpecimenOutboundDetailsPage(query.dataId)
|
|
|
|
|
|
+ const data = await SpecimenOutboundApi.getSpecimenOutboundDetailsPage(queryParams)
|
|
list.value = data.list
|
|
list.value = data.list
|
|
total.value = data.total
|
|
total.value = data.total
|
|
} finally {
|
|
} finally {
|