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
743bdccf
Commit
743bdccf
authored
Dec 03, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cnysel完善。
parent
7e25f6b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
64 deletions
+87
-64
Libp.vue
src/views/Business/Cnysel/Libp.vue
+1
-1
Selp.vue
src/views/Business/Cnysel/Selp.vue
+38
-17
index.vue
src/views/Business/Cnysel/index.vue
+48
-46
No files found.
src/views/Business/Cnysel/Libp.vue
View file @
743bdccf
...
...
@@ -205,7 +205,7 @@ export default {
},
methods
:
{
...
Event
},
created
:
function
()
{
}
}
</
script
>
...
...
src/views/Business/Cnysel/Selp.vue
View file @
743bdccf
...
...
@@ -60,7 +60,8 @@
<!--
<c-col
:span=
"12"
style=
"text-align:right"
><c-button
icon=
"el-icon-s-tools"
></c-button></c-col>
-->
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
size=
"small"
@
click=
"getTrnInfo(scope.$index, scope.row)"
slot=
"reference"
:disabled=
"model.cnytyp == '6'"
>
<c-button
size=
"small"
@
click=
"getTrnInfo(scope.$index, scope.row)"
slot=
"reference"
:disabled=
"model.cnytyp == '6'"
>
详情
</c-button>
</
template
>
</el-table-column>
...
...
@@ -73,6 +74,7 @@
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Cnysel/Event"
;
...
...
@@ -111,23 +113,42 @@ export default {
methods
:
{
...
Event
,
async
getTrnInfo
(
idx
,
row
)
{
// this.model.infcon.objinr = row["INR"];
// this.model.bodgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
console
.
log
(
row
);
console
.
log
(
this
.
tabVal
);
this
.
tabVal
=
"litp"
;
// tabVal: "selp",
// console.log(row.申报类型);
// let url = row.申报类型.toLowerCase() + "inf";
// this.$router.history.push("/business/" + url);
// let rtnmsg = await this.executeDefault("dtlbut");
// // if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
console
.
log
(
this
.
root
.
tabVal
);
console
.
log
(
this
.
model
.
cnytyp
);
const
selIds
=
[
idx
+
1
];
const
selDst
=
"cnystm"
//列表对应后台模型中的stream
let
params
=
{
selDst
,
selIds
};
this
.
executeRule
(
"dtlbut"
,
params
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
console
.
log
(
res
.
data
);
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
switch
(
this
.
model
.
cnytyp
)
{
case
"1"
:
this
.
root
.
tabVal
=
"incp"
;
break
;
case
"2"
:
this
.
root
.
tabVal
=
"outp"
;
break
;
case
"3"
:
this
.
root
.
tabVal
=
"libp"
;
break
;
case
"4"
:
this
.
root
.
tabVal
=
"trap"
;
break
;
case
"5"
:
this
.
root
.
tabVal
=
"voup"
;
break
;
default
:
this
.
root
.
tabVal
=
"selp"
;
}
}
else
{
const
h
=
this
.
$createElement
;
const
msg
=
res
.
respMsg
||
'请求执行失败!'
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
h
(
'p'
,
{
style
:
'word-break:break-all;'
},
msg
)
})
}
})
console
.
log
(
this
.
root
.
tabVal
);
}
},
created
:
function
()
{
},
...
...
src/views/Business/Cnysel/index.vue
View file @
743bdccf
<
template
>
<c-page
title=
"跨境人民币查询"
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000001 -->
<el-tab-pane
label=
"接口信息选择"
name=
"selp"
>
<content>
<m-selp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000047 2106银行跟单结算及表外融资 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000047')"
name=
"libp"
v-if=
"(this.model.cnytyp == 3)"
>
<content>
<m-libp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000044 2111跨境支出信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000044')"
name=
"outp"
v-if=
"(this.model.cnytyp == 2)"
>
<content>
<m-outp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000001 2101跨境收入信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000001')"
name=
"incp"
v-if=
"(this.model.cnytyp == 1)"
>
<content>
<m-incp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000045 2122跨境担保登记业务信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000045')"
name=
"voup"
v-if=
"(this.model.cnytyp == 5)"
>
<content>
<m-voup
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000046 2107境外主体之间资金划转 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000046')"
name=
"trap"
v-if=
"(this.model.cnytyp == 4)"
>
<content>
<m-trap
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
<div
class=
"eContainer"
>
<c-page
title=
"跨境人民币查询"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000001 -->
<el-tab-pane
label=
"接口信息选择"
name=
"selp"
>
<content>
<m-selp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000047 2106银行跟单结算及表外融资 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000047')"
name=
"libp"
v-if=
"(this.model.cnytyp == 3)"
>
<content>
<m-libp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000044 2111跨境支出信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000044')"
name=
"outp"
v-if=
"(this.model.cnytyp == 2)"
>
<content>
<m-outp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000001 2101跨境收入信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000001')"
name=
"incp"
v-if=
"(this.model.cnytyp == 1)"
>
<content>
<m-incp
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000045 2122跨境担保登记业务信息 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000045')"
name=
"voup"
v-if=
"(this.model.cnytyp == 5)"
>
<content>
<m-voup
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
<!--cnyselp PD000046 2107境外主体之间资金划转 -->
<el-tab-pane
:label=
"$t('cnyselp.PD000046')"
name=
"trap"
v-if=
"(this.model.cnytyp == 4)"
>
<content>
<m-trap
:model=
"model"
:codes=
"codes"
/>
</content>
</el-tab-pane>
</c-tabs>
<!--
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
v-if=
"this.tabVal !== 'selp'"
></c-function-btn>
-->
</el-form>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Cnysel
from
"~/model/Cnysel"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Cnysel/Check"
;
import
Default
from
"~/model/Cnysel/Default"
;
import
Pattern
from
"~/model/Cnysel/Pattern"
;
...
...
@@ -76,7 +78,7 @@ export default {
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"selp"
,
...
...
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