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
4fa427f3
Commit
4fa427f3
authored
Mar 31, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理待经办点击处理时候行数据传递问题
parent
5ca35fda
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
22 deletions
+44
-22
index.js
src/business/gitopn/event/index.js
+7
-2
index.vue
src/business/gitopn/views/index.vue
+20
-3
index.js
src/business/sptsel/event/index.js
+1
-16
Menu.vue
src/business/sptsel/views/Menu.vue
+2
-0
index.js
src/store/index.js
+3
-1
gitopn.js
src/store/modules/gitopn.js
+11
-0
No files found.
src/business/gitopn/event/index.js
View file @
4fa427f3
...
...
@@ -55,8 +55,13 @@ export default {
loading
.
close
();
},
// 暂存
handleStash
()
{
console
.
log
(
'暂存'
);
async
handleStash
()
{
const
res
=
await
Api
.
post
(
'/service/gitopn/txnHold'
,
{
...
this
.
model
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
});
console
.
log
(
'暂存'
,
res
);
},
async
tabClick
(
tab
)
{
if
(
this
.
isInDisplay
)
{
...
...
src/business/gitopn/views/index.vue
View file @
4fa427f3
...
...
@@ -138,6 +138,7 @@ import Docpan from "~/components/business/docpan/views";
import
Doctre
from
"~/views/Public/Doctre"
;
import
Limitbody
from
"~/views/Public/Limitbody"
;
import
moment
from
"moment"
;
import
{
mapState
}
from
'vuex'
;
export
default
{
name
:
"Gitopn"
,
...
...
@@ -172,6 +173,11 @@ export default {
"m-limitbody"
:
Limitbody
,
"m-aacp"
:
Aacp
,
},
computed
:
{
...
mapState
({
toHandleRowData
:
(
state
)
=>
state
.
toHandleRowData
})
},
provide
()
{
return
{
root
:
this
,
...
...
@@ -279,7 +285,7 @@ export default {
this
.
model
.
gitp
.
labissref
=
'Issuing Bank
\'
s Ref.'
this
.
model
.
gitp
.
laborcdat
=
'Contract Date'
this
.
model
.
gitp
.
letterlabel
=
'面函标题'
this
.
model
.
gitp
.
usr
.
extkey
=
'ZL'
this
.
model
.
gitp
.
usr
.
extkey
=
window
.
sessionStorage
.
userId
||
'ZL'
this
.
model
.
liaall
.
exttotamt
=
'0.000'
this
.
model
.
liaall
.
exttotoldamt
=
'0.000'
this
.
model
.
liaccv
.
cshpct
=
'0.00'
...
...
@@ -291,12 +297,23 @@ export default {
this
.
model
.
liaall
.
limmod
.
ccvamt
=
'0.000'
this
.
model
.
liaall
.
limmod
.
comamt
=
'0.000'
this
.
model
.
liaall
.
misamt
=
'0.000'
this
.
model
.
pageId
=
'CtxCache-4079be82-bb5e-4ced-835e-0f20d3268ec2'
this
.
model
.
setmod
.
dspflg
=
'CG'
},
async
init
()
{
const
params
=
{
...
this
.
toHandleRowData
}
const
res
=
await
Api
.
post
(
'/service/xxx/xxx'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
});
console
.
log
(
res
)
}
},
created
()
{
this
.
initModelData
()
// this.initModelData()
// this.init()
this
.
queryHndtypCodeTableList
(
this
.
trnName
)
},
mounted
()
{},
...
...
src/business/sptsel/event/index.js
View file @
4fa427f3
...
...
@@ -48,27 +48,12 @@ export default {
this
.
$router
.
push
({
path
:
'business-new/sptpopup'
,
query
:
{
id
:
id
||
'text'
}
});
},
async
continueEdit
(
row
,
scope
)
{
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// this.model.selsptinr = row['INR'];
// const selIds = [];
// selIds.push(row['IDX']);
// let params = { selDst: "sptstm", selIds: selIds };
// let rtnmsg = await this.executeRule("tak", params)
// if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this
.
updateToHandleRowData
(
row
)
let
trnName
=
row
.
frm
.
toLowerCase
();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this
.
$router
.
push
({
name
:
trnName
.
charAt
(
0
).
toUpperCase
()
+
trnName
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
},
});
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
},
},
};
src/business/sptsel/views/Menu.vue
View file @
4fa427f3
...
...
@@ -136,6 +136,7 @@
<
script
>
import
Api
from
'~/service/Api'
;
import
event
from
'../event'
import
{
mapMutations
}
from
'vuex'
;
export
default
{
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
...
...
@@ -200,6 +201,7 @@ export default {
// this.$store.commit('setTaskList', {key: 'sptsel', val: this.stmData.data.length})
},
methods
:
{
...
mapMutations
([
'updateToHandleRowData'
]),
// async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
...
...
src/store/index.js
View file @
4fa427f3
...
...
@@ -6,6 +6,7 @@ import TagsView from "./TagsView"
import
Transaction
from
"./Transaction"
;
import
Vuex
from
'vuex'
import
Vue
from
'vue'
import
gitopn
from
'./modules/gitopn.js'
Vue
.
use
(
Vuex
)
...
...
@@ -16,7 +17,8 @@ const store = new Vuex.Store({
Status
:
Status
,
Swift
:
Swift
,
TagsView
:
TagsView
,
Transaction
:
Transaction
Transaction
:
Transaction
,
gitopn
}
})
...
...
src/store/modules/gitopn.js
0 → 100644
View file @
4fa427f3
const
store
=
{
state
:
{
toHandleRowData
:
{},
},
mutations
:
{
updateToHandleRowData
(
state
,
params
)
{
state
.
toBehandleRowData
=
params
}
}
}
export
default
store
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