fzq #31

Closed
fanzhiqin wants to merge 215 commits from fzq into test
Showing only changes of commit 246baa1768 - Show all commits

View File

@ -127,18 +127,11 @@ export default {
} }
}, },
methods: { methods: {
/** filter tableConfigs */
filterTableConfigs() { filterTableConfigs() {
// return this.tableConfigs.map(item => { if (this.isDetail) {
// const {prop, name, filter} = item /** 如果是查看详情,就屏蔽操作列 */
// const newConfigs = {prop,name,filter} return this.tableConfigs.filter(opt => opt.prop !== 'operations')
// if (item.type) newConfigs.type = item.type }
// if (item.fixed) newConfigs.fixed = item.fixed
// if (item.width) newConfigs.width = item.width
// if (item.subcomponent) newConfigs.subcomponent = item.subcomponent
// if (item.options) newConfigs.options = item.options
// return newConfigs
// })
return this.tableConfigs return this.tableConfigs
}, },
/** init dataform */ /** init dataform */