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
d3c19cc7
Commit
d3c19cc7
authored
Nov 04, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
retcod替换respCode
parent
94b623a9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
94 additions
and
94 deletions
+94
-94
Event.js
src/model/Bdtudp/Event.js
+6
-6
Event.js
src/model/Cptadv/Event.js
+18
-18
Event.js
src/model/Cptopn/Event.js
+19
-19
Event.js
src/model/Ditame/Event.js
+35
-35
Event.js
src/model/Infpta/Event.js
+7
-7
request.js
src/utils/request.js
+6
-6
index.vue
src/views/Business/Cptadv/index.vue
+1
-1
BaoSong.vue
src/views/Business/Cptopn/BaoSong.vue
+1
-1
index_copy.vue
src/views/Business/Ditopn/index_copy.vue
+0
-0
index.vue
src/views/Business/Infpta/index.vue
+1
-1
No files found.
src/model/Bdtudp/Event.js
View file @
d3c19cc7
...
@@ -4,7 +4,7 @@ import Utils from "~/utils"
...
@@ -4,7 +4,7 @@ import Utils from "~/utils"
export
default
{
export
default
{
async
onAcctagButtxmsel
(){
async
onAcctagButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"acctag_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"acctag_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -16,7 +16,7 @@ export default {
...
@@ -16,7 +16,7 @@ export default {
},
},
async
onRmbpDet
(){
async
onRmbpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rmbp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"rmbp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
},
},
async
onAcbpDet
(){
async
onAcbpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"acbp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"acbp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
},
},
async
onBebpDet
(){
async
onBebpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"bebp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"bebp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
},
},
async
onDocdisButtxmsel
(){
async
onDocdisButtxmsel
(){
let
rtnmsg
=
await
this
.
executeRule
(
"docdis_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"docdis_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
},
},
async
onShppDet
(){
async
onShppDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"shpp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"shpp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
src/model/Cptadv/Event.js
View file @
d3c19cc7
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export
default
{
export
default
{
async
onCptpGetref
()
{
async
onCptpGetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
},
},
async
onCptpGetinf
()
{
async
onCptpGetinf
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getinf"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getinf"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
async
onCptpGetuetr
()
{
async
onCptpGetuetr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getuetr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getuetr"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
},
},
async
onCptpSelbut
()
{
async
onCptpSelbut
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
},
},
async
onCptpSelbut1
()
{
async
onCptpSelbut1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut1"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut1"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
},
},
async
onSndpDet
()
{
async
onSndpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"sndp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"sndp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
},
},
async
onOripDet
()
{
async
onOripDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orip_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"orip_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -72,7 +72,7 @@ export default {
...
@@ -72,7 +72,7 @@ export default {
},
},
async
onCptpGetmod
()
{
async
onCptpGetmod
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getmod"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getmod"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
},
},
async
onOrcpDet
()
{
async
onOrcpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orcp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"orcp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
},
},
async
onPyepDet
()
{
async
onPyepDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"pyep_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"pyep_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
},
},
async
onCptpSerpty
()
{
async
onCptpSerpty
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_serpty"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_serpty"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
},
},
async
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
},
},
async
onTrndocButshw
()
{
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
},
},
async
onTrndocButadd
()
{
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
},
},
async
onTrndocButnew
()
{
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
},
},
async
onTrndocButattto
()
{
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
},
},
async
onTrndocButdel
()
{
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
},
},
async
onTrndocButatt
()
{
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
...
src/model/Cptopn/Event.js
View file @
d3c19cc7
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export
default
{
export
default
{
async
onCptpGetref
()
{
async
onCptpGetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getref"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
},
},
async
onCptpGetinf
()
{
async
onCptpGetinf
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getinf"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getinf"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
async
onCptpGetuetr
()
{
async
onCptpGetuetr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getuetr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getuetr"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
},
},
async
onCptpSelbut
()
{
async
onCptpSelbut
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
},
},
async
onCptpSelbut1
()
{
async
onCptpSelbut1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut1"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_selbut1"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
},
},
async
onSndpDet
()
{
async
onSndpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"sndp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"sndp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
},
},
async
onOripDet
()
{
async
onOripDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orip_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"orip_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -72,7 +72,7 @@ export default {
...
@@ -72,7 +72,7 @@ export default {
},
},
async
onCptpGetmod
()
{
async
onCptpGetmod
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getmod"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_getmod"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
},
},
async
onOrcpDet
()
{
async
onOrcpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"orcp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"orcp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
},
},
async
onPyepDet
()
{
async
onPyepDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"pyep_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"pyep_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
},
},
async
onCptpSerpty
()
{
async
onCptpSerpty
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_serpty"
)
let
rtnmsg
=
await
this
.
executeRule
(
"cptp_serpty"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
},
},
async
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
},
},
async
onTrndocButshw
()
{
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
},
},
async
onTrndocButadd
()
{
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
},
},
async
onTrndocButnew
()
{
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
},
},
async
onTrndocButattto
()
{
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
},
},
async
onTrndocButdel
()
{
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
},
},
async
onTrndocButatt
()
{
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ export default {
},
},
async
onFippDet
()
{
async
onFippDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"fipp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"fipp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
...
src/model/Ditame/Event.js
View file @
d3c19cc7
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export
default
{
export
default
{
async
onDitpButgetref
()
{
async
onDitpButgetref
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"ditp_butgetref"
)
let
rtnmsg
=
await
this
.
executeRule
(
"ditp_butgetref"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
},
},
async
onAplpDet
()
{
async
onAplpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"aplp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"aplp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
async
onBenpDet
()
{
async
onBenpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"benp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"benp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
},
},
async
onDefdetButtxmsel
()
{
async
onDefdetButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"defdet_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"defdet_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
},
},
async
onPreperButtxmsel
()
{
async
onPreperButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"preper_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"preper_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
},
},
async
onLcrgodButtxmsel
()
{
async
onLcrgodButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgod_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
},
},
async
onLcrdocButtxmsel
()
{
async
onLcrdocButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdoc_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -72,7 +72,7 @@ export default {
...
@@ -72,7 +72,7 @@ export default {
},
},
async
onAdlcndButtxmsel
()
{
async
onAdlcndButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"adlcnd_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
},
},
async
onInsbnkButtxmsel
()
{
async
onInsbnkButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"insbnk_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
},
},
async
onSav
()
{
async
onSav
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"sav"
)
let
rtnmsg
=
await
this
.
executeRule
(
"sav"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -102,7 +102,7 @@ export default {
...
@@ -102,7 +102,7 @@ export default {
},
},
async
onUsrcon
()
{
async
onUsrcon
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"usrcon"
)
let
rtnmsg
=
await
this
.
executeRule
(
"usrcon"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
},
},
async
onChk
()
{
async
onChk
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"chk"
)
let
rtnmsg
=
await
this
.
executeRule
(
"chk"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
},
},
async
onUsrchk
()
{
async
onUsrchk
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"usrchk"
)
let
rtnmsg
=
await
this
.
executeRule
(
"usrchk"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
},
},
async
onSyswrnButshw
()
{
async
onSyswrnButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"syswrn_butshw"
)
let
rtnmsg
=
await
this
.
executeRule
(
"syswrn_butshw"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
},
},
async
onPen
()
{
async
onPen
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"pen"
)
let
rtnmsg
=
await
this
.
executeRule
(
"pen"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
},
},
async
onCan
()
{
async
onCan
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"can"
)
let
rtnmsg
=
await
this
.
executeRule
(
"can"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
},
},
async
onLcrgodameButtxmsel
()
{
async
onLcrgodameButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgodame_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"lcrgodame_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
},
},
async
onLcrdocameButtxmsel
()
{
async
onLcrdocameButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdocame_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"lcrdocame_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -182,7 +182,7 @@ export default {
...
@@ -182,7 +182,7 @@ export default {
},
},
async
onAdlcndameButtxmsel
()
{
async
onAdlcndameButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"adlcndame_buttxmsel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"adlcndame_buttxmsel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
},
},
async
onLiaallButmisamt
()
{
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmisamt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmisamt"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -202,7 +202,7 @@ export default {
...
@@ -202,7 +202,7 @@ export default {
},
},
async
onLiaallButmissig
()
{
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmissig"
)
let
rtnmsg
=
await
this
.
executeRule
(
"liaall_butmissig"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -212,7 +212,7 @@ export default {
...
@@ -212,7 +212,7 @@ export default {
},
},
async
onLiaccvAdd
()
{
async
onLiaccvAdd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaccv_add"
)
let
rtnmsg
=
await
this
.
executeRule
(
"liaccv_add"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
},
},
async
onLiaccvDel
()
{
async
onLiaccvDel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaccv_del"
)
let
rtnmsg
=
await
this
.
executeRule
(
"liaccv_del"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
},
},
async
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"setmod_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
},
},
async
onTrndocButshw
()
{
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butshw"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -252,7 +252,7 @@ export default {
...
@@ -252,7 +252,7 @@ export default {
},
},
async
onTrndocButadd
()
{
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butadd"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -262,7 +262,7 @@ export default {
...
@@ -262,7 +262,7 @@ export default {
},
},
async
onTrndocButnew
()
{
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butnew"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
},
},
async
onTrndocButattto
()
{
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butattto"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
},
},
async
onTrndocButdel
()
{
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butdel"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -292,7 +292,7 @@ export default {
...
@@ -292,7 +292,7 @@ export default {
},
},
async
onTrndocButatt
()
{
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc_butatt"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -302,7 +302,7 @@ export default {
...
@@ -302,7 +302,7 @@ export default {
},
},
async
onWrkpDet
()
{
async
onWrkpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"wrkp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -312,7 +312,7 @@ export default {
...
@@ -312,7 +312,7 @@ export default {
},
},
async
onOthpDet
()
{
async
onOthpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othp_det"
)
let
rtnmsg
=
await
this
.
executeRule
(
"othp_det"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -322,7 +322,7 @@ export default {
...
@@ -322,7 +322,7 @@ export default {
},
},
async
onLimptsGet1
()
{
async
onLimptsGet1
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get1"
)
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get1"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
},
},
async
onLimptsGet2
()
{
async
onLimptsGet2
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get2"
)
let
rtnmsg
=
await
this
.
executeRule
(
"limpts_get2"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -342,7 +342,7 @@ export default {
...
@@ -342,7 +342,7 @@ export default {
},
},
async
onLimmodTrycal
()
{
async
onLimmodTrycal
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"limmod_trycal"
)
let
rtnmsg
=
await
this
.
executeRule
(
"limmod_trycal"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
...
src/model/Infpta/Event.js
View file @
d3c19cc7
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
...
@@ -2,7 +2,7 @@ import Api from "~/service/Api"
export
default
{
export
default
{
async
onInfbutSearow
()
{
async
onInfbutSearow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_searow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_searow"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
},
},
async
onInfbutDsp
()
{
async
onInfbutDsp
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_dsp"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_dsp"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
async
onInfbutUserow
()
{
async
onInfbutUserow
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_userow"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_userow"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
},
},
async
onInfbutClr
()
{
async
onInfbutClr
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_clr"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_clr"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
},
},
async
onInfbutButprt
()
{
async
onInfbutButprt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_butprt"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_butprt"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
},
},
async
onInfbutExi
()
{
async
onInfbutExi
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_exi"
)
let
rtnmsg
=
await
this
.
executeRule
(
"infbut_exi"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
},
},
async
onRecpanLnkinfptm
()
{
async
onRecpanLnkinfptm
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_lnkinfptm"
)
let
rtnmsg
=
await
this
.
executeRule
(
"recpan_lnkinfptm"
)
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
{
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
}
}
...
...
src/utils/request.js
View file @
d3c19cc7
...
@@ -110,7 +110,7 @@ export default class Request {
...
@@ -110,7 +110,7 @@ export default class Request {
// console.log(error.response.status);
// console.log(error.response.status);
// console.log(error.response.headers);
// console.log(error.response.headers);
// resolve({
// resolve({
// re
tcod
: '500',
// re
spCode
: '500',
// retmsg: error.response.status
// retmsg: error.response.status
// });
// });
// } else if (error.request) {
// } else if (error.request) {
...
@@ -119,13 +119,13 @@ export default class Request {
...
@@ -119,13 +119,13 @@ export default class Request {
// // http.ClientRequest in node.js
// // http.ClientRequest in node.js
// console.log(error.request);
// console.log(error.request);
// resolve({
// resolve({
// re
tcod
: '501'
// re
spCode
: '501'
// });
// });
// } else {
// } else {
// // Something happened in setting up the request that triggered an Error
// // Something happened in setting up the request that triggered an Error
// console.log('Error', error.message);
// console.log('Error', error.message);
// resolve({
// resolve({
// re
tcod
: '502',
// re
spCode
: '502',
// retmsg: error.message
// retmsg: error.message
// });
// });
// }
// }
...
@@ -204,7 +204,7 @@ export default class Request {
...
@@ -204,7 +204,7 @@ export default class Request {
console
.
log
(
error
.
response
.
status
);
console
.
log
(
error
.
response
.
status
);
console
.
log
(
error
.
response
.
headers
);
console
.
log
(
error
.
response
.
headers
);
resolve
({
resolve
({
re
tcod
:
'500'
,
re
spCode
:
'500'
,
retmsg
:
error
.
response
.
status
retmsg
:
error
.
response
.
status
});
});
}
else
if
(
error
.
request
)
{
}
else
if
(
error
.
request
)
{
...
@@ -213,13 +213,13 @@ export default class Request {
...
@@ -213,13 +213,13 @@ export default class Request {
// http.ClientRequest in node.js
// http.ClientRequest in node.js
console
.
log
(
error
.
request
);
console
.
log
(
error
.
request
);
resolve
({
resolve
({
re
tcod
:
'501'
re
spCode
:
'501'
});
});
}
else
{
}
else
{
// Something happened in setting up the request that triggered an Error
// Something happened in setting up the request that triggered an Error
console
.
log
(
'Error'
,
error
.
message
);
console
.
log
(
'Error'
,
error
.
message
);
resolve
({
resolve
({
re
tcod
:
'502'
,
re
spCode
:
'502'
,
retmsg
:
error
.
message
retmsg
:
error
.
message
});
});
}
}
...
...
src/views/Business/Cptadv/index.vue
View file @
d3c19cc7
...
@@ -396,7 +396,7 @@ export default {
...
@@ -396,7 +396,7 @@ export default {
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入cptadv交易"
);
console
.
log
(
"进入cptadv交易"
);
let
rtnmsg
=
await
Api
.
post
(
"cptadv/init"
,{
params
:{}})
let
rtnmsg
=
await
Api
.
post
(
"cptadv/init"
,{
params
:{}})
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
src/views/Business/Cptopn/BaoSong.vue
View file @
d3c19cc7
...
@@ -709,7 +709,7 @@ export default {
...
@@ -709,7 +709,7 @@ export default {
console
.
log
(
'获取申报号码'
)
console
.
log
(
'获取申报号码'
)
// const rtnmsg = await Api.post("/cptopn/regmod_getref", { data: this.model })
// const rtnmsg = await Api.post("/cptopn/regmod_getref", { data: this.model })
// if (rtnmsg.re
tcod
== SUCCESS) {
// if (rtnmsg.re
spCode
== SUCCESS) {
// // Notification.success({ message: 'cptopn/regmod_getref数据提交成功!' })
// // Notification.success({ message: 'cptopn/regmod_getref数据提交成功!' })
// this.model.bas2_levyno = rtnmsg.data.bas2_levyno;
// this.model.bas2_levyno = rtnmsg.data.bas2_levyno;
// }
// }
...
...
src/views/Business/Ditopn/index_copy.vue
View file @
d3c19cc7
This diff is collapsed.
Click to expand it.
src/views/Business/Infpta/index.vue
View file @
d3c19cc7
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入infpta交易"
);
console
.
log
(
"进入infpta交易"
);
let
rtnmsg
=
await
Api
.
post
(
"infpta/init"
,{
params
:{}})
let
rtnmsg
=
await
Api
.
post
(
"infpta/init"
,{
params
:{}})
if
(
rtnmsg
.
re
tcod
==
SUCCESS
)
if
(
rtnmsg
.
re
spCode
==
SUCCESS
)
{
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
...
...
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