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
9202502f
Commit
9202502f
authored
Feb 02, 2023
by
“wufan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fctcan修改
parent
74d98822
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
Check.js
src/model/Fctcan/Check.js
+1
-1
Opnp1.vue
src/views/Business/Fctcan/Opnp1.vue
+15
-9
index.vue
src/views/Business/Fctcan/index.vue
+0
-0
No files found.
src/model/Fctcan/Check.js
View file @
9202502f
...
@@ -6,7 +6,7 @@ import Utils from "~/utils"
...
@@ -6,7 +6,7 @@ import Utils from "~/utils"
let
checkObj
=
{
let
checkObj
=
{
"fcdgrp.apl.pts.extkey"
:
null
,
"fcdgrp.apl.pts.extkey"
:
null
,
"fcdgrp.apl.pts.nam"
:
null
,
"fcdgrp.apl.pts.nam"
:
null
,
//
"fcdgrp.rec.ownref" :null,
"fcdgrp.rec.ownref"
:
null
,
}
}
for
(
const
key
in
checkObj
)
{
for
(
const
key
in
checkObj
)
{
...
...
src/views/Business/Fctcan/Opnp1.vue
View file @
9202502f
...
@@ -147,8 +147,9 @@
...
@@ -147,8 +147,9 @@
<c-istream-table
<c-istream-table
:list=
"model.cshstm.rows || []"
:list=
"model.cshstm.rows || []"
:columns=
"columns"
:columns=
"columns"
v-on:chooseRowEvent=
"chooseRowEvent"
:showSelection=
"true"
v-if=
"model.gleflg"
v-on:multipleSelect=
"multipleSelect"
></c-istream-table>
></c-istream-table>
</c-col>
</c-col>
</div>
</div>
...
@@ -187,18 +188,23 @@ export default {
...
@@ -187,18 +188,23 @@ export default {
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
async
chooseRowEvent
(
row
)
{
async
multipleSelect
(
selection
)
{
const
selIds
=
[
row
.
IDX
+
1
];
//rowno选中行
console
.
log
(
selection
);
const
selDst
=
"cshstm"
//列表对应后台模型中的stream
if
(
selection
)
{
let
params
=
{
selDst
:
selDst
,
selIds
:
selIds
};
let
selIds
=
selection
.
map
(
x
=>
x
+
1
);
let
rtnmsg
=
await
this
.
executeRule
(
"cshstm"
,
params
)
let
params
=
{
selDst
:
"cshstm"
,
selIds
}
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
const
rtnmsg
=
await
this
.
executeRule
(
"cshstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
this
.
updateModel
(
rtnmsg
.
data
)
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
},
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
created
:
function
()
{},
};
};
</
script
>
</
script
>
...
...
src/views/Business/Fctcan/index.vue
View file @
9202502f
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