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
e84e53b0
Commit
e84e53b0
authored
Jun 09, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extkey的事件回显
parent
759b483d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+20
-3
No files found.
src/views/Business/Ditopn/Ovwp.vue
View file @
e84e53b0
...
...
@@ -83,7 +83,7 @@
<el-col
:span=
"8"
>
<el-form-item
label=
"Extkey"
>
<c-input
v-model=
"model.didgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
<c-input
v-model=
"model.didgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"aplExtkeyEvent"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -236,7 +236,7 @@
<el-col
:span=
"8"
>
<el-form-item
label=
"Extkey"
>
<c-input
v-model=
"model.didgrp.ben.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
<c-input
v-model=
"model.didgrp.ben.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"benExtkeyEvent"
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -388,6 +388,7 @@ import Api from "~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Ditopn/Event"
import
CommonProcess
from
"~/mixin/CommonProcess"
import
Utils
from
"~/utils"
export
default
{
props
:[
"model"
,
"codes"
],
...
...
@@ -397,7 +398,23 @@ export default {
declareParams
:{
"fileName"
:
"ditopn.json"
,
"basePath"
:
"{{basePath}}"
,
"method"
:
"post"
,
"scheme"
:
"{{schemes}}"
,
"host"
:
"{{host}}"
,
"consume"
:
"0"
,
"produce"
:
"0"
,
"uri"
:
"/ditopn/getElcsRef"
},
}
},
methods
:{...
Event
},
methods
:{
...
Event
,
aplExtkeyEvent
()
{
const
data
=
Utils
.
flatObject
(
this
.
model
)
Api
.
post
(
"ditopn/executeRule/didgrp.apl.pts.extkey"
,
data
).
then
(
res
=>
{
const
data
=
res
.
data
;
this
.
model
.
didgrp
.
apl
.
namelc
=
data
.
didgrp_apl_namelc
;
this
.
model
.
didgrp
.
apl
.
adrelc
=
data
.
didgrp_apl_adrelc
;
})
},
benExtkeyEvent
()
{
const
data
=
Utils
.
flatObject
(
this
.
model
)
Api
.
post
(
"ditopn/executeRule/didgrp.ben.pts.extkey"
,
data
).
then
(
res
=>
{
const
data
=
res
.
data
;
})
}
},
created
:
function
(){
}
...
...
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