|
@@ -91,6 +91,21 @@ export default {
|
|
|
},
|
|
|
corpType: {
|
|
|
type: String
|
|
|
+ },
|
|
|
+ beginCreateTime: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
+ endCreateTime: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
+ salesName: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
+ corpName: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
+ brand: {
|
|
|
+ type: String
|
|
|
}
|
|
|
},
|
|
|
filters: {
|
|
@@ -208,7 +223,7 @@ export default {
|
|
|
id: this.reportId,
|
|
|
userId: userId,
|
|
|
tenantId: tenantId,
|
|
|
- corpType: this.corpType
|
|
|
+ salesName: this.salesName
|
|
|
}
|
|
|
});
|
|
|
} else if (name == "经销商-采购单.ureport.xml") {
|
|
@@ -220,9 +235,68 @@ export default {
|
|
|
tenantId: tenantId
|
|
|
}
|
|
|
});
|
|
|
+ } else if (name == "销售利润对比表-业务员.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.beginCreateTime,
|
|
|
+ endCreateTime:this.endCreateTime,
|
|
|
+ salesName:this.salesName
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (name == "销售利润对比表-客户.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.beginCreateTime,
|
|
|
+ endCreateTime:this.endCreateTime,
|
|
|
+ corpName:this.corpName
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (name == "销售提成数量表.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.beginCreateTime,
|
|
|
+ endCreateTime:this.endCreateTime,
|
|
|
+ salesName:this.salesName
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (name == "销售规格明细表-品牌.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.beginCreateTime,
|
|
|
+ endCreateTime:this.endCreateTime,
|
|
|
+ brand:this.brand
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (name == "销售规格明细表-客户.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.beginCreateTime,
|
|
|
+ endCreateTime:this.endCreateTime,
|
|
|
+ corpId:this.searchValue.corpId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else if (name == "品牌采购对账数据表.ureport.xml") {
|
|
|
+ this.$router.push({
|
|
|
+ path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
+ query: {
|
|
|
+ tenantId: tenantId,
|
|
|
+ beginCreateTime:this.searchValue.createStartTime,
|
|
|
+ endCreateTime:this.searchValue.createEndTime,
|
|
|
+ brand:this.searchValue.brand
|
|
|
+ }
|
|
|
+ });
|
|
|
} else {
|
|
|
- let userId = JSON.parse(localStorage.getItem("saber-userInfo")).content
|
|
|
- .user_id;
|
|
|
+ let userId = JSON.parse(localStorage.getItem("saber-userInfo")).content.user_id;
|
|
|
this.$router.push({
|
|
|
path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`,
|
|
|
query: {
|