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
581bbf47
Commit
581bbf47
authored
Jul 15, 2022
by
wangyanjiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdtdck 新增event
parent
2a1cbcf6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
65 deletions
+57
-65
Event.js
src/model/Bdtdck/Event.js
+56
-64
Pattern.js
src/model/Bdtdck/Pattern.js
+1
-1
Brtdckp.vue
src/views/Business/Bdtdck/Brtdckp.vue
+0
-0
No files found.
src/model/Bdtdck/Event.js
View file @
581bbf47
...
...
@@ -2,137 +2,128 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onOthpDet
()
{
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDocdisButtxmsel
()
{
async
onDocdisButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"docdis.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
()
{
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWrkpDet
()
{
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthp1Det
()
{
async
onOthp1Det
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp1.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet1
()
{
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimptsGet2
()
{
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts.get2"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLimmodTrycal
()
{
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod.trycal"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
(){
async
bocprbrol
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"bddgrp.rec.docprbrol"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{
},
onBenpDet
()
{
onBenpDet
()
{
},
onAplpDet
()
{
onAplpDet
()
{
},
onSndpDet
()
{
onSndpDet
()
{
},
}
\ No newline at end of file
src/model/Bdtdck/Pattern.js
View file @
581bbf47
...
...
@@ -154,7 +154,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"mhtyp"
:[
{
type
:
"string
"
,
required
:
true
,
message
:
"请选择交易类别"
}
{
type
:
"string"
,
required
:
true
,
message
:
"请选择交易类别"
}
],
"tzdat"
:[
...
...
src/views/Business/Bdtdck/Brtdckp.vue
View file @
581bbf47
This diff is collapsed.
Click to expand it.
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