Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
749d51e9
Commit
749d51e9
authored
Feb 08, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采集信息统计模板对接
parent
6d688c61
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
7 deletions
+42
-7
.env.development
+3
-2
.env.production
+3
-2
src/views/tjbb/tjbb.vue
+36
-3
No files found.
.env.development
View file @
749d51e9
VUE_APP_AUTO_WRITE = dev
\ No newline at end of file
VUE_APP_AUTO_WRITE = dev
VUE_APP_BB_IP = http://192.168.128.101:8075/
\ No newline at end of file
.env.production
View file @
749d51e9
VUE_APP_AUTO_WRITE = pro
\ No newline at end of file
VUE_APP_AUTO_WRITE = pro
VUE_APP_BB_IP = http://192.168.128.101:8075/
\ No newline at end of file
src/views/tjbb/tjbb.vue
View file @
749d51e9
...
...
@@ -89,7 +89,7 @@
<span>
采集信息统计模版
</span>
</div>
<div
class=
"btnBox"
>
<div>
可视化切换
</div>
<div
@
click=
'ksh'
>
可视化切换
</div>
<div>
打印
</div>
<div>
导出
</div>
</div>
...
...
@@ -117,6 +117,7 @@ export default {
},
data
()
{
return
{
status
:
1
,
// 可视化切换 1或2
props
:
{
value
:
"code"
,
label
:
"key"
,
...
...
@@ -148,7 +149,7 @@ export default {
formTemplate
:
cjxxmb
,
tpl
:
"1"
,
fr_cpt_url
:
"http://192.168.128.106:8075/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report"
,
`
${
process
.
env
.
VUE_APP_BB_IP
}
/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report`
,
};
},
methods
:
{
...
...
@@ -161,10 +162,42 @@ export default {
this
.
formTemplate
=
dsbzmb
;
}
console
.
log
(
val
);
this
.
handleQuery
()
},
handleQuery
()
{
console
.
log
(
this
.
params
,
this
.
checked
);
// 采集信息统计模板
let
url1
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=
${
this
.
status
}
&unitcode=%27
${
this
.
queryParams
.
unitcode
}
%27&sj=%27
${
this
.
queryParams
.
sj
}
%27#/report`
// http://localhost:8075/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=2&unitcode=%27540000000000%27&sj=%272022-01%27#/report
// 案件信息统计模板
let
url2
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
/webroot/decision/view/report?viewlet=aj.cpt&`
// http://localhost:8075/webroot/decision/view/report?viewlet=aj.cpt&page=1&limit=10&asjbh=%27%27&xckybh=%27%27&tqkssj=%272021-12-12%27&tqjssj=%272023-12-29%27&rkkssj=%272021-01-01%27&rkjssj=%272023-01-01%27&rkkssj&unitcode=%27540000000000%27
// 城市比中明细复核统计
let
url3
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
/webroot/decision/view/report?viewlet=lt.cpt&`
// http://localhost:8075/webroot/decision/view/report?viewlet=lt.cpt&querytype=%271%27&unitcode=%27540000000000%27&startTime=%272021-01-01%27&endTime=%272023-01-01%27&srcbarcode=%27%27&destbarcode=%27%27#/report&op=read
if
(
this
.
tpl
==
1
)
{
this
.
fr_cpt_url
=
url1
;
}
else
if
(
this
.
tpl
==
2
)
{
this
.
fr_cpt_url
=
url2
;
}
else
if
(
this
.
tpl
==
3
)
{
this
.
fr_cpt_url
=
url3
;
}
console
.
log
(
this
.
queryParams
,
'this.queryParams'
)
console
.
log
(
this
.
params
,
this
.
checked
,
'this.params'
);
console
.
log
(
this
.
fr_cpt_url
,
' this.fr_cpt_url'
)
},
ksh
()
{
this
.
status
==
1
?
this
.
status
=
2
:
this
.
status
=
1
this
.
handleQuery
()
}
},
computed
:
{
params
()
{
...
...
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