Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewSite v3.0
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
Sergey Serov
NewSite v3.0
Commits
93490319
Commit
93490319
authored
Dec 14, 2019
by
Sergey Serov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after add new components for each device
parent
079aaf9d
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
392 additions
and
36 deletions
+392
-36
MOES19.vue
src/components/Devices/MOES19.vue
+51
-0
MOES25.vue
src/components/Devices/MOES25.vue
+52
-0
MOES30.vue
src/components/Devices/MOES30.vue
+51
-0
MOES40.vue
src/components/Devices/MOES40.vue
+51
-0
MOES50.vue
src/components/Devices/MOES50.vue
+51
-0
MOES65.vue
src/components/Devices/MOES65.vue
+51
-0
PD4040.vue
src/components/Devices/PD4040.vue
+0
-0
PD6060.vue
src/components/Devices/PD6060.vue
+0
-0
PU30.vue
src/components/Devices/PU30.vue
+0
-0
PUEO-M.vue
src/components/Devices/PUEO-M.vue
+0
-0
SupportRotateDevice.vue
src/components/Devices/SupportRotateDevice.vue
+0
-0
Equipment.vue
src/components/Equipment.vue
+84
-35
Main.vue
src/components/Main.vue
+1
-1
No files found.
src/components/Devices/MOES19.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES19'
,
data
()
{
return
{
msg
:
'MOES19'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/MOES25.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES25'
,
data
()
{
return
{
msg
:
'MOES25'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/MOES30.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES30'
,
data
()
{
return
{
msg
:
'MOES30'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/MOES40.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES40'
,
data
()
{
return
{
msg
:
'MOES40'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/MOES50.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES50'
,
data
()
{
return
{
msg
:
'MOES50'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/MOES65.vue
0 → 100644
View file @
93490319
<
template
>
<div>
<h1>
{{
msg
}}
</h1>
</div>
</
template
>
<
style
scoped
>
</
style
>
<
script
>
export
default
{
name
:
'MOES65'
,
data
()
{
return
{
msg
:
'MOES65'
,
page
:
[],
text
:[
{
Russia
:{
},
English
:{
}
}
],
}
},
created
:
function
()
{
this
.
Before
();
// alert(this.page.menu);
},
methods
:
{
Before
:
function
()
{
// this.mobile = this.$parent.mobile;
// this.select = this.$parent.select;
// this.page = this.text[0][this.select];
},
SelectLang
(
lang
)
{
this
.
page
=
this
.
text
[
0
][
lang
];
},
},
}
</
script
>
\ No newline at end of file
src/components/Devices/PD4040.vue
0 → 100644
View file @
93490319
src/components/Devices/PD6060.vue
0 → 100644
View file @
93490319
src/components/Devices/PU30.vue
0 → 100644
View file @
93490319
src/components/Devices/PUEO-M.vue
0 → 100644
View file @
93490319
src/components/Devices/SupportRotateDevice.vue
0 → 100644
View file @
93490319
src/components/Equipment.vue
View file @
93490319
...
...
@@ -7,7 +7,7 @@
<div
@
click=
"menu(item.value, index)"
:class=
"[(item.value == tab) ? 'active' : 'def']"
class=
"name"
><div
class=
"text"
>
{{
item
.
name
}}
</div></div>
<transition
name=
"block-menu-fade"
>
<div
v-show=
"item.value == tab"
ref=
"menu"
class=
"list_block"
>
<div
v-for=
"tit
in item.parts"
class=
"list_menu"
>
<div
@
click=
"cont_menu(tit.cont, index)"
:class=
"[(tit.cont == select_tab) ? 'active_mini_tab' : '']"
v-for=
"tit, index
in item.parts"
class=
"list_menu"
>
{{
tit
.
name
}}
</div>
</div>
...
...
@@ -20,7 +20,8 @@
</div>
<div
id=
"table_data"
class=
"row"
>
<div
id=
"table_data_content"
class=
"col-sm-12 col-md-12 col-lg-9 col-xl-9"
>
<table>
<div
id=
"comp"
>
<table
v-if=
"((tab == '')||(tab == 'OK'))&&(select_tab=='')"
>
<tbody>
<tr
v-for=
"i in page.table"
>
<td>
{{
i
.
name
}}
</td>
...
...
@@ -30,6 +31,8 @@
</tr>
</tbody>
</table>
<component
v-bind:is=
"select_tab"
class=
"tab"
></component>
</div>
</div>
</div>
<div
id=
"footer_equipment"
>
...
...
@@ -42,12 +45,41 @@
</
template
>
<
script
>
import
MOES19
from
'./Devices/MOES19.vue'
;
import
MOES25
from
'./Devices/MOES25.vue'
;
import
MOES30
from
'./Devices/MOES30.vue'
;
import
MOES40
from
'./Devices/MOES40.vue'
;
import
MOES50
from
'./Devices/MOES50.vue'
;
import
MOES65
from
'./Devices/MOES65.vue'
;
import
PU30
from
'./Devices/PU30.vue'
;
import
PD4040
from
'./Devices/PD4040.vue'
;
import
PD6060
from
'./Devices/PD6060.vue'
;
import
PUEO
from
'./Devices/PUEO-M.vue'
;
import
SUPPORTROTATEDEVICE
from
'./Devices/SupportRotateDevice.vue'
;
export
default
{
name
:
'app'
,
name
:
'Equipment'
,
components
:
{
MOES19
,
MOES25
,
MOES30
,
MOES40
,
MOES50
,
MOES65
,
PU30
,
PD4040
,
PD6060
,
PUEO
,
SUPPORTROTATEDEVICE
,
},
data
()
{
return
{
msg
:
'Equipment'
,
tab
:
''
,
select_tab
:
''
,
page
:
[],
select
:
''
,
marg_name
:
0
,
...
...
@@ -62,27 +94,27 @@ export default {
parts
:
[
{
name
:
'МОЭК 19'
,
cont
:
''
cont
:
'
MOES19
'
},
{
name
:
'МОЭК 25'
,
cont
:
''
cont
:
'
MOES25
'
},
{
name
:
'МОЭК 30'
,
cont
:
''
cont
:
'
MOES30
'
},
{
name
:
'МОЭК 40'
,
cont
:
''
cont
:
'
MOES40
'
},
{
name
:
'МОЭК 50'
,
cont
:
''
cont
:
'
MOES50
'
},
{
name
:
'МОЭК 60'
,
cont
:
''
cont
:
'
MOES65
'
},
],
},
...
...
@@ -92,11 +124,11 @@ export default {
parts
:
[
{
name
:
'ФПУ 4040'
,
cont
:
''
cont
:
'
PD4040
'
},
{
name
:
'ФПУ 6060'
,
cont
:
''
cont
:
'
PD6060
'
},
]
},
...
...
@@ -106,11 +138,11 @@ export default {
parts
:
[
{
name
:
'АВМ 700'
,
cont
:
''
cont
:
'
#
'
},
{
name
:
'АВМ 820'
,
cont
:
''
cont
:
'
#
'
},
]
},
...
...
@@ -120,11 +152,11 @@ export default {
parts
:
[
{
name
:
'ПУ 30П'
,
cont
:
''
cont
:
'
PU30
'
},
{
name
:
'ПУ 30М'
,
cont
:
''
cont
:
'
PUEO
'
},
]
},
...
...
@@ -222,6 +254,12 @@ export default {
this
.
tab
=
index
;
window
.
setTimeout
(()
=>
this
.
func
(
id
),
1
);
};
this
.
select_tab
=
''
},
cont_menu
:
function
(
cont
,
id
){
// alert(cont);
this
.
select_tab
=
cont
;
},
func
:
function
(
id
){
...
...
@@ -266,6 +304,8 @@ export default {
display
:
flex
;
min-height
:
5em
;
border
:
1px
none
solid
;
transition
:
all
.2s
ease
;
}
#equipment
#mini_menu
.block_menu
div
.name.active
{
color
:
rgb
(
0
,
146
,
202
);
...
...
@@ -281,6 +321,7 @@ export default {
text-transform
:
uppercase
;
font-weight
:
700
;
}
/* active_mini_tab */
#equipment
#mini_menu
.list_block
{
margin
:
0
;
width
:
97%
;
...
...
@@ -294,7 +335,15 @@ export default {
background-color
:
rgba
(
0
,
146
,
202
,
0.62
);
padding
:
0.4em
;
border
:
1px
black
solid
;
transition
:
all
.4s
ease
;
}
#equipment
#mini_menu
.list_menu.active_mini_tab
{
color
:
rgb
(
0
,
86
,
119
);
background-color
:
rgba
(
218
,
218
,
218
,
0.85
);
font-weight
:
700
;
}
...
...
src/components/Main.vue
View file @
93490319
...
...
@@ -666,7 +666,7 @@
<
script
>
export
default
{
name
:
'
app
'
,
name
:
'
main
'
,
data
()
{
return
{
...
...
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