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
aa924820
Commit
aa924820
authored
Mar 30, 2023
by
suwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trnrel表格字段名和接口完善;
parent
6c76306c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
121 additions
and
27 deletions
+121
-27
index.js
src/business/trnrel/event/index.js
+44
-8
Inftrnps.vue
src/business/trnrel/views/Inftrnps.vue
+15
-16
index.vue
src/business/trnrel/views/index.vue
+62
-3
No files found.
src/business/trnrel/event/index.js
View file @
aa924820
...
...
@@ -16,8 +16,43 @@ export default {
this
.
model
.
searchAllUsers
=
false
;
},
// 获取transaction弹框表格数据
async
queryGridEtyPromptDialogData
(
cod
)
{
let
params
=
{
inr
:
""
,
oldkey
:
""
,
dissel
:
""
,
usrcon
:
""
,
rouflg
:
""
,
sepflg
:
""
,
cod
:
cod
,
dtaflg
:
""
,
lnkobj
:
""
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/trnrel/findAtpCod'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
root
.
$refs
[
'etyDialog'
].
show
=
true
;
this
.
root
.
promptData
.
data
=
res
.
data
&&
res
.
data
.
atpList
;
}
loading
.
close
();
},
// 选中transaction弹框表格的行数据
async
selectGridEtyPromptData
(
row
)
{
this
.
$set
(
this
.
model
.
atp
,
'cod'
,
row
.
cod
)
},
//查询列表
async
handleSearch
()
{
let
inidatfro
=
this
.
model
.
trncorco
.
inidatfro
;
if
(
!
inidatfro
||
inidatfro
==
''
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'查询开始日期必输!'
});
return
;
}
let
inidattil
=
this
.
model
.
trncorco
.
inidattil
;
if
(
!
inidattil
||
inidattil
==
''
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'查询结束日期必输!'
});
return
;
}
if
(
this
.
model
.
trncorco
.
relflg
==
''
)
{
this
.
model
.
trncorco
.
relflg
=
'0'
;
}
...
...
@@ -36,15 +71,16 @@ export default {
userId
:
'ZL'
,
};
//查询接口
const
loading
=
this
.
loading
()
const
res
=
await
Api
.
post
(
'/service/trnrel/getTenrelList'
,
params
);
this
.
stmData
.
data
=
res
.
data
&&
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
&&
res
.
data
.
trncorco_trnstm
;
this
.
$store
.
commit
(
'setTaskList'
,
{
key
:
'trnrel'
,
val
:
this
.
stmData
.
data
&&
this
.
stmData
.
data
.
length
,
});
this
.
$refs
.
paramsForm
.
clearValidate
();
Utils
.
positioningErrorMsg
(
res
.
fieldErrors
||
[],
this
.
$refs
.
paramsForm
.
fields
);
if
(
res
.
respCode
===
"AAAAAA"
)
{
this
.
stmData
.
data
=
res
.
data
;
this
.
$store
.
commit
(
'setTaskList'
,
{
key
:
'trnrel'
,
val
:
this
.
stmData
.
data
&&
this
.
stmData
.
data
.
length
,
});
}
loading
.
close
(
);
},
//交易代码
...
...
src/business/trnrel/views/Inftrnps.vue
View file @
aa924820
...
...
@@ -59,7 +59,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<c-input
v-model=
"model.atp.cod"
maxlength=
"6"
style=
"width: 95%"
placeholder=
"请输入交易代码"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('findAtpCod'
)"
></c-input>
@
keyup
.
enter
.
native=
"
queryGridEtyPromptDialogData(model.atp.cod
)"
></c-input>
</c-col>
<c-col
:span=
"4"
>
<c-button
size=
"small"
style=
"width:100%;margin-left:0"
type=
"primary"
@
click=
"onSeainf"
...
...
@@ -127,17 +127,16 @@
</div>
</template>
<
script
>
import
commonApi
from
"~/mixin/commonApi"
import
event
from
"../event"
;
import
Inftrnps
from
"../model"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"codes"
],
mixins
:
[
event
],
props
:
[
"codes"
,
"model"
],
mixins
:
[
commonApi
,
event
],
components
:
{},
data
()
{
return
{
model
:
new
Inftrnps
().
data
,
initdialog
:
false
,
transactionStatus
:
{
busiNo
:
""
,
...
...
@@ -149,17 +148,17 @@
},
stmData
:
{
columns
:
[
{
label
:
"交易代码"
,
prop
:
""
},
{
label
:
"业务编号"
,
prop
:
""
},
{
label
:
"摘要信息"
,
prop
:
""
},
{
label
:
"币种"
,
prop
:
""
},
{
label
:
"金额"
,
prop
:
""
},
{
label
:
"创建时间"
,
prop
:
""
},
{
label
:
"签名要求"
,
prop
:
""
},
{
label
:
"签名状态"
,
prop
:
""
},
{
label
:
"经办柜员"
,
prop
:
""
},
{
label
:
"业务状态"
,
prop
:
""
},
{
label
:
"业务机构"
,
prop
:
""
},
{
label
:
"交易代码"
,
prop
:
"
inifrm
"
},
{
label
:
"业务编号"
,
prop
:
"
ownref
"
},
{
label
:
"摘要信息"
,
prop
:
"
addtxt
"
},
{
label
:
"币种"
,
prop
:
"
reloricur
"
},
{
label
:
"金额"
,
prop
:
"
reloriamt
"
},
{
label
:
"创建时间"
,
prop
:
"
inidattim
"
},
{
label
:
"签名要求"
,
prop
:
"
relreq
"
},
{
label
:
"签名状态"
,
prop
:
"
relres
"
},
{
label
:
"经办柜员"
,
prop
:
"
iniusr
"
},
{
label
:
"业务状态"
,
prop
:
"
relflg
"
},
{
label
:
"业务机构"
,
prop
:
"
bchname
"
},
],
data
:
[],
},
...
...
src/business/trnrel/views/index.vue
View file @
aa924820
...
...
@@ -10,27 +10,30 @@
size=
"small"
>
<c-content>
<m-inftrnps
:codes=
"codes"
ref=
"inftrnps"
/>
<m-inftrnps
:
model=
"model"
:
codes=
"codes"
ref=
"inftrnps"
/>
</c-content>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
v-on:select-ety=
"select
Ety
"
v-on:select-ety=
"select
GridEtyPromptData
"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</
template
>
<
script
>
import
commonApi
from
"~/mixin/commonApi"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Inftrnps
from
"./Inftrnps"
;
import
Trnrel
from
"../model"
;
import
event
from
"../event"
;
export
default
{
name
:
"Trnrel"
,
components
:
{
"m-inftrnps"
:
Inftrnps
,
},
mixins
:
[],
mixins
:
[
commonApi
,
event
],
provide
()
{
return
{
root
:
this
,
...
...
@@ -39,7 +42,63 @@
data
()
{
return
{
trnName
:
"trnrel"
,
model
:
new
Trnrel
().
data
,
rules
:
null
,
promptData
:
{
title
:
'Select a Transaction'
,
columns
:
[
{
prop
:
'cod'
,
label
:
'Description'
},
{
prop
:
'bus'
,
label
:
'Bus. Sector'
},
{
prop
:
'bustrnflg'
,
label
:
'Business Trn.'
},
{
prop
:
'reltyp'
,
label
:
'Release Method'
},
{
prop
:
'relamt'
,
label
:
'Real. Amount'
},
{
prop
:
'ccstyp'
,
label
:
'Compliance Check'
},
{
prop
:
'subflg'
,
label
:
'Subcontr. -creating Trn.'
},
{
prop
:
'sepflg'
,
label
:
'Temp. Settl. allowed'
},
{
prop
:
'rouflg'
,
label
:
'Routing allowed'
},
{
prop
:
'concreflg'
,
label
:
'Allocate New Contract'
},
{
prop
:
'negflg'
,
label
:
'Need pass. Data to Exec.'
},
{
prop
:
'jobflg'
,
label
:
'Job operation allowed'
}
],
data
:
[]
},
codes
:
{
dflg
:
CodeTable
.
dflg
,
bchtyp
:
CodeTable
.
bchtyp
,
...
...
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