Commit 70ae035a by 无尘

fix: 修改分配

parent f45f2648
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 14:46:39
* @LastEditTime: 2020-09-17 16:07:15
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
-->
<!--
......@@ -74,8 +74,8 @@ export default {
type: Object,
default() {
return {
departmentId: '',
departmentName: '',
storeGroupId: '',
storeGroupName: '',
wxDepartmentId: '',
parentId: '',
isStore: '',
......@@ -89,7 +89,6 @@ export default {
return {
wxEnterpriseId: localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).wxEnterpriseId : '',
nameVisible: false,
departmentName: this.departObj.departmentName || '',
searchInput: '',
storeTypeId: '',
storeTypeOptions: [
......@@ -138,7 +137,9 @@ export default {
const that = this;
if (Object.keys(that.departObj)) {
that.currentPage = 1;
that.getTableList();
that.tableData = [];
that.total = 0;
that.departObj.storeGroupId ? that.getTableList() : '';
}
},
methods: {
......@@ -223,6 +224,8 @@ export default {
})
.catch(function(error) {
that.loading = false;
that.tableData = [];
that.total = 0;
});
}
},
......@@ -231,7 +234,9 @@ export default {
const that = this;
if (Object.keys(newData)) {
that.currentPage = 1;
that.getTableList();
that.tableData = [];
that.total = 0;
newData.storeGroupId ? that.getTableList() : '';
}
},
brandId(newData) {
......
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