Commit 0904a834 authored by danfuman's avatar danfuman

修改

parent 69ceb835
...@@ -341,22 +341,18 @@ ...@@ -341,22 +341,18 @@
if (this.$route.query.type === '3') { if (this.$route.query.type === '3') {
this.searchParam.companyNatures = ['事业单位', '机关单位']; this.searchParam.companyNatures = ['事业单位', '机关单位'];
} }
this.getCustomerList();
this.getDictType();
this.prvinceTree();
this.handleQuery(); this.handleQuery();
this.searchParam.companyName = ''; this.$watch(() => this.$route.params, () => {
// this.$watch(() => this.$route.params, () => { this.getCustomerList();
// this.getCustomerList(); this.getDictType();
// this.getDictType(); this.prvinceTree();
// this.prvinceTree(); this.handleQuery();
// this.handleQuery(); this.searchParam.companyName = '';
// this.searchParam.companyName = ''; },
// }, // 组件创建完后获取数据,
// // 组件创建完后获取数据, // 此时 data 已经被 observed 了
// // 此时 data 已经被 observed 了 { immediate: true }
// { immediate: true } );
// );
}, },
methods: { methods: {
searchFocus(event) { searchFocus(event) {
......
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