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
df3ce5c9
Commit
df3ce5c9
authored
Mar 26, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
82c6d6b3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
19 deletions
+17
-19
updateName.vue
src/components/updateName.vue
+7
-8
http.js
src/http.js/http.js
+5
-5
manage.vue
src/views/manage.vue
+3
-2
meetList.vue
src/views/meetList.vue
+1
-0
meetManage.vue
src/views/meetManage.vue
+0
-3
sidebar.vue
src/views/sidebar.vue
+1
-1
No files found.
src/components/updateName.vue
View file @
df3ce5c9
<
template
>
<
template
>
<div
class=
"
cod
e"
>
<div
class=
"
update-nam
e"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogFormVisible
"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogFormVisible"
:before-close=
"initForm
"
>
<el-form
ref=
"form"
:before-close=
"initForm"
>
<el-form
ref=
"form"
:before-close=
"initForm"
>
<el-form-item
label=
"名称"
prop=
"name"
:label-width=
"formLabelWidth"
>
<el-form-item
label=
"名称"
:label-width=
"formLabelWidth"
>
<el-input
v-model=
"name"
autocomplete=
"off"
></el-input>
<el-input
v-model=
"name"
autocomplete=
"off"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -17,17 +17,16 @@
...
@@ -17,17 +17,16 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"update-name"
,
name
:
"update-name"
,
dat
e
()
{
dat
a
()
{
return
{
return
{
title
:
""
,
//弹窗标题
name
:
""
,
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
name
:
""
,
formLabelWidth
:
"100px"
index
:
""
}
}
},
},
methods
:
{
methods
:
{
showDialog
(
data
,
index
)
{
showDialog
(
data
,
index
)
{
console
.
log
(
data
)
console
.
log
(
index
)
this
.
index
=
index
this
.
index
=
index
this
.
name
=
data
.
name
;
this
.
name
=
data
.
name
;
this
.
dialogFormVisible
=
true
;
this
.
dialogFormVisible
=
true
;
...
...
src/http.js/http.js
View file @
df3ce5c9
...
@@ -6,7 +6,7 @@ import {Message} from 'element-ui';
...
@@ -6,7 +6,7 @@ import {Message} from 'element-ui';
//axios配置
//axios配置
let
instance
=
axios
.
create
({
let
instance
=
axios
.
create
({
baseURL
:
'
http://180.168.156.212:4085
'
,
baseURL
:
'
/api
'
,
timeout
:
20000
,
timeout
:
20000
,
});
});
...
@@ -27,7 +27,7 @@ instance.interceptors.request.use(
...
@@ -27,7 +27,7 @@ instance.interceptors.request.use(
instance
.
interceptors
.
response
.
use
(
instance
.
interceptors
.
response
.
use
(
response
=>
{
response
=>
{
if
(
response
.
data
.
code
!==
0
)
{
if
(
response
.
data
.
code
!==
0
)
{
Message
.
error
(
response
.
data
.
message
)
//
Message.error(response.data.message)
}
}
return
response
.
data
;
//只返回服务器返回的data信息
return
response
.
data
;
//只返回服务器返回的data信息
},
},
...
@@ -35,7 +35,7 @@ instance.interceptors.response.use(
...
@@ -35,7 +35,7 @@ instance.interceptors.response.use(
if
(
error
.
response
)
{
if
(
error
.
response
)
{
switch
(
error
.
response
.
status
)
{
switch
(
error
.
response
.
status
)
{
case
401
:
case
401
:
Message
.
error
(
"没有权限"
)
//
Message.error("没有权限")
store
.
commit
(
types
.
LOGOUt
);
store
.
commit
(
types
.
LOGOUt
);
router
.
currentRoute
.
path
!==
'login'
&&
router
.
currentRoute
.
path
!==
'login'
&&
router
.
replace
({
router
.
replace
({
...
@@ -44,10 +44,10 @@ instance.interceptors.response.use(
...
@@ -44,10 +44,10 @@ instance.interceptors.response.use(
});
});
break
;
break
;
case
404
:
case
404
:
Message
.
error
(
"请求路径错误"
)
//
Message.error("请求路径错误")
break
;
break
;
case
500
:
case
500
:
Message
.
error
(
'系统错误'
)
//
Message.error('系统错误')
break
;
break
;
}
}
}
}
...
...
src/views/
test
.vue
→
src/views/
manage
.vue
View file @
df3ce5c9
<
template
>
<
template
>
<div>
123123
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"
test
"
name
:
"
manage
"
}
}
</
script
>
</
script
>
...
...
src/views/meetList.vue
View file @
df3ce5c9
...
@@ -117,6 +117,7 @@
...
@@ -117,6 +117,7 @@
},
},
//新增会议
//新增会议
handleAdd
(){
handleAdd
(){
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/meetManage'
,
path
:
'/meetManage'
,
})
})
...
...
src/views/meetManage.vue
View file @
df3ce5c9
...
@@ -149,7 +149,6 @@
...
@@ -149,7 +149,6 @@
</template>
</template>
<
script
>
<
script
>
import
ElRow
from
"element-ui/packages/row/src/row"
;
import
SelectIntentionDialog
from
"../components/selectIntentionDialog"
;
import
SelectIntentionDialog
from
"../components/selectIntentionDialog"
;
import
IndexDialog
from
"../components/indexDialog"
;
import
IndexDialog
from
"../components/indexDialog"
;
import
{
addMeeting
,
updateMeeting
,
getMeetingById
,
meetEnd
,
getAgendaByIdByMeet
}
from
"../api/api"
import
{
addMeeting
,
updateMeeting
,
getMeetingById
,
meetEnd
,
getAgendaByIdByMeet
}
from
"../api/api"
...
@@ -159,7 +158,6 @@
...
@@ -159,7 +158,6 @@
SpecialDialog
,
SpecialDialog
,
IndexDialog
,
IndexDialog
,
SelectIntentionDialog
,
SelectIntentionDialog
,
ElRow
},
},
name
:
"meet-manage"
,
name
:
"meet-manage"
,
data
()
{
data
()
{
...
@@ -204,7 +202,6 @@
...
@@ -204,7 +202,6 @@
}
}
)
)
}
}
console
.
log
(
this
.
item
)
},
},
methods
:
{
methods
:
{
showDialog
()
{
showDialog
()
{
...
...
src/views/sidebar.vue
View file @
df3ce5c9
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
}
}
},
},
mounted
(){
mounted
(){
this
.
$refs
.
sidebar
.
style
.
minH
eight
=
window
.
innerHeight
+
'px'
this
.
$refs
.
sidebar
.
style
.
h
eight
=
window
.
innerHeight
+
'px'
}
}
}
}
</
script
>
</
script
>
...
...
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