|
@ -73,7 +73,7 @@ |
|
|
@click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
@click="deleteHandle(scope.row.id)">{{ $t('delete') }}</el-button> |
|
|
<el-button type="text" |
|
|
<el-button type="text" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="showCustomerMenu(scope.row.id)">{{ '客户配置' }}</el-button> |
|
|
@click="showCustomerMenu(scope.row)">{{ '客户配置' }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
@ -84,6 +84,7 @@ |
|
|
@refreshDataList="getDataList"></add-or-update> |
|
|
@refreshDataList="getDataList"></add-or-update> |
|
|
<!-- 客户菜单配置 --> |
|
|
<!-- 客户菜单配置 --> |
|
|
<customer-add-or-update ref="customerForm" |
|
|
<customer-add-or-update ref="customerForm" |
|
|
|
|
|
:menuName="selMenuName" |
|
|
@refreshDataList="getDataList"></customer-add-or-update> |
|
|
@refreshDataList="getDataList"></customer-add-or-update> |
|
|
</div> |
|
|
</div> |
|
|
</el-card> |
|
|
</el-card> |
|
@ -103,7 +104,8 @@ export default { |
|
|
deleteURL: '/gov/access/menu' |
|
|
deleteURL: '/gov/access/menu' |
|
|
}, |
|
|
}, |
|
|
customerFormVisible: false, |
|
|
customerFormVisible: false, |
|
|
dataForm: {"tableName":'data_menu'} |
|
|
dataForm: { "tableName": 'data_menu' }, |
|
|
|
|
|
selMenuName: '' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
@ -117,8 +119,9 @@ export default { |
|
|
...mapGetters(['clientHeight', 'resolution']), |
|
|
...mapGetters(['clientHeight', 'resolution']), |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
showCustomerMenu (tableId) { |
|
|
showCustomerMenu (row) { |
|
|
this.$refs['customerForm'].init(tableId) |
|
|
this.selMenuName = row.name |
|
|
|
|
|
this.$refs['customerForm'].init(row.tableId) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|