diff --git a/src/pages/organization/OrganizationCompany.vue b/src/pages/organization/OrganizationCompany.vue index c77bc27..527d0c1 100644 --- a/src/pages/organization/OrganizationCompany.vue +++ b/src/pages/organization/OrganizationCompany.vue @@ -5,7 +5,7 @@ 大区 - @@ -377,6 +377,19 @@ onClickGetDataLister: function () { this.pageNum = 1; this.getData(); + }, + /** + * 点击清除按钮事件处理 + * @param type + */ + onClickClearBtnLister: function (type) { + if (type === 0) { + // 大区 + this.regionId = 0; + }else if(type === 1){ + // 零售公司 + this.companyId = 0; + } } } } diff --git a/src/pages/organization/OrganizationCustomer.vue b/src/pages/organization/OrganizationCustomer.vue index 12d8bd0..73437e1 100644 --- a/src/pages/organization/OrganizationCustomer.vue +++ b/src/pages/organization/OrganizationCustomer.vue @@ -5,11 +5,11 @@ 大区 - 零售公司 - @@ -388,6 +388,22 @@ this.pageNum = 1; this.getData(); }, + /** + * 点击清除按钮事件处理 + * @param type + */ + onClickClearBtnLister: function (type) { + if (type === 0) { + // 大区 + this.regionId = 0; + }else if(type === 1){ + // 零售公司 + this.companyId = 0; + }else if(type === 2){ + // 客户 + this.customerId = 0; + } + } } } diff --git a/src/pages/organization/OrganizationRegion.vue b/src/pages/organization/OrganizationRegion.vue index 58ee6c8..26b1afb 100644 --- a/src/pages/organization/OrganizationRegion.vue +++ b/src/pages/organization/OrganizationRegion.vue @@ -257,6 +257,16 @@ }, function () { that.btnLoading = false; }); + }, + /** + * 点击清除按钮事件处理 + * @param type + */ + onClickClearBtnLister: function (type) { + if (type === 0) { + // 大区 + this.regionId = 0; + } } } } diff --git a/src/pages/organization/OrganizationStore.vue b/src/pages/organization/OrganizationStore.vue index 7a129eb..49846bd 100644 --- a/src/pages/organization/OrganizationStore.vue +++ b/src/pages/organization/OrganizationStore.vue @@ -5,15 +5,15 @@ 大区 - 零售公司 - 客户 - @@ -423,6 +423,22 @@ this.pageNum = 1; this.getData(); }, + /** + * 点击清除按钮事件处理 + * @param type + */ + onClickClearBtnLister: function (type) { + if (type === 0) { + // 大区 + this.regionId = 0; + }else if(type === 1){ + // 零售公司 + this.companyId = 0; + }else if(type === 2){ + // 客户 + this.customerId = 0; + } + } } }