Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
fc938527
Commit
fc938527
authored
Nov 06, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发车tab初始化
parent
89437671
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
start-list.vue
src/pages/contractStart/start-list.vue
+2
-2
tab.vue
src/pages/contractStart/tab.vue
+12
-6
No files found.
src/pages/contractStart/start-list.vue
View file @
fc938527
...
...
@@ -6,7 +6,7 @@
<span>
合同发车
</span>
</div>
</h-header>
<Tab
@
getTabNum=
"getTabNum"
/>
<Tab
:fatherTabNum =
"tabNum"
@
getTabNum=
"getTabNum"
/>
<div
class=
"search"
>
<input
placeholder=
"请输入合同号/产品线/承租人名称"
>
</div>
...
...
@@ -61,7 +61,7 @@ export default {
},
data
()
{
return
{
tabNum
:
''
,
tabNum
:
0
,
contructs
:
[],
lists
:
[],
showList
:
[],
...
...
src/pages/contractStart/tab.vue
View file @
fc938527
...
...
@@ -20,12 +20,11 @@ import sign from '@/assets/contractStart/1.png'
import
finish
from
'@/assets/contractStart/3.png'
export
default
{
// props: {
// 'tabNum': {
// type: Number,
// default: 0,
// },
// },
props
:
{
'fatherTabNum'
:
{
type
:
Number
,
},
},
data
()
{
return
{
tabNum
:
0
,
...
...
@@ -35,6 +34,13 @@ export default {
finish
:
finish
,
}
},
watch
:
{
'fatherTabNum'
:
{
handler
(
newVal
,
oldVal
)
{
this
.
tabNum
=
newVal
},
},
},
methods
:
{
sendTabNum
()
{
this
.
$emit
(
'getTabNum'
,
this
.
tabNum
)
...
...
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