修复己方公司不能删除

master
chenzhi 4 years ago
parent ffee256f93
commit 31ef129b2d

@ -919,7 +919,6 @@ class ToolController extends ThinkController {
$this->error('参数异常');
}
}
$res = M('company_info', 'tab_')->delete($id);
if ($res === false) {
$this->error('删除失败');

@ -39,7 +39,7 @@
<div class="fl button_list">
<div class="tools">
<a class="" href="{:U('company_add')}"><span class="button_icon button_icon1"></span>新增</a>
<a class="ajax-post confirm " target-form="ids" url="{:U('del')}"><span class="button_icon button_icon2"></span>删除</a>
<a class="ajax-post confirm " target-form="ids" url="{:U('company_del')}"><span class="button_icon button_icon2"></span>删除</a>
</div>
</div>
<!-- <div class="jssearch fl cf search_list" >-->

Loading…
Cancel
Save