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
38728e9d
Commit
38728e9d
authored
May 10, 2018
by
xishifeng
Committed by
hujun
May 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试入口处理
parent
901ef20f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
5 deletions
+29
-5
common.js
public/app/js/common.js
+3
-0
customer_gj.js
public/app/js/customer_gj.js
+5
-1
daily_achieve_dz.js
public/app/js/daily_achieve_dz.js
+5
-1
daily_achieve_mdzj.js
public/app/js/daily_achieve_mdzj.js
+5
-1
daily_achieve_ywy.js
public/app/js/daily_achieve_ywy.js
+6
-1
weekly.js
public/app/js/weekly.js
+5
-1
No files found.
public/app/js/common.js
View file @
38728e9d
...
@@ -4,6 +4,9 @@ var ServerHostTempC = 'https://pre2.tonglianjituan.com';
...
@@ -4,6 +4,9 @@ var ServerHostTempC = 'https://pre2.tonglianjituan.com';
if
(
~
ServerHost
.
indexOf
(
'estate.'
)){
if
(
~
ServerHost
.
indexOf
(
'estate.'
)){
ServerHostTempC
=
'https://estate.tonglianjituan.com'
;
ServerHostTempC
=
'https://estate.tonglianjituan.com'
;
};
};
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
ServerHostTempC
=
'https://api.tonglianjituan.com'
;
};
//从location.href里获取参数
//从location.href里获取参数
function
getUrlParam
(
name
)
{
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
...
...
public/app/js/customer_gj.js
View file @
38728e9d
require
([
'vue'
,
'vconsole'
,
'css!style/customerinfo_sub_page.css'
,
'css!style/customer_gj.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
)
{
require
([
'vue'
,
'vconsole'
,
'css!style/customerinfo_sub_page.css'
,
'css!style/customer_gj.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
)
{
var
vConsole
=
new
VConsole
();
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
console
.
log
(
'正式服'
);
}
else
{
var
vConsole
=
new
VConsole
();
}
var
_applyId
=
getUrlParam
(
"applyid"
);
//获取GET参数
var
_applyId
=
getUrlParam
(
"applyid"
);
//获取GET参数
var
_token
=
getUrlParam
(
"token"
);
var
_token
=
getUrlParam
(
"token"
);
Vue
.
component
(
'imgshow-component'
,
{
Vue
.
component
(
'imgshow-component'
,
{
...
...
public/app/js/daily_achieve_dz.js
View file @
38728e9d
'use strict'
;
'use strict'
;
require
([
'vue'
,
'vconsole'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
,
html2canvas
)
{
require
([
'vue'
,
'vconsole'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
,
html2canvas
)
{
var
vConsole
=
new
VConsole
();
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
console
.
log
(
'正式服'
);
}
else
{
var
vConsole
=
new
VConsole
();
};
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
...
...
public/app/js/daily_achieve_mdzj.js
View file @
38728e9d
'use strict'
;
'use strict'
;
require
([
'vue'
,
'vconsole'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
,
html2canvas
)
{
require
([
'vue'
,
'vconsole'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
,
html2canvas
)
{
var
vConsole
=
new
VConsole
();
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
console
.
log
(
'正式服'
);
}
else
{
var
vConsole
=
new
VConsole
();
}
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
...
...
public/app/js/daily_achieve_ywy.js
View file @
38728e9d
'use strict'
;
'use strict'
;
require
([
'vue'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
html2canvas
)
{
require
([
'vue'
,
'vconsole'
,
'html2canvas'
,
'css!style/report_achieve.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
,
html2canvas
)
{
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
console
.
log
(
'正式服'
);
}
else
{
var
vConsole
=
new
VConsole
();
};
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
$
(
'title'
).
after
(
'<meta name="viewport" content="width=device-width,initial-scale='
+
(
window
.
screen
.
width
/
750
)
+
',maximum-scale=2.0,user-scalable=0" />'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
...
...
public/app/js/weekly.js
View file @
38728e9d
'use strict'
;
'use strict'
;
require
([
'vue'
,
'vconsole'
,
'css!style/weekly.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
)
{
require
([
'vue'
,
'vconsole'
,
'css!style/weekly.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
)
{
var
vConsole
=
new
VConsole
();
if
(
~
ServerHost
.
indexOf
(
'api.tonglianjituan.com'
)){
console
.
log
(
'正式服'
);
}
else
{
var
vConsole
=
new
VConsole
();
}
var
_appToken
=
getUrlParam
(
'token'
);
var
_appToken
=
getUrlParam
(
'token'
);
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
...
...
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