apply-clients 3.5.5-51 → 3.5.5-53
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
|
@@ -1282,8 +1282,21 @@ export default {
|
|
|
1282
1282
|
if (((this.show_data.defname === '工程审批' && (this.show_data.f_apply_type === '民用散户报建流程'|| this.show_data.f_apply_type === '民用预留户报建流程'))|| (this.show_data.defname === '工程决算')) && this.show_data.button.button_name === '提交' && this.show_data.f_payment_ratio == "100%"){
|
|
1283
1283
|
this.show_data.button.button_name = '跳过'
|
|
1284
1284
|
}
|
|
1285
|
-
if (this.show_data.defname === '通气申请' && this.show_data.f_apply_type === '启封通气'&& this.show_data.button.button_name === '提交' && this.show_data.f_apply_source
|
|
1286
|
-
|
|
1285
|
+
if (this.show_data.defname === '通气申请' && this.show_data.f_apply_type === '启封通气'&& this.show_data.button.button_name === '提交' && this.show_data.f_apply_source == '自动发起' ){
|
|
1286
|
+
let data = {
|
|
1287
|
+
tablename: 't_apply',
|
|
1288
|
+
condition: `f_process_id = '${this.show_data.f_parent_process_id}'`
|
|
1289
|
+
}
|
|
1290
|
+
let res = await this.$resetpost(
|
|
1291
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
|
|
1292
|
+
{data: data},
|
|
1293
|
+
{resolveMsg: null, rejectMsg: null}
|
|
1294
|
+
)
|
|
1295
|
+
if (res.data.length>0){
|
|
1296
|
+
if (res.data[0].f_payment_ratio == "100%"){
|
|
1297
|
+
this.show_data.button.button_name = '跳过'
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1287
1300
|
}
|
|
1288
1301
|
if(this.show_data.defname === '工程派工' && this.show_data.button.button_name === '提交'){
|
|
1289
1302
|
this.show_data.f_budget_peoples = []
|
|
@@ -1330,7 +1343,7 @@ export default {
|
|
|
1330
1343
|
}
|
|
1331
1344
|
await http.load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
|
|
1332
1345
|
if (res.data.length == 0){
|
|
1333
|
-
http.load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: Vue.user.id,orgid: Vue.user.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
|
|
1346
|
+
http.load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`,{data: {condition:` u.f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: Vue.user.id,orgid: Vue.user.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
|
|
1334
1347
|
const show_data = row.data[0]
|
|
1335
1348
|
show_data.user = Vue.user
|
|
1336
1349
|
show_data.start_activity ='报装申请'
|
|
@@ -1942,7 +1942,7 @@
|
|
|
1942
1942
|
await http.load('post',`rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
|
|
1943
1943
|
//判断res.data.length == 0,则子流程已经完工,然后将付流程进行到下一步
|
|
1944
1944
|
if (res.data.length == 0){
|
|
1945
|
-
http.load('post',`rs/sql/supervisory`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
|
|
1945
|
+
http.load('post',`rs/sql/supervisory`,{data: {condition:` u.f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
|
|
1946
1946
|
const show_data = row.data[0]
|
|
1947
1947
|
show_data.user = this.$login.f
|
|
1948
1948
|
show_data.start_activity ='报装申请'
|