selectHCbumen.js 536 B

1234567891011121314151617181920212223
  1. // 查询类型
  2. define(function (require) {
  3. return function (context) {
  4. return {
  5. xtype: 'widget',
  6. title: '部门搜索',
  7. width: 550,
  8. height: 600,
  9. grid: {
  10. url: api('/qrImg/getHCBumen'),
  11. mtype: 'post',
  12. pagination: false,
  13. autoSizeColumns: true,
  14. queryParams: {query: context.query},
  15. idField: 'unitId',
  16. columns: [[
  17. {title: 'ID', field: 'unitId', hidden: true},
  18. {title: '部门', field: 'unit'},
  19. ]]
  20. }
  21. };
  22. };
  23. });