Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
W
WoolTrace
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hywang
WoolTrace
Commits
c11ee194
Commit
c11ee194
authored
Oct 19, 2021
by
hywang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.锡盟临时打标功能,修改名称
parent
ec787706
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CattleMarkVM.java
...rc/main/java/com/phlx/wool/ui/cattle/vm/CattleMarkVM.java
+1
-1
CattleUploadVM.java
.../main/java/com/phlx/wool/ui/cattle/vm/CattleUploadVM.java
+3
-3
strings.xml
app/src/main/res/values/strings.xml
+1
-1
No files found.
app/src/main/java/com/phlx/wool/ui/cattle/vm/CattleMarkVM.java
View file @
c11ee194
...
...
@@ -63,7 +63,7 @@ public class CattleMarkVM extends BackBarVM<Repository> {
//初始化ToolBar
public
void
initToolbar
()
{
setBackTitleText
(
"
补打标签
"
);
setBackTitleText
(
"
基础信息录入
"
);
setSettingVisibleObservable
(
View
.
GONE
);
setBackRightTextVisible
(
View
.
VISIBLE
);
setBackRightText
(
"保存"
);
...
...
app/src/main/java/com/phlx/wool/ui/cattle/vm/CattleUploadVM.java
View file @
c11ee194
...
...
@@ -72,7 +72,7 @@ public class CattleUploadVM extends BackBarVM<Repository> {
.
compose
(
RxUtils
.
bindToLifecycle
(
getLifecycleProvider
()))
.
compose
(
RxUtils
.
schedulersTransformer
())
.
compose
(
RxUtils
.
exceptionTransformer
())
.
doOnSubscribe
(
disposable
->
showDialog
(
"正在上传
补打记录
数据..."
))
.
doOnSubscribe
(
disposable
->
showDialog
(
"正在上传
基础
数据..."
))
.
subscribe
((
Consumer
<
CattleResponse
<
List
<
CattleLabelEntity
>>>)
response
->
{
KLog
.
e
(
response
.
getCode
()
+
response
.
getMsg
());
if
(
response
.
getCode
()
==
0
)
{
...
...
@@ -84,13 +84,13 @@ public class CattleUploadVM extends BackBarVM<Repository> {
dismissDialog
();
refreshUploadCount
();
}
else
{
ToastUtils
.
showShort
(
"删除
补打记录
失败"
);
ToastUtils
.
showShort
(
"删除
基础数据
失败"
);
}
}
}).
deleteAsyncAll
(
CattleLabelEntity
.
class
);
}
else
{
dismissDialog
();
ToastUtils
.
showShort
(
"
补打记录
上传失败"
);
ToastUtils
.
showShort
(
"
基础数据
上传失败"
);
}
},
(
Consumer
<
ResponseThrowable
>)
throwable
->
{
dismissDialog
();
...
...
app/src/main/res/values/strings.xml
View file @
c11ee194
<resources>
<!-- <string name="app_name">追溯系统</string>-->
<string
name=
"app_name"
>
补打系统
</string>
<string
name=
"app_name"
>
基础信息录入
</string>
<string
name=
"setting"
>
设置
</string>
<string
name=
"jobNum"
>
工号:
</string>
<string
name=
"pleaseInputUserName"
>
请输入用户名
</string>
...
...
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