test

hello world 

this is first blog 

 1  onSearch () {
 2       this.selectOption = {
 3         online: this.online, robotSn: this.robotSn
 4       };
 5       this.selectOption.robotTypeId = localRead('robotTypeId');
 6       this.dataLoading = true;
 7       request.TbRobotPage(this.selectOption).then(res => {
 8         if (res.body.rspCode === '000000') {
 9           this.pageTotal = res.data.data.total;
10           this.tableData = res.data.data.content;
11           this.dataLoading = false;
12         } else {
13           this.dataLoading = false;
14           this.$message.error(res.body.rspMsg);
15         }
16         // console.log(res.data);
17       }).catch(err => {
18         this.dataLoading = false;
19         this.$message.error(err);
20       });
21     },

 

posted @ 2021-11-01 15:50  無幻  阅读(36)  评论(0)    收藏  举报