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
af11e40d
Commit
af11e40d
authored
Nov 07, 2022
by
wangna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sptcpt UI改造
parent
878e7362
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
65 deletions
+64
-65
Event.js
src/model/Sptcpt/Event.js
+2
-1
index.js
src/model/Sptcpt/index.js
+1
-1
Menu.vue
src/views/Business/Sptcpt/Menu.vue
+0
-0
index.vue
src/views/Business/Sptcpt/index.vue
+61
-63
No files found.
src/model/Sptcpt/Event.js
View file @
af11e40d
...
...
@@ -66,7 +66,8 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
stmData
.
data
=
rtnmsg
.
data
.
trncorco_trnstm
.
rows
;
this
.
updateModel
(
rtnmsg
.
data
);
this
.
stmData
.
data
=
rtnmsg
.
data
.
sptstm
.
rows
;
}
else
...
...
src/model/Sptcpt/index.js
View file @
af11e40d
...
...
@@ -26,7 +26,7 @@ export default class Sptcpt{
},
selusb
:
""
,
// Select user branch .usfmod.selusb
},
sptstm
:
""
,
// List of SPT records .sptstm
sptstm
:
[]
,
// List of SPT records .sptstm
chkdzt
:
""
,
// E-Trade .chkdzt
lremark
:
""
,
// 退回附言 .lremark
inidatfro
:
""
,
// Date of entry of Transaction .inidatfro
...
...
src/views/Business/Sptcpt/Menu.vue
View file @
af11e40d
This diff is collapsed.
Click to expand it.
src/views/Business/Sptcpt/index.vue
View file @
af11e40d
<
template
>
<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"
>
<!--sptcpt PD000042 Menu -->
<el-tab-pane
label=
"菜单"
name=
"menu"
>
<m-menu
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
<div
class=
"eContainer-search"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-content>
<m-menu
:model=
"model"
:codes=
"codes"
ref=
"menu"
/>
</c-content>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Sptcpt
from
"~/model/Sptcpt"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Sptcpt/Check"
import
Default
from
"~/model/Sptcpt/Default"
import
Pattern
from
"~/model/Sptcpt/Pattern"
import
Menu
from
"./Menu"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Sptcpt
from
"~/model/Sptcpt"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Sptcpt/Check"
;
import
Default
from
"~/model/Sptcpt/Default"
;
import
Pattern
from
"~/model/Sptcpt/Pattern"
;
import
Menu
from
"./Menu"
;
export
default
{
name
:
"Sptcpt"
,
components
:{
"m-menu"
:
Menu
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"menu"
,
trnName
:
"sptcpt"
,
trnType
:
""
,
model
:
new
Sptcpt
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
},
}
name
:
"Sptcpt"
,
components
:
{
"m-menu"
:
Menu
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"menu"
,
trnName
:
"sptcpt"
,
trnType
:
""
,
model
:
new
Sptcpt
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{},
};
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
);
/**
* do it yourself
**/
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入sptcpt交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
created
:
async
function
()
{
console
.
log
(
"进入sptcpt交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
};
</
script
>
<
style
>
</
style
>
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