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
84ef3b00
Commit
84ef3b00
authored
Jan 17, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保证金Add框
parent
b054fbb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
49 deletions
+48
-49
Event.js
src/model/Ditopn/Event.js
+0
-40
Ccvpan.vue
src/views/Public/Ccvpan.vue
+48
-9
No files found.
src/model/Ditopn/Event.js
View file @
84ef3b00
...
...
@@ -195,38 +195,6 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaccvAdd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.add"
)
//const that = this.root;
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
debugger
;
this
.
stmData
.
data
=
rtnmsg
.
data
.
vals
.
rows
;
this
.
dialogTableVisible
=
true
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaccvDel
(
index
,
row
)
{
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
;
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
//this.model.liaall.liaccv.liaccvg = [];
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSeaParty
(
path
)
{
let
rtnmsg
=
await
this
.
executeRule
(
path
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
...
...
@@ -263,14 +231,6 @@ export default {
async
onExtkey
(
e
)
{
},
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
;
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
// didgrp.iss.pts.extkey
async
changeExtkey
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"didgrp.iss.pts.extkey"
)
...
...
src/views/Public/Ccvpan.vue
View file @
84ef3b00
...
...
@@ -195,6 +195,7 @@
:visible
.
sync=
"dialogTableVisible"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
width=
"60%"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<el-table-column
prop=
"op"
label=
"OP"
width=
"100"
>
...
...
@@ -321,7 +322,6 @@
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Ditopn/Event"
;
export
default
{
inject
:
[
"root"
],
...
...
@@ -332,15 +332,15 @@ export default {
dialogTableVisible
:
false
,
stmData
:
{
columns
:
[
'1 1:1 "Ref" 1
2
0'
,
'1 1:1 "Ref" 1
5
0'
,
'2 2:1 "User" 80'
,
'3 3:1 "Applicant" 1
96
'
,
'4 4:1 "Account"
12
0'
,
'5 5:1 "Cur"
5
0'
,
'6 6:1 "Amt"
8
0 2 0 1 18.3'
,
'3 3:1 "Applicant" 1
00
'
,
'4 4:1 "Account"
20
0'
,
'5 5:1 "Cur"
20
0'
,
'6 6:1 "Amt"
10
0 2 0 1 18.3'
,
'7 7:1 "Open date" 80 4 7'
,
'8 8:1 "flg"
4
0'
,
'9 9:1 "Remarks"
18
0'
,
'8 8:1 "flg"
15
0'
,
'9 9:1 "Remarks"
25
0'
,
"P COLORED TRUE"
,
"P VERTLINES TRUE"
,
"P HORZLINES TRUE"
,
...
...
@@ -352,7 +352,46 @@ export default {
relrowDisabled
:
true
,
};
},
methods
:
{
...
Event
},
methods
:
{
async
onLiaccvAdd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.liaccv.add"
)
//const that = this.root;
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
stmData
.
data
=
rtnmsg
.
data
.
vals
.
rows
;
this
.
dialogTableVisible
=
true
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
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
;
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
async
onLiaccvDel
(
index
,
row
)
{
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 处理数据逻辑
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
//this.model.liaall.liaccv.liaccvg = [];
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
},
created
:
function
()
{},
};
</
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