|
@@ -84,6 +84,9 @@ export default {
|
|
|
},
|
|
|
reportId: {
|
|
|
type: String
|
|
|
+ },
|
|
|
+ searchValue:{
|
|
|
+ type:Object
|
|
|
}
|
|
|
},
|
|
|
filters: {
|
|
@@ -117,9 +120,29 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
goReport(name) {
|
|
|
- this.$router.push({
|
|
|
- path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}&id=${this.reportId}`
|
|
|
- });
|
|
|
+ let tenantId = this.$store.getters.userInfo.tenant_id
|
|
|
+ if(this.reportName == "同海-统计列表"){
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}
|
|
|
+ &tenantId=${this.searchValue.tenantId}
|
|
|
+ &status=${this.searchValue.status}
|
|
|
+ &cornId=${this.searchValue.cornId}
|
|
|
+ &deptid=${this.searchValue.deptid}
|
|
|
+ &pname=${this.searchValue.pname}
|
|
|
+ &projectType=${this.searchValue.projectType}
|
|
|
+ &payStartTime=${this.searchValue.payStartTime}
|
|
|
+ &payEndTime=${this.searchValue.payEndTime}
|
|
|
+ &userName=${this.searchValue.userName}`
|
|
|
+ });
|
|
|
+ }else if(name == "客户资料-客户资料.ureport.xml"){
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}&id=${this.reportId}&tenantId=${tenantId}`
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}&id=${this.reportId}`
|
|
|
+ });
|
|
|
+ }
|
|
|
this.$emit("onClose", false);
|
|
|
}
|
|
|
},
|