Newer
Older
operation_web / src / mixins / methods.js
@yuwj yuwj on 27 Jan 2021 808 bytes 集成数据滤网模块
/**
 * 组件方法调用超过两次以上
 */
export default {
    data(){
        return {
            'noticeUsername': []
        };
    },
    'methods':{
        async getListsUsname(username = '') {
        /**
         * 获取用户信息
         */
            this.deleteList = [];
            let datas = {
                'params': {
                    'pageSize': 100000,
                    'pageNo': 1,
                    'username': username,
                    'ssex': '',
                    'status': ''
                }
            };

            let response = await this.getTableData(datas, this.nozzle.userList);

            if (response.data.code === 200) {
                this.noticeUsername = response.data ? response.data.data.list : [];
            }
        }
    }
};