提交 2712289c authored 作者: lgd's avatar lgd

1.mes网络框架

2.//TODO erp用户是否选择新部门为空,质检接口数据无对应问题,内部交易订单审核,审核规则,领用申请列表/退件列表/参数,坩埚下单,mes,刷新token
上级 150e5ad2
package com.wd.workoffice.app;
/**
* author : flexible
* email : lgd19940421@163.com
* github: https://github.com/FlexibleXd
**/
public class BaseMesBean {
private boolean success;
private String message;
private String code;
private Object status;
private Object data;
public Object getData() {
return data;
}
public void setData(Object data) {
this.data = data;
}
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public Object getStatus() {
return status;
}
public void setStatus(Object status) {
this.status = status;
}
}
package com.wd.workoffice.bean.listener;
/**
* author : flexible
* email : lgd19940421@163.com
* github: https://github.com/FlexibleXd
**/
public interface FourMenuClickListener {
void clickOne(String value);
void clickTwo(String value);
void clickThree(String value);
void clickFour(String value);
}
...@@ -12,6 +12,6 @@ public class RtfUtils { ...@@ -12,6 +12,6 @@ public class RtfUtils {
return RtfHelper.getInstance().getApiService(ApiService.class); return RtfHelper.getInstance().getApiService(ApiService.class);
} }
public static MesApiService getMesRtf() { public static MesApiService getMesRtf() {
return RtfHelper.getInstance().getApiService(MesApiService.class); return RtfMesHelper.getInstance().getApiService(MesApiService.class);
} }
} }
...@@ -63,7 +63,11 @@ public class WorkUtils { ...@@ -63,7 +63,11 @@ public class WorkUtils {
param.put("size", Config.SIZE); param.put("size", Config.SIZE);
return param; return param;
} }
public static Map<String, Object> pageMesKey() {
Map<String, Object> param = new HashMap<>();
param.put("length", Config.SIZE);
return param;
}
/** /**
* code: SUPPLIER-供应商 CUSTOMER-客户 TRANSPORTERS-运输商 * code: SUPPLIER-供应商 CUSTOMER-客户 TRANSPORTERS-运输商
* *
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
android:paddingVertical="13mm"> android:paddingVertical="13mm">
<TextView <TextView
android:id="@+id/tv_name"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
...@@ -14,6 +15,7 @@ ...@@ -14,6 +15,7 @@
android:textSize="12sp" /> android:textSize="12sp" />
<TextView <TextView
android:id="@+id/tv_pro_name"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
...@@ -22,6 +24,7 @@ ...@@ -22,6 +24,7 @@
android:textSize="12sp" /> android:textSize="12sp" />
<TextView <TextView
android:id="@+id/tv_time"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
...@@ -30,6 +33,7 @@ ...@@ -30,6 +33,7 @@
android:textSize="12sp" /> android:textSize="12sp" />
<TextView <TextView
android:id="@+id/tv_status"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论