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