Commit f098d2d2 by jack

修复bug

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