Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_vue
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
张伯涛
91isoft_web_vue
Commits
0e1b5c0b
Commit
0e1b5c0b
authored
Feb 23, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pda分支代码修改
parent
da923253
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
1 deletion
+98
-1
permission.js
src/permission.js
+0
-1
index.vue
src/views/setup/index.vue
+41
-0
outbound.vue
src/views/setup/outbound.vue
+57
-0
No files found.
src/permission.js
View file @
0e1b5c0b
...
@@ -14,7 +14,6 @@ const whiteList = ['/auth-redirect', '/bind', '/register', '/login', '/forgetPwd
...
@@ -14,7 +14,6 @@ const whiteList = ['/auth-redirect', '/bind', '/register', '/login', '/forgetPwd
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
NProgress
.
start
()
NProgress
.
start
()
console
.
log
(
'getToken()'
,
getToken
())
if
(
getToken
())
{
if
(
getToken
())
{
/* has token*/
/* has token*/
if
(
to
.
path
===
'/login'
)
{
if
(
to
.
path
===
'/login'
)
{
...
...
src/views/setup/index.vue
0 → 100644
View file @
0e1b5c0b
<
template
>
<div
class=
"setup_module"
>
<div
class=
"button_row"
>
<el-button
type=
"primary"
>
扫码
</el-button>
<el-button
type=
"primary"
>
拍照
</el-button>
</div>
<div
class=
"button_row"
>
<el-button
type=
"primary"
@
click=
"handleOutbound"
>
出库
</el-button>
<el-button
type=
"primary"
>
入库
</el-button>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"index"
,
data
()
{
return
{
}
},
created
()
{
},
methods
:
{
handleOutbound
()
{
this
.
$router
.
push
({
path
:
'/setup/outbound'
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.setup_module
{
padding
:
20px
;
.button_row
{
margin
:
20px
;
}
}
</
style
>
src/views/setup/outbound.vue
0 → 100644
View file @
0e1b5c0b
<
template
>
<div
class=
"outbound_module"
>
<div
class=
"outbound_form"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-input
show-word-limit
maxlength=
"20"
v-model=
"form.name"
placeholder=
"请输入名称"
/>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"type"
>
<el-select
v-model=
"form.type"
placeholder=
"请选择类型"
style=
"width: 100%"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"outbound"
,
data
()
{
return
{
options
:
[
{
value
:
'1'
,
label
:
'类型1'
},
{
value
:
'2'
,
label
:
'类型2'
},
{
value
:
'3'
,
label
:
'类型3'
},
],
form
:
{
name
:
''
,
type
:
''
,
},
rules
:
{
}
}
},
created
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.outbound_module
{
padding
:
20px
;
.outbound_form
{
width
:
300px
;
}
}
</
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