Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
87b4aaa0
Commit
87b4aaa0
authored
Oct 26, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建二维码修改
parent
cae5d4b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
17 deletions
+12
-17
dialog.vue
src/components/qrcode/dialog.vue
+10
-15
index.vue
src/components/qrcode/index.vue
+2
-2
No files found.
src/components/qrcode/dialog.vue
View file @
87b4aaa0
<
template
>
<el-dialog
title=
"新建二维码"
width=
"600px"
:visible
.
sync=
"newObj.show"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"
标题
"
>
<el-form-item
label=
"
名称
"
>
<el-input
v-model=
"form.title"
/>
</el-form-item>
<el-form-item
label=
"二维码类型"
>
...
...
@@ -56,28 +57,22 @@
return
{
form
:{
title
:
null
,
type
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
null
,
status
:
0
,
end_at
:
null
},
typeOption
:[
{
label
:
'
请选择
'
,
value
:
''
label
:
'
临时
'
,
value
:
2
},{
label
:
'永久'
,
value
:
1
},{
label
:
'临时'
,
value
:
2
},
],
statusOption
:[
{
label
:
'请选择'
,
value
:
''
},{
label
:
'正常'
,
value
:
0
},{
...
...
@@ -101,9 +96,9 @@
this
.
$emit
(
'initPage'
);
this
.
form
=
{
title
:
null
,
type
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
null
,
status
:
0
,
end_at
:
null
};
this
.
newObj
.
show
=
false
...
...
src/components/qrcode/index.vue
View file @
87b4aaa0
...
...
@@ -163,7 +163,7 @@
methods
:{
onPageChange
(
val
){
this
.
nowPage
=
val
this
.
getOrderList
()
this
.
initPage
()
},
initPage
(){
let
json
=
{
...
...
@@ -194,6 +194,6 @@
padding: 10px;
}
.img{
width:
1
50px;
width: 50px;
}
</
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