From 60a486619a2c7819fe63a3c777b28a3810f5c2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 21 Oct 2025 17:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/articleAdd2.vue | 122 ++++++++++++++++++---------- vue.config.js | 4 +- 2 files changed, 80 insertions(+), 46 deletions(-) diff --git a/src/components/page/articleAdd2.vue b/src/components/page/articleAdd2.vue index 4502ac1..d97b5d0 100644 --- a/src/components/page/articleAdd2.vue +++ b/src/components/page/articleAdd2.vue @@ -5,12 +5,24 @@ Submit manuscript -
-
- - +
+
+ + + + + + -
@@ -64,9 +76,7 @@ - - - + Yes @@ -166,26 +176,30 @@ to view detailed policies.
- - + + Yes - No + No
- - -
+ +
Save as draft @@ -1041,8 +1055,8 @@ export default { approval_file: '', approval_content: '', code: '', - is_use_ai:2, - use_ai_explain:'', + is_use_ai: 2, + use_ai_explain: '' // topics:null }, raltiAutList: [], @@ -2462,9 +2476,10 @@ export default { }); }, // 点击tab变化 - StepCode(e) { - console.log('🚀 ~ StepCode ~ e111:', e); - console.log(e); + StepCode(step) { + var e=step.index; + console.log('e at line 2480:', e) + if (this.move_step > e) { if (this.move_step == 2) { this.onStaging(2); @@ -2571,7 +2586,7 @@ export default { this.$message.error('The abstract should not be less than 200 Chinese characters or English words!'); return false; } - if(this.form.is_use_ai==1&&this.form.use_ai_explain==''){ + if (this.form.is_use_ai == 1 && this.form.use_ai_explain == '') { this.$message.error('Please describe how artificial intelligence is utilized in this article'); return false; } @@ -2596,16 +2611,15 @@ export default { } this.form.keyWords = fstr == '' ? '' : fstr.substring(0, fstr.length - 1); - if(this.majorValueList.length>0){ - this.form.major = this.majorValueList - .map((item) => item.selectedValue.length>0?item.selectedValue[item.selectedValue.length - 1]:[]) - .toString(','); - // if (this.form.major == '') { - // this.$message.error('Please select the Research areas'); - // return false; - // } + if (this.majorValueList.length > 0) { + this.form.major = this.majorValueList + .map((item) => (item.selectedValue.length > 0 ? item.selectedValue[item.selectedValue.length - 1] : [])) + .toString(','); + // if (this.form.major == '') { + // this.$message.error('Please select the Research areas'); + // return false; + // } } - this.$api.post('api/Article/addArticlePart1', this.form).then((res) => { if (res.code == 0) { @@ -2705,10 +2719,10 @@ export default { this.$message.error('The abstract should not be less than 200 Chinese characters or English words!'); return false; } - if(this.form.is_use_ai==1&&this.form.use_ai_explain==''){ - this.$message.error('Please describe how artificial intelligence is utilized in this article'); - return false; - } + if (this.form.is_use_ai == 1 && this.form.use_ai_explain == '') { + this.$message.error('Please describe how artificial intelligence is utilized in this article'); + return false; + } this.$api.post('api/Article/addArticlePart1', this.form).then((res) => { if (res.code == 0) { this.stagingID = res.data.article_id; @@ -2851,12 +2865,11 @@ export default { console.log(res, '已经保存的值'); }); }, - changeUseAi(e){ - console.log('e at line 2837:', e) - if(e==2){ - this.form.use_ai_explain = '' - } - + changeUseAi(e) { + console.log('e at line 2837:', e); + if (e == 2) { + this.form.use_ai_explain = ''; + } }, // 读取 Temporary() { @@ -3030,6 +3043,27 @@ export default { .formTopics { width: 100%; } +::v-deep .step_list_new .el-step__icon.is-text { + border-radius: 0 !important; + border: none !important; +} +::v-deep .step_list_new .el-step__icon { + background: transparent !important; +} +::v-deep .step_list_new .el-step__head.is-process { + color: #006699 !important; + border-color: #006699 !important; +} +::v-deep .step_list_new .el-step__title.is-process { + color: #006699 !important; + font-weight: bold !important; + +} +::v-deep .step_list_new .el-step.is-center .el-step__line { + left: 58% !important; + right: -43% !important; + +}