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
f4dd0a28
Commit
f4dd0a28
authored
Dec 24, 2021
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
封装
parent
1a3961c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
122 additions
and
0 deletions
+122
-0
Ptap1.vue
src/views/Public/Ptap1.vue
+122
-0
No files found.
src/views/Public/Ptap1.vue
0 → 100644
View file @
f4dd0a28
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"20"
>
<el-form-item
:label=
"`$
{argadr.title}`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style=
"width: 95%"
v-model=
"model[argadr.grp][argadr.rol].pts.extkey"
:placeholder=
"'请输入' + argadr.title + 'Extkey'"
@
keyup
.
enter
.
native=
"
showGridPromptDialog(`$
{argadr.grp}.${argadr.rol}.pts.extkey`)
"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<!--
<el-form-item
label=
""
label-width=
"5px"
>
-->
<c-button
style=
"margin:0 10px 0 0;padding: 0 10px;"
class=
"searchButton"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSeainf(`$
{argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<c-button
style=
"margin:0 0"
class=
"detailsButton"
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
{{
$t
(
'buttons.details'
)
}}
</c-button>
<!--
</el-form-item>
-->
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
:prop=
"`$
{argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model[argadr.grp][argadr.rol].pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
:disabled=
"disabled"
></c-input>
</el-form-item>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
// 机构信息模块
export
default
{
inject
:
[
"root"
],
mixins
:
[
CommonProcess
],
props
:
{
model
:
{
type
:
Object
,
default
:
undefined
,
},
argadr
:
{
type
:
Object
,
default
:
function
()
{
return
{
title
:
""
,
//角色名称
rol
:
""
,
//角色
grp
:
""
,
//所属模块
};
},
},
disabled
:
{
type
:
Boolean
,
default
:
false
,
},
},
data
()
{
return
{
data
:
[],
};
},
watch
:
{},
methods
:
{
onSeainf
(
data
)
{
this
.
$emit
(
"onSeainf"
,
data
);
},
onAplpDet
()
{
this
.
$emit
(
"onAplpDet"
);
},
},
created
:
function
()
{},
};
</
script
>
<
style
>
.searchButton
{
text-align
:
center
;
/* margin: 0 10px; */
margin-right
:
10px
;
padding
:
0
10px
;
}
.detailsButton
{
margin-left
:
10px
;
}
</
style
>
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