|
|
@@ -99,8 +99,6 @@ const externalReviewSectionTitles = ref([
|
|
|
const externalReviewScoreRow1 = ['优秀', '合格', '不合格'] as const;
|
|
|
const externalReviewScoreRow2 = ['丧失传承能力', '取消资格'] as const;
|
|
|
|
|
|
-const currentYear = new Date().getFullYear();
|
|
|
-
|
|
|
const levelTitle = computed(() => {
|
|
|
if (currentForm.value?.level === 23) return '国家级';
|
|
|
if (currentForm.value?.level === 24) return '省级';
|
|
|
@@ -113,7 +111,7 @@ function loadEditorContent() {
|
|
|
return;
|
|
|
if (typeof currentForm.value.content !== 'object' || currentForm.value.content === null)
|
|
|
currentForm.value.content = {};
|
|
|
- currentForm.value.content.title = `传承人填写${currentYear}年1月1日至${currentYear}年12月31日${levelTitle.value}非遗传承人义务履行和传承补助经费使用情况等,不超过1000字,如未履行职责请进行说明。参考提纲如下:`;
|
|
|
+ currentForm.value.content.title = `传承人填写${currentForm.value.year}年1月1日至${currentForm.value.year}年12月31日${levelTitle.value}非遗传承人义务履行和传承补助经费使用情况等,不超过1000字,如未履行职责请进行说明。参考提纲如下:`;
|
|
|
for (let i = 0; i < 8; i++) {
|
|
|
if (typeof currentForm.value.content[`item${i}`] !== 'string')
|
|
|
currentForm.value.content[`item${i}`] = '';
|