增加超管导入基础管理信息
This commit is contained in:
@@ -31,7 +31,25 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||
{field: 'address', title: __('Address'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
||||
{field: 'aicustomerservice_ids', title: __('Aicustomerservice_ids'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
||||
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
||||
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
||||
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate,
|
||||
buttons: [
|
||||
{
|
||||
name: 'importBasic',
|
||||
text: '导入基础管理',
|
||||
title: '导入基础管理',
|
||||
confirm:'确定导入【基础管理】中的【大类,客户来源,职务】吗?',
|
||||
classname: 'btn btn-xs btn-primary btn-ajax',
|
||||
icon: 'fa fa-list',
|
||||
url: 'firm/importBasic',
|
||||
success: function (row) {
|
||||
if (row.code == 200) {
|
||||
Layer.msg("导入成功");
|
||||
} else {
|
||||
Layer.msg(row.msg);
|
||||
}
|
||||
}
|
||||
},
|
||||
]}
|
||||
]
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user