数据配置表展示

dev_2022-03-03
Jo 3 years ago
parent e8d7a23c0e
commit c940939b1a
  1. 4
      src/views/data/Product.vue

@ -198,6 +198,7 @@ export default {
configVisible: false,
configLoading: false,
categoryId: '',
categoryOriginId: '',
configIds: [],
updateTime: '',
keywordConfig: '',
@ -538,6 +539,7 @@ export default {
},
typeConfigClick(data){
this.categoryId = data.id
this.categoryOriginId = data.originId
this.getConfigTable()
},
closeConfig(){
@ -565,7 +567,7 @@ export default {
},
//
getConfigTable(){
this.$post(`${this.api.getIdQueryTable}?categoryId=${this.categoryId}&showName=${this.keywordConfig}&pageNum=${this.pageConfig}&pageSize=${this.pageSizeConfig}&updateTime=${this.updateTime ? this.updateTime : ''}`).then(res => {
this.$post(`${this.api.getIdQueryTable}?categoryId=${this.categoryOriginId}&showName=${this.keywordConfig}&pageNum=${this.pageConfig}&pageSize=${this.pageSizeConfig}&updateTime=${this.updateTime ? this.updateTime : ''}`).then(res => {
let list = res.pageList.records
list.map(n => {
//

Loading…
Cancel
Save