Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
meet
Project
Project
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
wangqinghua
meet
Commits
6b05e61e
Commit
6b05e61e
authored
Mar 29, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
6f6ec5d9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
selectSpecialAgenda.vue
src/components/selectSpecialAgenda.vue
+1
-1
meetManage.vue
src/views/meetManage.vue
+5
-6
preview.vue
src/views/preview.vue
+7
-6
vue.config.js
vue.config.js
+2
-2
No files found.
src/components/selectSpecialAgenda.vue
View file @
6b05e61e
<!--选择
特俗
议程-->
<!--选择议程-->
<
template
>
<div
class=
"select-intention"
>
<el-dialog
title=
"选择特殊议程"
:visible
.
sync=
"dialogFormVisible"
>
...
...
src/views/meetManage.vue
View file @
6b05e61e
...
...
@@ -122,7 +122,6 @@
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<span
class=
"font-size-20 pointer"
>
<i
@
click=
"handleEdit(scope.row,scope.$index)"
class=
"el-icon-edit-outline margin-right-10"
></i>
<i
@
click=
"handleDelete(scope.row,scope.$index)"
class=
"el-icon-delete"
></i>
</span>
</
template
>
...
...
@@ -240,14 +239,14 @@
(
res
)
=>
{
res
.
data
.
type
=
"agenda"
this
.
form
.
agendaList
.
push
(
res
.
data
)
this
.
tableData
.
push
(
res
.
data
)
if
(
res
.
data
.
specialAgenda
){
this
.
tableData
.
push
(
res
.
data
.
specialAgenda
)
}
else
{
this
.
tableData
.
push
(
res
.
data
)
}
}
)
},
//编辑意向或议程
handleEdit
(
row
,
index
){
},
//删除意向或议程
handleDelete
(
row
,
index
){
if
(
row
.
type
==
"agenda"
){
...
...
src/views/preview.vue
View file @
6b05e61e
...
...
@@ -8,7 +8,7 @@
<
script
>
import
PDFJS
from
'pdfjs-dist'
import
*
as
types
from
'../store/types'
let
Base64
=
require
(
'js-base64'
).
Base64
export
default
{
name
:
"preview"
,
data
()
{
...
...
@@ -16,12 +16,8 @@
id
:
null
,
pdfDoc
:
null
,
loadding
:
false
,
meet
:{},
pages
:
0
,
fileName
:
''
,
list
:[],
//议程+意向列表
attendPerson
:
''
,
//列席人员
agendaInfo
:[],
}
},
methods
:{
...
...
@@ -54,6 +50,7 @@
})
},
loadFile
(
url
)
{
console
.
log
(
url
)
let
_this
=
this
PDFJS
.
getDocument
(
url
).
then
(
function
(
pdf
)
{
_this
.
pdfDoc
=
pdf
...
...
@@ -67,13 +64,17 @@
mounted
(){
this
.
$store
.
commit
(
types
.
SIDEWIDTH
,
0
)
//隐藏侧边栏
let
fileName
=
this
.
$route
.
query
.
fileName
let
url
=
'/api/common/file/download?fileName='
+
fileName
console
.
log
(
fileName
)
let
url
=
'/common/file/download?fileName='
+
fileName
this
.
loadFile
(
url
)
}
}
</
script
>
<
style
scoped
>
.preview
{
height
:
100%
;
}
canvas
{
display
:
block
;
border-bottom
:
1px
solid
black
;
...
...
vue.config.js
View file @
6b05e61e
...
...
@@ -6,8 +6,8 @@ module.exports = {
devServer
:{
proxy
:{
'/api'
:{
//
target:"http://180.168.156.212:4085",
target
:
"http://10.10.202.37:8080"
,
target
:
"http://180.168.156.212:4085"
,
//
target:"http://10.10.202.37:8080",
changeOrigin
:
true
,
ws
:
true
,
pathRewrite
:{
...
...
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