Commit 7cc7c0c3 authored by hujun's avatar hujun

楼盘列表权限

parent 0fbf0d8a
......@@ -34,6 +34,9 @@ class OfficeRoom extends Basic
*/
public function edit()
{
if (!$this->request->isAjax()) {
return view('office_room/officeEdit');
}
if ($this->request->isPost()) {
$data = $this->service->edit($this->params, $this->userId, $this->siteId);
if ($data['status'] == 'successful') {
......
This diff is collapsed.
......@@ -365,7 +365,7 @@ Route::group('index', [
'dayAchievementsReport' => ['index/PerformanceReport/dayAchievementsReportList', ['method' => 'POST|GET']],//日报liu
'weekAchievementsReport' => ['index/PerformanceReport/weekAchievementsReportList', ['method' => 'POST|GET']],//周报liu
'officeBuildingList' => ['index/OfficeBuilding/officeBuildingList', ['method' => 'POST|GET']],//办公楼liu
'officeEdit' => ['index/OfficeBuilding/officeEdit', ['method' => 'POST|GET']],//办公楼新增编辑liu
// 'officeEdit' => ['index/OfficeBuilding/officeEdit', ['method' => 'POST|GET']],//办公楼新增编辑liu
'buildingDictionary' => ['index/OfficeBuilding/buildingDictionary', ['method' => 'POST|GET']],//楼盘字典liu
......@@ -1042,8 +1042,11 @@ Route::group('office_index', [
'del' => ['index/OfficeRoom/del', ['method' => 'POST']], //设置无效房源
'isShow' => ['index/OfficeRoom/isShow', ['method' => 'POST']],//是否对C端显示
'followUpList' => ['index/OfficeRemark/followUpList', ['method' => 'POST|GET']],
'addReceiptImg' => ['index/Finance/addReceiptOfficeImg', ['method' => 'post|get']],//收款图片信息保存
'addReceiptImg' => ['index/officePayLog/addReceiptOfficeImg', ['method' => 'post|get']],//收款图片信息保存
'getPayLogImg' => ['index/DailyPaper/getPayLogOfficeImg', ['method' => 'get|post']],
'receiptImgList' => ['index/officePayLog/receiptOfficeImgList', ['method' => 'post|get']],//收款列表-收款图片列表
'getCollectionEdit' => ['index/officePayLog/getCollectionEdit', ['method' => 'post']],//收款修改保存
]);
Route::group('office_api', [
......
......@@ -81,11 +81,11 @@
[% if(it[item]["is_vip"] == 1) { %]
[% if (check_auth('index/vipHouse') || it[item]['auth_edit_house']) { %]
<a class="btn1 btn-success" href="/admin.php/index/officeEdit?id=[%= it[item]['id']%]" >编辑</a>
<a class="btn1 btn-success" href="/admin.php/office_index/houseEdit?id=[%= it[item]['id']%]" >编辑</a>
[% } %]
[% }else{ %]
[% if(it[item]['auth_edit_house'] || check_auth('index/houseEdit')) { %]
<a class="btn1 btn-success" href="/admin.php/index/officeEdit?id=[%= it[item]['id']%]" >编辑</a>
<a class="btn1 btn-success" href="/admin.php/office_index/houseEdit?id=[%= it[item]['id']%]" >编辑</a>
[% } %]
[% } %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment