数据配置表展示

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, configVisible: false,
configLoading: false, configLoading: false,
categoryId: '', categoryId: '',
categoryOriginId: '',
configIds: [], configIds: [],
updateTime: '', updateTime: '',
keywordConfig: '', keywordConfig: '',
@ -538,6 +539,7 @@ export default {
}, },
typeConfigClick(data){ typeConfigClick(data){
this.categoryId = data.id this.categoryId = data.id
this.categoryOriginId = data.originId
this.getConfigTable() this.getConfigTable()
}, },
closeConfig(){ closeConfig(){
@ -565,7 +567,7 @@ export default {
}, },
// //
getConfigTable(){ 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 let list = res.pageList.records
list.map(n => { list.map(n => {
// //

Loading…
Cancel
Save