| | |
| | | typeArray:["学校","医院","小区"], |
| | | typeArrayIndex:0, |
| | | typeArrayType:'请选择客户类型', |
| | | pathUrl:"https://web.byisf.com/api/blade-system", |
| | | pathUrl:"http://s16s652780.51mypc.cn/api", |
| | | // pathUrl: "http://localhost:8106" |
| | | } |
| | | }, |
| | |
| | | getTenantList(){ |
| | | var that = this; |
| | | uni.request({ |
| | | url: this.pathUrl + '/tenant/page', |
| | | url: this.pathUrl + '/blade-system/tenant/page', |
| | | method:'GET', |
| | | success: (res) => { |
| | | that.tenantArr = res.data.data.records; |
| | |
| | | //提交修改 |
| | | confirm(){ |
| | | uni.request({ |
| | | url: 'https://web.byisf.com/api/blade-system/tenant/submit', |
| | | url: this.pathUrl +'/blade-system/tenant/submit', |
| | | method:'POST', |
| | | data:{ |
| | | "id":this.id, |