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
a39b111c
Commit
a39b111c
authored
Sep 11, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表 编辑日志 商铺查看日志
parent
2c9616a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
houseList.js
public/resource/js/houseList.js
+8
-8
No files found.
public/resource/js/houseList.js
View file @
a39b111c
...
...
@@ -825,16 +825,16 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
caozuo_table
=
""
;
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/
getRecords
'
,
//获取操作记录
'url'
:
'/index/
lookShopIndex
'
,
//获取操作记录
data
:
{
"house
s
_id"
:
business
.
house_id
"house_id"
:
business
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td> <td>'
+
item
.
name
+
'</td> <td>'
+
item
.
create_ti
me
+
'</td></tr>'
if
(
data
.
data
.
list
)
{
$
.
each
(
data
.
data
.
list
,
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
look_time
+
'</td> <td>'
+
item
.
house_id
+
'</td> <td>'
+
item
.
agent_na
me
+
'</td></tr>'
});
if
(
caozuo_table
){
$
(
"#caozuo_table_log"
).
html
(
caozuo_table
);
...
...
@@ -853,16 +853,16 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var
caozuo_table
=
""
;
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/get
Records
'
,
//获取操作记录
'url'
:
'/index/get
EditLog
'
,
//获取操作记录
data
:
{
"house
s
_id"
:
business
.
house_id
"house_id"
:
business
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td> <td>'
+
item
.
name
+
'</td> <td>'
+
item
.
create_time
+
'</td></tr>'
caozuo_table
+=
'<tr><td>'
+
item
.
create_time
+
'</td> <td>'
+
item
.
name
+
'</td> <td>'
+
item
.
remark
+
'</td></tr>'
});
if
(
caozuo_table
){
$
(
"#caozuo_table_edit"
).
html
(
caozuo_table
);
...
...
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