| | |
| | | loginGuid: this.GetLoginInfor().loginGuid, |
| | | loginAccount: this.GetLoginInfor().loginAccount, |
| | | }; |
| | | |
| | | that.AxiosHttp("post", 'MesStaff/GetList', { |
| | | //name: that.userInfo.loginAccount, |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | | if (json.status == 0) { |
| | | that.actions = json.data.tbBillList.map(item => { |
| | | return { name: item.staffName } |
| | | }); |
| | | |
| | | that.stafList = json.data.tbBillList; |
| | | } |
| | | else { |
| | | that.$toast.fail(json.message); |
| | | } |
| | | that.isLoading = false; |
| | | }) |
| | | .catch(function (error) { |
| | | that.isLoading = false; |
| | | that.$toast.fail("网络错误,请重试!"); |
| | | console.log(error); |
| | | }); |
| | | |
| | | }, |
| | | methods: { |
| | | getInfo() { |