Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
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
向伟
horse
Commits
10ee5620
Commit
10ee5620
authored
Nov 11, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a5637e93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
23 deletions
+27
-23
navs.vue
src/components/layout/navs.vue
+1
-1
customerSetup.vue
src/pages/customer/customerSetup.vue
+26
-22
No files found.
src/components/layout/navs.vue
View file @
10ee5620
...
@@ -31,7 +31,7 @@ export default defineComponent({
...
@@ -31,7 +31,7 @@ export default defineComponent({
required
:
true
required
:
true
}
}
},
},
setup
(
props
)
{
setup
()
{
let
currentPath
=
inject
(
'currentPath'
)
let
currentPath
=
inject
(
'currentPath'
)
let
changeMenu
=
(
url
:
string
)
=>
{
let
changeMenu
=
(
url
:
string
)
=>
{
router
.
push
({
router
.
push
({
...
...
src/pages/customer/customerSetup.vue
View file @
10ee5620
<
template
>
<
template
>
<div
class=
"q-pa-md"
>
<div
class=
"q-pa-md"
>
<q-page
padding
style=
"background: #FFF;border-radius: 10px;"
>
<q-page
padding
style=
"background: #FFF;border-radius: 10px;"
>
<q-tabs
<q-tabs
v-model=
"tab"
dense
class=
"text-grey"
align=
"left"
active-color=
"primary"
indicator-color=
"primary"
v-model=
"tab"
narrow-indicator
>
dense
class=
"text-grey"
align=
"left"
active-color=
"primary"
indicator-color=
"primary"
narrow-indicator
>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"label"
label=
"标签"
/>
<q-tab
name=
"label"
label=
"标签"
/>
</q-tabs>
</q-tabs>
<div
v-if=
"tab
==
'field'"
>
<div
v-if=
"tab
==
'field'"
>
<customer-Field></customer-Field>
<customer-Field></customer-Field>
</div>
</div>
</q-page>
</q-page>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
customerField
from
'./components/customerField.vue'
import
customerField
from
'./components/customerField.vue'
import
{
import
{
defineComponent
,
defineComponent
,
ref
ref
}
from
'vue'
}
from
'vue'
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
customerField
customerField
},
},
setup
()
{
setup
()
{
return
{
return
{
tab
:
ref
(
'field'
)
tab
:
ref
(
'field'
)
}
}
}
})
}
})
</
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