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
11904b34
Commit
11904b34
authored
Jun 14, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告详情
parent
977f4a5b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
66 deletions
+20
-66
index.html
application/index/view/notice/index.html
+2
-2
announcementDetails.vue
...rc/components/announcementDetails/announcementDetails.vue
+14
-19
entrance.vue
public/appnew/src/components/publicEg/entrance.vue
+1
-2
notice.js
public/resource/js/notice.js
+3
-43
No files found.
application/index/view/notice/index.html
View file @
11904b34
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
</div>
</div>
<!-- /#wrapper -->
<!-- /#wrapper -->
<!-- /#新增
客户
模态框 -->
<!-- /#新增
公告
模态框 -->
<div
class=
"modal fade"
id=
"modal_add_user"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal_add_user"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--
操作详情记录
-->
<!--
公告详情
-->
<div
class=
"modal fade"
id=
"modal-record"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-record"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
...
public/appnew/src/components/announcementDetails/announcementDetails.vue
View file @
11904b34
<
template
>
<
template
>
<div
class=
"report-detail"
>
<div
class=
"report-detail"
>
<div
class=
"report-title"
>
<div
class=
"report-title"
>
{{
house_title
}}
</div>
2018年中秋节放假安排
</div>
<div
class=
"report-time"
>
<div
class=
"report-time"
>
<span>
2018-02-23
</span><span
class=
"sec-right"
>
12:00
</span>
<span>
{{
create_time
}}
</span>
</div>
<div
class=
"report-text"
>
2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。2018年放假安排,连续休息3天。
</div>
</div>
<div
class=
"report-text"
>
{{
content
}}
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
'@/assets/js/layer041002.js'
;
import
'@/assets/js/layer041002.js'
;
export
default
{
export
default
{
data
:
()
=>
({
data
:
()
=>
({
announce_id
:
''
,
house_title
:
''
,
create_time
:
''
,
content
:
''
,
}),
}),
created
()
{
created
()
{
let
_this
=
this
;
let
_this
=
this
;
_this
.
token
=
_this
.
$route
.
query
.
token
;
_this
.
announce_id
=
_this
.
$route
.
query
.
id
;
_this
.
bargain_id
=
_this
.
$route
.
query
.
bargain_id
;
if
(
!
_this
.
token
)
{
layer
.
tipsX
(
'token获取出错'
);
return
false
;
};
_this
.
loadMain
();
_this
.
loadMain
();
},
},
methods
:
{
methods
:
{
...
@@ -40,15 +33,18 @@
...
@@ -40,15 +33,18 @@
let
_this
=
this
;
let
_this
=
this
;
_this
.
axios
({
_this
.
axios
({
method
:
'get'
,
method
:
'get'
,
url
:
'
broker/bargainDetail'
,
//获取公告详情
url
:
'
/broker/getFeedInfo'
,
responseType
:
'json'
,
responseType
:
'json'
,
data
:
{
data
:
{
bargain_id
:
_this
.
bargain_id
,
'id'
:
_this
.
announce_id
,
AuthToken
:
_this
.
token
,
}
}
})
})
.
then
(
function
(
response
)
{
.
then
(
function
(
response
)
{
if
(
response
.
data
.
code
==
200
)
{
if
(
response
.
data
.
code
==
200
)
{
_this
.
house_title
=
response
.
data
.
data
.
house_title
;
_this
.
create_time
=
response
.
data
.
data
.
create_time
;
_this
.
content
=
response
.
data
.
data
.
content
;
console
.
log
(
response
.
data
.
data
.
content
);
}
else
{
}
else
{
layer
.
tipsX
(
response
.
data
.
msg
);
layer
.
tipsX
(
response
.
data
.
msg
);
...
@@ -85,5 +81,4 @@
...
@@ -85,5 +81,4 @@
.sec-right
{
.sec-right
{
margin-left
:
.32rem
;
margin-left
:
.32rem
;
}
}
</
style
>
</
style
>
public/appnew/src/components/publicEg/entrance.vue
View file @
11904b34
...
@@ -40,8 +40,7 @@
...
@@ -40,8 +40,7 @@
'path'
:
'/announcementDetails'
,
'path'
:
'/announcementDetails'
,
'nameCustom'
:
'公告详情'
,
'nameCustom'
:
'公告详情'
,
'query'
:
{
'query'
:
{
'token'
:
_token
,
'id'
:
'160'
,
'bargain_id'
:
'169'
,
}
}
}
}
]
]
...
...
public/resource/js/notice.js
View file @
11904b34
...
@@ -377,15 +377,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -377,15 +377,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
getList
:
function
(
pageNo
)
{
getList
:
function
(
pageNo
)
{
user
.
pageNo
=
pageNo
;
user
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
console
.
log
(
$
(
"#start_date"
).
val
());
if
(
$
(
"#district_id"
).
val
()
!=
0
||
$
(
"#guest_stores"
).
val
()
!=
''
){
$
(
"#district_id2"
).
val
(
'0'
);
$
(
"#guest_stores2"
).
val
(
''
);
};
if
(
$
(
"#district_id2"
).
val
()
!=
0
||
$
(
"#guest_stores2"
).
val
()
!=
''
){
$
(
"#district_id1"
).
val
(
'0'
);
$
(
"#guest_stores1"
).
val
(
''
);
};
// 输入 name
// 输入 name
// params.name = $("input[name='user']").val();
// params.name = $("input[name='user']").val();
params
.
phone
=
$
(
"input[name='phone']"
).
val
();
params
.
phone
=
$
(
"input[name='phone']"
).
val
();
...
@@ -398,21 +390,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -398,21 +390,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
params
.
registration_end
=
$
(
"#registration_end"
).
val
()
params
.
registration_end
=
$
(
"#registration_end"
).
val
()
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
rent_user
=
$
(
"select[name=public_status]"
).
val
();
params
.
public_user
=
$
(
"select[name=male_status]"
).
val
();
params
.
store_name
=
$
(
"#guest_stores"
).
val
();
params
.
referrer_store_name
=
$
(
"#guest_stores2"
).
val
();
params
.
district_id
=
$
(
"#district_id"
).
val
()
params
.
referrer_district_id
=
$
(
"#district_id2"
).
val
()
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
params
.
invite_agent_phone
=
$
(
"input[name='invite_agent_phone']"
).
val
();
params
.
area_type
=
$
(
"select[name=area_type]"
).
val
();
params
.
price_type
=
$
(
"select[name=price_type]"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type]"
).
val
();
//客方和邀请人搜索项不能并列
$
.
ajax
({
$
.
ajax
({
...
@@ -430,9 +408,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -430,9 +408,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
user
.
pageSize
,
user
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
user
.
pageSize
,
user
.
getList
);
$
(
"#total_page"
).
html
(
data
.
data
.
total
);
$
(
"#total_page"
).
html
(
data
.
data
.
total
);
console
.
log
(
data
.
data
.
total
);
console
.
log
(
user
.
pageSize
);
console
.
log
(
pageNo
);
}
}
...
@@ -504,22 +480,6 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -504,22 +480,6 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
}
}
});
});
},
},
getGenjinLabel
:
function
()
{
$
(
'#genj_text'
).
val
(
''
);
$
.
ajax
({
url
:
'/index/getUserLabel'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"user_id"
:
user
.
user_id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
$
(
"input[type='radio'][name='user_status'][value="
+
data
.
data
+
"]"
).
prop
(
"checked"
,
"checked"
);
}
}
});
},
getDistrict
:
function
()
{
getDistrict
:
function
()
{
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getDistrict'
,
url
:
'/index/getDistrict'
,
...
...
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