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
ccc55ee4
Commit
ccc55ee4
authored
Dec 26, 2021
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统一前端选择记录传值方式
parent
4608548c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
Event.js
src/model/Ditopn/Event.js
+5
-8
Event.js
src/model/Trnrel/Event.js
+3
-3
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+1
-1
Ccvpan.vue
src/views/Public/Ccvpan.vue
+1
-1
No files found.
src/model/Ditopn/Event.js
View file @
ccc55ee4
...
...
@@ -209,10 +209,9 @@ export default {
}
},
async
onLiaccvDel
(
index
,
row
)
{
const
idx
=
index
+
1
;
let
rule
=
"liaall.liaccv.del"
;
let
params
=
{
selDst
:
"liaall.liaccv.liaccvg"
,
selIdx
:
idx
};
let
rtnmsg
=
await
this
.
executeRule
(
rule
,
params
)
let
ids
=
[
index
+
1
];
let
params
=
{
selDst
:
"liaall.liaccv.liaccvg"
,
selIds
:
ids
};
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.del"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
debugger
;
...
...
@@ -341,10 +340,8 @@ export default {
async
onExtkey
(
e
)
{
},
async
pickDepItem
(
row
)
{
debugger
;
var
params
=
{
'selsptinr'
:
row
.
srcStr
};
//{params:{'selsptinr':row[0]}}
async
pickDepItem
(
idx
,
row
)
{
var
params
=
{
selDst
:
""
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.add"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
dialogTableVisible
=
false
;
...
...
src/model/Trnrel/Event.js
View file @
ccc55ee4
...
...
@@ -86,12 +86,12 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRelrow
()
{
async
onRelrow
(
idx
,
row
)
{
const
selId
x
=
row
.
IDX
+
1
+
""
;
//rowno选中行
const
selId
s
=
[
idx
+
1
]
;
//rowno选中行
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
:
selDst
,
selId
x
:
selIdx
};
let
params
=
{
selDst
:
selDst
,
selId
s
:
selIds
};
let
rtnmsg
=
await
this
.
executeRule
(
"relrow"
,
params
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
ccc55ee4
...
...
@@ -418,7 +418,7 @@
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onRelrow(scope.row)"
@
click=
"onRelrow(scope.
$index,scope.
row)"
>
复核
...
...
src/views/Public/Ccvpan.vue
View file @
ccc55ee4
...
...
@@ -199,7 +199,7 @@
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
prop=
"op"
label=
"OP"
width=
"100"
>
<template
slot-scope=
"scope"
>
<a
href=
"javascript:void(0)"
@
click=
"pickDepItem(scope.row)"
<a
href=
"javascript:void(0)"
@
click=
"pickDepItem(scope.
$index,scope.
row)"
>
选择
</a
>
</
template
>
...
...
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