|
|
@@ -9,38 +9,40 @@
|
|
|
/>
|
|
|
</FlexRow>
|
|
|
<SimplePageListLoader :loader="loader">
|
|
|
- <FlexRow
|
|
|
- v-for="item in loader.list.value"
|
|
|
- :key="`${item.userId}-${item.checkId ?? item.id}`"
|
|
|
- align="center"
|
|
|
- justify="space-between"
|
|
|
- gap="gap.sm"
|
|
|
- backgroundColor="white"
|
|
|
- padding="space.md"
|
|
|
- radius="radius.md"
|
|
|
- >
|
|
|
- <Touchable
|
|
|
- flex="1"
|
|
|
- direction="row"
|
|
|
+ <FlexCol gap="gap.md">
|
|
|
+ <FlexRow
|
|
|
+ v-for="item in loader.list.value"
|
|
|
+ :key="`${item.userId}-${item.checkId ?? item.id}`"
|
|
|
+ align="center"
|
|
|
justify="space-between"
|
|
|
- @click="openEdit(item)"
|
|
|
+ gap="gap.sm"
|
|
|
+ backgroundColor="white"
|
|
|
+ padding="space.md"
|
|
|
+ radius="radius.md"
|
|
|
>
|
|
|
- <FlexCol flex="1">
|
|
|
- <Text :text="item.inheritor ?? item.title ?? '?'" />
|
|
|
- <Text fontConfig="subText" :text="subLine(item)" />
|
|
|
- </FlexCol>
|
|
|
- </Touchable>
|
|
|
- <Text fontConfig="subText" :text="progressLabel(item.progress)" />
|
|
|
- <Button
|
|
|
- v-if="canReview(item)"
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- @click.stop="openReview(item)"
|
|
|
- >
|
|
|
- 审核
|
|
|
- </Button>
|
|
|
- <Icon name="arrow-right-bold" />
|
|
|
- </FlexRow>
|
|
|
+ <Touchable
|
|
|
+ flex="1"
|
|
|
+ direction="row"
|
|
|
+ justify="space-between"
|
|
|
+ @click="openEdit(item)"
|
|
|
+ >
|
|
|
+ <FlexCol flex="1">
|
|
|
+ <Text :text="item.inheritor ?? item.title ?? '?'" />
|
|
|
+ <Text fontConfig="subText" :text="subLine(item)" />
|
|
|
+ </FlexCol>
|
|
|
+ </Touchable>
|
|
|
+ <Text fontConfig="subText" :text="progressLabel(item.progress)" />
|
|
|
+ <Button
|
|
|
+ v-if="canReview(item)"
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ @click.stop="openReview(item)"
|
|
|
+ >
|
|
|
+ 审核
|
|
|
+ </Button>
|
|
|
+ <Icon name="arrow-right-bold" />
|
|
|
+ </FlexRow>
|
|
|
+ </FlexCol>
|
|
|
</SimplePageListLoader>
|
|
|
<XBarSpace />
|
|
|
</FlexCol>
|
|
|
@@ -120,7 +122,7 @@ function openReview(item: InheritorCheckListRow) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-const loader = useSimplePageListLoader(10, async (page, pageSize) => {
|
|
|
+const loader = useSimplePageListLoader(20, async (page, pageSize) => {
|
|
|
const pv = progressFilter.value;
|
|
|
const progress = pv > -50 ? pv : undefined;
|
|
|
const list = await AssessmentContentApi.getInheritorList({
|