apply-clients 3.4.2-FuGu-24 → 3.4.2-FuGu-25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -478,6 +478,28 @@ export default {
|
|
|
478
478
|
}
|
|
479
479
|
}))
|
|
480
480
|
},
|
|
481
|
+
// 获取施工负责人
|
|
482
|
+
async getWorker () {
|
|
483
|
+
let data = {
|
|
484
|
+
source: 'this.getParentByType($organization$).getChildByName($安装员$).getChildren()',
|
|
485
|
+
userid: this.$login.f.id
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
let http = new HttpResetClass()
|
|
489
|
+
let res = await http.load(
|
|
490
|
+
'POST',
|
|
491
|
+
`${this.$androidUtil.getProxyUrl()}/rs/search`,
|
|
492
|
+
{data: data},
|
|
493
|
+
{resolveMsg: null, rejectMsg: '施工负责人查询失败!!!'}
|
|
494
|
+
)
|
|
495
|
+
|
|
496
|
+
return res.data.map(item => {
|
|
497
|
+
return {
|
|
498
|
+
label: item.name,
|
|
499
|
+
value: item.name
|
|
500
|
+
}
|
|
501
|
+
})
|
|
502
|
+
},
|
|
481
503
|
async streetChange () {
|
|
482
504
|
if (isEmpty(this.show_data.f_street)) {
|
|
483
505
|
return
|