Commit afd6fef7 authored by zhuangzhuang's avatar zhuangzhuang

修改牛舍配置页

parent 7631c709
This diff is collapsed.
...@@ -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;
}
This diff is collapsed.
...@@ -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]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment