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
7493fe44
Commit
7493fe44
authored
Dec 02, 2019
by
刘泽奇
Browse files
Options
Browse Files
Download
Plain Diff
123
parents
5d0717b8
d15089a9
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
468 additions
and
349 deletions
+468
-349
igirl-web/app/front/entry/main.ejs
+2
-1
igirl-web/app/front/entry/public/css/pagecom.css
+0
-0
igirl-web/app/front/entry/public/imgs/tuisong.png
+0
-0
igirl-web/app/front/entry/public/js/index.js
+13
-7
igirl-web/app/front/vues/pages/declare/declare.html
+3
-4
igirl-web/app/front/vues/pages/declare/declare.js
+115
-82
igirl-web/app/front/vues/pages/login/login.html
+1
-1
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.html
+16
-11
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.js
+114
-83
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.html
+3
-4
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.js
+100
-86
igirl-web/app/front/vues/pages/recommen/recommen.js
+99
-65
igirl-web/app/front/vues/pages/register/register.html
+1
-1
igirl-web/app/front/vues/pages/subscription/subscription.html
+1
-4
No files found.
igirl-web/app/front/entry/main.ejs
View file @
7493fe44
...
...
@@ -497,7 +497,8 @@
<div
id=
"app"
v-loading=
"loading"
class=
"app-main"
style=
"visibility: hidden"
@
mouseover=
"hidePanel($event)"
>
<div
id=
"app-header"
>
<div
:class=
"isfront ? 'header-main' : 'header-main-houtai'"
>
<div
class=
"header-main-title"
@
click=
"backhome"
>
一站式智能化服务平台
</div>
<div
class=
"header-main-title"
@
click=
"backhome(companyinfo.company.siteTheme)"
v-if=
"companyinfo.company.siteTheme == 'policyShop' || companyinfo.company.siteTheme == 'policy'"
>
<span
style=
"font-size: 18px;"
>
政企通
</span>
丨 政策大数据服务平台
</div>
<div
class=
"header-main-title"
@
click=
"backhome"
v-else
>
一站式智能化服务平台
</div>
<div
class=
"header-main-title1"
style=
"margin-left:11px;"
v-if=
"companyinfo.company.siteTheme == 'policy'"
>
<el-popover
placement=
"bottom-start"
width=
"511"
trigger=
"hover"
>
...
...
igirl-web/app/front/entry/public/css/pagecom.css
View file @
7493fe44
igirl-web/app/front/entry/public/imgs/tuisong.png
0 → 100755
View file @
7493fe44
2.04 MB
igirl-web/app/front/entry/public/js/index.js
View file @
7493fe44
...
...
@@ -555,8 +555,9 @@ var app = new Vue({
if
(
item
==
"declare"
)
{
this
.
stageType
=
false
;
this
.
pushx
({
title
:
"政策资讯"
,
name
:
"/declare"
title
:
"申报通知"
,
name
:
"/declare"
,
params
:
{
name
:
'申报通知'
}
});
return
false
;
}
...
...
@@ -564,7 +565,8 @@ var app = new Vue({
this
.
stageType
=
false
;
this
.
pushx
({
title
:
"立项公示"
,
name
:
"/projectpublicity"
name
:
"/projectpublicity"
,
params
:
{
name
:
'立项公示'
}
});
return
false
;
}
...
...
@@ -572,7 +574,8 @@ var app = new Vue({
this
.
stageType
=
false
;
this
.
pushx
({
title
:
"管理办法"
,
name
:
"/managementmeasures"
name
:
"/managementmeasures"
,
params
:
{
name
:
'管理办法'
}
});
return
false
;
}
...
...
@@ -1042,8 +1045,10 @@ var app = new Vue({
}
},
backhome
()
{
backhome
(
name
)
{
if
(
name
==
'policyShop'
)
{
return
window
.
open
(
location
.
protocol
+
"?paramtheme=policy#/"
);
}
this
.
pushx
({
title
:
"首页"
,
name
:
"/"
...
...
@@ -1403,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 @
7493fe44
...
...
@@ -3,9 +3,8 @@
<div
class=
"policylist-tile"
style=
"margin-top: 15px;"
>
<div
class=
"policyquery-items"
>
<div
class=
"items_item"
:style=
"headerHeight1 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"quanbu ? \'\':\'pitch\'"
@
click=
"quanClick1()"
>
申报通知({{total}})
</div>
<div
:class=
"quanbu == item ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item}}
</div>
<div
:class=
"quanbu == item.title ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item.title}}
</div>
</div>
</div>
...
...
@@ -180,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 @
7493fe44
...
...
@@ -33,38 +33,61 @@
headerHeight7
:
true
,
headerHeight8
:
true
,
headerHeight9
:
true
,
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
loopplays
:
[
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
quanData1
:[
'立项公示(134)'
,
'管理办法(103)'
,
'政策图解(1)'
,
'政务信息(13)'
,
'新闻资讯(69)'
,
quanData1
:
[
{
title
:
'申报通知'
,
count
:
'111'
},
{
title
:
'立项公示'
,
count
:
'3054'
},
{
title
:
'管理办法'
,
count
:
'100'
},
{
title
:
'政策图解'
,
count
:
'200'
},
{
title
:
'政务信息'
,
count
:
'300'
},
{
title
:
'新闻资讯'
,
count
:
'400'
}
],
tableData1
:
[
'北京'
,
...
...
@@ -98,13 +121,13 @@
'夏回族自治区'
,
'四川'
],
tableData2
:
[
tableData2
:
[
'部委'
,
'省级'
,
'市级'
,
'区级'
],
tableData3
:
[
tableData3
:
[
'发改部门'
,
'教育部门'
,
'科学技术部门'
,
...
...
@@ -123,7 +146,7 @@
'市场监督部门'
,
'其他部门'
],
tableData4
:
[
tableData4
:
[
'资质荣誉'
,
'事前补助'
,
'研发费补助'
,
...
...
@@ -135,12 +158,12 @@
'创业补贴'
,
'人才补贴'
],
tableData5
:
[
tableData5
:
[
'事业单位'
,
'企业单位'
,
'社会组织'
],
tableData6
:
[
tableData6
:
[
'工业'
,
'建筑业'
,
'金融业'
,
...
...
@@ -159,7 +182,7 @@
'电力、热力、燃气及水生产和供应业'
,
'其他'
],
tableData7
:
[
tableData7
:
[
'普惠(创新券/社保补贴/创业补贴等)'
,
'科技创新'
,
'人才类'
,
...
...
@@ -185,7 +208,7 @@
'产品认定'
,
'其他'
],
tableData8
:
[
tableData8
:
[
'基础与应用基础研究'
,
'社会民生'
,
'现代服务业'
,
...
...
@@ -196,7 +219,7 @@
'创业补贴'
,
'人才补贴'
],
tableData9
:
[
tableData9
:
[
'2019'
,
'2018'
,
'2017'
,
...
...
@@ -205,31 +228,31 @@
'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"
}]
}
},
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
)
{
...
...
@@ -247,12 +270,13 @@
this
.
zcPost
()
},
quanClick1
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
.
title
);
if
(
val
==
undefined
)
{
console
.
log
(
123123123123
);
val
=
''
};
this
.
quanbu
=
val
;
this
.
quanbu
=
val
.
title
;
},
tableDataClick2
(
val
)
{
console
.
log
(
val
);
...
...
@@ -324,7 +348,7 @@
handleCurrentChange
(
val
)
{
this
.
zcPost
(
val
)
},
consulting
()
{
consulting
()
{
this
.
$confirm
(
'提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?'
,
'政策咨询'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -343,15 +367,15 @@
},
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://43.247.184.92:8018/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
})
...
...
@@ -362,7 +386,7 @@
after(i) {
this.rKey = i+1;
},*/
next
()
{
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
...
...
@@ -379,37 +403,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
...
...
@@ -417,10 +441,10 @@
},
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
,
"pagesize"
:
15
,
"cityname"
:
this
.
input1
,
"policygrade"
:
this
.
input2
,
"policydepartment"
:
this
.
input3
,
...
...
@@ -430,18 +454,18 @@
"policydomain"
:
this
.
input7
,
"fieldtext"
:
this
.
input8
,
"year"
:
this
.
input9
,
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
;
this
.
total
=
d
.
data
.
total
;
this
.
tableData1
=
d
.
data
.
cityname_list
;
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
})
},
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
...
...
@@ -471,7 +495,14 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
}
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
$
(
"#footer"
).
show
();
...
...
@@ -481,7 +512,10 @@
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
console
.
log
(
this
.
$route
.
query
.
name
,
'======================'
);
if
(
this
.
$route
.
query
.
name
!=
""
)
{
this
.
quanbu
=
this
.
$route
.
query
.
name
;
}
},
vname
:
"gsb-policyquery"
}
\ No newline at end of file
}
igirl-web/app/front/vues/pages/login/login.html
View file @
7493fe44
...
...
@@ -2,7 +2,7 @@
<div
style=
"width:100%;margin: 0 auto;"
>
<div
style=
"z-index:1;position:relative;background-color:#31373b"
>
<img
style=
"width:100%;height:auto"
:src=
"loginUrl"
/>
<div
class=
"login-title"
>
<div
class=
"login-title"
v-if=
"companyinfo.company.siteTheme == \'policy\'"
>
<span
class=
"tong"
>
政企通
</span>
<span
class=
"shujuzi"
>
政策大数据服务平台
</span>
</div>
...
...
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.html
View file @
7493fe44
...
...
@@ -3,9 +3,9 @@
<div
class=
"policylist-tile"
style=
"margin-top: 15px;"
>
<div
class=
"policyquery-items"
>
<div
class=
"items_item"
:style=
"headerHeight1 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"quanbu ? \'\':\'pitch\'"
@
click=
"quanClick1()"
>
管理办法({{total}})
</div>
<div
:class=
"quanbu == item ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item.title}}({{item.count}})
</div>
<div
:class=
"quanbu == item.title ? \'pitch\' : \'\'"
v-for=
"(item,index) in quanData1"
@
click=
"quanClick1(item)"
>
{{item.title}}
</div>
</div>
</div>
...
...
@@ -16,7 +16,8 @@
<div
class=
"policylist-content"
style=
"background: rgba(255,255,255,1);
border-radius: 2px;
border: 1px solid rgba(225,225,225,1);width: 77%;"
>
<div
class=
"brandfind-main-equal-form-box-null"
v-if=
"recommendationsArr.length==0"
style=
"height:500px;"
>
<div
class=
"brandfind-main-equal-form-box-null"
v-if=
"recommendationsArr.length==0"
style=
"height:500px;"
>
<!-- 没数据 -->
<div
class=
"shuju"
>
<img
src=
"/imgs/toubu.png"
alt=
""
>
...
...
@@ -28,12 +29,14 @@
<div
class=
"shenbao2"
>
{{i.name}}
</div>
</div>
<div>
<div
class=
"policylist-conten-items"
><span>
{{i.source}}
</span>
<div
class=
"policylist-conten-items"
style=
"overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 80%;"
><span>
{{i.first_section}}
</span>
</div>
<div
class=
"policylistsitems"
><span>
<p
style=
"float: right;
margin-top: -20px;"
><img
src=
"/imgs/riqi.png"
alt=
""
>
申报日期:{{i.begindate}}
margin-top: -20px;"
><img
src=
"/imgs/riqi.png"
alt=
""
>
申报日期:{{i.begindate}}
</span></p>
</div>
</div>
...
...
@@ -44,7 +47,9 @@
<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>
...
...
@@ -81,7 +86,7 @@
<div
class=
"essay-title"
>
<div
class=
"essay-title-name"
>
{{recommendationsObj.name}}
</div>
<div
class=
"essay-title-list"
>
<span>
发布部门:{{recommendationsObj.source}}
</span><span>
阅读量:{{recommendationsObj.
count}}
</span><span>
申报日期:{{recommendationsObj.begindate}}
</span>
<span>
阅读量:{{
count}}
</span><span>
申报日期:{{recommendationsObj.begindate}}
</span>
</div>
</div>
<div
class=
"essay-content"
v-html=
"recommendationsObj.policytext"
></div>
...
...
@@ -100,4 +105,4 @@
<img src="/imgs/gsb.png" alt=""> 扫一扫,关注iBOSS微信服务号,随时随地了解行业政策最新资讯
</div> -->
</div>
</div>
\ No newline at end of file
</div>
\ No newline at end of file
igirl-web/app/front/vues/pages/managementmeasures/managementmeasures.js
View file @
7493fe44
...
...
@@ -7,6 +7,7 @@
show2
:
false
,
policyArr
:
[],
recommendationsArr
:
[],
count
:
''
,
policyOptions
:
[{
value
:
'北京东方飞扬软件股份有限公司'
,
label
:
'北京东方飞扬软件股份有限公司'
...
...
@@ -33,55 +34,60 @@
headerHeight7
:
true
,
headerHeight8
:
true
,
headerHeight9
:
true
,
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
loopplays
:
[
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
quanData1
:
[
quanData1
:
[
{
title
:
'申报通知'
,
count
:
'3054
'
title
:
'申报通知'
,
count
:
'111
'
},
{
title
:
'立项公示'
,
count
:
'100'
title
:
'立项公示'
,
count
:
'3054'
},
{
title
:
'管理办法'
,
count
:
'100'
},
{
title
:
'政策图解'
,
count
:
'200'
title
:
'政策图解'
,
count
:
'200'
},
{
title
:
'政务信息'
,
count
:
'300'
title
:
'政务信息'
,
count
:
'300'
},
{
title
:
'新闻资讯(69)
'
,
count
:
'400'
title
:
'新闻资讯
'
,
count
:
'400'
}
],
tableData1
:
[
...
...
@@ -116,13 +122,13 @@
'夏回族自治区'
,
'四川'
],
tableData2
:
[
tableData2
:
[
'部委'
,
'省级'
,
'市级'
,
'区级'
],
tableData3
:
[
tableData3
:
[
'发改部门'
,
'教育部门'
,
'科学技术部门'
,
...
...
@@ -141,7 +147,7 @@
'市场监督部门'
,
'其他部门'
],
tableData4
:
[
tableData4
:
[
'资质荣誉'
,
'事前补助'
,
'研发费补助'
,
...
...
@@ -153,12 +159,12 @@
'创业补贴'
,
'人才补贴'
],
tableData5
:
[
tableData5
:
[
'事业单位'
,
'企业单位'
,
'社会组织'
],
tableData6
:
[
tableData6
:
[
'工业'
,
'建筑业'
,
'金融业'
,
...
...
@@ -177,7 +183,7 @@
'电力、热力、燃气及水生产和供应业'
,
'其他'
],
tableData7
:
[
tableData7
:
[
'普惠(创新券/社保补贴/创业补贴等)'
,
'科技创新'
,
'人才类'
,
...
...
@@ -203,7 +209,7 @@
'产品认定'
,
'其他'
],
tableData8
:
[
tableData8
:
[
'基础与应用基础研究'
,
'社会民生'
,
'现代服务业'
,
...
...
@@ -214,7 +220,7 @@
'创业补贴'
,
'人才补贴'
],
tableData9
:
[
tableData9
:
[
'2019'
,
'2018'
,
'2017'
,
...
...
@@ -223,31 +229,31 @@
'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"
}]
}
},
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
)
{
...
...
@@ -265,12 +271,12 @@
this
.
zcPost
()
},
quanClick1
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
.
title
);
if
(
val
==
undefined
)
{
console
.
log
(
123123123123
);
val
=
''
};
this
.
quanbu
=
val
;
this
.
quanbu
=
val
.
title
;
},
tableDataClick2
(
val
)
{
console
.
log
(
val
);
...
...
@@ -342,7 +348,7 @@
handleCurrentChange
(
val
)
{
this
.
zcPost
(
val
)
},
consulting
()
{
consulting
()
{
this
.
$confirm
(
'提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?'
,
'政策咨询'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -360,18 +366,19 @@
});
},
articleDetails
(
obj
)
{
console
.
log
(
obj
,
'==========111'
);
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:8012/gsb/api/zcdetailcount'
,
{
"ID"
:
obj
.
ID
,
"count"
:
0
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
"count"
:
0
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
result_count
;
this
.
count
=
data
})
},
/*before(i) {
...
...
@@ -380,7 +387,7 @@
after(i) {
this.rKey = i+1;
},*/
next
()
{
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
...
...
@@ -397,44 +404,44 @@
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
})
},
zcPost
(
size
)
{
/*http://43.247.184.92:8018/gsb/api/zc*/
/*http://43.247.184.92:8018/gsb/api/zc
axios.post('http://43.247.184.92:8019/gsb/api/zc',{
"zctext": this.zctext,
"currentpage": size || 1,
...
...
@@ -456,10 +463,25 @@
this.total = d.data.total;
this.tableData1 = d.data.cityname_list;
console.log(this.recommendationsArr,12312312321);
})*/
axios
.
post
(
'http://106.13.228.212:8012/gsb/api/zc'
,
{
"zctext"
:
this
.
zctext
,
"currentpage"
:
size
||
1
,
"pagesize"
:
15
,
"model"
:
'管理办法'
,
"hot_word"
:
this
.
input2
,
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
;
this
.
total
=
d
.
data
.
total
;
this
.
tableData1
=
d
.
data
.
cityname_list
;
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
})
},
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
...
...
@@ -489,6 +511,13 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
...
...
@@ -499,7 +528,10 @@
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
console
.
log
(
this
.
$route
.
query
.
name
,
'======================'
);
if
(
this
.
$route
.
query
.
name
!=
""
)
{
this
.
quanbu
=
this
.
$route
.
query
.
name
;
}
},
vname
:
"gsb-policyquery"
}
\ No newline at end of file
}
igirl-web/app/front/vues/pages/projectpublicity/projectpublicity.html
View file @
7493fe44
...
...
@@ -3,9 +3,8 @@
<div
class=
"policylist-tile"
style=
"margin-top: 15px;"
>
<div
class=
"policyquery-items"
>
<div
class=
"items_item"
:style=
"headerHeight1 ? \'height:45px\' : \'height:auto\'"
>
<div
:class=
"quanbu ? \'\':\'pitch\'"
@
click=
"quanClick1()"
>
立项公示({{total}})
</div>
<div
:class=
"quanbu == item ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item.title}}({{item.count}})
</div>
<div
:class=
"quanbu == item.title ? \'pitch\' : \'\'"
v-for=
"item in quanData1"
@
click=
"quanClick1(item)"
>
{{item.title}}
</div>
</div>
</div>
...
...
@@ -175,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 @
7493fe44
...
...
@@ -33,55 +33,60 @@
headerHeight7
:
true
,
headerHeight8
:
true
,
headerHeight9
:
true
,
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
areaName
:
''
,
input1
:
''
,
input2
:
''
,
input3
:
''
,
input4
:
''
,
input5
:
''
,
input6
:
''
,
input7
:
''
,
input8
:
''
,
input9
:
''
,
quanbu
:
''
,
imgurls
:
[
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
'path'
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
loopplays
:
[
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
},
{
leftimg
:
'https://gsb-zc.oss-cn-beijing.aliyuncs.com//zc_44810157502884567420192920045674declare_tuisong.png'
}
],
quanData1
:
[
quanData1
:
[
{
title
:
'申报通知'
,
count
:
'3054
'
title
:
'申报通知'
,
count
:
'111
'
},
{
title
:
'管理办法'
,
count
:
'100'
title
:
'立项公示'
,
count
:
'3054'
},
{
title
:
'管理办法'
,
count
:
'100'
},
{
title
:
'政策图解'
,
count
:
'200'
title
:
'政策图解'
,
count
:
'200'
},
{
title
:
'政务信息'
,
count
:
'300'
title
:
'政务信息'
,
count
:
'300'
},
{
title
:
'新闻资讯(69)
'
,
count
:
'400'
title
:
'新闻资讯
'
,
count
:
'400'
}
],
tableData1
:
[
...
...
@@ -116,13 +121,13 @@
'夏回族自治区'
,
'四川'
],
tableData2
:
[
tableData2
:
[
'部委'
,
'省级'
,
'市级'
,
'区级'
],
tableData3
:
[
tableData3
:
[
'发改部门'
,
'教育部门'
,
'科学技术部门'
,
...
...
@@ -141,7 +146,7 @@
'市场监督部门'
,
'其他部门'
],
tableData4
:
[
tableData4
:
[
'资质荣誉'
,
'事前补助'
,
'研发费补助'
,
...
...
@@ -153,12 +158,12 @@
'创业补贴'
,
'人才补贴'
],
tableData5
:
[
tableData5
:
[
'事业单位'
,
'企业单位'
,
'社会组织'
],
tableData6
:
[
tableData6
:
[
'工业'
,
'建筑业'
,
'金融业'
,
...
...
@@ -177,7 +182,7 @@
'电力、热力、燃气及水生产和供应业'
,
'其他'
],
tableData7
:
[
tableData7
:
[
'普惠(创新券/社保补贴/创业补贴等)'
,
'科技创新'
,
'人才类'
,
...
...
@@ -203,7 +208,7 @@
'产品认定'
,
'其他'
],
tableData8
:
[
tableData8
:
[
'基础与应用基础研究'
,
'社会民生'
,
'现代服务业'
,
...
...
@@ -214,7 +219,7 @@
'创业补贴'
,
'人才补贴'
],
tableData9
:
[
tableData9
:
[
'2019'
,
'2018'
,
'2017'
,
...
...
@@ -223,31 +228,31 @@
'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"
}]
}
},
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
)
{
...
...
@@ -265,12 +270,12 @@
this
.
zcPost
()
},
quanClick1
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
.
title
);
if
(
val
==
undefined
)
{
console
.
log
(
123123123123
);
val
=
''
};
this
.
quanbu
=
val
;
this
.
quanbu
=
val
.
title
;
},
tableDataClick2
(
val
)
{
console
.
log
(
val
);
...
...
@@ -342,7 +347,7 @@
handleCurrentChange
(
val
)
{
this
.
zcPost
(
val
)
},
consulting
()
{
consulting
()
{
this
.
$confirm
(
'提交后会有政策解读专家与您联系,为您进行一对一免费解答,请 确认是否提交?'
,
'政策咨询'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -361,15 +366,15 @@
},
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://43.247.184.92:8018/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
})
...
...
@@ -380,7 +385,7 @@
after(i) {
this.rKey = i+1;
},*/
next
()
{
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
...
...
@@ -397,37 +402,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
...
...
@@ -435,10 +440,10 @@
},
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
,
"pagesize"
:
15
,
"cityname"
:
this
.
input1
,
"policygrade"
:
this
.
input2
,
"policydepartment"
:
this
.
input3
,
...
...
@@ -448,18 +453,18 @@
"policydomain"
:
this
.
input7
,
"fieldtext"
:
this
.
input8
,
"year"
:
this
.
input9
,
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
"address"
:
this
.
areaName
}).
then
(
d
=>
{
console
.
log
(
d
,
'---------------------------------'
);
var
data
=
d
.
data
.
data
;
this
.
recommendationsArr
=
data
;
this
.
total
=
d
.
data
.
total
;
this
.
tableData1
=
d
.
data
.
cityname_list
;
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
console
.
log
(
this
.
recommendationsArr
,
12312312321
);
})
},
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
...
...
@@ -489,6 +494,13 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
`操作失败,请刷新页面后重新操作`
);
});
},
payClick
(){
console
.
log
(
1231231231232
);
this
.
$root
.
pushx
({
title
:
"政策订阅"
,
name
:
"/subscription"
});
}
},
mounted
:
function
()
{
...
...
@@ -499,7 +511,10 @@
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
console
.
log
(
this
.
$route
.
query
.
name
,
'======================'
);
if
(
this
.
$route
.
query
.
name
!=
""
)
{
this
.
quanbu
=
this
.
$route
.
query
.
name
;
}
},
vname
:
"gsb-policyquery"
}
\ No newline at end of file
}
igirl-web/app/front/vues/pages/recommen/recommen.js
View file @
7493fe44
...
...
@@ -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,26 +336,36 @@
},
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
()
{
console
.
log
(
1111111
);
axios
.
post
(
'http://106.13.228.212:8011/policy_report'
,
{
"companyname"
:
this
.
zctext
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
data
})
},
/*before(i) {
this.rKey = i-1;
},
after(i) {
this.rKey = i+1;
},*/
next
()
{
next
()
{
this
.
detailPageType
=
true
;
this
.
zccompanyPost
();
this
.
zcPost
()
...
...
@@ -372,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
...
...
@@ -410,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,
...
...
@@ -431,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
()
{
...
...
@@ -473,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
:
'你的邮箱是: '
+
value
message
:
'政策报告已发送至您的邮箱'
});
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
...
...
@@ -492,7 +525,8 @@
};*/
this
.
areaName
=
localStorage
.
getItem
(
"areaName"
);
this
.
zcPost
();
this
.
zccompanyPost
();
/*this.zccompanyPost();*/
/*this.qiyeHuaXiang();*/
},
vname
:
"gsb-policyquery"
}
igirl-web/app/front/vues/pages/register/register.html
View file @
7493fe44
...
...
@@ -2,7 +2,7 @@
<div
style=
"width:100%;margin: 0 auto;"
>
<div
style=
"z-index:1;position:relative;background-color:#31373b"
>
<img
style=
"width:100%;height:auto"
:src=
"loginUrl"
/>
<div
class=
"login-title"
>
<div
class=
"login-title"
v-if=
"companyinfo.company.siteTheme == \'policy\'"
>
<span
class=
"tong"
>
政企通
</span>
<span
class=
"shujuzi"
>
政策大数据服务平台
</span>
</div>
...
...
igirl-web/app/front/vues/pages/subscription/subscription.html
View file @
7493fe44
<div
class=
"snbscription"
>
<div
class=
"snbscription"
@
click=
"payClick()"
>
<img
src=
"/imgs/server.png"
alt=
""
>
<button
class=
"btn1"
@
click=
"payClick()"
>
马上订阅
</button>
<button
class=
"btn2"
@
click=
"payClick()"
>
马上订阅
</button>
</div>
\ No newline at end of file
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