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
fb6831e2
Commit
fb6831e2
authored
Nov 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b7463bfe
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
648 additions
and
520 deletions
+648
-520
customerSetup.vue
src/pages/customer/customerSetup.vue
+20
-2
createStageRange.vue
src/pages/editor/createStageRange.vue
+278
-236
manageStageRange.vue
src/pages/editor/manageStageRange.vue
+350
-282
No files found.
src/pages/customer/customerSetup.vue
View file @
fb6831e2
<
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"
v-model=
"tab"
dense
dense
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
active-color=
"primary"
active-color=
"primary"
indicator-color=
"primary"
indicator-color=
"primary"
narrow-indicator
narrow-indicator
@
update:model-value=
'gettabs'
>
>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"yewumoshi"
label=
"业务模式"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
<q-tab
name=
"field"
label=
"客户字段"
/>
...
@@ -29,19 +30,36 @@
...
@@ -29,19 +30,36 @@
import
customerField
from
'./components/customerField.vue'
import
customerField
from
'./components/customerField.vue'
import
clueRule
from
'./components/clueRule.vue'
import
clueRule
from
'./components/clueRule.vue'
import
customerPhase
from
'./components/customerPhase.vue'
import
customerPhase
from
'./components/customerPhase.vue'
import
router
from
'@/router/index'
import
{
import
{
defineComponent
,
defineComponent
,
ref
ref
}
from
'vue'
}
from
'vue'
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
customerField
,
customerField
,
clueRule
,
clueRule
,
customerPhase
customerPhase
},
},
setup
()
{
setup
()
{
let
tab
=
ref
<
string
>
(
'phase'
)
if
(
router
.
currentRoute
.
value
.
query
&&
router
.
currentRoute
.
value
.
query
.
type
){
// let type = router.currentRoute.value.query.type;
tab
.
value
=
router
.
currentRoute
.
value
.
query
.
type
as
string
}
const
gettabs
=
()
=>
{
// console.log(tab.value)
}
// if(props && props.type){
// }
return
{
return
{
tab
:
ref
(
'phase'
)
tab
,
gettabs
}
}
}
}
...
...
src/pages/editor/createStageRange.vue
View file @
fb6831e2
This diff is collapsed.
Click to expand it.
src/pages/editor/manageStageRange.vue
View file @
fb6831e2
This diff is collapsed.
Click to expand 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