Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
4cb3e097
Commit
4cb3e097
authored
Mar 18, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
15d232ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/views/poster/PosterList.vue
+1
-0
src/views/poster/newPoster.vue
+3
-4
No files found.
src/views/poster/PosterList.vue
View file @
4cb3e097
...
@@ -107,6 +107,7 @@
...
@@ -107,6 +107,7 @@
},
},
columns
:
[
columns
:
[
{
dataIndex
:
'picture'
,
title
:
'图片 '
,
scopedSlots
:
{
customRender
:
'picture'
}},
{
dataIndex
:
'picture'
,
title
:
'图片 '
,
scopedSlots
:
{
customRender
:
'picture'
}},
{
dataIndex
:
'createName'
,
width
:
100
,
title
:
'创建人'
},
{
dataIndex
:
'createTime'
,
width
:
100
,
title
:
'创建时间 '
,
scopedSlots
:
{
customRender
:
'createTime'
}},
{
dataIndex
:
'createTime'
,
width
:
100
,
title
:
'创建时间 '
,
scopedSlots
:
{
customRender
:
'createTime'
}},
{
dataIndex
:
'enable'
,
width
:
50
,
title
:
'启用状态'
,
scopedSlots
:
{
customRender
:
'enable'
}},
{
dataIndex
:
'enable'
,
width
:
50
,
title
:
'启用状态'
,
scopedSlots
:
{
customRender
:
'enable'
}},
{
{
...
...
src/views/poster/newPoster.vue
View file @
4cb3e097
...
@@ -5,20 +5,20 @@
...
@@ -5,20 +5,20 @@
:closable=
"true"
:closable=
"true"
:visible=
"visible"
:visible=
"visible"
@
close=
"onClose"
@
close=
"onClose"
width=
"
10
0%"
width=
"
5
0%"
:bodyStyle=
"
{'padding':0}"
:bodyStyle=
"
{'padding':0}"
destroyOnClose
destroyOnClose
>
>
<div
class=
"meun-box"
>
<div
class=
"meun-box"
>
<a-row>
<a-row>
<a-col
:span=
"
6
"
>
<a-col
:span=
"
3
"
>
<!--
<div
class=
"select-btn"
>
<!--
<div
class=
"select-btn"
>
<span>
选择图片
</span>
<span>
选择图片
</span>
<input
ref=
"selectImgae"
class=
"seletImg"
type=
"file"
@
change=
"selectImage"
/>
<input
ref=
"selectImgae"
class=
"seletImg"
type=
"file"
@
change=
"selectImage"
/>
</div>
-->
</div>
-->
<a-button
@
click=
"toImage"
v-if=
"images != ''"
>
生成图片
</a-button>
<a-button
@
click=
"toImage"
v-if=
"images != ''"
>
生成图片
</a-button>
</a-col>
</a-col>
<a-col
:span=
"
6
"
v-if=
"images!=''"
>
<a-col
:span=
"
9
"
v-if=
"images!=''"
>
<a-form-item
label=
"二维码大小:"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 12 }">
<a-form-item
label=
"二维码大小:"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 12 }">
<a-slider
id=
"code"
v-model=
"codeWidth"
:max=
"300"
/>
<a-slider
id=
"code"
v-model=
"codeWidth"
:max=
"300"
/>
</a-form-item>
</a-form-item>
...
@@ -65,7 +65,6 @@ export default {
...
@@ -65,7 +65,6 @@ export default {
var
reader
=
new
FileReader
();
var
reader
=
new
FileReader
();
reader
.
onload
=
evt
=>
{
reader
.
onload
=
evt
=>
{
let
result
=
evt
.
target
.
result
;
let
result
=
evt
.
target
.
result
;
debugger
this
.
images
=
result
;
this
.
images
=
result
;
};
};
reader
.
readAsDataURL
(
file
.
files
[
0
]);
reader
.
readAsDataURL
(
file
.
files
[
0
]);
...
...
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