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
b86d04bb
Commit
b86d04bb
authored
Apr 10, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug更改2
parent
f58b4afd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
achieve_fork.js
public/app/js/achieve_fork.js
+1
-1
achieve_region.js
public/app/js/achieve_region.js
+6
-2
achieve_ywy.js
public/app/js/achieve_ywy.js
+5
-1
No files found.
public/app/js/achieve_fork.js
View file @
b86d04bb
...
...
@@ -35,7 +35,7 @@ require(['vue', 'css!style/achieve_fork.css', 'jquery0325', 'common'],function(V
clearInterval
(
_this
.
testBtn
);
},
pageBack
:
function
()
{
if
(
_
appT
oken
!==
null
)
{
if
(
_
t
oken
!==
null
)
{
Compatible
({
hrefIos
:
'abcd'
,
paraIos
:
{
...
...
public/app/js/achieve_region.js
View file @
b86d04bb
'use strict'
;
require
([
'vue'
,
'css!style/achieve_temp.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
)
{
var
_token
=
getUrlParam
(
'token'
);
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
testBtn
:
null
,
token
:
''
,
startDate
:
''
,
endDate
:
''
,
headerTitle
:
''
,
...
...
@@ -71,6 +71,7 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
loadMain
:
function
()
{
var
_this
=
this
;
_this
.
userLevel
=
localStorage
.
getItem
(
'level'
);
_this
.
token
=
localStorage
.
getItem
(
'token'
);
if
(
_this
.
userLevel
==
'30'
||
_this
.
userLevel
==
'40'
){
_this
.
headerTitle
=
'区域业绩'
;
_this
.
tabsMain
.
unshift
({
...
...
@@ -96,7 +97,7 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
var
_this
=
this
;
_this
.
initTabNumMain
=
index
;
if
(
!
_this
.
tabsMain
[
index
].
isLoadMain
)
{
Vue
.
set
(
_this
.
tabsMain
[
index
],
'isLoadSub
'
,
true
);
//Vue.set(_this.tabsMain[index], 'isLoadMain
', true);
_this
.
ajaxUl
();
}
},
...
...
@@ -149,6 +150,7 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
type
:
'GET'
,
url
:
ServerHostTempC
+
'/broker/storePerformanceBySearch'
,
data
:
{
'AuthToken'
:
_this
.
token
,
'agent_id'
:
_this
.
ywyId
,
'start_time'
:
_this
.
startDate
,
'end_time'
:
_this
.
endDate
...
...
@@ -200,6 +202,7 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
type
:
'GET'
,
url
:
ServerHostTempC
+
'/broker/storeOrAgentSort'
,
data
:
{
'AuthToken'
:
_this
.
token
,
'agent_id'
:
_this
.
ywyId
,
'start_time'
:
_this
.
startDate
,
'end_time'
:
_this
.
endDate
...
...
@@ -215,6 +218,7 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
Vue
.
set
(
_this
.
tabsMain
[
_this
.
initTabNumMain
],
'isLoadMain'
,
true
);
if
(
_data
.
data
){
Vue
.
set
(
_this
.
tabsMain
[
_this
.
initTabNumMain
],
'dataList'
,
_data
.
data
);
};
...
...
public/app/js/achieve_ywy.js
View file @
b86d04bb
...
...
@@ -9,6 +9,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
endDate
:
''
,
tabsMain
:
[{
'title'
:
'经纪人'
,
'token'
:
''
,
'initTabNumSub'
:
0
,
'isLoadMain'
:
false
,
'data'
:
[{
...
...
@@ -78,6 +79,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
loadMain
:
function
()
{
var
_this
=
this
;
_this
.
userId
=
localStorage
.
getItem
(
'id'
);
_this
.
token
=
localStorage
.
getItem
(
'token'
);
_this
.
initTime
(
function
(
start_date
,
end_date
)
{
_this
.
startDate
=
start_date
;
_this
.
endDate
=
end_date
;
...
...
@@ -244,6 +246,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
var
_this
=
this
,
_tabMainNum
=
_this
.
initTabNumMain
;
var
_requestData
=
{
'AuthToken'
:
_this
.
token
,
'start_time'
:
_this
.
startDate
,
'end_time'
:
_this
.
endDate
,
'agent_id'
:
_this
.
ywyId
,
...
...
@@ -265,7 +268,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
if
(
_data
.
data
){
if
(
!
_this
.
tabsMain
[
_tabMainNum
].
isLoadMain
&&
_tabMainNum
==
1
)
{
if
(
!
_this
.
tabsMain
[
_tabMainNum
].
isLoadMain
&&
_tabMainNum
==
1
&&
_data
.
data
.
house_arr
)
{
Vue
.
set
(
vm
.
tabsMain
[
1
],
'houseData'
,
[{
'houses_id'
:
'all'
,
'internal_title'
:
'全部'
...
...
@@ -300,6 +303,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
var
_this
=
this
;
console
.
log
(
vm
);
//creat里的调用会是undefined
var
_requestData
=
{
'AuthToken'
:
_this
.
token
,
'agent_id'
:
_this
.
ywyId
,
'start_time'
:
_this
.
startDate
,
'end_time'
:
_this
.
endDate
,
...
...
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