apply-clients 3.0.10-192 → 3.0.10-195
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/dist.zip +0 -0
- package/package.json +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +1 -1
- package/src/components/app_apply/ServiceControl.vue +7 -7
- package/src/components/app_apply/ServiceView.vue +8 -5
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +11 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +7 -6
package/dist.zip
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -105,7 +105,7 @@ export default{
|
|
|
105
105
|
// 回调执行方法名,key必须为callback
|
|
106
106
|
'callback': 'javascript:HostApp.__this__.search()',
|
|
107
107
|
// logic执行需要的业务参数
|
|
108
|
-
'data': {"workflow_names":"'报建缴费','
|
|
108
|
+
'data': {"workflow_names":"'报建缴费','现场勘察','通气'"},
|
|
109
109
|
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
|
110
110
|
// 执行回调方法传入key为backresult
|
|
111
111
|
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
|
@@ -76,13 +76,7 @@
|
|
|
76
76
|
let http = new HttpResetClass()
|
|
77
77
|
var url = this.$androidUtil.getProxyUrl() + '/rs/search'
|
|
78
78
|
console.log('即将请求后台获取下发人员,url=>' + url)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
let actorexpression=this.selectdata.actorexpression
|
|
82
|
-
//let actorexpression="R(安装员报装)"
|
|
83
|
-
let actor=actorexpression.substring(actorexpression.indexOf('(')+1,actorexpression.indexOf(')'))
|
|
84
|
-
console.log("看看角色"+JSON.stringify(actor))
|
|
85
|
-
let res = await http.load('POST', url, {source:`tool.getChildrenOfResName($${actor}$)`,userid:Vue.user.id}, {resolveMsg: null, rejectMsg: '获取当前部门人员失败'})
|
|
79
|
+
let res = await http.load('POST', url, this.selectdata.actorexpression, {resolveMsg: null, rejectMsg: '获取当前部门人员失败'})
|
|
86
80
|
console.log("请求后台获取下发人员结果转换=>" + JSON.stringify(res))
|
|
87
81
|
let jsonString = JSON.stringify(res.data)
|
|
88
82
|
let jsonArray = []
|
|
@@ -1361,6 +1355,12 @@
|
|
|
1361
1355
|
let btn_operate = function * (self, url, http, model, delteLocal) {
|
|
1362
1356
|
// 下发,提交,保存,退回都在后台处理
|
|
1363
1357
|
console.log('即将请求后台url=>' + url)
|
|
1358
|
+
for (const selfKey in model) {
|
|
1359
|
+
if(model[selfKey]=="null"){
|
|
1360
|
+
delete model[selfKey]
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
}
|
|
1364
1364
|
model.employeetemplate=''
|
|
1365
1365
|
http.load('POST',url,{data:{employeetemplate:'',tables:self.data.tables,start_activity:self.$workflow_vue.start_activity,model:model,loginUser:Vue.user}}, {resolveMsg: null, rejectMsg: null})
|
|
1366
1366
|
.then((res) => {
|
|
@@ -487,19 +487,22 @@ export default {
|
|
|
487
487
|
})
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
if (this.data.title=='报建缴费'){
|
|
491
|
-
if (index==14){
|
|
490
|
+
if (this.data.title=='报建缴费' || this.data.title=='现场勘察'){
|
|
491
|
+
if (index==14 && this.data.title=='报建缴费'){
|
|
492
492
|
console.log("14141414")
|
|
493
|
-
let unaccounts_money=parseInt(this.data.fields[13].value)-parseInt(this.data.fields[14].value)
|
|
494
|
-
let bignumber=this.smalltoBIG(parseInt(this.data.fields[14].value))
|
|
493
|
+
let unaccounts_money=this.data.fields[13].value?parseInt(this.data.fields[13].value):0-this.data.fields[14].value?parseInt(this.data.fields[14].value):0
|
|
494
|
+
let bignumber=this.smalltoBIG(this.data.fields[14].value?parseInt(this.data.fields[14].value):0)
|
|
495
495
|
this.$set('data.fields[15].value',unaccounts_money)
|
|
496
496
|
this.$set('data.fields[17].value',bignumber)
|
|
497
497
|
|
|
498
498
|
}
|
|
499
499
|
if (index==11||index==12){
|
|
500
|
-
this.countmoney[index-11]=parseInt(this.data.fields[index].value)
|
|
500
|
+
this.countmoney[index-11]=this.data.fields[index].value?parseInt(this.data.fields[index].value):0
|
|
501
501
|
console.log(this.data.fields[index].value)
|
|
502
502
|
console.log("做出了改变")
|
|
503
|
+
}else{
|
|
504
|
+
this.countmoney[0]=this.data.fields[11].value?parseInt(this.data.fields[11].value):0
|
|
505
|
+
this.countmoney[1]=this.data.fields[12].value?parseInt(this.data.fields[12].value):0
|
|
503
506
|
}
|
|
504
507
|
console.log(JSON.stringify(this.countmoney))
|
|
505
508
|
let money=0
|
|
@@ -2665,6 +2665,17 @@
|
|
|
2665
2665
|
,
|
|
2666
2666
|
// 获取view层button事件/
|
|
2667
2667
|
async 'button'(model) {
|
|
2668
|
+
if(model.button.button_name === '退回' && this.selectdata.defname === '现场勘察'){
|
|
2669
|
+
let http = new HttpResetClass()
|
|
2670
|
+
let files = await http.load('post','rs/sql/singleTable',{data: {
|
|
2671
|
+
tablename: 't_files',
|
|
2672
|
+
condition: `f_blobid = '${model.f_process_id}' and defname = '${this.selectdata.defname}' and fusetype = '勘察退回'`
|
|
2673
|
+
}})
|
|
2674
|
+
if(files.data.length <= 0){
|
|
2675
|
+
this.$showAlert('请至少上传一张现场勘察失败照片!', 'warning', 2000)
|
|
2676
|
+
return
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2668
2679
|
console.log("应收金额:" + model.f_contract_money)
|
|
2669
2680
|
|
|
2670
2681
|
// 交费逻辑
|
|
@@ -514,12 +514,13 @@
|
|
|
514
514
|
if (this.model.condition) {
|
|
515
515
|
condition = this.model.condition
|
|
516
516
|
}
|
|
517
|
-
if (this.f_orgid) {
|
|
518
|
-
|
|
519
|
-
} else {
|
|
520
|
-
|
|
521
|
-
condition += `and f_filiale = '${this.$login.f.orgs}'` + ` and ${this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? "f_filiale = '1' or 1 = 1" : '1 = 1'}`
|
|
522
|
-
|
|
517
|
+
// if (this.f_orgid) {
|
|
518
|
+
// condition += `and f_filiale in ${this.f_orgid} `
|
|
519
|
+
// } else {
|
|
520
|
+
// console.log('12143124')
|
|
521
|
+
// condition += `and f_filiale = '${this.$login.f.orgs}'` + ` and ${this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? "f_filiale = '1' or 1 = 1" : '1 = 1'}`
|
|
522
|
+
// condition += `and f_filiale = '${this.$login.f.orgs}'` + ` and ${this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? "f_filiale = '1' or 1 = 1" : '1 = 1'}`
|
|
523
|
+
// }
|
|
523
524
|
let data = {
|
|
524
525
|
condition: condition,
|
|
525
526
|
data: {
|