Commit b9541455 authored by jiangqihao's avatar jiangqihao

查询

parent 9d569344
...@@ -13,17 +13,17 @@ const tableConfig = { ...@@ -13,17 +13,17 @@ const tableConfig = {
label: '公司名称', label: '公司名称',
showInSearch: true, showInSearch: true,
type: 'input', type: 'input',
fixed: 'left', // fixed: 'left',
renderItem: (h, scope, listeners) => { // renderItem: (h, scope, listeners) => {
return h('el-button', { // return h('el-button', {
on: { // on: {
click: (e) => listeners.handleDetails(scope.row) // click: (e) => listeners.handleDetails(scope.row)
}, // },
props: { // props: {
type: 'text' // type: 'text'
} // }
}, scope.row.ID) // }, scope.row.ID)
} // }
}, },
// ExtProductGroup_SDK: { // ExtProductGroup_SDK: {
// label: '签约产品组', // label: '签约产品组',
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
ref="eleTable" ref="eleTable"
v-bind="tableConfig" v-bind="tableConfig"
:listeners="tableListeners" :listeners="tableListeners"
:expand-params="expandParams"
:initialParams="initialParams"
/> />
</div> </div>
</div> </div>
...@@ -26,8 +27,10 @@ export default { ...@@ -26,8 +27,10 @@ export default {
inject: ['reload'], inject: ['reload'],
data() { data() {
return { return {
expandParams: {}, // 筛选条件
tableListeners: {}, // 事件监听对象,供ele-table内部调用 tableListeners: {}, // 事件监听对象,供ele-table内部调用
tableConfig: constant tableConfig: constant,
initialParams: {}
} }
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment