dev_202304
yujialong 2 years ago
parent 9b0c0a0f4f
commit 8af136c343
  1. 4
      src/views/parnerOperation/learnMg.vue
  2. 4
      src/views/parnerOperation/schemeSet.vue

@ -333,12 +333,12 @@ export default {
// //
getArticle() { getArticle() {
const { id } = this.form const { id } = this.form
id && this.$post(`${this.api.findByIdParnerArticle}?id=${id}`).then(({ data }) => { id ? this.$post(`${this.api.findByIdParnerArticle}?id=${id}`).then(({ data }) => {
data.lableId = data.lableId ? data.lableId.split(',').map(e => +e) : [] data.lableId = data.lableId ? data.lableId.split(',').map(e => +e) : []
data.fileList.forEach(e => e.name = e.fileName) data.fileList.forEach(e => e.name = e.fileName)
this.form = data this.form = data
this.getClassification(1) this.getClassification(1)
}).catch(err => {}) }).catch(err => {}) : this.getClassification(1)
}, },
// //
getClassification(detail) { getClassification(detail) {

@ -217,11 +217,11 @@ export default {
// //
getArticle() { getArticle() {
const { id } = this.form const { id } = this.form
id && this.$post(`${this.api.findByIdScheme}?id=${id}`).then(({ data }) => { id ? this.$post(`${this.api.findByIdScheme}?id=${id}`).then(({ data }) => {
if (data.schemeFile) this.fileList = [{name: data.fileName, url: data.schemeFile}] if (data.schemeFile) this.fileList = [{name: data.fileName, url: data.schemeFile}]
this.form = data this.form = data
this.getClassification(1) this.getClassification(1)
}).catch(err => {}) }).catch(err => {}) : this.getClassification(1)
}, },
// //
getClassification(detail) { getClassification(detail) {

Loading…
Cancel
Save