|
|
@@ -118,8 +118,6 @@ const currentFormCheckItems = ref<SelfAssessmentCheckItemAnswer[]>([]);
|
|
|
const authStore = useAuthStore();
|
|
|
const appConfig = injectAppConfiguration();
|
|
|
|
|
|
-const currentYear = new Date().getFullYear();
|
|
|
-
|
|
|
const blockRef = ref<InstanceType<typeof SelfAssessmentFormDisplay> | null>(null);
|
|
|
const signUploadCo = useImageSimpleUploadCo();
|
|
|
const formOptions = buildSelfAssessmentFormOptions(signUploadCo, 'start');
|
|
|
@@ -139,7 +137,7 @@ function loadEditorContent() {
|
|
|
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}`] = '';
|