Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
460ae1b9
Commit
460ae1b9
authored
Sep 15, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xq
parent
3890e016
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
src/router/modules/index.js
+14
-3
src/utils/http.js
+1
-1
src/views/rwgl/rymplb.vue
+4
-1
No files found.
src/router/modules/index.js
View file @
460ae1b9
/*
* @Author: your name
* @Date: 2021-08-27 14:14:36
* @LastEditTime: 2021-09-15 15:
01:35
* @LastEditTime: 2021-09-15 15:
54:59
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\index.js
...
...
@@ -66,7 +66,7 @@ export default [
{
path
:
"/Home/rwgl/rymplb/:id/:type"
,
name
:
"rymplb"
,
hidden
:
fals
e
,
hidden
:
tru
e
,
meta
:
{
title
:
"人员摸排列表"
,
auth
:
"5"
,
...
...
@@ -74,6 +74,17 @@ export default [
},
component
:
()
=>
import
(
"@/views/rwgl/rymplb.vue"
),
},
// {
// path: "/rymplb",
// name: "rymplb",
// hidden: false,
// meta: {
// title: "人员摸排列表",
// auth: "5",
// },
// component: () => import("@/views/rwgl/rymplb.vue"),
// },
{
path
:
"rympfk"
,
name
:
"rympfk"
,
...
...
@@ -107,7 +118,7 @@ export default [
{
path
:
"mptj"
,
name
:
"mptj"
,
hidden
:
tru
e
,
hidden
:
fals
e
,
meta
:
{
title
:
"人员摸排"
,
auth
:
"5"
...
...
src/utils/http.js
View file @
460ae1b9
...
...
@@ -42,7 +42,7 @@ axios.interceptors.request.use(
let
token
=
window
.
sessionStorage
.
getItem
(
'token'
)
console
.
log
(
token
);
if
(
token
)
{
axios
.
defaults
.
headers
[
'blade-auth'
]
=
'bearer '
+
`
${
token
}
`
// 让每个请求携带token--['Authorization']为自定义key 请根据实际情况自行修改
config
.
headers
[
'blade-auth'
]
=
'bearer '
+
`
${
token
}
`
// 让每个请求携带token--['Authorization']为自定义key 请根据实际情况自行修改
console
.
log
(
'00000'
);
console
.
log
(
config
);
}
...
...
src/views/rwgl/rymplb.vue
View file @
460ae1b9
<!--
* @Author: your name
* @Date: 2021-08-27 15:52:57
* @LastEditTime: 2021-09-15 1
0:43:16
* @LastEditTime: 2021-09-15 1
6:38:19
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rymp.vue
...
...
@@ -106,6 +106,9 @@
</el-table-column>
<el-table-column
label=
"操作"
width=
"auto"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handInit(scope.row, 'xf')"
>
下发
</el-button
>
<el-button
type=
"text"
size=
"small"
@
click=
"handInit(scope.row, 'xq')"
>
详情
</el-button
>
...
...
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