|
|
@@ -19,6 +19,15 @@
|
|
|
</template>
|
|
|
</a-result>
|
|
|
<div v-else>
|
|
|
+ <a-alert
|
|
|
+ type="info"
|
|
|
+ show-icon
|
|
|
+ class="mb-4"
|
|
|
+ >
|
|
|
+ <template #message>
|
|
|
+ 本页用于管理员手动修改内容,如果您是审核者,请点击<a href="javascript:void(0)" @click="reviewerView">这里审核</a>。
|
|
|
+ </template>
|
|
|
+ </a-alert>
|
|
|
<SelfAssessmentFormDisplay
|
|
|
ref="blockRef"
|
|
|
:current-form="(currentForm as SelfAssessmentDetail)"
|
|
|
@@ -93,7 +102,7 @@ const blockRef = ref<InstanceType<typeof SelfAssessmentFormDisplay> | null>(null
|
|
|
const submitLoading = ref(false);
|
|
|
|
|
|
const externalReviewSectionTitles = ref([
|
|
|
- { title: '1. 项目保护单位意见', suggestion: '', disabled: false },
|
|
|
+ { title: '1. 项目保护单位意见', suggestion: '', disabled: true },
|
|
|
{ title: '2. 县(区)文旅部门审核意见', suggestion: '', disabled: true },
|
|
|
{ title: '3. 设区市文旅部门、省非遗中心审核意见', suggestion: '', disabled: true },
|
|
|
]);
|
|
|
@@ -264,6 +273,17 @@ async function downloadForm() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+function reviewerView() {
|
|
|
+ router.push({
|
|
|
+ name: 'CollectEvaluationFormReview',
|
|
|
+ query: {
|
|
|
+ id: queryId.value,
|
|
|
+ userId: queryUserId.value,
|
|
|
+ ...(currentForm.value?.progress != null && currentForm.value?.progress !== undefined ? { progress: String(currentForm.value?.progress) } : {}),
|
|
|
+ },
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
const loader = useSimpleDataLoader(async () => {
|
|
|
if (queryId.value > 0) {
|
|
|
const detail = await AssessmentContentApi.getSelfAssessmentDetail(queryId.value, queryUserId.value || undefined);
|