@@ -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;
+
+}