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
5b0f2b94
Commit
5b0f2b94
authored
Jan 30, 2018
by
刘丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作记录
parent
a44f9134
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
houseList.html
application/index/view/houses/houseList.html
+3
-7
houseList.js
public/resource/js/houseList.js
+25
-1
house_template_tpl.html
public/resource/template/house_template_tpl.html
+1
-1
No files found.
application/index/view/houses/houseList.html
View file @
5b0f2b94
...
...
@@ -209,13 +209,9 @@
<th
class=
"text-center"
>
操作时间
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
""
>
<tr>
<td>
212
</td>
<td>
商场
</td>
<td>
长兴
</td>
</tr>
</table>
<tbody
class=
"text-center"
id=
"caozuo_table"
>
</table>
</div>
</div>
<!-- /.modal-content -->
...
...
public/resource/js/houseList.js
View file @
5b0f2b94
...
...
@@ -49,6 +49,10 @@ define (['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css','ckfin
business
.
type
=
"3"
;
business
.
Dujia
();
});
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击操作记录
business
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
business
.
Caozuo
();
});
$
(
document
).
delegate
(
".submit_follow2"
,
"click"
,
function
()
{
//提交独家
business
.
Dujianew
();
});
...
...
@@ -63,7 +67,6 @@ define (['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css','ckfin
business
.
jiabox
();
});
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//加号
business
.
addphone
(
this
);
});
$
(
document
).
delegate
(
".jian"
,
"click"
,
function
()
{
//叉号
...
...
@@ -205,6 +208,27 @@ define (['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css','ckfin
}
});
},
Caozuo
:
function
(){
//获取独家的信息
var
caozuo_table
=
""
;
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/getRecords'
,
data
:
{
"houses_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"
).
html
(
caozuo_table
);
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
Submit_follow
:
function
(){
//提交案场权限人数据
var
agents_id
=
""
;
var
_agents_id
=
""
;
...
...
public/resource/template/house_template_tpl.html
View file @
5b0f2b94
...
...
@@ -51,7 +51,7 @@
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐至首页
<
/a
>
<
a
class
=
"btn1 btn-success anch"
data
-
target
=
"#modal-anch"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
设置案场权限人
<
/a
>
<
a
class
=
"btn1 btn-success dujia"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
是否独家
<
/a
>
<
a
class
=
"btn1 btn-success
"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
id
=
"77"
>
操作记录
<
/a
>
<
a
class
=
"btn1 btn-success
caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
操作记录
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal"
>
删除
<
/a
>
<
/td
>
...
...
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