yujialong 9 months ago
parent 2b110d631e
commit d6d27a76b7
  1. 12
      src/pages/column/index.vue
  2. 4
      src/pages/publication/monograph.vue
  3. 4
      src/pages/publication/patent.vue
  4. 4
      src/pages/publication/thesis.vue

@ -831,16 +831,18 @@ export default {
getArticle (columnIds) {
const labelName = [];
//
this.labels.map((e) => {
if (this.lableId.includes(e.id)) labelName.push(e.labelName);
});
// this.labels.map((e) => {
// if (this.lableId.includes(e.id)) labelName.push(encodeURI(e.labelName));
// });
const form = JSON.parse(JSON.stringify(this.form))
form.title = encodeURI(form.title)
this.$post(this.api.newlyPublishedArticles, Util.rsa({
siteId: this.site,
columnIds,
pageNum: this.page,
pageSize: this.pageSize,
labelName,
...this.form
labelName: this.lableId,
...form
}))
.then(({ data }) => {
const articles = Util.removeTag(data.records);

@ -90,12 +90,14 @@ export default {
methods: {
//
getArticle () {
const form = JSON.parse(JSON.stringify(this.form))
form.monographQueryKeyWord = encodeURI(form.monographQueryKeyWord)
this.id && this.$post(this.api.newlyPublishedArticles, Util.rsa({
siteId: this.$route.query.siteId || this.$store.state.content.site,
columnIds: this.id,
pageNum: this.page,
pageSize: this.pageSize,
...this.form
...form
}))
.then(({ data }) => {
this.list = Util.removeTag(data.records);

@ -114,12 +114,14 @@ export default {
methods: {
//
getArticle () {
const form = JSON.parse(JSON.stringify(this.form))
form.patentQueryKeyWord = encodeURI(form.patentQueryKeyWord)
this.id && this.$post(this.api.newlyPublishedArticles, Util.rsa({
siteId: this.$route.query.siteId || this.$store.state.content.site,
columnIds: this.id,
pageNum: this.page,
pageSize: this.pageSize,
...this.form
...form
}))
.then(({ data }) => {
this.list = Util.removeTag(data.records);

@ -68,12 +68,14 @@ export default {
methods: {
//
getArticle () {
const form = JSON.parse(JSON.stringify(this.form))
form.paperQueryKeyWord = encodeURI(form.paperQueryKeyWord)
this.id && this.$post(this.api.newlyPublishedArticles, Util.rsa({
siteId: this.$route.query.siteId || this.$store.state.content.site,
columnIds: this.id,
pageNum: this.page,
pageSize: this.pageSize,
...this.form
...form
}))
.then(({ data }) => {
this.articles = Util.removeTag(data.records);

Loading…
Cancel
Save