Commit 749d51e9 by 米嘉伟

采集信息统计模板对接

parent 6d688c61
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
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
......@@ -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 () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment