|
@@ -16,6 +16,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<a-tab-pane key="1" tab="传承人列表">
|
|
<a-tab-pane key="1" tab="传承人列表">
|
|
|
<CommonListBlock
|
|
<CommonListBlock
|
|
|
|
|
+ ref="listRef"
|
|
|
:showTotal="true"
|
|
:showTotal="true"
|
|
|
:rowCount="1"
|
|
:rowCount="1"
|
|
|
:rowType="5"
|
|
:rowType="5"
|
|
@@ -53,6 +54,7 @@
|
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
|
<a-tab-pane key="2" tab="非遗项目列表">
|
|
<a-tab-pane key="2" tab="非遗项目列表">
|
|
|
<CommonListBlock
|
|
<CommonListBlock
|
|
|
|
|
+ ref="listRef"
|
|
|
:showTotal="true"
|
|
:showTotal="true"
|
|
|
:rowCount="1"
|
|
:rowCount="1"
|
|
|
:rowType="5"
|
|
:rowType="5"
|
|
@@ -95,6 +97,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<CommonListBlock
|
|
<CommonListBlock
|
|
|
|
|
+ ref="listRef"
|
|
|
:showTotal="true"
|
|
:showTotal="true"
|
|
|
:rowCount="1"
|
|
:rowCount="1"
|
|
|
:rowType="5"
|
|
:rowType="5"
|
|
@@ -121,6 +124,7 @@
|
|
|
</a-tab-pane> -->
|
|
</a-tab-pane> -->
|
|
|
<a-tab-pane key="9" tab="传承协议签署">
|
|
<a-tab-pane key="9" tab="传承协议签署">
|
|
|
<CommonListBlock
|
|
<CommonListBlock
|
|
|
|
|
+ ref="listRef"
|
|
|
:show-total="true"
|
|
:show-total="true"
|
|
|
:row-count="1"
|
|
:row-count="1"
|
|
|
:row-type="5"
|
|
:row-type="5"
|
|
@@ -147,13 +151,14 @@
|
|
|
</CommonListBlock>
|
|
</CommonListBlock>
|
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
|
<a-tab-pane key="8" tab="自查评估表">
|
|
<a-tab-pane key="8" tab="自查评估表">
|
|
|
- <EvaluationFormList />
|
|
|
|
|
|
|
+ <EvaluationFormList ref="listRef" />
|
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
|
<a-tab-pane v-if="false" key="4" tab="重点区域">
|
|
<a-tab-pane v-if="false" key="4" tab="重点区域">
|
|
|
<div class="flex justify-end">
|
|
<div class="flex justify-end">
|
|
|
<a-button type="primary" :disabled="true" @click="router.push({ name: 'FormWork' })">+ 新增</a-button>
|
|
<a-button type="primary" :disabled="true" @click="router.push({ name: 'FormWork' })">+ 新增</a-button>
|
|
|
</div>
|
|
</div>
|
|
|
<CommonListBlock
|
|
<CommonListBlock
|
|
|
|
|
+ ref="listRef"
|
|
|
:showTotal="true"
|
|
:showTotal="true"
|
|
|
:rowCount="1"
|
|
:rowCount="1"
|
|
|
:rowType="5"
|
|
:rowType="5"
|
|
@@ -179,7 +184,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-import { computed, h, onMounted, ref, watch } from 'vue';
|
|
|
|
|
|
|
+import { computed, onMounted, ref, watch } from 'vue';
|
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
import { useAuthStore } from '@/stores/auth';
|
|
import { useAuthStore } from '@/stores/auth';
|
|
|
import { message, Modal } from 'ant-design-vue';
|
|
import { message, Modal } from 'ant-design-vue';
|
|
@@ -202,6 +207,7 @@ const route = useRoute();
|
|
|
const authStore = useAuthStore();
|
|
const authStore = useAuthStore();
|
|
|
const activeKey = ref(route.query.tab as string || '1');
|
|
const activeKey = ref(route.query.tab as string || '1');
|
|
|
const inheritorData = ref<GetContentListItem[]>([]);
|
|
const inheritorData = ref<GetContentListItem[]>([]);
|
|
|
|
|
+const listRef = ref<any>(null);
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
switch (activeKey.value) {
|
|
switch (activeKey.value) {
|
|
@@ -213,6 +219,10 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+watch(() => authStore.userId, () => {
|
|
|
|
|
+ listRef.value?.reload();
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
const { variable: lastValueCategory } = useMemorizeVar('categoryLastSelectValue', 0);
|
|
const { variable: lastValueCategory } = useMemorizeVar('categoryLastSelectValue', 0);
|
|
|
const { variable: lastValueStatus } = useMemorizeVar('statusLastSelectValue', -10);
|
|
const { variable: lastValueStatus } = useMemorizeVar('statusLastSelectValue', -10);
|
|
|
const { variable: lastAgreementProgress } = useMemorizeVar('adminUserAgreementProgress', -100);
|
|
const { variable: lastAgreementProgress } = useMemorizeVar('adminUserAgreementProgress', -100);
|
|
@@ -456,5 +466,4 @@ function handleGoWorks(item: GetContentListItem) {
|
|
|
ichId: item.id,
|
|
ichId: item.id,
|
|
|
} })
|
|
} })
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
</script>
|
|
</script>
|