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
46396830
Commit
46396830
authored
Jan 03, 2023
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitame功能测试发现缺陷修改。
parent
e7433897
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
15 deletions
+58
-15
index.js
src/model/Gitame/index.js
+6
-0
Ameps20.vue
src/views/Business/Gitame/Ameps20.vue
+2
-2
Gidtxtp.vue
src/views/Business/Gitame/Gidtxtp.vue
+9
-8
Ovwp.vue
src/views/Business/Gitame/Ovwp.vue
+39
-3
Preperp.vue
src/views/Business/Gitame/Preperp.vue
+2
-2
No files found.
src/model/Gitame/index.js
View file @
46396830
...
...
@@ -19,6 +19,11 @@ export default class Gitame{
gitapll4blk
:
""
,
gitrmbl1blk
:
""
,
gitp
:{
oldgidtxt
:
{},
oldgtxgidtxt
:
{},
gtx
:
{
gidtxt
:
{},
},
swiftflg
:
""
,
// 是否SWIFT格式 .gitp.swiftflg
recget
:{
sdamod
:{
...
...
@@ -128,6 +133,7 @@ export default class Gitame{
chargi
:{
chkast
:
""
,
// Allow * .gitp.chargi.chkast
},
gidtxt
:
{},
gidtxtmodflg
:
""
,
// Modify Guarantee Text .gitp.gidtxtmodflg
chkgidtxt
:
""
,
// Allow * .gitp.chkgidtxt
cnrp
:{
...
...
src/views/Business/Gitame/Ameps20.vue
View file @
46396830
...
...
@@ -114,7 +114,7 @@
<c-col
:span=
"24"
>
<c-form-item
v-if=
"model.gitp.swiftflg == 'N'"
label=
"面函标题"
prop=
"gitamep.mstitle"
>
<c-input
type=
"textarea"
v-model=
"model.gitamep.mstitle"
maxlength=
"
3
0"
show-word-limit
placeholder=
"请输入面函标题"
>
<c-input
type=
"textarea"
v-model=
"model.gitamep.mstitle"
maxlength=
"
5
0"
show-word-limit
placeholder=
"请输入面函标题"
>
</c-input>
</c-form-item>
</c-col>
...
...
@@ -299,7 +299,7 @@
<el-form-item
v-if=
"
model.gitp.swiftflg == 'N' &&
model.trnmod.swiadd.newexpflg == ''
"
label=
"新到期日
期
"
prop=
"trnmod.swiadd.newexpdat"
>
"
label=
"新到期日"
prop=
"trnmod.swiadd.newexpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.trnmod.swiadd.newexpdat"
style=
"width: 100%"
placeholder=
"请输入新到期日期"
>
</c-date-picker>
</el-form-item>
...
...
src/views/Business/Gitame/Gidtxtp.vue
View file @
46396830
...
...
@@ -7,13 +7,13 @@
<c-col
:span=
"16"
>
<c-col
:span=
"24"
>
<el-form-item
v-if=
"model.gitp.gidtxtmodflg == ''"
label=
"保函文本可变因素"
prop=
"gidgrp.blk.gidtxt"
>
<
i-stream-input
:disabled=
"model.gitp.gidtxtmodflg == ''"
type=
"textarea"
rows=
"16"
<
c-xml-format-editor
:disabled=
"model.gitp.gidtxtmodflg == ''"
type=
"textarea"
rows=
"16"
:model=
"model.gidgrp.blk.gidtxt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入保函文本可变因素"
>
</
i-stream-input
>
</
c-xml-format-editor
>
</el-form-item>
<el-form-item
v-if=
"model.gitp.gidtxtmodflg == 'X'"
label=
"保函文本可变因素"
prop=
"gidgrp.blk.gtxgidtxt"
>
<
i-stream-input
type=
"textarea"
:model=
"model.gidgrp.blk.gtxgidtxt"
rows=
"16"
maxlength=
"65"
show-word-limit
placeholder=
"请输入保函文本可变因素"
></
i-stream-input
>
<
c-xml-format-editor
type=
"textarea"
:model=
"model.gidgrp.blk.gtxgidtxt"
rows=
"16"
maxlength=
"65"
show-word-limit
placeholder=
"请输入保函文本可变因素"
></
c-xml-format-editor
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -26,14 +26,15 @@
</c-col>
<c-col
:span=
"24"
>
<c-button
:disabled=
"
model.gitp.gidtxtmodflg == ''"
size=
"small"
type=
"primary
"
style=
"margin: 18px 0 0 10px; width: 50%"
@
click=
"onGitpButdif"
>
<c-button
:disabled=
"
(model.gitp.gidtxtmodflg == '' && model.gitp.gidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.gtx.gidtxt == model.gidgrp.blk.gtxgidtxt)
"
s
ize=
"small"
type=
"primary"
s
tyle=
"margin: 18px 0 0 10px; width: 50%"
@
click=
"onGitpButdif"
>
查看系统文本
</c-button>
</c-col>
<c-col
:span=
"24"
>
<c-button
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px; width: 50%"
@
click=
"onGitpButdifhis"
>
<c-button
:disabled=
"(model.gitp.gidtxtmodflg == '' && model.gitp.oldgidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.oldgtxgidtxt == model.gidgrp.blk.gtxgidtxt)"
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px; width: 50%"
@
click=
"onGitpButdifhis"
>
查看历史文本
</c-button>
</c-col>
...
...
@@ -56,7 +57,7 @@
</c-button>
</c-col>
<c-col
:span=
"24"
>
<c-button
:disabled=
"
model.gitp.gidtxtmodflg == ''
"
size=
"small"
type=
"primary"
<c-button
:disabled=
"
!(model.gitp.gidtxtmodflg == 'X' && model.gidgrp.rec.giduil == 'CN')
"
size=
"small"
type=
"primary"
style=
"margin: 5px 0 0 10px; width: 50%"
@
click=
"onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
...
...
src/views/Business/Gitame/Ovwp.vue
View file @
46396830
...
...
@@ -118,7 +118,9 @@ import Ptypc from "./Ptypc";
import
Aacp
from
"./Aacp"
;
import
Aamp20
from
"./Aamp20"
;
const
tabNameToRulePathMapping
=
{
"gidtxtp"
:
"gitp.gidtxtp"
,
}
export
default
{
components
:
{
...
...
@@ -151,8 +153,42 @@ export default {
},
methods
:
{
...
Event
,
handleChange
(
val
)
{
console
.
log
(
val
);
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
let
name
=
tab
.
name
;
let
rulePath
;
if
(
name
===
"gidtxtp"
)
{
rulePath
=
"gitp.gidtxtp"
;
}
if
(
!!
rulePath
)
{
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
handleChange
(
names
){
// console.log(names);//激活的(展开的)面板的name数组集合
if
(
this
.
isInDisplay
)
{
return
}
const
arr
=
[]
for
(
let
i
=
0
;
i
<
names
.
length
;
i
++
)
{
const
n
=
names
[
i
];
const
path
=
tabNameToRulePathMapping
[
n
]
//取出激活/展开面板name对应的rulePath
if
(
path
)
{
arr
.
push
(
path
)
}
}
let
rulePath
=
arr
.
join
(
","
);
//把arr数组加入逗号分割,变成字符串
if
(
!!
rulePath
)
{
//rulePath不为空串
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
);
}
});
}
},
},
created
:
function
()
{
},
...
...
src/views/Business/Gitame/Preperp.vue
View file @
46396830
...
...
@@ -72,11 +72,11 @@
</c-checkbox>
<c-checkbox
v-model=
"model.gitp.chkpreper"
style=
"margin: 0 0 0 10px"
class=
"checkbox-left"
>
允许
</c-checkbox>
<c-button
disabled
size=
"small"
type=
"primary"
style=
"margin: 0px 0 0 10px; width: 100px"
<c-button
:disabled=
"!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))"
size=
"small"
type=
"primary"
style=
"margin: 0px 0 0 10px; width: 100px"
@
click=
"onGitpButdifpreper"
>
查看系统文本
</c-button>
<c-button
disabled
size=
"small"
style=
"margin: 10px 0 0 10px; width: 100px"
type=
"primary"
<c-button
:disabled=
"!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))"
size=
"small"
style=
"margin: 10px 0 0 10px; width: 100px"
type=
"primary"
@
click=
"onGitpButdifhispreper"
>
查看历史文本
</c-button>
...
...
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