This commit is contained in:
2025-11-03 13:21:36 +08:00
parent b66b390f2c
commit 0a0e484349
2 changed files with 20 additions and 13 deletions

View File

@@ -853,6 +853,8 @@
<!-- 个人信息弹出框 -->
<el-dialog title="Change Essential Information" :visible.sync="coreVisible" width="780px" :close-on-click-modal="false">
<!-- <p style="font-size: 15px; line-height: 24px; word-wrap: break-word; word-break: normal" v-if="tipVisible&&tipTable&&tipTable.message">{{ tipTable.message }}</p> -->
<el-form :model="coreForm" :rules="rules" ref="core_Form" label-width="140px">
<el-form-item label="Account :" prop="account">
<span>{{ coreForm.account }}</span>
@@ -860,19 +862,13 @@
<el-form-item label="Email :">
<span>{{ coreForm.email }}</span>
</el-form-item>
<!-- <el-form-item label="Change Password :">
<el-button type="success" @click="psw_word" plain>Change Password</el-button>
</el-form-item> -->
<el-form-item label="Real name :" prop="realname">
<el-input type="text" placeholder="Please enter..." v-model="coreForm.realname" style="width: 320px"></el-input>
</el-form-item>
<!-- <el-form-item label="Localname :" prop="localname">
<el-input type="text" placeholder="Please enter..." v-model="coreForm.localname"
style="width: 320px;"></el-input>
</el-form-item> -->
<el-form-item label="Phone :">
<!-- <el-input type="text" placeholder="Please enter..." v-model="coreForm.reviewer_id" style="width: 80px;margin-right: 10px;"></el-input> -->
<el-input type="text" placeholder="Please enter..." v-model="coreForm.phone" style="width: 320px"> </el-input>
<el-input type="text" placeholder="Please enter..." v-model="coreForm.phone" style="width: 320px"> </el-input>
</el-form-item>
<!-- <el-form-item label="Gender :" prop="gender">
<el-radio-group v-model="coreTable.gender">

View File

@@ -2647,9 +2647,17 @@ export default {
if (res.article && res.article.article_id) {
this.stagingID = res.article.article_id;
this.form.article_id = res.article.article_id;
this.form.title = res.article.title;
this.form.abstrart = res.article.abstrart;
this.form.fund = res.article.fund;
if(!this.form.title){
this.form.title = res.article.title;
}
if(!this.form.abstrart){
this.form.abstrart = res.article.abstrart;
}
if(!this.form.fund){
this.form.fund = res.article.fund;
}
if(this.keywordsList.length==1&&this.keywordsList[0].ke==``){
let keyList = res.article.keywords.split(',');
this.keywordsList = [];
for (let i = 0; i < keyList.length; i++) {
@@ -2657,6 +2665,8 @@ export default {
ke: keyList[i]
});
}
}
this.$forceUpdate();
const url = new URL(window.location.href);
url.searchParams.set('id', res.article.article_id); // 替换或新增 id 参数
@@ -3352,7 +3362,7 @@ export default {
this.stagingID = res.data.article_id;
this.form.article_id = res.data.article_id;
const url = new URL(window.location.href);
url.searchParams.set('id', res.article.article_id); // 替换或新增 id 参数
url.searchParams.set('id', res.data.article_id); // 替换或新增 id 参数
window.history.replaceState({}, document.title, url.toString());
setTimeout(() => {
this.getMajorData();
@@ -3562,6 +3572,7 @@ export default {
this.form.approval_file = res.data.base.approval_file;
this.form.approval_content = res.data.base.approval_content;
this.form.abstrart = res.data.base.abstrart;
this.form.istransfer = res.data.base.is_transfer==1?true:false;
this.form.fund = res.data.base.fund;
this.form.is_use_ai = res.data.base.is_use_ai == 1 || res.data.base.is_use_ai == 2 ? res.data.base.is_use_ai : '';
this.agreechecked = res.data.base.is_agree == 1 ? true : false;