|
@@ -320,6 +320,9 @@ export default {
|
|
|
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`
|
|
|
},
|
|
|
},
|
|
|
+ created() {
|
|
|
+ this.queryParam.userId = this.userInfo().id;
|
|
|
+ },
|
|
|
methods: {
|
|
|
onChange(text,record) {
|
|
|
this.spinning=true;
|
|
@@ -341,6 +344,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
...mapGetters(['nickname', 'avatar', 'userInfo']),
|
|
|
getList() {
|
|
|
var params = {}
|
|
@@ -358,6 +362,10 @@ export default {
|
|
|
})
|
|
|
.finally(() => {})
|
|
|
},
|
|
|
+ searchQuery(){
|
|
|
+ this.queryParam.userId = this.userInfo().id;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
filterOption(input, option) {
|
|
|
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
},
|