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
2793bac1
Commit
2793bac1
authored
Dec 27, 2021
by
wjj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
d470efa1
40113c29
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
93 additions
and
43 deletions
+93
-43
FunctionBtn.vue
src/components/FunctionBtn.vue
+1
-0
commonFuncs.js
src/mixin/commonFuncs.js
+8
-7
Event.js
src/model/Trnrel/Event.js
+50
-17
Status.js
src/store/Status.js
+5
-1
index.vue
src/views/Business/Infdid/index.vue
+2
-0
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+5
-3
index.vue
src/views/TaskList/index.vue
+22
-15
No files found.
src/components/FunctionBtn.vue
View file @
2793bac1
...
...
@@ -98,6 +98,7 @@ export default {
})
.
then
(
res
=>
{
// this.$router.back();
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
handleExit
&&
this
.
handleExit
()
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
routeParams
)
{
setTimeout
(()
=>
{
...
...
src/mixin/commonFuncs.js
View file @
2793bac1
...
...
@@ -11,7 +11,10 @@ export default {
message
:
"保存成功"
,
type
:
"success"
,
});
this
.
$router
.
history
.
push
(
"/business/trnrel"
);
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
history
.
push
(
"/taskList"
,
()
=>
{
this
.
$store
.
commit
(
"setTaskListTabVal"
,
'trnrel'
)
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
...
...
@@ -36,7 +39,10 @@ export default {
message
:
"暂存成功"
,
type
:
"success"
,
});
this
.
$router
.
history
.
push
(
"/business/sptsel"
);
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
history
.
push
(
"/taskList"
,
()
=>
{
this
.
$store
.
commit
(
"setTaskListTabVal"
,
'sptbrk'
)
});
}
else
{
this
.
$notify
({
title
:
"失败"
,
...
...
@@ -70,11 +76,6 @@ export default {
});
return
}
this
.
$notify
({
title
:
"成功"
,
message
:
"校核成功"
,
type
:
"success"
,
});
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
result
.
respMsg
});
}
...
...
src/model/Trnrel/Event.js
View file @
2793bac1
...
...
@@ -95,17 +95,48 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
$message
({
type
:
'success'
,
message
:
'Reject成功!'
});
debugger
;
let
errorMsg
=
""
;
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
if
(
!
fieldErrorsFlag
){
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
else
{
this
.
$notify
({
title
:
'成功'
,
message
:
'复核成功'
,
type
:
'success'
});
debugger
;
const
that
=
this
.
root
;
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
let
errorMsg
=
""
;
let
fieldErrorsFlag
=
(
JSON
.
stringify
(
rtnmsg
.
fieldErrors
)
==
"{}"
);
if
(
!
fieldErrorsFlag
){
let
errorMsgkey
=
""
;
let
errorMsgVal
=
""
;
for
(
const
key
in
rtnmsg
.
fieldErrors
)
{
errorMsgkey
=
key
;
errorMsgVal
=
rtnmsg
.
fieldErrors
[
key
];
}
errorMsg
=
errorMsgkey
+
':'
+
errorMsgVal
;
}
else
if
(
rtnmsg
.
respMsg
){
errorMsg
=
rtnmsg
.
respMsg
;
}
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'复核失败!错误信息['
+
errorMsg
+
']'
});
}
},
sleep
(
ms
)
{
...
...
@@ -287,18 +318,18 @@ export default {
},
async
handleSearch
()
{
const
that
=
this
.
root
;
if
(
this
.
model
.
searchAllUsers
)
{
that
.
executeRule
(
"seajbh"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
})
}
else
{
//
if (this.model.searchAllUsers) {
//
that.executeRule("seajbh").then(res => {
//
//TODO 处理数据逻辑
//
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
//
})
//
} else {
that
.
executeRule
(
"searow"
).
then
(
res
=>
{
//TODO 处理数据逻辑
that
.
$refs
.
inftrnps
.
stmData
.
data
=
res
.
data
.
trncorco_trnstm
.
rows
;
this
.
model
.
trncorco
.
trnstm
=
res
.
data
.
trncorco_trnstm
;
})
}
//
}
},
async
handleReset
()
{
...
...
@@ -312,7 +343,8 @@ export default {
this
.
model
.
trncorco
.
dflg
=
"ALL"
;
this
.
model
.
atptxt
=
""
;
this
.
model
.
searchAllUsers
=
false
;
}
},
}
\ No newline at end of file
src/store/Status.js
View file @
2793bac1
...
...
@@ -21,7 +21,8 @@ const Status = {
check
:
false
,
// 暂存
stash
:
false
}
},
taskListTabVal
:
''
},
mutations
:
{
setMode
(
state
,
value
)
{
...
...
@@ -78,6 +79,9 @@ const Status = {
},
setLoadingStash
(
state
,
value
)
{
state
.
loading
.
stash
=
value
;
},
setTaskListTabVal
(
state
,
value
)
{
state
.
taskListTabVal
=
value
;
}
}
}
...
...
src/views/Business/Infdid/index.vue
View file @
2793bac1
...
...
@@ -5,7 +5,9 @@
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!--
</el-tab-pane>
-->
<!--PD000001 -->
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
2793bac1
...
...
@@ -412,10 +412,12 @@
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"display(scope.$index, scope.row)"
>
详情
</c-button>
快照
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
...
...
src/views/TaskList/index.vue
View file @
2793bac1
...
...
@@ -37,26 +37,33 @@ import Bopsel from "~/views/Business/Bopsel";
export
default
{
data
(){
return
{
tabVal
:
"sptsel"
,
}
},
computed
:
{
tabVal
:
{
get
()
{
return
this
.
$store
.
state
.
Status
.
taskListTabVal
||
"sptsel"
},
set
(
val
)
{
this
.
$store
.
commit
(
"setTaskListTabVal"
,
val
)
}
}
},
name
:
"TaskList"
,
methods
:
{
tabClick
()
{},
created
()
{
},
components
:{
"t-sptsel"
:
Sptsel
,
"t-sptbrk"
:
Sptbrk
,
"t-trnrel"
:
Trnrel
,
"t-trnfnd"
:
Trnfnd
,
"t-diasel"
:
Diasel
,
"t-bopsel"
:
Bopsel
,
methods
:
{
tabClick
(
tab
)
{
},
},
components
:{
"t-sptsel"
:
Sptsel
,
"t-sptbrk"
:
Sptbrk
,
"t-trnrel"
:
Trnrel
,
"t-trnfnd"
:
Trnfnd
,
"t-diasel"
:
Diasel
,
"t-bopsel"
:
Bopsel
,
},
};
</
script
>
...
...
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