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
4e898428
Commit
4e898428
authored
Jan 07, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
372f0f5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
57 deletions
+28
-57
Event.js
src/model/Sptsel/Event.js
+14
-14
Event.js
src/model/Trnrel/Event.js
+8
-37
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+1
-1
Inftrnps.vue
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
+5
-5
No files found.
src/model/Sptsel/Event.js
View file @
4e898428
...
@@ -103,13 +103,13 @@ export default {
...
@@ -103,13 +103,13 @@ export default {
const
res
=
await
this
.
executeDefault
(
"sptstm"
)
const
res
=
await
this
.
executeDefault
(
"sptstm"
)
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this
.
stmData
.
data
=
res
.
data
.
sptstm
.
rows
;
this
.
stmData
.
data
=
res
.
data
.
sptstm
.
rows
;
if
(
res
.
data
.
sptstm
.
rows
.
length
==
0
){
//
if(res.data.sptstm.rows.length == 0){
this
.
$notify
({
//
this.$notify({
title
:
'成功'
,
//
title: '成功',
message
:
'搜索完毕,无满足条件记录'
,
//
message: '搜索完毕,无满足条件记录',
type
:
'success'
//
type: 'success'
});
//
});
}
//
}
},
},
async
sptfndHandleReset
()
{
async
sptfndHandleReset
()
{
...
@@ -139,13 +139,13 @@ export default {
...
@@ -139,13 +139,13 @@ export default {
// })
// })
const
res
=
await
this
.
executeDefault
(
"sptstm"
)
const
res
=
await
this
.
executeDefault
(
"sptstm"
)
this
.
stmData
.
data
=
res
.
data
.
sptstm
.
rows
;
this
.
stmData
.
data
=
res
.
data
.
sptstm
.
rows
;
if
(
res
.
data
.
sptstm
.
rows
.
length
==
0
){
//
if(res.data.sptstm.rows.length == 0){
this
.
$notify
({
//
this.$notify({
title
:
'成功'
,
//
title: '成功',
message
:
'搜索完毕,无满足条件记录'
,
//
message: '搜索完毕,无满足条件记录',
type
:
'success'
//
type: 'success'
});
//
});
}
//
}
},
},
async
onSptpButord
(){
async
onSptpButord
(){
let
rtnmsg
=
await
this
.
executeRule
(
"sptp.butord"
)
let
rtnmsg
=
await
this
.
executeRule
(
"sptp.butord"
)
...
...
src/model/Trnrel/Event.js
View file @
4e898428
...
@@ -365,44 +365,15 @@ export default {
...
@@ -365,44 +365,15 @@ export default {
// })
// })
// }
// }
const
res
=
await
this
.
executeRule
(
"searow"
)
const
res
=
await
this
.
executeRule
(
"searow"
)
const
arr
=
[];
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
res
.
data
.
trncorco_trnstm
.
rows
.
forEach
(
element
=>
{
switch
(
element
.
charAt
(
0
))
{
case
'W'
:
arr
.
push
(
"Waiting"
+
element
.
substring
(
1
));
break
;
case
'C'
:
arr
.
push
(
"Correct"
+
element
.
substring
(
1
));
break
;
case
'P'
:
arr
.
push
(
"Picked up"
+
element
.
substring
(
1
));
break
;
case
'N'
:
arr
.
push
(
"Rejected"
+
element
.
substring
(
1
));
break
;
case
'E'
:
arr
.
push
(
"Entered"
+
element
.
substring
(
1
));
break
;
case
'X'
:
arr
.
push
(
"External"
+
element
.
substring
(
1
));
break
;
case
'M'
:
arr
.
push
(
"Closed"
+
element
.
substring
(
1
));
break
;
default
:
arr
.
push
(
element
);
break
;
}
});
that
.
$refs
.
inftrnps
.
stmData
.
data
=
arr
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
if
(
res
.
data
.
trncorco_trnstm
.
rows
.
length
==
0
)
{
//
if (res.data.trncorco_trnstm.rows.length == 0) {
this
.
$notify
({
//
this.$notify({
title
:
'成功'
,
//
title: '成功',
message
:
'搜索完毕,无满足条件记录'
,
//
message: '搜索完毕,无满足条件记录',
type
:
'success'
//
type: 'success'
});
//
});
}
//
}
this
.
$refs
.
paramsForm
.
clearValidate
();
this
.
$refs
.
paramsForm
.
clearValidate
();
Utils
.
positioningErrorMsg
(
res
.
fieldErrors
,
this
.
$refs
.
paramsForm
.
fields
)
Utils
.
positioningErrorMsg
(
res
.
fieldErrors
,
this
.
$refs
.
paramsForm
.
fields
)
},
},
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
4e898428
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
fixed=
"right"
fixed=
"right"
prop=
"display"
prop=
"display"
label=
"操作"
label=
"操作"
width=
"
auto
"
width=
"
140px
"
>
>
<
template
slot=
"header"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
...
...
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
View file @
4e898428
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
fixed=
"right"
fixed=
"right"
prop=
"display"
prop=
"display"
label=
"操作"
label=
"操作"
width=
"
20
0px"
width=
"
14
0px"
>
>
<
template
slot=
"header"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
...
@@ -510,10 +510,10 @@ export default {
...
@@ -510,10 +510,10 @@ export default {
'12 3 "币种" 70'
,
'12 3 "币种" 70'
,
'13 4 "金额" 100'
,
'13 4 "金额" 100'
,
'14 5 "创建时间" 170'
,
'14 5 "创建时间" 170'
,
'9 6 "签名要求"
7
0'
,
'9 6 "签名要求"
8
0'
,
'2 7 "签名状态"
7
0'
,
'2 7 "签名状态"
8
0'
,
'16 8 "经办柜员"
7
0'
,
'16 8 "经办柜员"
8
0'
,
'0 9 "业务状态"
7
0'
,
'0 9 "业务状态"
8
0'
,
'15 10 "业务机构" 200'
,
'15 10 "业务机构" 200'
,
],
],
data
:
[],
data
:
[],
...
...
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