20210226
This commit is contained in:
@@ -7,8 +7,8 @@ import qs from 'qs'
|
|||||||
// axios全局配置
|
// axios全局配置
|
||||||
axios.defaults.timeout = 10000 // 超时时间
|
axios.defaults.timeout = 10000 // 超时时间
|
||||||
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' // 配置请求头
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' // 配置请求头
|
||||||
axios.defaults.baseURL = 'http://www.tougao.com/'
|
// axios.defaults.baseURL = 'http://www.tougao.com/'
|
||||||
// axios.defaults.baseURL = '/'
|
axios.defaults.baseURL = '/'
|
||||||
|
|
||||||
// 添加响应拦截器,统一处理服务器响应和异常
|
// 添加响应拦截器,统一处理服务器响应和异常
|
||||||
axios.interceptors.response.use(
|
axios.interceptors.response.use(
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script>
|
<script>
|
||||||
// const baseUrl = '/';
|
const baseUrl = '/';
|
||||||
// const mediaUrl = 'http://api.tmrjournals.com/public/';
|
const mediaUrl = 'http://api.tmrjournals.com/public/';
|
||||||
const mediaUrl = 'http://www.tougao.com/';
|
// const mediaUrl = 'http://www.tougao.com/';
|
||||||
const baseUrl = 'http://www.tougao.com/';
|
// const baseUrl = 'http://www.tougao.com/';
|
||||||
export default {
|
export default {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
mediaUrl
|
mediaUrl
|
||||||
|
|||||||
@@ -389,6 +389,10 @@ export default {
|
|||||||
this.$message.error('Address is necessary for corresponding author');
|
this.$message.error('Address is necessary for corresponding author');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if(authorlist[kk].country==''){
|
||||||
|
this.$message.error('Country is necessary for author!');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (authorlist[kk].isReport) {
|
if (authorlist[kk].isReport) {
|
||||||
Corra++;
|
Corra++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,10 @@
|
|||||||
<span>{{suggest}}</span>
|
<span>{{suggest}}</span>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="Journal">
|
<el-form-item label="Journal">
|
||||||
<span>{{ form.journalname }}</span>
|
<span>{{ journal_me }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.special_num > 0 " label="Special Issues">
|
||||||
|
<span>{{ form.special_title }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Title">
|
<el-form-item label="Title">
|
||||||
<span>{{ form.title }}</span>
|
<span>{{ form.title }}</span>
|
||||||
@@ -467,6 +470,13 @@ export default {
|
|||||||
upload_manuscirpt: function () {
|
upload_manuscirpt: function () {
|
||||||
return this.baseUrl + 'api/Article/up_file/type/manuscirpt';
|
return this.baseUrl + 'api/Article/up_file/type/manuscirpt';
|
||||||
},
|
},
|
||||||
|
journal_me:function(){
|
||||||
|
var frag = this.form.journalname;
|
||||||
|
if(this.form.special_num>0){
|
||||||
|
frag += "(Special Issues)";
|
||||||
|
}
|
||||||
|
return frag;
|
||||||
|
},
|
||||||
articleState: function () {
|
articleState: function () {
|
||||||
let str = '';
|
let str = '';
|
||||||
switch (this.form.state) {
|
switch (this.form.state) {
|
||||||
@@ -573,7 +583,6 @@ export default {
|
|||||||
this.$api
|
this.$api
|
||||||
.post('api/Article/getArticleDetail', { articleId: this.form.articleId, human: 'author' })
|
.post('api/Article/getArticleDetail', { articleId: this.form.articleId, human: 'author' })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res);
|
|
||||||
this.form.title = res.article.title;
|
this.form.title = res.article.title;
|
||||||
this.form.journal = res.article.journal_id;
|
this.form.journal = res.article.journal_id;
|
||||||
this.form.journalname = res.article.journalname;
|
this.form.journalname = res.article.journalname;
|
||||||
@@ -582,6 +591,8 @@ export default {
|
|||||||
this.form.keyWords = res.article.keywords;
|
this.form.keyWords = res.article.keywords;
|
||||||
this.form.fund = res.article.fund;
|
this.form.fund = res.article.fund;
|
||||||
this.form.state = res.article.state;
|
this.form.state = res.article.state;
|
||||||
|
this.form.special_num = res.article.special_num;
|
||||||
|
this.form.special_title = res.article.special_title;
|
||||||
this.form.major = res.major.major == null ? '' : res.major.major.title;
|
this.form.major = res.major.major == null ? '' : res.major.major.title;
|
||||||
this.form.cmajor = res.major.cmajor == null ? '' : res.major.cmajor.title;
|
this.form.cmajor = res.major.cmajor == null ? '' : res.major.cmajor.title;
|
||||||
this.form.type = res.article.type;
|
this.form.type = res.article.type;
|
||||||
|
|||||||
@@ -43,7 +43,10 @@
|
|||||||
<span>{{form.accept_sn}}</span>
|
<span>{{form.accept_sn}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Journal">
|
<el-form-item label="Journal">
|
||||||
<span>{{form.journalname}}</span>
|
<span>{{journal_me}}</span>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.special_num > 0 " label="Special Issues">
|
||||||
|
<span>{{ form.special_title }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Title">
|
<el-form-item label="Title">
|
||||||
<span>{{form.title}}</span>
|
<span>{{form.title}}</span>
|
||||||
@@ -633,6 +636,13 @@ export default {
|
|||||||
upload_zip:function(){
|
upload_zip:function(){
|
||||||
return this.baseUrl + 'api/Article/up_file/type/repezip';
|
return this.baseUrl + 'api/Article/up_file/type/repezip';
|
||||||
},
|
},
|
||||||
|
journal_me:function(){
|
||||||
|
var frag = this.form.journalname;
|
||||||
|
if(this.form.special_num>0){
|
||||||
|
frag += "(Special Issues)";
|
||||||
|
}
|
||||||
|
return frag;
|
||||||
|
},
|
||||||
articleState: function() {
|
articleState: function() {
|
||||||
let str = '';
|
let str = '';
|
||||||
switch (this.form.state) {
|
switch (this.form.state) {
|
||||||
@@ -756,6 +766,8 @@ export default {
|
|||||||
this.form.keyWords = res.article.keywords;
|
this.form.keyWords = res.article.keywords;
|
||||||
this.form.fund = res.article.fund;
|
this.form.fund = res.article.fund;
|
||||||
this.form.type = res.article.type;
|
this.form.type = res.article.type;
|
||||||
|
this.form.special_num = res.article.special_num;
|
||||||
|
this.form.special_title = res.article.special_title;
|
||||||
this.form.major = res.major.major==null?'':res.major.major.title;
|
this.form.major = res.major.major==null?'':res.major.major.title;
|
||||||
this.form.cmajor = res.major.cmajor==null?'':res.major.cmajor.title;
|
this.form.cmajor = res.major.cmajor==null?'':res.major.cmajor.title;
|
||||||
this.form.approval = res.article.approval==1?true:false;
|
this.form.approval = res.article.approval==1?true:false;
|
||||||
|
|||||||
Reference in New Issue
Block a user