|
...
|
...
|
@@ -23,7 +23,6 @@ |
|
|
|
,{field:'sub_openid', title: '运营公众号ID', width:280,fixed: true}
|
|
|
|
,{field:'openid', title: '一键订商户ID', width:270}
|
|
|
|
,{field:'account', title: '运营账号', width:120}
|
|
|
|
,{field:'asname', title: '运营名称', width:120}
|
|
|
|
,{field:'cdate', title: '加入时间',width:180}
|
|
|
|
,{width:160,title: '操作', align:'center', toolbar: '#barDemo'}
|
|
|
|
]]
|
|
...
|
...
|
@@ -32,8 +31,8 @@ |
|
|
|
table.on('tool(list)', function(obj){
|
|
|
|
var data = obj.data;
|
|
|
|
if(obj.event === 'del'){
|
|
|
|
layer.confirm('{:lang("Are you sure you want to delete it")}', function(index){
|
|
|
|
$.post("{:url('operateDel')}",{id:data.id},function(res){
|
|
|
|
layer.confirm('{:lang("确认禁用?")}', function(index){
|
|
|
|
$.post("{:url('setAgentOperate')}",{id:data.id},function(res){
|
|
|
|
if(res.code==1){
|
|
|
|
layer.msg(res.msg,{time:1000,icon:1});
|
|
|
|
obj.del();
|
...
|
...
|
|