tijiao 分类变成接口

This commit is contained in:
2025-06-05 09:16:41 +08:00
parent e35f9f69c2
commit 071276e284
10 changed files with 157 additions and 255 deletions

View File

@@ -178,6 +178,9 @@ export default {
localStorage.removeItem('U_name');
localStorage.removeItem('U_status');
localStorage.removeItem('ms_journal_alias');
localStorage.removeItem('journalTypeData');
localStorage.removeItem('journalTypeDataAll');
localStorage.removeItem('opMedicalListData');
this.$router.push('/login');
}
},

View File

@@ -166,6 +166,9 @@ export default {
localStorage.removeItem('U_name');
localStorage.removeItem('U_status');
localStorage.removeItem('ms_journal_alias');
localStorage.removeItem('journalTypeData');
localStorage.removeItem('journalTypeDataAll');
localStorage.removeItem('opMedicalListData');
this.$router.push('/login');
}
},

View File

@@ -166,8 +166,8 @@
},
},
mounted(){
this.journal_type = this.$commonJS.journalTypeList()
async mounted(){
this.journal_type =await this.$commonJS.journalTypeList()
// console.log(this.journal_type, this.journal_type1)
}
};

View File

@@ -1335,9 +1335,9 @@ export default {
deep: true
}
},
created() {
this.journal_type=this.$commonJS.journalTypeList()
async created() {
this.journal_type = await this.$commonJS.journalTypeList();
console.log('this.journal_type at line 1340:', this.journal_type);
this.initSelect();
this.getAutData();
if (this.stagingID != undefined) {
@@ -2232,7 +2232,7 @@ export default {
reader.onload = function (e) {
that.$commonJS.extractWordTablesToArrays(File.raw, function (wordTables) {
console.log('tablesHtml at line 61:', wordTables);
return
return;
that.addWordTablesList(wordTables);
});
};

View File

@@ -32,7 +32,7 @@
<articleListB v-if="activeIndex == '2'" :journals="journals[1]" @changeEvent="changeEvent"></articleListB>
<articleListC v-if="activeIndex == '3'" :journals="journals[0]"></articleListC>
<articleListD v-if="activeIndex == '4'" ></articleListD>
<articleListE v-if="activeIndex == '5'" :journals="journals[2]"></articleListE>
<articleListE v-if="activeIndex == '5'" :journals="journals[0]"></articleListE>
<articleListF v-if="activeIndex == '6'" ></articleListF>
</div>
</div>
@@ -79,7 +79,7 @@ export default {
[1, 2, 4].forEach(async (e, i) => {
this.$set(this.journals, i, await this.initselect(e)); // 使用 Vue.set 确保数据是响应式的
console.log('this.journals at line 80:', this.journals)
// console.log('this.journals at line 80:', this.journals)
});
},
async initselect(e) {

View File

@@ -404,7 +404,7 @@ export default {
custom_colors: false,
color_map: ['0082AA', 'TMR Blue'],
plugins: 'texttransform kityformula-editor noneditable', // 启用 forecolor 和 code 插件
plugins: 'texttransform noneditable table', // 启用 forecolor 和 code 插件
// plugins: 'forecolor code paste table image mathType searchreplace raw', // 启用 forecolor 和 code 插件
end_container_on_empty_block: true,
content_css: 'default', // 加载 TinyMCE 默认样式表

View File

@@ -13,7 +13,7 @@
:value="updatedHtml"
:typesettingType="typesettingType"
class="paste-area text-container"
:toolbar="['bold italic|customBlue removeBlue|kityformula-editor|LateX |myuppercase myuppercasea Line|subscript superscript|table tabledelete| searchreplace |clearButton']"
:toolbar="['bold italic|customBlue removeBlue|LateX |myuppercase myuppercasea Line|subscript superscript|table | searchreplace |clearButton']"
style="
/* white-space: pre-line; */
line-height: 12px;