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
a88fe0c4
Commit
a88fe0c4
authored
Apr 02, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩暂存
parent
c5cd504b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
19 deletions
+84
-19
achieve_ywy.html
application/app_broker/view/index/achieve_ywy.html
+11
-1
achieve_tonglian_ac.css
public/app/css/achieve_tonglian_ac.css
+21
-4
achieve_ywy.js
public/app/js/achieve_ywy.js
+49
-11
customer_gj.js
public/app/js/customer_gj.js
+2
-2
weekly_achieve_mdzj.js
public/app/js/weekly_achieve_mdzj.js
+1
-1
No files found.
application/app_broker/view/index/achieve_ywy.html
View file @
a88fe0c4
...
...
@@ -17,9 +17,19 @@
<div
class=
"achieve-header-tab"
>
<a
href=
"javascript:;"
v-for=
"(item,index) in tabsMain"
:class=
"{active:index == initTabNumMain}"
@
click=
"tabMain(index)"
>
{{item.title}}
</a>
</div>
<div
class=
"mulu_relate
"
href=
"javascript:;"
><span
id=
"list_name"
>
全部
</span><img
src=
"/app/images/all_ic.png"
></div>
<div
class=
"mulu_relate
_new"
v-show=
"showHouseArr"
@
click
.
prevent
.
stop=
"mask('show')"
><span
id=
"list_name"
>
{{tabsMain[1].houseDataInit}}
</span><img
src=
"/app/images/all_ic.png"
></div>
</header>
<div
class=
"header_seat"
></div>
<div
id=
"mask_list_select_new"
v-show=
"showMaskFlag"
@
click
.
prevent
.
stop=
"mask('hide')"
>
<div
class=
"pop_box"
>
<div
class=
"tri_angle2"
></div>
<ul
id=
"house_list_area"
>
<li
data-id=
""
>
全部
</li>
<li
v-for=
"(item, index) in tabsMain[1].houseData"
:data-id=
"item.houses_id"
@
click=
"getHouse(item)"
>
{{item.internal_title}}
</li>
</ul>
</div>
</div>
<div
class=
"achieve-content-ac"
>
...
...
public/app/css/achieve_tonglian_ac.css
View file @
a88fe0c4
...
...
@@ -61,7 +61,8 @@ header+.header_seat {
}
/******************************************顶部的全部选择部分******************************************/
header
.mulu_relate
{
header
.mulu_relate
,
header
.mulu_relate_new
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
...
...
@@ -74,7 +75,11 @@ header .mulu_relate{
cursor
:
pointer
;
display
:
none
;
}
.mulu_relate
>
span
{
header
.mulu_relate_new
{
display
:
block
;
}
.mulu_relate
>
span
,
.mulu_relate_new
>
span
{
float
:
left
;
height
:
100%
;
width
:
2rem
;
...
...
@@ -83,10 +88,12 @@ header .mulu_relate{
white-space
:
nowrap
;
text-align
:
right
;
}
.dz-achieve-header
>
.mulu_relate
>
span
{
.dz-achieve-header
>
.mulu_relate
>
span
,
.dz-achieve-header
>
.mulu_relate_new
>
span
{
width
:
1.4rem
;
}
.mulu_relate
>
img
{
.mulu_relate
>
img
,
.mulu_relate_new
>
img
{
float
:
left
;
width
:
0.4rem
;
padding-top
:
0.31rem
;
...
...
@@ -105,6 +112,16 @@ header .mulu_relate{
cursor
:
pointer
;
display
:
none
;
}
#mask_list_select_new
{
position
:
fixed
;
z-index
:
101
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
cursor
:
pointer
;
}
div
.pop_box
{
position
:
absolute
;
right
:
0.25rem
;
...
...
public/app/js/achieve_ywy.js
View file @
a88fe0c4
...
...
@@ -56,11 +56,14 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
'num'
:
5
,
'isLoadSub'
:
false
,
'dataList'
:
[]
}]
}],
'houseData'
:
[],
'houseDataInit'
:
'全部'
}],
initTabNumMain
:
0
,
userId
:
''
,
ywyId
:
getUrlParam
(
'ywyId'
)
ywyId
:
getUrlParam
(
'ywyId'
),
showMaskFlag
:
false
},
created
:
function
()
{
var
_this
=
this
;
...
...
@@ -78,10 +81,29 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
});
},
tabMain
:
function
(
index
)
{
this
.
initTabNumMain
=
index
;
var
_this
=
this
;
_this
.
initTabNumMain
=
index
;
if
(
!
_this
.
tabsMain
[
index
].
isLoadMain
){
_this
.
ajaxMainNum
();
}
},
tabSub
:
function
(
index
,
index2
)
{
var
_this
=
this
;
Vue
.
set
(
vm
.
tabsMain
[
index
],
'initTabNumSub'
,
index2
);
if
(
!
_this
.
tabsMain
[
index
].
data
[
index2
].
isLoadSub
){
Vue
.
set
(
vm
.
tabsMain
[
index
].
data
[
index2
],
'isLoadSub'
,
true
);
_this
.
ajaxUl
();
}
else
{
console
.
log
(
_this
.
tabsMain
[
index
].
data
[
index2
].
isLoadSub
);
};
},
mask
:
function
(
str
){
this
.
showMaskFlag
=
(
str
==
'show'
)?
true
:
false
;
},
getHouse
:
function
(
obj
){
var
_this
=
this
;
Vue
.
set
(
vm
.
tabsMain
[
1
],
'houseDataInit'
,
obj
.
internal_title
);
},
initTime
:
function
(
callback
)
{
//获取缓存里的时间
...
...
@@ -111,10 +133,15 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
type
:
'GET'
,
url
:
ServerHostTempC
+
'/broker/agentPerformanceBySearch'
,
data
:
{
'start_time'
:
_this
.
startDate
,
'end_time'
:
_this
.
endDate
,
'agent_id'
:
_this
.
ywyId
,
'is_case'
:
_tabMainNum
// 'start_time': _this.startDate,
// 'end_time': _this.endDate,
// 'agent_id': _this.ywyId,
// 'is_case': _tabMainNum
'start_time'
:
'2018-03-23'
,
'end_time'
:
'2018-03-23'
,
'agent_id'
:
1
,
'is_case'
:
_tabMainNum
+
1
,
'house_id'
:
0
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -122,7 +149,14 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
if
(
!
_this
.
tabsMain
[
_tabMainNum
].
isLoadMain
&&
_tabMainNum
==
1
){
Vue
.
set
(
vm
.
tabsMain
[
1
],
'houseData'
,
_data
.
data
.
house_arr
);
};
Vue
.
set
(
vm
.
tabsMain
[
_tabMainNum
],
'isLoadMain'
,
true
);
Vue
.
set
(
vm
.
tabsMain
[
_tabMainNum
].
data
[
0
],
'num'
,
_data
.
data
.
look_at_num
==
null
?
0
:
_data
.
data
.
look_at_num
);
Vue
.
set
(
vm
.
tabsMain
[
_tabMainNum
].
data
[
1
],
'num'
,
_data
.
data
.
march_in_num
==
null
?
0
:
_data
.
data
.
march_in_num
);
Vue
.
set
(
vm
.
tabsMain
[
_tabMainNum
].
data
[
2
],
'num'
,
_data
.
data
.
paylog
==
null
?
0
:
_data
.
data
.
paylog
);
Vue
.
set
(
vm
.
tabsMain
[
_tabMainNum
].
data
[
3
],
'num'
,
_data
.
data
.
bargain_sum
==
null
?
0
:
_data
.
data
.
bargain_sum
);
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
...
...
@@ -141,9 +175,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
}
});
},
ajaxUl
:
function
(
startdate
,
enddate
,
status
,
page
,
fn
)
{
status
=
Number
(
status
);
//强制转换为数字类型,避免出错
ajaxUl
:
function
()
{
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/orderNoList'
,
...
...
@@ -152,7 +184,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
'start_time '
:
vm
.
startDate
,
'end_time'
:
vm
.
endDate
,
'is_case'
:
_this
.
initTabNumMain
,
'type'
:
1
'type'
:
_tabMainNum
+
1
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -251,6 +283,11 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
}
});
}
},
computed
:
{
showHouseArr
:
function
(){
return
this
.
initTabNumMain
==
1
&&
this
.
tabsMain
[
1
].
houseData
.
length
>
0
;
}
}
});
});
\ No newline at end of file
public/app/js/customer_gj.js
View file @
a88fe0c4
require
([
'vue'
,
'
css!style/customerinfo_sub_page.css'
,
'css!style/customer_gj.css'
,
'jquery0325'
,
'common'
],
function
(
Vu
e
)
{
//
var vConsole = new VConsole();
require
([
'vue'
,
'
vconsole'
,
'css!style/customerinfo_sub_page.css'
,
'css!style/customer_gj.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsol
e
)
{
var
vConsole
=
new
VConsole
();
var
_applyId
=
getUrlParam
(
"applyid"
);
//获取GET参数
var
_token
=
getUrlParam
(
"token"
);
Vue
.
component
(
'imgshow-component'
,
{
...
...
public/app/js/weekly_achieve_mdzj.js
View file @
a88fe0c4
...
...
@@ -45,7 +45,7 @@ $(function() {
//一些信息自动填写
$
(
'#area_chengnuoshu'
).
html
(
'承诺书('
+
_weekly_data
[
'startdate'
]
+
'至'
+
_weekly_data
[
'enddate'
]
+
')'
);
$
(
'#mdzj_div_header_username'
).
html
(
localStorage
.
getItem
(
'
real
name'
));
$
(
'#mdzj_div_header_username'
).
html
(
localStorage
.
getItem
(
'
user
name'
));
var
_dayNum
=
parseInt
(
_weekly_data
[
'enddate'
].
split
(
'-'
)[
2
]);
...
...
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