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
11c885e3
Commit
11c885e3
authored
Jun 15, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台列表修改完成
parent
fb997156
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
45 additions
and
69 deletions
+45
-69
evaluation_list.html
application/index/view/evaluation/evaluation_list.html
+8
-3
marchin_list.html
application/index/view/marchin/marchin_list.html
+1
-1
index.html
application/index/view/notice/index.html
+19
-2
evaluationList.js
public/resource/js/evaluationList.js
+1
-4
marchinList.js
public/resource/js/marchinList.js
+0
-11
notice.js
public/resource/js/notice.js
+4
-41
marchin_list_template_tpl.html
public/resource/template/marchin_list_template_tpl.html
+1
-1
notice_template_tpl.html
public/resource/template/notice_template_tpl.html
+11
-6
No files found.
application/index/view/evaluation/evaluation_list.html
View file @
11c885e3
...
...
@@ -27,6 +27,11 @@
#reset
{
float
:
left
;
}
.evaluation-score
{
margin-right
:
10px
;
font-weight
:
bold
;
font-size
:
16px
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
...
...
@@ -65,8 +70,8 @@
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_phone"
placeholder=
"手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_name"
placeholder=
"姓名"
type=
"text"
value=
""
>
<span
class=
"fore-span ld-Marheight"
>
进场平均分数:
</span><span
class=
"fore-span ld-Marheight"
id=
'average_score'
>
空
</span>
<span
class=
"fore-span ld-Marheight"
>
评价平均分数:
</span><span
class=
"fore-span ld-Marheight"
id=
'average_score_evaluation'
>
空
</span>
<span
class=
"fore-span ld-Marheight"
>
进场平均分数:
</span><span
class=
"fore-span ld-Marheight
evaluation-score
"
id=
'average_score'
>
空
</span>
<span
class=
"fore-span ld-Marheight"
>
评价平均分数:
</span><span
class=
"fore-span ld-Marheight
evaluation-score
"
id=
'average_score_evaluation'
>
空
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
>
重置
</span>
</form>
...
...
@@ -110,7 +115,7 @@
</h4>
</div>
<div
class=
"modal-body"
>
暂不
能
删除
暂不
支持
删除
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
...
...
application/index/view/marchin/marchin_list.html
View file @
11c885e3
...
...
@@ -66,7 +66,7 @@
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"report_agent_phone"
placeholder=
"报备人手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"house_title"
placeholder=
"商铺名"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"shop_type"
>
<option
value=
"
-1
"
>
商铺类型
</option>
<option
value=
""
>
商铺类型
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
</select>
...
...
application/index/view/notice/index.html
View file @
11c885e3
...
...
@@ -7,7 +7,8 @@
padding-bottom
:
60px
;
}
.modal-body2
{
padding
:
45px
;
padding
:
35px
;
height
:
380px
;
}
.user-ul
{
...
...
@@ -98,6 +99,22 @@
.bottom
{
margin-top
:
30px
;
}
.btn6_1
{
width
:
80%
!important
;
float
:
left
;
}
.notice-title
{
font-size
:
20px
;
}
.notice-time
{
font-size
:
13px
;
margin-top
:
20px
;
}
.notice-text
{
font-size
:
16px
;
margin-top
:
30px
;
text-indent
:
2em
;
}
</style>
<!--导航star-->
...
...
@@ -198,7 +215,7 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
内容:
</label>
<div
class=
"col-sm-9"
>
<textarea
class=
"form-control btn6
"
name=
"agent_id"
autocomplete=
"off"
id=
"announcement_content"
rows=
"10"
cols=
"40
"
></textarea>
<textarea
class=
"form-control btn6
_1"
name=
"agent_id"
autocomplete=
"off"
id=
"announcement_content"
rows=
"10"
cols=
"40"
placeholder=
"请输入内容
"
></textarea>
<ul
class=
"user-ul"
>
</ul>
...
...
public/resource/js/evaluationList.js
View file @
11c885e3
...
...
@@ -51,9 +51,6 @@ define(['doT', 'text!temp/evaluation_list_template_tpl.html', 'css!style/home.cs
console
.
log
(
$
(
this
).
attr
(
"data-img"
));
});
$
(
"#export"
).
click
(
function
()
{
//导出列表
follow
.
exportList
();
});
$
(
document
).
delegate
(
".submit_edit2"
,
"click"
,
function
()
{
//提交
follow
.
house_id2
=
$
(
this
).
attr
(
"data-id"
);
console
.
log
(
follow
.
house_id2
);
...
...
@@ -137,7 +134,7 @@ define(['doT', 'text!temp/evaluation_list_template_tpl.html', 'css!style/home.cs
params
.
march_in_time_end
=
$
(
'#create_time_end'
).
val
();
params
.
district_id
=
$
(
'#district_id'
).
val
()
*
1
;
params
.
store_id
=
$
(
'#guest_stores'
).
val
()
*
1
;
params
.
user_n
ame
=
$
(
'#user_name'
).
val
();
params
.
user_n
ick
=
$
(
'#user_name'
).
val
();
params
.
user_phone
=
$
(
'#user_phone'
).
val
();
params
.
pageNo
=
follow
.
pageNo
;
params
.
pageSize
=
follow
.
pageSize
;
...
...
public/resource/js/marchinList.js
View file @
11c885e3
...
...
@@ -149,17 +149,6 @@ define(['doT', 'text!temp/marchin_list_template_tpl.html', 'css!style/home.css',
params
.
report_agent_name
=
$
(
'#report_agent_name'
).
val
();
params
.
house_title
=
$
(
'#house_title'
).
val
();
params
.
shop_type
=
$
(
'#shop_type'
).
val
()
*
1
;
//跟进搜索
// create_time_start false string 进场时间开始时间
//create_time_end false string 进场时间结束时间
//district_id false int 部门(传ID)
//store_id false int 门店名称(传ID)
//user_name false sting 客户姓名
//user_phone false string 客户手机号
//report_agent_phone false string 报备人手机号
//report_agent_name false sting 报备人姓名
//house_title false sting 商铺名
//shop_type false int 商铺类型(0商场,1街铺)
params
.
pageNo
=
follow
.
pageNo
;
params
.
pageSize
=
follow
.
pageSize
;
$
.
ajax
({
...
...
public/resource/js/notice.js
View file @
11c885e3
...
...
@@ -11,8 +11,6 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
$
(
"body"
).
append
(
template
);
user
.
getList
();
user
.
event
();
user
.
getDistrict
();
user
.
getDistricttwo
();
//时间控件初始化
/* $('#datetimepicker').datetimepicker({
format: 'yyyy-MM-dd',
...
...
@@ -288,6 +286,8 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
params
.
start_time
=
$
(
"#start_date"
).
val
();
params
.
end_time
=
$
(
"#end_date"
).
val
();
params
.
title
=
$
(
"#release_title"
).
val
();
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
$
.
ajax
({
url
:
'/index/noticeIndex'
,
...
...
@@ -330,7 +330,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
return
;
}
if
(
params
.
content
.
length
>
250
)
{
alert
(
'公告字数250以内'
);
alert
(
'公告
内容
字数250以内'
);
$
(
"#announcement_content"
).
focus
();
return
;
}
...
...
@@ -368,44 +368,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
}
});
},
getDistrict
:
function
()
{
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"pageSize"
:
50
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
var
str
=
'<option value="0">客方所属部门</option>'
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
"#district_id"
).
html
(
str
);
}
}
});
},
getDistricttwo
:
function
()
{
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"pageSize"
:
50
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
var
str
=
'<option value="0">邀请人所属部门</option>'
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
"#district_id2"
).
html
(
str
);
}
}
});
}
};
return
user
;
});
...
...
public/resource/template/marchin_list_template_tpl.html
View file @
11c885e3
...
...
@@ -8,7 +8,7 @@
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
order
_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["
report
_id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
...
...
public/resource/template/notice_template_tpl.html
View file @
11c885e3
...
...
@@ -3,15 +3,21 @@
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
hideTel
(
it
[
item
][
"name"
])
%
]
<
/td
>
<!--<
td
>
[
%=
hideTel
(
it
[
item
][
"name"
])
%
]
<
/td>--
>
<
td
>
[
%
if
(
it
[
item
][
"name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"name"
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success announcement-details"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
createTime
=
'[%= it[item]["create_time"] %]'
data
-
title
=
'[%= it[item]["title"] %]'
data
-
content
=
'[%= it[item]["content"] %]'
>
查看
<
/a
>
<
a
class
=
"btn1 btn-success announcement-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
[
%
if
(
check_auth
(
'index/delNotice'
))
{
%
]
<!--
删除权限
-->
<
a
class
=
"btn1 btn-success announcement-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
[
%
}
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
...
...
@@ -20,4 +26,4 @@
<
td
colspan
=
"7"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
</script>
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