Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
b48061c3
Commit
b48061c3
authored
Oct 26, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉check
parent
af947ea2
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
113 additions
and
112 deletions
+113
-112
commonProcess.js
src/mixin/commonProcess.js
+18
-17
Event.js
src/model/Cptopn/Event.js
+20
-20
Check.js
src/model/Ditopn/Check.js
+1
-1
Event.js
src/model/Ditopn/Event.js
+28
-28
Event.js
src/model/Sptsel/Event.js
+6
-6
Event.js
src/model/Trnrel/Event.js
+23
-23
index.vue
src/views/Business/Cptopn/index.vue
+3
-3
Detp.vue
src/views/Business/Ditame/Detp.vue
+2
-2
Docpan.vue
src/views/Business/Ditame/Docpan.vue
+1
-1
Ovwp.vue
src/views/Business/Ditame/Ovwp.vue
+1
-1
index.vue
src/views/Business/Ditame/index.vue
+1
-1
Detp.vue
src/views/Business/Ditopn/Detp.vue
+2
-2
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+1
-1
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+1
-1
index.vue
src/views/Business/Ditopn/index.vue
+3
-3
index.vue
src/views/Business/Ditsel/index.vue
+1
-1
Show.vue
src/views/Docpan/Show.vue
+1
-1
No files found.
src/mixin/commonProcess.js
View file @
b48061c3
...
...
@@ -45,7 +45,8 @@ export default {
ruleCheck
()
{
if
(
!
this
.
pattern
)
return
const
keySet
=
new
Set
(
Object
.
keys
(
this
.
pattern
).
concat
(
Object
.
keys
(
this
.
checkRules
).
concat
(
Object
.
keys
(
this
.
defaultRules
))))
// const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.checkRules).concat(Object.keys(this.defaultRules))))
const
keySet
=
new
Set
(
Object
.
keys
(
this
.
pattern
).
concat
(
Object
.
keys
(
this
.
defaultRules
)))
const
res
=
{};
const
that
=
this
;
for
(
let
key
of
keySet
.
keys
())
{
...
...
@@ -54,22 +55,22 @@ export default {
rule
.
push
(...
that
.
pattern
[
key
])
}
const
triggerType
=
that
.
getTriggerType
(
key
)
if
(
that
.
checkRules
[
key
]){
if
(
Array
.
isArray
(
that
.
checkRules
[
key
]))
{
for
(
let
j
=
0
;
j
<
that
.
checkRules
[
key
].
length
;
j
++
)
{
const
check
=
that
.
checkRules
[
key
][
j
];
rule
.
push
({
validator
:
check
.
bind
(
that
),
trigger
:
triggerType
})
}
}
else
{
rule
.
push
({
validator
:
that
.
checkRules
[
key
].
bind
(
that
),
trigger
:
triggerType
})
}
}
//
if(that.checkRules[key]){
//
if (Array.isArray(that.checkRules[key])) {
//
for (let j = 0; j < that.checkRules[key].length; j++) {
//
const check = that.checkRules[key][j];
//
rule.push({
//
validator: check.bind(that),
//
trigger: triggerType
//
})
//
}
//
} else {
//
rule.push({
//
validator: that.checkRules[key].bind(that),
//
trigger: triggerType
//
})
//
}
//
}
if
(
that
.
defaultRules
[
key
])
{
rule
.
push
({
validator
:
that
.
defaultRules
[
key
].
bind
(
that
),
...
...
src/model/Cptopn/Event.js
View file @
b48061c3
import
Api
from
"~/service/Api"
export
default
{
onCptpGetref
()
{
async
onCptpGetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -10,7 +10,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpGetinf
()
{
async
onCptpGetinf
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getinf"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -20,7 +20,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpGetuetr
()
{
async
onCptpGetuetr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getuetr"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -30,7 +30,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpSelbut
()
{
async
onCptpSelbut
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -40,7 +40,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpSelbut1
()
{
async
onCptpSelbut1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut1"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -50,7 +50,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSndpDet
()
{
async
onSndpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"sndp_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -60,7 +60,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onOripDet
()
{
async
onOripDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orip_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -70,7 +70,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpGetmod
()
{
async
onCptpGetmod
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getmod"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -80,7 +80,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onOrcpDet
()
{
async
onOrcpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orcp_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -90,7 +90,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onPyepDet
()
{
async
onPyepDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"pyep_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -100,7 +100,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onCptpSerpty
()
{
async
onCptpSerpty
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_serpty"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -110,7 +110,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -120,7 +120,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButshw
()
{
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -130,7 +130,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButadd
()
{
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -140,7 +140,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButnew
()
{
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -150,7 +150,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButattto
()
{
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -160,7 +160,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButdel
()
{
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -170,7 +170,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onTrndocButatt
()
{
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
@@ -180,10 +180,10 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{
async
onSeainf
()
{
},
onFippDet
()
{
async
onFippDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"fipp_det"
)
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
...
...
src/model/Ditopn/Check.js
View file @
b48061c3
...
...
@@ -771,7 +771,7 @@ function checkDidgrpRecAvbbyN100(rule, value, callback) {
const
that
=
this
;
that
.
exeuteCheck
(
"didgrp.rec.avbby"
).
then
(
res
=>
{
//TODO
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
that
.
model
,
res
.
data
);
}
})
...
...
src/model/Ditopn/Event.js
View file @
b48061c3
...
...
@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export
default
{
async
onDitpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"ditp.butgetref"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
model
.
didgrp
.
rec
.
ownref
=
rtnmsg
.
data
.
didgrp_rec_ownref
this
.
$message
({
...
...
@@ -17,7 +17,7 @@ export default {
},
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"ditp.aplp.det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
// console.log(rtnmsg.data);
}
...
...
@@ -27,7 +27,7 @@ export default {
},
async
onBenpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"benp_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -37,7 +37,7 @@ export default {
},
async
onRevclauseButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"revclause_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -47,7 +47,7 @@ export default {
},
async
onLcrgodButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -57,7 +57,7 @@ export default {
},
async
onLcrdocButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -67,7 +67,7 @@ export default {
},
async
onAdlcndButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -77,7 +77,7 @@ export default {
},
async
onInsbnkButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -87,7 +87,7 @@ export default {
},
async
onRmbpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"rmbp_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -97,7 +97,7 @@ export default {
},
async
onDefdetButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"defdet_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -107,7 +107,7 @@ export default {
},
async
onPreperButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"preper_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -117,7 +117,7 @@ export default {
},
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -127,7 +127,7 @@ export default {
},
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmisamt"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -137,7 +137,7 @@ export default {
},
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmissig"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -147,7 +147,7 @@ export default {
},
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -157,7 +157,7 @@ export default {
},
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -167,7 +167,7 @@ export default {
},
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get1"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -177,7 +177,7 @@ export default {
},
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get2"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -187,7 +187,7 @@ export default {
},
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod_trycal"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -198,7 +198,7 @@ export default {
async
onLiaccvAdd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.add"
)
//const that = this.root;
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
debugger
;
this
.
stmData
.
data
=
rtnmsg
.
data
.
liaall_liaccv_stgstm
.
rows
;
...
...
@@ -211,7 +211,7 @@ export default {
async
onLiaccvDel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.del"
)
//const that = this.root;
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
debugger
;
this
.
$message
({
...
...
@@ -243,7 +243,7 @@ export default {
}
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpan"
,
this
.
wrapper
(
params
))
}
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
if
(
cortyp
==
'SWT'
||
cortyp
==
'FMT'
||
cortyp
==
'CMT'
)
{
let
viewurl
=
rtnmsg
.
data
.
setmod_msgmod_docpth
;
this
.
viewurl
=
viewurl
...
...
@@ -297,7 +297,7 @@ export default {
index
:
index
}
let
rtnmsg
=
await
Api
.
post
(
"ditopn/executeDocpanDetail"
,
this
.
wrapper
(
params
))
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
title
=
row
.
pandsc
this
.
centerDialogVisible
=
true
,
...
...
@@ -307,21 +307,21 @@ export default {
},
async
BlurBennam
(
e
)
{
let
rtnmsg
=
await
this
.
executeDefault
(
"ditp.remark"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
}
},
async
BlurAplname
(
e
)
{
let
rtnmsg
=
await
this
.
executeDefault
(
"ditp.remark"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
}
},
async
BlurSignam
(
e
)
{
let
rtnmsg
=
await
this
.
executeDefault
(
"ditp.remark"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
model
.
ditp
.
remark
=
rtnmsg
.
data
.
ditp_remark
}
...
...
@@ -334,7 +334,7 @@ export default {
var
params
=
{
'selsptinr'
:
row
[
0
]
};
//{params:{'selsptinr':row[0]}}
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.add"
,
{
params
})
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
this
.
dialogTableVisible
=
false
;
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
...
...
@@ -342,7 +342,7 @@ export default {
// didgrp.iss.pts.extkey
async
changeExtkey
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"didgrp.iss.pts.extkey"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
}
...
...
src/model/Sptsel/Event.js
View file @
b48061c3
...
...
@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export
default
{
async
onUsfmodShwflt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"usfmod_shwflt"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -13,7 +13,7 @@ export default {
},
async
onButypt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"butypt"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -23,7 +23,7 @@ export default {
},
async
onDlmft
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dlmft"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -33,7 +33,7 @@ export default {
},
async
onDlaxq
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dlaxq"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -43,7 +43,7 @@ export default {
},
async
onButimg
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"butimg"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -57,7 +57,7 @@ export default {
async
continueEdit
(
row
)
{
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == "
AAAAAA
") {
//if (rtnmsg.respCode == "
SUCCESS
") {
//var cacheFileName = rtnmsg.data.cacheFileName;
let
viewurl
=
"/business/ditopn?selsptinr="
+
row
[
0
];
this
.
$router
.
push
(
viewurl
);
...
...
src/model/Trnrel/Event.js
View file @
b48061c3
...
...
@@ -18,7 +18,7 @@ export default {
},
async
onSeactr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"seactr"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -28,7 +28,7 @@ export default {
},
async
onSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"searow"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -38,7 +38,7 @@ export default {
},
async
onDsp
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dsp"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -48,7 +48,7 @@ export default {
},
async
onImgmodNewimg
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"imgmod_newimg"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -58,7 +58,7 @@ export default {
},
async
onImgmodNewhisimg
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"imgmod_newhisimg"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -68,7 +68,7 @@ export default {
},
async
onDiaconButdia
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"diacon_butdia"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -78,7 +78,7 @@ export default {
},
async
onImgmodHisimg
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"imgmod_hisimg"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -92,7 +92,7 @@ export default {
"rows"
:
that
.
multipleSelection
.
map
(
idx
=>
that
.
model
.
trncorco
.
trnstm
.
rows
[
idx
])
}
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
this
.
$message
({
...
...
@@ -117,7 +117,7 @@ export default {
},
async
onPrinte
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"printe"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -127,7 +127,7 @@ export default {
},
async
onReprow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"reprow"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -140,11 +140,11 @@ export default {
this
.
model
.
trncorco
.
selinr
[
'rows'
]
=
this
.
getSelectedData
();
let
rtnmsg
=
await
Api
.
post
(
"trnrel/rejrow"
,
this
.
wrapper
())
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
// var cacheFileName = rtnmsg.data.cacheFileName;
// let rejrowRtnmsg = await Api.post("trncor/init", {params:{"cacheFileName":cacheFileName}})
// if(rejrowRtnmsg.respCode == "
AAAAAA
"){
// if(rejrowRtnmsg.respCode == "
SUCCESS
"){
// this.$message({
// type: 'success',
// message: 'Reject成功!'
...
...
@@ -167,7 +167,7 @@ export default {
},
async
onRelcor
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"relcor"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -177,7 +177,7 @@ export default {
},
async
onExi
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"exi"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -188,7 +188,7 @@ export default {
async
onRecpanDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_det"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -198,7 +198,7 @@ export default {
},
async
onSyswrnButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"syswrn_butshw"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -208,7 +208,7 @@ export default {
},
async
onRecpanNotmap
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_notmap"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -218,7 +218,7 @@ export default {
},
async
onRecpanButspt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_butspt"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -228,7 +228,7 @@ export default {
},
async
onRecpanInc
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_inc"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -238,7 +238,7 @@ export default {
},
async
onRecpanButord
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_butord"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -248,7 +248,7 @@ export default {
},
async
onImgmodImage
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"imgmod_image"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -258,7 +258,7 @@ export default {
},
async
onRecpanIncben
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_incben"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
@@ -268,7 +268,7 @@ export default {
},
async
onInftxtButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"inftxt_buttxmsel"
)
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
}
...
...
src/views/Business/Cptopn/index.vue
View file @
b48061c3
...
...
@@ -135,7 +135,7 @@ export default {
if
(
label
===
"Settlement"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
...
...
@@ -149,7 +149,7 @@ export default {
}
if
(
label
===
"Messages"
)
{
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
var
stm
=
[];
...
...
@@ -165,7 +165,7 @@ export default {
}
if
(
label
===
"Attachments"
)
{
this
.
executeRule
(
"trnmod.trndoc.doctre"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
...
...
src/views/Business/Ditame/Detp.vue
View file @
b48061c3
...
...
@@ -149,7 +149,7 @@ export default {
}
this
.
executeCheck
(
"didgrp.rec.avbby"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent
(){
this
.
executeDefault
(
"didgrp.rec.tenmaxday"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"
AAAAAA
"
){
if
(
res
.
respCode
=
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
src/views/Business/Ditame/Docpan.vue
View file @
b48061c3
...
...
@@ -529,7 +529,7 @@ export default {
console
.
log
(
this
.
model
);
this
.
model
.
trnmod
.
trndoc
.
doceot
.
splice
(
this
.
index
,
1
,
this
.
dialog
);
this
.
executeRule
(
"trnmod.trndoc.doccur.butaddok"
).
then
(
res
=>
{
if
(
res
.
data
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
data
.
respCode
==
"
SUCCESS
"
){
//TODO
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
...
...
src/views/Business/Ditame/Ovwp.vue
View file @
b48061c3
...
...
@@ -736,7 +736,7 @@ export default {
nom1CurEvent
(){
this
.
executeDefault
(
"didgrp.cbs.nom1.cur"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"
AAAAAA
"
){
if
(
res
.
respCode
=
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
src/views/Business/Ditame/index.vue
View file @
b48061c3
...
...
@@ -2012,7 +2012,7 @@ export default {
created
:
async
function
()
{
console
.
log
(
"进入ditame交易"
);
let
rtnmsg
=
await
Api
.
post
(
"ditame/init"
,
{
params
:
{}
});
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
...
...
src/views/Business/Ditopn/Detp.vue
View file @
b48061c3
...
...
@@ -149,7 +149,7 @@ export default {
}
this
.
executeCheck
(
"didgrp.rec.avbby"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent
(){
this
.
executeDefault
(
"didgrp.rec.tenmaxday"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"
AAAAAA
"
){
if
(
res
.
respCode
=
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
src/views/Business/Ditopn/Docpan.vue
View file @
b48061c3
...
...
@@ -529,7 +529,7 @@ export default {
console
.
log
(
this
.
model
);
this
.
model
.
trnmod
.
trndoc
.
doceot
.
splice
(
this
.
index
,
1
,
this
.
dialog
);
this
.
executeRule
(
"trnmod.trndoc.doccur.butaddok"
).
then
(
res
=>
{
if
(
res
.
data
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
data
.
respCode
==
"
SUCCESS
"
){
//TODO
}
else
{
...
...
src/views/Business/Ditopn/Ovwp.vue
View file @
b48061c3
...
...
@@ -715,7 +715,7 @@ export default {
nom1CurEvent
(){
this
.
executeDefault
(
"didgrp.cbs.nom1.cur"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"
AAAAAA
"
){
if
(
res
.
respCode
=
"
SUCCESS
"
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
...
...
src/views/Business/Ditopn/index.vue
View file @
b48061c3
...
...
@@ -190,7 +190,7 @@ export default {
}
if
(
name
===
"setpan"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
...
...
@@ -198,7 +198,7 @@ export default {
}
if
(
name
===
"docpan"
)
{
this
.
executeRule
(
"trnmod.trndoc.docpan"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
var
stm
=
[];
...
...
@@ -214,7 +214,7 @@ export default {
}
if
(
name
===
"limitbody"
)
{
this
.
executeRule
(
"liaall.limmod.limitbody"
).
then
(
res
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
){
if
(
res
.
respCode
==
"
SUCCESS
"
){
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
}
...
...
src/views/Business/Ditsel/index.vue
View file @
b48061c3
...
...
@@ -541,7 +541,7 @@ export default {
created
:
async
function
()
{
console
.
log
(
"进入ditsel交易"
);
let
rtnmsg
=
await
Api
.
post
(
"ditsel/init"
,
{
params
:
{}
});
if
(
rtnmsg
.
respCode
==
"
AAAAAA
"
)
{
if
(
rtnmsg
.
respCode
==
"
SUCCESS
"
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
}
else
{
...
...
src/views/Docpan/Show.vue
View file @
b48061c3
...
...
@@ -48,7 +48,7 @@ export default {
});
if
(
this
.
model
.
docXML
!=
""
)
Api
.
post
(
"pdf"
,
{
xml
:
this
.
model
.
docXML
}).
then
((
res
)
=>
{
if
(
res
.
respCode
==
"
AAAAAA
"
)
{
if
(
res
.
respCode
==
"
SUCCESS
"
)
{
this
.
pdf
+=
res
.
data
;
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment