mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
81db11b265
commit
bffd69536b
@ -25,6 +25,9 @@ import {
|
||||
*/
|
||||
export function getRooms() {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(!_owner.ownerId){
|
||||
reject('未包含业主信息');
|
||||
}
|
||||
getCurOwner()
|
||||
.then(function(_owner) {
|
||||
request({
|
||||
|
||||
@ -79,12 +79,11 @@
|
||||
this.irId = options.irId;
|
||||
this._loadDetail();
|
||||
this._loadDetailResNames();
|
||||
|
||||
},
|
||||
methods: {
|
||||
_loadDetail: function() {
|
||||
let _that = this;
|
||||
getMyItemRelease({
|
||||
getMyItemRelease(this,{
|
||||
page: 1,
|
||||
row: 1,
|
||||
irId: this.irId,
|
||||
@ -96,7 +95,7 @@
|
||||
},
|
||||
_loadDetailResNames: function() {
|
||||
let _that = this;
|
||||
getItemReleaseRes({
|
||||
getItemReleaseRes(this,{
|
||||
page: 1,
|
||||
row: 100,
|
||||
irId: this.irId,
|
||||
@ -107,7 +106,7 @@
|
||||
},
|
||||
_loadComment: function() {
|
||||
let _that = this;
|
||||
queryOaWorkflowUser({
|
||||
queryOaWorkflowUser(this,{
|
||||
page: 1,
|
||||
row: 100,
|
||||
id: this.irId,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user