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
b88ce1dc
Commit
b88ce1dc
authored
Nov 11, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
fb797971
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
28 deletions
+37
-28
customerField.vue
src/pages/customer/components/customerField.vue
+1
-1
customerSetup.vue
src/pages/customer/customerSetup.vue
+29
-23
routes.ts
src/router/routes.ts
+7
-4
No files found.
src/pages/customer/components/customerField.vue
View file @
b88ce1dc
...
...
@@ -50,7 +50,7 @@
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
defineComponent
,
ref
,
onMounted
}
from
'vue'
import
{
defineComponent
,
onMounted
}
from
'vue'
import
customerService
from
'@/api/customer'
export
default
defineComponent
({
...
...
src/pages/customer/customerSetup.vue
View file @
b88ce1dc
<
template
>
<div
class=
"q-pa-md"
>
<q-page
padding
style=
"background: #FFF;border-radius: 10px;"
>
<q-tabs
v-model=
"tab"
dense
class=
"text-grey"
align=
"left"
active-color=
"primary"
indicator-color=
"primary"
narrow-indicator
>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"label"
label=
"标签"
/>
</q-tabs>
<div
v-if=
"tab=='field'"
>
<customer-Field></customer-Field>
</div>
<div
class=
"q-pa-md"
>
<q-page
padding
style=
"background: #FFF;border-radius: 10px;"
>
</q-page>
<q-tabs
v-model=
"tab"
dense
class=
"text-grey"
align=
"left"
active-color=
"primary"
indicator-color=
"primary"
narrow-indicator
>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"label"
label=
"标签"
/>
</q-tabs>
<div
v-if=
"tab=='field'"
>
<customer-Field></customer-Field>
</div>
</div>
</q-page>
</div>
</
template
>
<
script
lang=
"ts"
>
import
customerField
from
'./components/customerField.vue'
import
{
defineComponent
,
ref
}
from
'vue'
export
default
defineComponent
({
components
:
{
customerField
},
setup
()
{
return
{
tab
:
ref
(
'field'
)
}
import
customerField
from
'./components/customerField.vue'
import
{
defineComponent
,
ref
}
from
'vue'
export
default
defineComponent
({
components
:
{
customerField
},
setup
()
{
return
{
tab
:
ref
(
'field'
)
}
}
})
}
})
</
script
>
src/router/routes.ts
View file @
b88ce1dc
...
...
@@ -16,16 +16,19 @@ const routes: RouteRecordRaw[] = [
component
:
()
=>
import
(
'@/layouts/MainLayout.vue'
),
children
:
[{
path
:
''
,
component
:
()
=>
import
(
'@/pages/customer/customerSetup.vue'
)
}]
},
{
path
:
'/auth/login'
,
path
:
'/customer'
,
component
:
()
=>
import
(
'@/layouts/MainLayout.vue'
),
children
:
[{
path
:
''
,
component
:
()
=>
import
(
'@/pages/customerManage/customer.vue'
)
}]
},
{
path
:
'/auth/login'
,
component
:
()
=>
import
(
'@/pages/auth/login.vue'
)
},
{
path
:
'/auth/regist'
,
path
:
'/auth/regist'
,
component
:
()
=>
import
(
'@/pages/auth/regist.vue'
)
},
// Always leave this as last one,
// but you can also remove it
{
...
...
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