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
7851fe7d
Commit
7851fe7d
authored
Jan 24, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇款查询
parent
5cebdec1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
13 deletions
+39
-13
Event.js
src/model/Infcpd/Event.js
+6
-3
Infconp.vue
src/views/Business/Infcpd/Infconp.vue
+7
-2
Infsea.vue
src/views/Business/Infcpd/Infsea.vue
+2
-3
index.vue
src/views/Business/Infcpd/index.vue
+24
-5
No files found.
src/model/Infcpd/Event.js
View file @
7851fe7d
...
...
@@ -14,12 +14,15 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onInfbutDsp
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dsp"
)
async
onInfbutDsp
(
idx
,
row
){
let
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm,infbut.dsp"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this
.
$emit
(
'updateShowPanel'
,
true
)
}
else
{
...
...
src/views/Business/Infcpd/Infconp.vue
View file @
7851fe7d
<
template
>
<div
class=
"eibs-tab"
>
<el-form
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
disabled
>
<c-row>
<!--
<div
class=
"infTopBtn"
>
<el-button-group>
...
...
@@ -355,7 +357,6 @@
style=
"margin:0 0"
size=
"small"
type=
"primary"
:disabled=
"this.flag"
@
click=
"onDetail"
>
详情
...
...
@@ -461,6 +462,7 @@
</c-col>
</c-row>
</el-form>
</div>
</template>
<
script
>
...
...
@@ -480,7 +482,10 @@ export default {
data
()
{
return
{};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
onSeainf
(){},
onDetail
(){},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Infcpd/Infsea.vue
View file @
7851fe7d
...
...
@@ -318,9 +318,8 @@
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
prop=
"op"
label=
"操作"
width=
"140"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<a
href=
"javascript:void(0)"
@
click=
"continueEdit(scope.row)"
>
操作
</a
>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left: 0"
@
click=
"onInfbutDsp(scope.$index,scope.row)"
>
Display
</c-button
>
</
template
>
</el-table-column>
</c-istream-table>
...
...
src/views/Business/Infcpd/index.vue
View file @
7851fe7d
...
...
@@ -32,13 +32,14 @@
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<m-infsea
v-show=
"!showPanel"
:model=
"model"
:codes=
"codes"
@
updateShowPanel=
"updateShowPanel($event)"
/>
<c-tabs
v-show=
"showPanel"
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"查询信息"
name=
"infsea"
>
<
!--
<
el-tab-pane
label=
"查询信息"
name=
"infsea"
>
<c-content
:height=
"120"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"汇款信息"
name=
"infconp"
>
<c-content>
...
...
@@ -97,6 +98,15 @@
</el-tab-pane>
</c-tabs>
</el-form>
<div>
<c-button
v-show=
"showPanel"
style=
"margin-left: 90%;bottom: 10%;position:sticky"
size=
"small"
@
click=
"showPanel=false"
>
返回
</c-button>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -151,7 +161,7 @@
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"
infsea
"
,
tabVal
:
""
,
trnName
:
"infcpd"
,
model
:
new
Infcpd
().
data
,
checkRules
:
Check
,
...
...
@@ -160,12 +170,21 @@
rules
:
null
,
codes
:
{
...
CodeTable
},
showflg
:
true
,
showPanel
:
false
,
}
},
methods
:
{
tabClick
()
{
}
},
async
updateShowPanel
(
value
)
{
this
.
showPanel
=
value
;
if
(
value
){
this
.
tabVal
=
"infconp"
}
else
{
this
.
tabVal
=
""
}
},
},
created
:
async
function
()
{
console
.
log
(
"进入infcpd交易"
);
...
...
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