|
@@ -12,14 +12,14 @@ Ext.define('saas.view.sys.maxnumbers.DataList', {
|
|
|
//工具类
|
|
//工具类
|
|
|
FormUtil: Ext.create('saas.util.FormUtil'),
|
|
FormUtil: Ext.create('saas.util.FormUtil'),
|
|
|
BaseUtil: Ext.create('saas.util.BaseUtil'),
|
|
BaseUtil: Ext.create('saas.util.BaseUtil'),
|
|
|
- dataUrl:'http://192.168.253.31:8920/number/list',
|
|
|
|
|
- deleteUrl:'http://192.168.253.31:8920/number/delete/',
|
|
|
|
|
|
|
+ dataUrl:'/api/commons/number/list',
|
|
|
|
|
+ deleteUrl:'/api/commons/number/delete/',
|
|
|
|
|
|
|
|
tbar: [{
|
|
tbar: [{
|
|
|
width: 150,
|
|
width: 150,
|
|
|
name: 'mn_caller',
|
|
name: 'mn_caller',
|
|
|
xtype: 'textfield',
|
|
xtype: 'textfield',
|
|
|
- emptyText : '单据Caller'
|
|
|
|
|
|
|
+ emptyText : '单据名称'
|
|
|
},{
|
|
},{
|
|
|
width: 150,
|
|
width: 150,
|
|
|
name: 'mn_leadcode',
|
|
name: 'mn_leadcode',
|
|
@@ -79,7 +79,7 @@ Ext.define('saas.view.sys.maxnumbers.DataList', {
|
|
|
dataIndex : "id",
|
|
dataIndex : "id",
|
|
|
xtype : "numbercolumn",
|
|
xtype : "numbercolumn",
|
|
|
},{
|
|
},{
|
|
|
- text : "单据caller",
|
|
|
|
|
|
|
+ text : "单据名称",
|
|
|
width : 200.0,
|
|
width : 200.0,
|
|
|
dataIndex : "mn_caller",
|
|
dataIndex : "mn_caller",
|
|
|
xtype : "",
|
|
xtype : "",
|
|
@@ -231,18 +231,13 @@ Ext.define('saas.view.sys.maxnumbers.DataList', {
|
|
|
if(columns.length>0 && columns[0].xtype!='actioncolumn'){
|
|
if(columns.length>0 && columns[0].xtype!='actioncolumn'){
|
|
|
return Ext.Array.insert(columns,0,[{
|
|
return Ext.Array.insert(columns,0,[{
|
|
|
xtype:'actioncolumn',
|
|
xtype:'actioncolumn',
|
|
|
- width:70,
|
|
|
|
|
|
|
+ width:50,
|
|
|
dataIndex:'actioncolumn',
|
|
dataIndex:'actioncolumn',
|
|
|
text:'操作',
|
|
text:'操作',
|
|
|
items: [{
|
|
items: [{
|
|
|
tooltip: '编辑',
|
|
tooltip: '编辑',
|
|
|
iconCls: 'x-fa fa-pencil fa-fw',
|
|
iconCls: 'x-fa fa-pencil fa-fw',
|
|
|
scope:this
|
|
scope:this
|
|
|
- },{
|
|
|
|
|
- text:'删除',
|
|
|
|
|
- iconCls:'x-fa fa-trash-o fa-fw',
|
|
|
|
|
- tooltip: '删除',
|
|
|
|
|
- scope:this
|
|
|
|
|
}]
|
|
}]
|
|
|
}]);
|
|
}]);
|
|
|
}
|
|
}
|