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
fukai
vue-gjjs
Commits
9024b71f
Commit
9024b71f
authored
Sep 15, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccttra修改
parent
ec067956
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
Ccttra1.vue
src/views/Business/Ccttra/Ccttra1.vue
+2
-1
index.vue
src/views/Business/Ccttra/index.vue
+18
-1
No files found.
src/views/Business/Ccttra/Ccttra1.vue
View file @
9024b71f
...
...
@@ -171,6 +171,7 @@
v-model=
"model.advrol"
style=
"width: 100%"
placeholder=
"请选择Receive of Message"
:code=
"advrol"
>
</c-select>
</el-form-item>
...
...
@@ -454,7 +455,7 @@ import Event from "~/model/Ccttra/Event";
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
,
"advrol"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
...
...
src/views/Business/Ccttra/index.vue
View file @
9024b71f
...
...
@@ -25,7 +25,7 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--ccttra PD000002 Tracer BC -->
<el-tab-pane
label=
"Tracer BC"
name=
"ccttra1"
>
<m-ccttra1
:model=
"model"
:codes=
"codes"
/>
<m-ccttra1
:model=
"model"
:codes=
"codes"
:advrol=
"advrol"
/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane
label=
"Messages"
name=
"docpan"
>
...
...
@@ -95,6 +95,7 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
advrol
:[],
};
},
methods
:
{
...
...
@@ -104,12 +105,28 @@ export default {
* do it yourself
**/
},
buildAdvrol
(
data
){
var
result
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
if
(
data
[
i
]
===
'COL'
){
let
newList
=
{
value
:
"COL"
,
label
:
"Collecting Bank"
,
}
result
.
push
(
newList
);
}
}
this
.
advrol
=
result
;
console
.
log
(
this
.
advrol
)
},
},
created
:
async
function
()
{
console
.
log
(
"进入ccttra交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
console
.
log
(
rtnmsg
.
codeSet
[
'advrol'
])
this
.
buildAdvrol
(
rtnmsg
.
codeSet
[
'advrol'
]
||
[]);
//TODO 处理数据逻辑
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
...
...
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