Commit f098d2d2 by jack

修复bug

1 parent 5364a01f
......@@ -49,11 +49,13 @@
</basic-dialog>
<basic-dialog :title="filterDialogTitle" :isVisible="filterVisible" @confirmDialog="filterConfirm" @closeDialog="closeFilter">
<slot>
<div v-loading="loading">
<el-input placeholder="输入关键字进行过滤" v-model="filterText" size="small">
</el-input>
<el-tree class="filter-tree" :data="filterTextData" :filter-node-method="filterNode" highlight-current ref="tree" node-key="id" check-on-click-node>
</el-tree>
</div>
</slot>
</basic-dialog>
</div>
......@@ -383,6 +385,7 @@ export default {
// 新增车辆-车型数据
vehicleList: [],
loading:false
};
},
watch: {
......@@ -634,9 +637,14 @@ export default {
closeFilter() {
this.filterVisible = !this.filterVisible;
},
// 获取特约门店数据
getStoreList() {
let _this = this;
_this.loading = true;
getSpecialShopList().then((res) => {
const { code, data } = res;
_this.loading = false;
if (code == 200) {
this.filterTextData = data;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!