Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
cf711d41
Commit
cf711d41
authored
Dec 02, 2019
by
haozhenhua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hzh
parent
093ab494
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
120 additions
and
74 deletions
+120
-74
igirl-web/app/front/entry/public/css/pagecom.css
+0
-0
igirl-web/app/front/entry/public/js/index.js
+2
-1
igirl-web/app/front/vues/pages/declare/declare.html
+1
-1
igirl-web/app/front/vues/pages/declare/declare.js
+8
-1
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.html
+1
-1
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.js
+7
-0
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.html
+1
-1
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.js
+9
-2
igirl-web/app/front/vues/pages/recommen/recommen.js
+91
-67
No files found.
igirl-web/app/front/entry/public/css/pagecom.css
View file @
cf711d41
This source diff could not be displayed because it is too large. You can
view the blob
instead.
igirl-web/app/front/entry/public/js/index.js
View file @
cf711d41
...
...
@@ -1408,7 +1408,8 @@ var app = new Vue({
if
(
k
==
"declare"
)
{
this
.
pushx
({
title
:
"政策资讯"
,
name
:
"/declare"
name
:
"/declare"
,
params
:
{
name
:
'申报通知'
}
});
}
if
(
k
==
"policybigdata"
)
{
...
...
igirl-web/app/front/vues/pages/declare/declare.html
View file @
cf711d41
...
...
@@ -179,7 +179,7 @@
<div
class=
"shuju2"
style=
"margin-left: 19px;"
>
<el-carousel
:interval=
"5000"
arrow=
"never"
height=
"200px"
>
<el-carousel-item
v-for=
"item in loopplays"
style=
"height:100%;cursor: pointer;"
>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
></div>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
@
click=
"payClick()"
></div>
</el-carousel-item>
</el-carousel>
</div>
...
...
igirl-web/app/front/vues/pages/declare/declare.js
View file @
cf711d41
...
...
@@ -495,7 +495,14 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
}
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
$
(
"#footer"
).
show
();
...
...
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.html
View file @
cf711d41
...
...
@@ -43,7 +43,7 @@
<div
class=
"shuju2"
style=
"margin-left: 19px;"
>
<el-carousel
:interval=
"5000"
arrow=
"never"
height=
"200px"
>
<el-carousel-item
v-for=
"item in loopplays"
style=
"height:100%;cursor: pointer;"
>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
></div>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
@
click=
"payClick()"
></div>
</el-carousel-item>
</el-carousel>
</div>
...
...
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.js
View file @
cf711d41
...
...
@@ -493,6 +493,13 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
...
...
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.html
View file @
cf711d41
...
...
@@ -174,7 +174,7 @@
<div
class=
"shuju2"
style=
"margin-left: 19px;"
>
<el-carousel
:interval=
"5000"
arrow=
"never"
height=
"200px"
>
<el-carousel-item
v-for=
"item in loopplays"
style=
"height:100%;cursor: pointer;"
>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
></div>
<div
class=
"el_gsb_img"
:style=
"\'background: url(\' + item.leftimg + \') center center no-repeat;\'"
@
click=
"payClick()"
></div>
</el-carousel-item>
</el-carousel>
</div>
...
...
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.js
View file @
cf711d41
...
...
@@ -494,6 +494,13 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
...
...
@@ -504,8 +511,8 @@
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
console
.
log
(
this
.
$route
.
query
.
name
,
'======================'
);
if
(
this
.
$route
.
query
.
name
!=
""
)
{
console
.
log
(
this
.
$route
.
query
.
name
,
'======================'
);
if
(
this
.
$route
.
query
.
name
!=
""
)
{
this
.
quanbu
=
this
.
$route
.
query
.
name
;
}
},
...
...
igirl-web/app/front/vues/pages/recommen/recommen.js
View file @
cf711d41
...
...
@@ -34,18 +34,18 @@
headerHeight7
:
true
,
headerHeight8
:
true
,
headerHeight9
:
true
,
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
quanData1
:[
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
quanData1
:
[
'申报通知(386)'
,
'立项公示(134)'
,
'管理办法(103)'
,
...
...
@@ -85,13 +85,13 @@
'夏回族自治区'
,
'四川'
],
tableData2
:[
tableData2
:
[
'部委'
,
'省级'
,
'市级'
,
'区级'
],
tableData3
:[
tableData3
:
[
'发改部门'
,
'教育部门'
,
'科学技术部门'
,
...
...
@@ -110,7 +110,7 @@
'市场监督部门'
,
'其他部门'
],
tableData4
:[
tableData4
:
[
'资质荣誉'
,
'事前补助'
,
'研发费补助'
,
...
...
@@ -122,12 +122,12 @@
'创业补贴'
,
'人才补贴'
],
tableData5
:[
tableData5
:
[
'事业单位'
,
'企业单位'
,
'社会组织'
],
tableData6
:[
tableData6
:
[
'工业'
,
'建筑业'
,
'金融业'
,
...
...
@@ -146,7 +146,7 @@
'电力、热力、燃气及水生产和供应业'
,
'其他'
],
tableData7
:[
tableData7
:
[
'普惠(创新券/社保补贴/创业补贴等)'
,
'科技创新'
,
'人才类'
,
...
...
@@ -172,7 +172,7 @@
'产品认定'
,
'其他'
],
tableData8
:[
tableData8
:
[
'基础与应用基础研究'
,
'社会民生'
,
'现代服务业'
,
...
...
@@ -183,7 +183,7 @@
'创业补贴'
,
'人才补贴'
],
tableData9
:[
tableData9
:
[
'2019'
,
'2018'
,
'2017'
,
...
...
@@ -192,28 +192,28 @@
'2014'
,
'2013'
],
colorList
:[{
bgColor
:
"#EDEEFA"
,
fontColor
:
"#5B65D3"
},{
bgColor
:
"#FDF2EC"
,
fontColor
:
"#FC835A"
},{
bgColor
:
"#FFEBF5"
,
fontColor
:
"#FF75B3"
},{
bgColor
:
"#E1EDFB"
,
fontColor
:
"#3CACFF"
},{
bgColor
:
"#E0F4E8"
,
fontColor
:
"#54D02F"
},{
bgColor
:
"#E8F7F9"
,
fontColor
:
"#30BBCE"
colorList
:
[{
bgColor
:
"#EDEEFA"
,
fontColor
:
"#5B65D3"
},
{
bgColor
:
"#FDF2EC"
,
fontColor
:
"#FC835A"
},
{
bgColor
:
"#FFEBF5"
,
fontColor
:
"#FF75B3"
},
{
bgColor
:
"#E1EDFB"
,
fontColor
:
"#3CACFF"
},
{
bgColor
:
"#E0F4E8"
,
fontColor
:
"#54D02F"
},
{
bgColor
:
"#E8F7F9"
,
fontColor
:
"#30BBCE"
}]
}
},
created
:
function
()
{
created
:
function
()
{
this
.
tminput
=
this
.
$router
.
history
.
current
.
query
.
tminput
;
if
(
this
.
tminput
)
{
this
.
zctext
=
decodeURIComponent
(
this
.
tminput
);
...
...
@@ -222,7 +222,7 @@
},
methods
:
{
rgba
()
{
var
color
=
this
.
colorList
[
Math
.
floor
(
Math
.
random
()
*
this
.
colorList
.
length
)];
var
color
=
this
.
colorList
[
Math
.
floor
(
Math
.
random
()
*
this
.
colorList
.
length
)];
return
`color:
${
color
.
fontColor
}
;background-color:
${
color
.
bgColor
}
`
;
},
inputDel
(
input
)
{
...
...
@@ -317,7 +317,7 @@
handleCurrentChange
(
val
)
{
this
.
zcPost
(
val
)
},
consulting
()
{
consulting
()
{
this
.
$confirm
(
'提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?'
,
'政策咨询'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -336,24 +336,25 @@
},
articleDetails
(
obj
)
{
this
.
detailPageType
=
false
;
scrollTo
(
0
,
0
);
scrollTo
(
0
,
0
);
this
.
recommendationsObj
=
obj
;
this
.
portrayalArr
=
obj
.
hx_list
;
console
.
log
(
this
.
portrayalArr
,
'11111111111111'
);
axios
.
post
(
'http://
43.247.184.92:8018/gsb/api/zcdetailcount'
,
{
console
.
log
(
this
.
portrayalArr
,
'11111111111111'
);
axios
.
post
(
'http://
106.13.228.212:8011/gsb/api/zcdetailcount'
,
{
"ID"
:
obj
.
ID
,
"count"
:
0
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
"count"
:
0
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
})
},
qiyeHuaXiang
()
{
axios
.
post
(
'http://106.13.228.212:8011/policy_report'
,{
console
.
log
(
1111111
);
axios
.
post
(
'http://106.13.228.212:8011/policy_report'
,
{
"companyname"
:
this
.
zctext
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
data
})
...
...
@@ -364,7 +365,7 @@
after(i) {
this.rKey = i+1;
},*/
next
()
{
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
...
...
@@ -381,37 +382,37 @@
this
.
zccompanyNamePost
()
},
color16
(){
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
color
=
'background-color:'
+
'#'
+
r
.
toString
(
16
)
+
g
.
toString
(
16
)
+
b
.
toString
(
16
);
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
color
=
'background-color:'
+
'#'
+
r
.
toString
(
16
)
+
g
.
toString
(
16
)
+
b
.
toString
(
16
);
return
color
;
},
rgb
(){
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
rgb
=
'color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 1)'
+
';'
+
'background-color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 0.3)'
;
var
r
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
g
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
b
=
Math
.
floor
(
Math
.
random
()
*
256
);
var
rgb
=
'color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 1)'
+
';'
+
'background-color:'
+
'rgba('
+
r
+
','
+
g
+
','
+
b
+
', 0.3)'
;
return
rgb
;
},
leftswiperList
()
{
leftswiperList
()
{
console
.
log
(
this
.
$refs
.
swiperList
.
offsetWidth
);
if
(
this
.
transformNumber
<
0
)
{
this
.
transformNumber
=
this
.
transformNumber
+
360
;
this
.
$refs
.
swiperList
.
style
.
transform
=
'translateX('
+
this
.
transformNumber
+
'px) scale(1)'
;
}
},
rightswiperList
()
{
rightswiperList
()
{
if
((
this
.
$refs
.
swiperList
.
offsetWidth
-
Math
.
abs
(
this
.
transformNumber
))
>
this
.
$refs
.
swiperMain
.
offsetWidth
)
{
this
.
transformNumber
=
this
.
transformNumber
-
360
;
this
.
$refs
.
swiperList
.
style
.
transform
=
'translateX('
+
this
.
transformNumber
+
'px) scale(1)'
;
}
},
zccompanyNamePost
()
{
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zccompany_name'
,{
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zccompany_name'
,
{
"company_name"
:
this
.
zcoName
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
d
.
data
.
company_keys
;
this
.
recommendationsArr
=
data
...
...
@@ -419,7 +420,7 @@
},
zcPost
(
size
)
{
/*http://43.247.184.92:8018/gsb/api/zc*/
axios
.
post
(
'http://43.247.184.92:8019/gsb/api/zc'
,{
/*
axios.post('http://43.247.184.92:8019/gsb/api/zc',{
"zctext": this.zctext,
"currentpage": size || 1,
"pagesize":15,
...
...
@@ -440,13 +441,29 @@
this.total = d.data.total;
this.tableData1 = d.data.cityname_list;
console.log(this.recommendationsArr,12312312321);
})*/
axios
.
post
(
'http://106.13.228.212:8011/policy_report'
,
{
"companyname"
:
this
.
zctext
}).
then
(
d
=>
{
console
.
log
(
d
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
;
this
.
total
=
d
.
data
.
total
;
this
.
portrayalArr
=
d
.
data
.
huaxiang
;
})
},
zccompanyPost
()
{
axios
.
post
(
'http://43.247.184.92:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
/*
axios.post('http://43.247.184.92:8018/gsb/api/zccompany',{}).then( d => {
console.log(d);
var data = d.data.data;
this.portrayalArr = data
})*/
axios
.
post
(
'http://106.13.228.212:8011/policy_report'
,
{
"companyname"
:
this
.
zctext
}).
then
(
d
=>
{
console
.
log
(
d
);
var
data
=
d
.
data
.
huaxiang
;
this
.
portrayalArr
=
data
})
},
getCompanyListPost
()
{
...
...
@@ -482,10 +499,17 @@
inputPattern
:
/
[\w
!#$%&'*+
/
=?^_`{|}~-
]
+
(?:\.[\w
!#$%&'*+
/
=?^_`{|}~-
]
+
)
*@
(?:[\w](?:[\w
-
]
*
[\w])?\.)
+
[\w](?:[\w
-
]
*
[\w])?
/
,
inputErrorMessage
:
'邮箱格式不正确'
}).
then
(({
value
})
=>
{
axios
.
post
(
'http://49.232.11.140:8006/policy_report'
,
{
"name"
:
this
.
zctext
,
"mails"
:
value
}).
then
(
d
=>
{
console
.
log
(
d
);
this
.
$message
({
type
:
'success'
,
message
:
'政策报告已发送至您的邮箱'
});
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
...
...
@@ -501,7 +525,7 @@
};*/
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
/*this.zccompanyPost();*/
/*this.qiyeHuaXiang();*/
},
vname
:
"gsb-policyquery"
...
...
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