Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
muChangApp
Project
Project
Details
Activity
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
WitCloud
muChangApp
Commits
afd6fef7
Commit
afd6fef7
authored
Nov 04, 2019
by
zhuangzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改牛舍配置页
parent
7631c709
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
542 additions
and
389 deletions
+542
-389
env-cfg.page.html
src/app/envCtrl/env-cfg/env-cfg.page.html
+369
-316
env-cfg.page.scss
src/app/envCtrl/env-cfg/env-cfg.page.scss
+25
-1
env-cfg.page.ts
src/app/envCtrl/env-cfg/env-cfg.page.ts
+141
-72
api.ts
src/app/service/api.ts
+7
-0
No files found.
src/app/envCtrl/env-cfg/env-cfg.page.html
View file @
afd6fef7
This diff is collapsed.
Click to expand it.
src/app/envCtrl/env-cfg/env-cfg.page.scss
View file @
afd6fef7
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.fanItem
{
.fanItem
{
font-size
:
13px
;
font-size
:
13px
;
--padding-start
:
0px
--padding-start
:
5px
;
}
}
.cow
{
.cow
{
...
@@ -45,3 +45,27 @@
...
@@ -45,3 +45,27 @@
.addBtn
{
.addBtn
{
width
:
100%
;
width
:
100%
;
}
}
.itemDriver
{
--inner-padding-end
:
50px
;
}
.iconOpen
{
font-size
:
20px
;
}
.subTitle
{
font-size
:
16px
;
border-left
:
5px
solid
#62C7CC
;
font-weight
:
bold
;
margin-left
:
5px
;
margin-bottom
:
3px
;
}
.selectFont
{
font-weight
:
normal
;
}
.popContent
{
text-align
:
center
;
}
src/app/envCtrl/env-cfg/env-cfg.page.ts
View file @
afd6fef7
This diff is collapsed.
Click to expand it.
src/app/service/api.ts
View file @
afd6fef7
...
@@ -95,6 +95,13 @@ export class Api {
...
@@ -95,6 +95,13 @@ export class Api {
updateCowshedConfig
:
(
data
)
=>
this
.
trans
(
'post'
,
'/cowshedConfig/updateCowshedConfig'
,
data
),
updateCowshedConfig
:
(
data
)
=>
this
.
trans
(
'post'
,
'/cowshedConfig/updateCowshedConfig'
,
data
),
};
};
public
devicePatternModel
=
{
getByFactoryNoAndType
:
(
data
)
=>
this
.
trans
(
'post'
,
'/devicePatternModel/getByFactoryNoAndType'
,
data
),
addDevicePatternModel
:
(
data
)
=>
this
.
trans
(
'post'
,
'/devicePatternModel/addDevicePatternModel'
,
data
),
updateDevicePatternModel
:
(
data
)
=>
this
.
trans
(
'post'
,
'/devicePatternModel/updateDevicePatternModel'
,
data
),
deleteDevicePatternModel
:
(
data
)
=>
this
.
trans
(
'post'
,
'/devicePatternModel/deleteDevicePatternModel'
,
data
),
};
private
trans
(
type
,
addr
,
data
)
{
private
trans
(
type
,
addr
,
data
)
{
this
.
sendHttpReq
(
type
,
addr
,
data
[
0
],
data
[
1
],
data
[
2
],
data
[
3
]);
this
.
sendHttpReq
(
type
,
addr
,
data
[
0
],
data
[
1
],
data
[
2
],
data
[
3
]);
}
}
...
...
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