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
01be0860
Commit
01be0860
authored
Dec 09, 2021
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add moduleList rule
parent
f9029fd6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
Event.js
src/model/Ditopn/Event.js
+5
-3
Ccvpan.vue
src/views/Business/Ditopn/Ccvpan.vue
+3
-2
Ccvpan.vue
src/views/Public/Ccvpan.vue
+3
-1
Setpan.vue
src/views/Public/Setpan.vue
+3
-2
No files found.
src/model/Ditopn/Event.js
View file @
01be0860
...
...
@@ -208,9 +208,11 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaccvDel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.del"
)
//const that = this.root;
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
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
debugger
;
...
...
src/views/Business/Ditopn/Ccvpan.vue
View file @
01be0860
...
...
@@ -244,8 +244,9 @@
<el-table-column
prop=
"acccovamt"
label=
"Acc Amount"
width=
"auto"
>
</el-table-column>
<el-table-column
label=
"OP"
width=
"auto"
>
<
template
slot-scope=
""
>
<a
href=
"javascript:void(0)"
@
click=
"onLiaccvDel()"
>
删除
</a>
<
template
slot-scope=
"scope"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onLiaccvDel(scope.$index,scope.row)"
>
Del
</c-button>
</
template
>
</el-table-column>
</c-table>
...
...
src/views/Public/Ccvpan.vue
View file @
01be0860
...
...
@@ -137,9 +137,11 @@
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onLiaccvDel"
>
<
template
slot-scope=
"scope"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onLiaccvDel(scope.$index,scope.row)"
>
Del
</c-button>
</
template
>
</c-col>
</c-row>
</c-col>
...
...
src/views/Public/Setpan.vue
View file @
01be0860
...
...
@@ -448,7 +448,7 @@ export default {
},
// 第二个表格
detail1
(
index
,
row
)
{
this
.
executeDefault
(
"det"
).
then
(
res
=>
{
this
.
executeDefault
(
"
setfel/
det"
).
then
(
res
=>
{
this
.
dialogVisible
=
true
;
this
.
dialog
=
row
;
this
.
index
=
index
;
...
...
@@ -464,7 +464,8 @@ export default {
// 第三个表格
detail2
(
index
,
row
)
{
const
that
=
this
;
that
.
executeRule
(
"det"
).
then
(
res
=>
{
const
rule
=
"setmod.setfeg.setfel("
+
(
index
+
1
)
+
").det"
;
that
.
executeRule
(
rule
).
then
(
res
=>
{
that
.
$refs
.
setpanDialog
.
visiable
=
true
;
that
.
$refs
.
setpanDialog
.
formData
=
Object
.
assign
({},
that
.
model
.
setmod
.
setfeg
.
setfel
[
index
]);
that
.
index
=
index
;
...
...
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