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) { getArticle (columnIds) {
const labelName = []; const labelName = [];
// //
this.labels.map((e) => { // this.labels.map((e) => {
if (this.lableId.includes(e.id)) labelName.push(e.labelName); // 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({ this.$post(this.api.newlyPublishedArticles, Util.rsa({
siteId: this.site, siteId: this.site,
columnIds, columnIds,
pageNum: this.page, pageNum: this.page,
pageSize: this.pageSize, pageSize: this.pageSize,
labelName, labelName: this.lableId,
...this.form ...form
})) }))
.then(({ data }) => { .then(({ data }) => {
const articles = Util.removeTag(data.records); const articles = Util.removeTag(data.records);

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

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

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

Loading…
Cancel
Save