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
648d82f1
Commit
648d82f1
authored
Oct 24, 2022
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cptato点击事件更改
parent
091f4eb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
Event.js
src/model/Cptato/Event.js
+16
-12
Opnp1.vue
src/views/Business/Cptato/Opnp1.vue
+1
-1
No files found.
src/model/Cptato/Event.js
View file @
648d82f1
...
...
@@ -2,18 +2,22 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onAttpGetref
(){
let
rtnmsg
=
await
this
.
executeRule
(
"attp.getref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAttpGetref
(){
let
rtnmsg
=
await
this
.
executeRule
(
"attp.getref"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
this
.
$message
({
type
:
'success'
,
message
:
'获取成功!'
});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onAttpSelbut1
(){
let
rtnmsg
=
await
this
.
executeRule
(
"attp.selbut1"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
...
...
src/views/Business/Cptato/Opnp1.vue
View file @
648d82f1
...
...
@@ -28,7 +28,7 @@
size=
"small"
type=
"primary"
:disabled=
"this.flag"
@
click=
"
O
nAttpGetref"
@
click=
"
o
nAttpGetref"
>
获取
</c-button>
...
...
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