Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
7cc7c0c3
Commit
7cc7c0c3
authored
Jun 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
楼盘列表权限
parent
0fbf0d8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
OfficeRoom.php
application/index/controller/OfficeRoom.php
+3
-0
officeEdit.html
application/index/view/office_room/officeEdit.html
+0
-0
route.php
application/route.php
+5
-2
office_building_list_template_tpl.html
.../resource/template/office_building_list_template_tpl.html
+2
-2
No files found.
application/index/controller/OfficeRoom.php
View file @
7cc7c0c3
...
...
@@ -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'
)
{
...
...
application/index/view/office_room/officeEdit.html
0 → 100644
View file @
7cc7c0c3
This diff is collapsed.
Click to expand it.
application/route.php
View file @
7cc7c0c3
...
...
@@ -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'
,
[
...
...
public/resource/template/office_building_list_template_tpl.html
View file @
7cc7c0c3
...
...
@@ -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/offic
eEdit?id=[%= it[item]['id']%]"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/
office_index/hous
eEdit?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/offic
eEdit?id=[%= it[item]['id']%]"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"/admin.php/
office_index/hous
eEdit?id=[%= it[item]['id']%]"
>
编辑
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment