apply-clients 4.1.79 → 4.1.80
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
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
class="select select_list"
|
|
198
198
|
:value.sync="item.f_install_person"
|
|
199
199
|
v-model="item.f_install_person"
|
|
200
|
-
:options="
|
|
200
|
+
:options="installpersons"
|
|
201
201
|
:disable="mark === 1"
|
|
202
202
|
:valueSingle="true"></input-select>
|
|
203
203
|
</div>
|
|
@@ -253,6 +253,7 @@ export default {
|
|
|
253
253
|
meterbrands: [], // 气表品牌
|
|
254
254
|
useradders: null,
|
|
255
255
|
userinfo: {},
|
|
256
|
+
installpersons:[],
|
|
256
257
|
getfield: {
|
|
257
258
|
'f_address': '地址',
|
|
258
259
|
'f_meternumber': '表号',
|
|
@@ -271,6 +272,7 @@ export default {
|
|
|
271
272
|
ready () {
|
|
272
273
|
this.search()
|
|
273
274
|
this.getMeterbrands()
|
|
275
|
+
this.installperson()
|
|
274
276
|
},
|
|
275
277
|
methods: {
|
|
276
278
|
// 追加表具
|
|
@@ -430,6 +432,21 @@ export default {
|
|
|
430
432
|
}
|
|
431
433
|
}
|
|
432
434
|
},
|
|
435
|
+
// 安装人
|
|
436
|
+
async installperson() {
|
|
437
|
+
let http = new HttpResetClass()
|
|
438
|
+
let res = await http.load('POST', 'rs/search', {
|
|
439
|
+
source: "this.getParentByType($organization$).getChildByName($安全员$).getChildren()",
|
|
440
|
+
userid: this.$login.f.id
|
|
441
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
442
|
+
|
|
443
|
+
this.installpersons = res.data.map(item =>{
|
|
444
|
+
return {
|
|
445
|
+
label: item.name,
|
|
446
|
+
value: item.name
|
|
447
|
+
}
|
|
448
|
+
})
|
|
449
|
+
},
|
|
433
450
|
// 关闭安装明细
|
|
434
451
|
closeUserFile() {
|
|
435
452
|
this.showUserFile = false
|
|
@@ -464,16 +481,6 @@ export default {
|
|
|
464
481
|
}
|
|
465
482
|
return data
|
|
466
483
|
},
|
|
467
|
-
// 安装人
|
|
468
|
-
installperson() {
|
|
469
|
-
console.log("安装人",this.$login.f.f_installman)
|
|
470
|
-
return this.$login.f.f_installman.map(item => {
|
|
471
|
-
return {
|
|
472
|
-
label: item.name,
|
|
473
|
-
value: item.name
|
|
474
|
-
}
|
|
475
|
-
})
|
|
476
|
-
},
|
|
477
484
|
// 表向
|
|
478
485
|
aroundmeters() {
|
|
479
486
|
return this.$appdata.getParam('左右表')
|