1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- /**
- * 在线反馈
- */
- Ext.define('saas.view.cuservice.Feedback', {
- extend: 'saas.view.core.base.BasePanel',
- xtype: 'cuservice-feedback',
- initComponent: function () {
- Ext.apply(this, {
- searchField: [{
- xtype: "textfield",
- name: "cf_name",
- width: 300,
- emptyText: '反馈人/反馈内容',
- getCondition: function (v) {
- return "(upper(CONCAT(cf_name, '#', cf_content) like '%" + v.toUpperCase() + "%' ))";
- },
- }, {
- xtype: 'condatefield',
- name: 'cf_creatime',
- columnWidth: 0.4
- }],
- gridConfig: {
- dataUrl: '/api/operation/customerFeedBack/list',
- // dataUrl: 'http://10.1.80.35:9040/customerFeedBack/list',
- columns: [{
- text: 'id',
- dataIndex: 'cf_id',
- hidden: true
- }, {
- text: '反馈人',
- dataIndex: 'cf_name',
- width: 120
- }, {
- text: '反馈时间',
- dataIndex: 'cf_creatime',
- width: 180,
- renderer: function(v, m, r) {
- return Ext.Date.format(new Date(v), 'Y-m-d H:i:s');
- }
- }, {
- text: '反馈内容',
- width: 250,
- dataIndex: 'cf_content'
- }, {
- text: '状态',
- dataIndex: 'cf_status',
- width: 80
- }, {
- text: '企业id',
- dataIndex: 'cf_companyid',
- hidden: true
- }, {
- text: '企业名',
- dataIndex: 'cf_company',
- width: 120
- }, {
- text: '联系电话',
- dataIndex: 'cf_mobile',
- width: 120
- }, {
- text: 'QQ',
- dataIndex: 'cf_qq',
- width: 120
- }, {
- text: '微信',
- dataIndex: 'cf_wechat',
- width: 120
- }, {
- text: '备注',
- dataIndex: 'cf_remark',
- width: 250
- }]
- },
- });
- this.callParent(arguments);
- }
- });
|