Commit 6d863aa3 by 罗翻

增加PDF

parent 39f698c3
Showing with 400 additions and 725 deletions
......@@ -26,8 +26,7 @@ android {
release {
keyAlias 'keybigfish'
keyPassword '123456789'
storeFile file('../app_key.jks')
// '/Users/luofan/AndroidStudioProjects/app_key.jks'
storeFile file('../../app_key.jks')
storePassword '123456789'
}
}
......
......@@ -230,8 +230,10 @@ public static final int *;
# 如果使用了 单类注入,即不定义接口实现 IProvider,需添加下面规则,保护实现
-keep class * implements com.alibaba.android.arouter.facade.template.IProvider
-dontwarn com.alibaba.**
#---------------------------------3.与js互相调用的类------------------------
#---------------------------------4.反射相关的类和方法-----------------------
......
......@@ -131,9 +131,6 @@
android:name=".ui.MainActivity"
android:launchMode="singleTask"
android:screenOrientation="portrait" />
<activity
android:name=".ui.PdfWebViewActivity"
android:screenOrientation="portrait" />
</application>
</manifest>
\ No newline at end of file
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
zoom.title=அளவு
open_file.title=கோப்பினைத் திறக்க
open_file_label=திறக்க
# Secondary toolbar and context menu
# Document properties dialog box
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
# Find panel button title and messages
find_previous.title=இந்த சொற்றொடரின் முன்னைய நிகழ்வை தேடு
find_next.title=இந்த சொற்றொடரின் அடுத்த நிகழ்வைத் தேடு
# Error panel labels
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
# Predefined zoom values
# Loading indicator messages
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=ஆம்
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
previous.title=Naunang Pahina
next.title=Sunod na Pahina
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
page_label=Pahina:
page_of=ng {{bilangngPahina}}
open_file.title=Magbukas ng file
open_file_label=Buksan
bookmark.title=Kasalukuyang tingin (kopyahin o buksan sa bagong window)
bookmark_label=Kasalukuyang tingin
# Secondary toolbar and context menu
# Document properties dialog box
document_properties_title=Pamagat:
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
outline.title=Ipakita ang banghay ng dokumento
outline_label=Banghay ng dokumento
thumbs.title=Ipakita ang mga Thumbnails
findbar_label=Hanapin
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
thumb_page_title=Pahina {{pahina}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
thumb_page_canvas=Thumbnail ng Pahina {{pahina}}
# Find panel button title and messages
# Error panel labels
error_more_info=Maraming Inpormasyon
error_less_info=Maikling Inpormasyon
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Mensahe: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Linya: { { linya } }
rendering_error=May naganap na pagkakamali habang pagsasalin sa pahina.
# Predefined zoom values
page_scale_width=Haba ng Pahina
page_scale_fit=ang pahina ay angkop
page_scale_auto=awtomatikong pag-imbulog
# Loading indicator messages
loading_error=May maling nangyari habang kinakarga ang PDF.
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=OK
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
page_label=Tsebe:
zoom.title=Zuma/gogela
open_file.title=Bula Faele
open_file_label=Bula
# Secondary toolbar and context menu
# Document properties dialog box
document_properties_file_name=Leina la faele:
document_properties_title=Leina:
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
findbar_label=Batla
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
# Find panel button title and messages
find_previous.title=Batla tiragalo e e fetileng ya setlhopha sa mafoko
find_next.title=Batla tiragalo e e latelang ya setlhopha sa mafoko
find_not_found=Setlhopha sa mafoko ga se a bonwa
# Error panel labels
error_more_info=Tshedimosetso e Nngwe
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
# Predefined zoom values
# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a
# numerical scale value.
# Loading indicator messages
loading_error_indicator=Phoso
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=Siame
password_cancel=Khansela
<resources>
<!--<string name="tv_dayu">大鱼工程师</string>-->
<!--<string name="tv_start_page_text">©&#160;2017&#160;大鱼智能&#160;版权所有</string>-->
<!--<string name="tv_login_title">大鱼工程师</string>-->
<!--<string name="tv_fonts">fonts/DIN Alternate Bold.ttf</string>-->
<!--<string name="tv_login_register_text">暂不接受个人用户注册</string>-->
<!--<string name="tv_login_button_text">登&#160;录</string>-->
<!--<string name="tv_login_register_button_text">获取验证码</string>-->
<!--<string name="tv_login_register_hint">请输入六位验证码</string>-->
<!--<string name="tv_login_phone_editext_hint">请输入手机号</string>-->
<!--<string name="tv_order_item_time">今天</string>-->
<!--<string name="tv_order_item_date">10:36</string>-->
<!--<string name="tv_order_item_tool_text">维修</string>-->
<!--<string name="tv_order_item_user_name">王尼玛</string>-->
<!--<string name="tv_order_item_user_phone">17310890230</string>-->
<!--<string name="tv_order_item_tool_text_leixing">空调</string>-->
<!--<string name="tv_order_item_gps_text">海淀区知春路万达广场金地花园公寓10层1809室</string>-->
<!--<string name="tv_work_order">已完成0/5</string>-->
<!--<string name="tv_work_order_one">工单详情</string>-->
<!--<string name="tv_work_order_two">预约上门</string>-->
<!--<string name="tv_work_order_three">我已出发</string>-->
<!--<string name="tv_work_order_four">开始服务</string>-->
<!--<string name="tv_work_order_five">服务记录</string>-->
<!--<string name="tv_work_order_six">客户验收</string>-->
<!--<string name="tv_person_center_name">暂无姓名</string>-->
<!--<string name="tv_person_center_sex">性别:</string>-->
<!--<string name="tv_person_center_sex_value">暂无</string>-->
<!--<string name="tv_person_center_age_value">暂无</string>-->
<!--<string name="tv_person_center_phone">暂无</string>-->
<!--<string name="tv_person_center_fen">3.5分</string>-->
<!--<string name="tv_person_center_jinriyeji">今日业绩(元)</string>-->
<!--<string name="tv_person_center_jinrijiedan">账户余额</string>-->
<!--<string name="tv_person_center_jinriyeji_value">8</string>-->
<!--<string name="tv_login">登&#160;录</string>-->
<!--<string name="tv_exit_login">退&#160;出&#160;当&#160;前&#160;账&#160;号</string>-->
<!--<string name="tv_person_center_leijiyeji">累计业绩(元)</string>-->
<!--<string name="tv_person_center_gongdanjilu">工单记录(已服务)</string>-->
<!--<string name="tv_time_text_time">日&#160;&#160;&#160;&#160;&#160;&#160;期</string>-->
<!--<string name="tv_time_text_time_time">时&#160;&#160;&#160;&#160;&#160;&#160;间</string>-->
<!--<string name="tv_time_text_subscribe_remark">预约备注</string>-->
<!--<string name="tv_time_text_subscribe_serve">服务记录</string>-->
<!--<string name="tv_time_text_confirm_subscribe">确定预约</string>-->
<!--<string name="tv_time_text_edit_text">最多录入200字</string>-->
<!--<string name="tv_home_loading_text">暂无工单</string>-->
<!--<string name="tv_home_tab_one_phone">拨打电话</string>-->
<!--<string name="tv_home_tab_one_subscribe_time">预约时间</string>-->
<!--<string name="tv_home_tab_updata_subscribe_time">修改预约时间</string>-->
<!--<string name="tv_home_tab_updata_subscribe_data">请输入预约日期</string>-->
<!--<string name="tv_home_tab_updata_subscribe_time_two">请输入预约时间</string>-->
<!--<string name="tv_home_tab_start">我已出发</string>-->
<!--<string name="tv_home_updata_cause">修改原因</string>-->
<!--<string name="tv_order_list_num">待接单列表(</string>-->
<!--<string name="tv_order_eg">工单概况</string>-->
<!--<string name="tv_two_text_one">客户类型</string>-->
<!--<string name="tv_two_text_two">客户姓名</string>-->
<!--<string name="tv_two_text_three">联系方式</string>-->
<!--<string name="tv_two_text_foure">客户地址</string>-->
<!--<string name="tv_tab_two_order">处理工单</string>-->
<!--<string name="item_restart">需要再次上门</string>-->
<!--<string name="up_door_reason">上门原因</string>-->
<!--<string name="wait">等待验收</string>-->
<!--<string name="order_pm">产&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;品</string>-->
<!--<string name="order_pm_text">请输入产品类型</string>-->
<!--<string name="order_pinpai">品&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;牌</string>-->
<!--<string name="order_pinpai_text">请输入品牌</string>-->
<!--<string name="order_xinghao">型&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;号</string>-->
<!--<string name="order_xuliehaoma">序列号码</string>-->
<!--<string name="order_goumai_date">购买日期</string>-->
<!--<string name="order_serve_type">服务类型</string>-->
<!--<string name="order_photo_text">服务照片(故障及解决照片,限5张)</string>-->
<!--<string name="order_hint">故障现象或服务需求描述,及解决方案描述,若没有解决请说明原因。</string>-->
<!--<string name="tv_about">关于我们</string>-->
<!--<string name="tv_about_us">客服扫码关注我们的微信服务号</string>-->
<!--<string name="tv_about_us_text">&#160;&#160;&#160;&#160;传统低效的客服体系,正在成为厂商、服务商、消费者的包袱。大鱼准备以科技之力进行客服产业革命。运用Ai、云和大数据等技术,连接厂商、销售商、服务商和消费者,打造去中心化的智能共享客户服务解决方案。</string>-->
<!--<string name="tv_about_dayu">大鱼创想&#160;&#160;版权所有</string>-->
<!--<string name="tv_about_user_feiyong">收取客户费用(元)</string>-->
<!--<string name="tv_order_updoor_feiyong">上门费</string>-->
<!--<string name="tv_order_serve_feiyong">服务费</string>-->
<!--<string name="tv_order_yuan">(元)</string>-->
<!--<string name="tv_order_cailiao_feiyong">材料费</string>-->
<!--<string name="tv_order_other_feiyong">其他费</string>-->
<!--<string name="tv_order_other">请输入上门费用备注信息</string>-->
<!--<string name="input_up_door_money">请输入上门费用</string>-->
<!--<string name="input_up_money">请输入服务费用</string>-->
<!--<string name="input_cailiao_money">请输入材料费用</string>-->
<!--<string name="input_other_money">请输入其他费用</string>-->
<!--<string name="tv_save_back">保存</string>-->
<!--<string name="tv_idea">反馈意见</string>-->
<!--<string name="tv_idea_text_hint">请输入您的宝贵意见</string>-->
<!--<string name="tv_apply_reson_hint">请填写申请内容,数量和申请原因</string>-->
<!--<string name="tv_refuse_hint">请填写拒绝理由</string>-->
<!--<string name="tv_message">系统通知</string>-->
<!--<string name="title_account_balance">账户余额</string>-->
<!--<string name="title_account_balance_right">提现账户</string>-->
<!--<string name="get_account_list_error">获取账户列表失败!</string>-->
<!--<string name="error_serve">服务器异常!</string>-->
<!--<string name="error_loadmore">亲,已经到最底部了!</string>-->
<!--&lt;!&ndash;提现账户&ndash;&gt;-->
<!--<string name="title_withdrawals">提现账户</string>-->
<!--<string name="alipay_account">支付宝账号</string>-->
<!--<string name="input_alipay_account">请输入支付宝账号</string>-->
<!--<string name="alipay_name">支付宝姓名</string>-->
<!--<string name="input_alipay_name">请输入支付宝姓名</string>-->
<!--<string name="alipay_phone">支付宝手机</string>-->
<!--<string name="input_alipay_phone">请输入支付宝手机</string>-->
<!--<string name="comfirm">确定</string>-->
<!--<string name="alipay_account_null">支付宝账号不能为空!</string>-->
<!--<string name="alipay_name_null">支付宝姓名不能为空!</string>-->
<!--<string name="alipay_phone_null">支付宝手机不能为空!</string>-->
<!--<string name="alipay_phone_error">请输入正确的手机号!</string>-->
<!--<string name="comfirm_alipay_account_error">绑定提现账户失败!</string>-->
<!--<string name="comfirm_alipay_account_success">绑定提现账户成功!</string>-->
<!--<string name="modify_alipay_account_success">修改提现账户成功!</string>-->
<!--<string name="modify_alipay_account_error">修改提现账户失败!</string>-->
<!--<string name="get_alipay_error">获取账户信息失败!</string>-->
<!--<string name="modify_alipay_info">修改账户信息</string>-->
<!--&lt;!&ndash;登录&ndash;&gt;-->
<!--<string name="login_sms_success">验证码已发送,请注意查收</string>-->
<!--<string name="login_voice_sms_success">语音验证码已发送,请注意查收</string>-->
<!--<string name="phone_num_not_null">手机号不能为空!</string>-->
<!--<string name="please_input_phone_right">请输入正确的手机号!</string>-->
<!--<string name="phone_sms_not_null">手机号或验证码不能为空!</string>-->
<!--<string name="notice">提示</string>-->
<!--<string name="no_permission">没有此权限将无法使用本app,请在设置中打开权限!</string>-->
<!--<string name="login_state_no">登录状态已失效,请重新登录!</string>-->
<!--<string name="login_again">重新登录</string>-->
<!--<string name="submit_again">重新提交</string>-->
<!--<string name="please_open__permission">没有此权限将无法使用此app,请允许权限打开。</string>-->
<!--<string name="cancle">取消</string>-->
<!--<string name="go_setting">前往设置</string>-->
<!--<string name="iknown">我知道了</string>-->
<!--<string name="login_agreement">登录即表示同意此</string>-->
<!--<string name="title_agreement">用户协议</string>-->
<!--<string name="agreement_detail">《用户协议》</string>-->
<!--<string name="login_faile">登录失败</string>-->
<!--<string name="send_code_faile">发送验证码失败</string>-->
<!--<string name="voice_code_notice">收不到短信?试试语音验证</string>-->
<!--<string name="schedule">日程</string>-->
<!--<string name="order">工单</string>-->
<!--<string name="home_receive_order">接单</string>-->
<!--<string name="message">消息</string>-->
<!--<string name="personal">我的</string>-->
<!--<string name="on_develop">此功能正在紧张的开发中…</string>-->
<!--<string name="coming_soon">敬请期待!</string>-->
<!--&lt;!&ndash;工单&ndash;&gt;-->
<!--<string name="order_title">我的工单</string>-->
<!--<string name="order_history">工单历史</string>-->
<!--<string name="webview_title">SOP</string>-->
<!--<string name="order_not_exite">该订单不存在</string>-->
<!--<string name="get_info_failed">获取数据失败</string>-->
<!--<string name="no_appointment">无预期</string>-->
<!--<string name="have_appointment">客户预期</string>-->
<!--<string name="no_customer">无联系人</string>-->
<!--<string name="no_server">无服务要求</string>-->
<!--<string name="today">今天</string>-->
<!--<string name="tomorrow">明天</string>-->
<!--<string name="receive_order">接单</string>-->
<!--<string name="not_receive_order">未接单</string>-->
<!--<string name="appointment_time">预约时间</string>-->
<!--<string name="modify_appointment_time">修改预约时间</string>-->
<!--<string name="have_go_on">我已出发</string>-->
<!--<string name="begain_server">开始服务</string>-->
<!--<string name="process_order">处理工单</string>-->
<!--<string name="check_upon_delivery">[等待验收]</string>-->
<!--<string name="order_finish">[已完成]</string>-->
<!--<string name="order_cancle">[已取消]</string>-->
<!--<string name="receive_time_out">[接单超时]</string>-->
<!--<string name="appointment_time_out">[预约超时]</string>-->
<!--<string name="delivery_time_out">[验收超时]</string>-->
<!--<string name="server_time_out">[服务超时]</string>-->
<!--<string name="need_again_door">需要再次上门</string>-->
<!--<string name="waite_appointemnt">待预约</string>-->
<!--<string name="waite_server">待服务</string>-->
<!--<string name="order_exception">异常单</string>-->
<!--<string name="cancle_order">已取消</string>-->
<!--<string name="appointment_already">已预约</string>-->
<!--<string name="not_appointment_already">未预约</string>-->
<!--<string name="order_doing">进行中</string>-->
<!--<string name="finish_order">已完成</string>-->
<!--<string name="order_close">订单关闭</string>-->
<!--<string name="personal_customer">个人客户</string>-->
<!--<string name="enterprise_customer">企业客户</string>-->
<!--<string name="no_branch">暂无品牌</string>-->
<!--<string name="no_model">暂无型号</string>-->
<!--<string name="honai">保内</string>-->
<!--<string name="warranty">保外</string>-->
<!--<string name="element">元</string>-->
<!--<string name="remarks">暂无备注</string>-->
<!--<string name="stop">收起</string>-->
<!--<string name="look_more">查看更多</string>-->
<!--<string name="no_record">暂无记录</string>-->
<!--<string name="order_detail">工单详情</string>-->
<!--<string name="server_record">服务记录</string>-->
<!--<string name="order_part">备件信息</string>-->
<!--<string name="return_one_order_part">寄回一个备件</string>-->
<!--<string name="apply_one_order_part">申请一个备件</string>-->
<!--<string name="order_instruction">服务说明</string>-->
<!--<string name="open_webview">浏览器打开</string>-->
<!--<string name="select_webview">请选择浏览器</string>-->
<!--<string name="history_order">历史工单</string>-->
<!--<string name="order_commite_success">数据提交成功</string>-->
<!--<string name="receive_order_success">接单成功</string>-->
<!--<string name="choose_file">文件选择</string>-->
<!--<string name="choose_pic">图片选择</string>-->
<!--<string name="look_order">查看工单</string>-->
<!--<string name="sop_finish">标准操作已完成,点击此处进行查看或修改</string>-->
<!--<string name="now_no">暂无</string>-->
<!--<string name="submit_order">提交验收</string>-->
<!--<string name="find_customer_mobile">搜索客户手机号</string>-->
<!--<string name="pre_look">预览</string>-->
<!--<string name="loading">加载中</string>-->
<!--<string name="order_subsidy">工单补贴</string>-->
<!--<string name="order_save_success">数据保存成功</string>-->
<!--<string name="no_data">暂无数据</string>-->
<!--<string name="application_order_part">申请备件</string>-->
<!--<string name="return_order_part">寄回备件</string>-->
<!--<string name="ka_address">收货地址</string>-->
<!--<string name="ka_name">收货人</string>-->
<!--<string name="ka_mobile">联系方式</string>-->
<!--<string name="ka_receive_address">收货地址</string>-->
<!--<string name="tv_refuse_order_title">拒绝申请</string>-->
<!--<string name="tv_apply_order_title">申请备件</string>-->
<!--<string name="tv_apply_instruction">申请说明:</string>-->
<!--<string name="tv_apply_name">申请人:</string>-->
<!--<string name="tv_apply_mobile">联系方式:</string>-->
<!--<string name="tv_apply_time">申请时间:</string>-->
<!--<string name="refuse_apply_reason">拒绝原因:</string>-->
<!--<string name="tv_ka_instruction">厂商说明:</string>-->
<!--<string name="tv_sp_instruction">服务商说明:</string>-->
<!--<string name="tv_ka_name">发货人:</string>-->
<!--<string name="tv_need_return">需要寄回:</string>-->
<!--<string name="tv_part_num">快递单号:</string>-->
<!--<string name="ka_beizhu">厂商备注</string>-->
<!--<string name="sp_beizhu">服务商备注</string>-->
<!--<string name="couries_company">快递公司</string>-->
<!--<string name="couries_company_name">快递公司:</string>-->
<!--<string name="couries_num">快递单号</string>-->
<!--<string name="ka_info">厂商收货信息</string>-->
<!--<string name="sp_beizhu_hint">请说明寄回内容,数量和寄回原因</string>-->
<!--<string name="couries_company_hint">请选择快递公司</string>-->
<!--<string name="couries_num_hint">请输入单号</string>-->
<!--<string name="part_apply">申请中</string>-->
<!--<string name="part_refuse">已拒绝</string>-->
<!--<string name="part_transfortion">运输中</string>-->
<!--<string name="part_received">已收货</string>-->
<!--<string name="need">需要</string>-->
<!--<string name="not_need">不需要</string>-->
<!--<string name="cancle_apply">取消申请</string>-->
<!--<string name="logistics_info">物流信息</string>-->
<!--<string name="receive_part">收到备件</string>-->
<!--<string name="cannot_return">无法寄回?</string>-->
<!--<string name="part_cancle_reason">取消之后不可复原,请谨慎操作</string>-->
<!--<string name="part">备件</string>-->
<!--<string name="send_already">已发货</string>-->
<!--<string name="modify_part_info">修改信息</string>-->
<!--<string name="customer_acceptance">客户验收</string>-->
<!--<string name="scan_code_for_appointment">请扫描二维码验收</string>-->
<!--&lt;!&ndash;消息&ndash;&gt;-->
<!--<string name="message_system">系统通知</string>-->
<!--<string name="message_dayu">大鱼通知</string>-->
<!--<string name="message_dayu_detail">大鱼系统通知详情</string>-->
<!--<string name="no_notice">暂无通知</string>-->
<!--<string name="not_read">未读</string>-->
<!--&lt;!&ndash;我的&ndash;&gt;-->
<!--<string name="man">男</string>-->
<!--<string name="female">女</string>-->
<!--<string name="unknown">未知</string>-->
<!--<string name="age">岁</string>-->
<!--<string name="score">分</string>-->
<!--<string name="not_set_account">您还没有设置账户</string>-->
<!--<string name="not_set_up">暂不设置</string>-->
<!--<string name="go_set_up">前往设置</string>-->
<!--<string name="money">元</string>-->
<!--<string name="zero_money">0 元</string>-->
<!--<string name="input_feedback">请输入反馈意见…</string>-->
<!--<string name="input_content">请输入内容</string>-->
<!--<string name="commite_success">提交成功</string>-->
<!--<string name="on_download">正在下载中,请稍后…</string>-->
<!--<string name="download_faile">下载失败</string>-->
<!--<string name="have_new_version">有新版本</string>-->
<!--<string name="next_again">下次再说</string>-->
<!--<string name="need_upglude">立刻升级</string>-->
<!--<string name="start_download">开始下载</string>-->
<!--<string name="new_version">版本更新</string>-->
<!--<string name="sure_clear_data">确定要删除所有缓存数据吗?</string>-->
<!--<string name="on_clear">正在清理…</string>-->
<!--<string name="clear_success">清理完成</string>-->
<!--<string name="newversion_code">新版本号为:</string>-->
<!--<string name="is_newversion">当前为最新版本,无需更新</string>-->
<!--<string name="subcribe_time_success">预约时间成功,请移至带服务列表查看</string>-->
<!--<string name="input_day_first">请先输入日期</string>-->
<!--<string name="input_right_time">请选择合法的时间</string>-->
<!--<string name="input_subcribe_time">请输入预约时间</string>-->
<!--<string name="input_subcribe_info">请输入预约信息</string>-->
<!--<string name="input_day_time">请输入日期和时间</string>-->
<!--<string name="on_commite_data">正在提交数据…</string>-->
<!--<string name="no_emoij">禁止输入表情</string>-->
<!--<string name="receive_list">待接单列表</string>-->
<!--<string name="submit">提交</string>-->
<!--<string name="personal_center">个人中心</string>-->
<!--<string name="zero_score">0分</string>-->
<!--<string name="setting_center">设置中心</string>-->
<!--<string name="message_notice">通知提醒</string>-->
<!--<string name="clear_cache">清理缓存</string>-->
<!--<string name="check_update">检测更新</string>-->
<!--<string name="customer_server_mobile">客服电话</string>-->
<!--<string name="abount_us">关于我们</string>-->
<!--<string name="problem_feedback">问题反馈</string>-->
<!--<string name="personal_info">个人资料</string>-->
<!--<string name="modify_personal_info">修改资料</string>-->
<!--<string name="submission_of_audit">提交审核</string>-->
<!--<string name="title_my_header">我的头像</string>-->
<!--<string name="modify_header_iv">修改头像</string>-->
<!--<string name="header_pic">头像</string>-->
<!--<string name="person_mobile">手机号码</string>-->
<!--<string name="real_name">真实姓名</string>-->
<!--<string name="person_identity">身份证号</string>-->
<!--<string name="person_identity_audite">身份认证</string>-->
<!--<string name="identity_unaudite">未通过</string>-->
<!--<string name="identity_audited">已认证</string>-->
<!--<string name="person_identity_pic">身份证照片</string>-->
<!--<string name="commite_identity_pic">上传身份证照片</string>-->
<!--<string name="commite_pic_zero">已上传0/1张</string>-->
<!--<string name="commite_pic_one">已上传1/1张</string>-->
<!--<string name="one_pic_most">最多只能选择一张照片</string>-->
<!--<string name="reminder">温馨提示</string>-->
<!--<string name="reminder_content">"·请上传真实清晰完整的手持身份证照片\n·若认证失败,可修改认证信息后再次提交"</string>-->
<!--<string name="name_not_empty">真实姓名不能为空</string>-->
<!--<string name="identity_not_empty">身份证号不能为空</string>-->
<!--<string name="identity_error">请输入正确的身份证号码</string>-->
<!--<string name="identityurl_not_empty">身份证照片不能为空</string>-->
<!--&lt;!&ndash;error&ndash;&gt;-->
<!--<string name="not_show">not_show</string>-->
<!--<string name="error_token">token失效</string>-->
<!--<string name="error_time_out">连接服务器超时</string>-->
<!--<string name="error_connect">连接服务器失败</string>-->
<!--<string name="error_internet">网络错误</string>-->
<!--<string name="error_parse">解析错误</string>-->
<!--<string name="error_ssl">证书验证错误</string>-->
<!--<string name="error_connect_time">连接超时</string>-->
<!--<string name="error_unknow">未知错误</string>-->
<!--<string name="engineer_identity_auditing">您的身份认证正在审核中,请耐心等待</string>-->
<!--<string name="engineer_identity_not_audite">您的身份认证审核未通过,请重新修改再次提交</string>-->
<!--<string name="engineer_not_have_site">您目前没有工作站,加入工作站之后才能接单</string>-->
<!--<string name="audite_tip">资料已经提交审核\n审核结果会通过短信通知您</string>-->
<!--<string name="audite_tip_title">提交成功</string>-->
<!--<string name="audite_tip_submite_title">重新提交</string>-->
<!--<string name="audite_tip_submite">修改资料需要大鱼客服重新审核\n您确定要修改吗?</string>-->
<!--<string name="think_again">我再想想</string>-->
<!--<string name="identity_not_audite">审核未通过</string>-->
<!--<string name="engineer_acount_notavialibe">工程师账号不存在</string>-->
<!--<string name="user_on_blackilst">用户被列入黑名单</string>-->
<!--<string name="not_engineer">该账号尚不是工程师</string>-->
<!--<string name="account_frozen">该账号冻结</string>-->
<!--<string name="sms_code_error">验证码错误</string>-->
<!--<string name="sms_code_unsend_or_expire">验证码未发送或已过期</string>-->
<!--<string name="order_cancle_not_receive">工单已取消,无法接单</string>-->
<!--<string name="order_cancle_not_subcribe">工单已取消,无法预约时间</string>-->
<!--<string name="order_cancle_not_begin">工单已取消,不能上门了</string>-->
<!--<string name="order_cancle_not_process">工单已取消,不能处理了</string>-->
<!--<string name="query_logistics_failed">查询物流信息失败</string>-->
<!--<string name="order_receive_already">已被接单,请选择其他工单</string>-->
<!--<string name="perameter_is_null">参数为空</string>-->
<!--<string name="identity_is_error">身份证号不合法</string>-->
<!--<string name="not_audite_aviliable">该工程师不处于审核拒绝状态</string>-->
<!--<string name="agreement">-->
<!--特别提示:\n-->
<!--欢迎您注册使用大鱼U服(以下简称“大鱼平台”),您在申请注册流程中点击同意本协议之前,应当认真阅读本协议。请您务必审慎阅读、充分理解各条款内容,特别是免除或者限制责任的条款、法律适用和争议解决条款。免除或者限制责任的条款将以粗体以及下划线标识,您应重点阅读。如您对本协议有任何疑问,请与kf@kf.ai联系。当您按照注册页面提示填写信息、阅读并同意本协议且完成全部注册程序后,即表示您已充分阅读、理解并接受本协议的全部内容,并与北京大鱼创想网络科技有限公司达成一致,双方同意使用互联网信息技术以数据电文形式订立本用户协议并认同其效力。\n-->
<!--您的下载、注册、登录、使用及连接大鱼平台服务等行为均将被视为您已经完全了解、接受并同意遵守本协议项下的全部内容。本协议可由本公司根据需要不时的修改,并以网站或应用程序公示的方式进行公告,不再单独通知您。修改后的协议一经公布即替代原来的协议,构成您与本公司之间就本协议主题事由的全部、最新协议。您有义务不时关注并阅读最新版的协议以及网站或应用程序的公告。如您不同意更新后的协议,可以且应立即停止接受本公司依据本协议提供的服务;如您继续使用大鱼平台的服务的,即视为您同意更新后的协议。\n-->
<!--第一条 定义\n-->
<!--1. 大鱼平台:大鱼平台是由北京大鱼创想科技有限公司(以下简称“本公司”或者“乙方”)开发的提供服务的互联网产品,包含大鱼U服SAAS平台和大鱼工程师app。\n-->
<!--2. 大客户:是指服务需求的提供方,通过派遣服务单的方式提供服务需求给服务商,并对其服务进行验收的企业或个人。\n-->
<!--3. 平台用户(以下简称“甲方”):平台用户是指签署本协议并有权使用大鱼平台服务人员账户的个人,包括且不限于服务工程师,店长和服务商管理员。\n-->
<!--4. 最终用户:用户是指通过大鱼平台完成全部注册程序后,提出服务申请并享受相关服务的个人。\n-->
<!--5. 服务单:是指用户向特定大客户提出服务申请后生成的服务任务订单。\n-->
<!--第二条 协议的范围\n-->
<!--1. 本协议的内容包括协议正文及官网网站和APP目前及将来可能发布的各项声明、政策及规则;该等内容为本协议不可分割的组成部分,与本协议正文具有同等法律效力。\n-->
<!--2. 当甲方按照大鱼平台注册页面提示填写信息、阅读并同意本协议且完成全部注册程序后,本协议即生效,并构成对甲乙双方具有约束力的法律文件。阅读本协议的过程中,如果甲方不同意本协议或其中任何条款约定,应立即停止注册。\n-->
<!--第三条 账户管理\n-->
<!--1. 甲方在大鱼平台提交注册资料即视为同意按大鱼平台相关规定使用本平台提供的服务。甲方需确保提交的信息真实、完整、有效,依据法律、法规的规定和本协议约定对所提供的信息承担相应的法律责任。乙方有权要求甲方按照大鱼平台的要求以及我国法律、法规的规定完成实名认证。\n-->
<!--2. 服务人员信息修改:服务人员可以对已通过审核的信息按照乙方发布的规则进行修改或更新。\n-->
<!--3. 甲方在大鱼平台的账号信息不得以任何方式转让、赠与或继承或者将账号给其他除甲方之外的任何其他第三方使用。\n-->
<!--4. 甲方填写的账户信息,不得违反国家法律法规及大鱼平台的相关规定,不得包含违法、涉嫌侵犯他人权利或干扰本平台运营秩序等相关内容,否则大鱼平台有权立即删除相关信息而无需通知甲方。\n-->
<!--5. 甲方应当及时更新在大鱼平台上的联系方式(包括但不限于:电子邮件地址、联系电话、微信),以便大鱼平台及其用户与甲方联系。\n-->
<!--6. 大鱼平台有权查看甲方提供的资料及信息并进行审核,如本平台有合理理由怀疑甲方提供的信息不实、无效或不完整的,本平台有权要求甲方加以改正,和/或直接做出删除相应资料的处理、中止或终结对甲方提供部分或全部服务。甲方将承担因此产生的任何直接或间接损失及不利后果。\n-->
<!--7. 甲方的账户为甲方自行设置并由甲方保管,甲方须自行负责对甲方的用户名、密码等登录信息保密。大鱼平台会对甲方的账户信息采取必要的技术保密措施,但账户因甲方主动泄露或遭受他人攻击、诈骗等行为导致的损失及后果,均由甲方自行承担。\n-->
<!--8. 甲方应对其账号项下的所有行为独立承担完全的法律责任。\n-->
<!--9. 如发现任何未经授权使用甲方账户登录本平台或其他可能导致甲方账户遭窃、遗失的情况,甲方应立即通知本平台。甲方理解本平台对甲方的任何请求采取行动均需要合理时间,本平台对在采取行动前已经产生的后果不承担责任。\n-->
<!--第四条 业务内容\n-->
<!--1. 乙方具备专业的信息服务团队和稳定的硬件设施,拥有自身研发的服务运营管理系统,大鱼平台作SAAS产品面向用户、大客户及其服务商和服务人员提供服务运营相关软件和信息服务。最终用户提出上门服务申请,大客户通过大鱼平台安排特定服务商提供服务,服务商根据用户或大客户的服务需求指定服务人员,指定服务人员可以通过APP了解服务订单的具体要求,然后由指定服务人员具体执行服务。\n-->
<!--2. 服务相关费用由包括但不限于大客户、服务商或者最终用户根据其约定支付,乙方没有向甲方支付费用的义务。\n-->
<!--3. 除与大鱼平台另有约定外,大鱼平台仅作为服务性平台,甲乙双方明确,双方不存在任何形式的雇佣/挂靠/劳动/劳务关系,故乙方无需承担甲方的人身及财产安全,无需为其购买保险,支付工资报酬等。在用户与大客户、服务商和指定服务人员进行的交易中,大鱼平台提供的服务不构成居间、委托、代理、担保等法律关系,不对服务人员向用户提供的服务承担保证或担保责任,不对在交易中发生的损失承担责任。\n-->
<!--第五条 大鱼平台使用规则\n-->
<!--1. 甲方认可并同意在使用大鱼平台服务过程中,严格遵守以下规则:\n-->
<!--(1)遵守中国法律、法规、行政规章及规范性文件的规定;\n-->
<!--(2)遵守大鱼平台所有与其提供服务有关的协议、规定、程序、通知、使用守则等全部文件;\n-->
<!--(3)不得为任何违法、犯罪目的而使用大鱼平台的服务;\n-->
<!--(4)不得以任何形式使用大鱼平台服务侵犯乙方的合法权利;\n-->
<!--(5)不得利用大鱼平台服务进行任何可能对互联网正常运转造成不利影响的行为;\n-->
<!--(6)不得利用大鱼平台提供的服务上传、展示或传播任何虚假的、骚扰性的、中伤他人的、种族歧视性的、辱骂性的、恐吓性的、情色的或其他任何法律、法规禁止或者限制传播的信息资料;\n-->
<!--(7)不得以任何方式侵犯其他任何人依法享有的专利权、著作权、商标权、商业秘密等知识产权,第三人的名誉权或其他任何第三方的合法权益;\n-->
<!--(8)保证在大鱼平台服务上展示的相关信息内容,没有违反相关法律、法规的规定,没有侵犯第三方的合法权利。\n-->
<!--2. 乙方有权对甲方使用大鱼平台服务的情况进行审查和监督,如在使用大鱼平台服务时违反任何上述约定,大鱼平台有权要求甲方改正或直接单方面采取一切必要措施,以消除或减轻甲方不当行为给大鱼平台、第三方、互联网服务或社会公共利益造成的任何影响。大鱼平台在进行前述操作前,操作过程中或操作完成后不对甲方进行任何方式的通知。\n-->
<!--3. 甲方认可并同意,乙方有权随时变更、中止或终止部分或全部服务,大鱼平台无需就此通知甲方,且乙方不因此对甲方或任何第三方承担任何责任。\n-->
<!--第六条 信息的收集、使用和披露\n-->
<!--1. 甲方在同意本协议时即明示同意乙方以收集、统计、分析、使用等方式合理使用以甲方的个人信息以及使用过程中的业务数据记录:\n-->
<!--A)在甲方注册帐号以及使用大鱼平台服务时,甲方根据要求提供的个人信息包括但不限于姓名、证件号码、个人生物识别信息、住址、电话号码等;\n-->
<!--B)在甲方使用大鱼平台服务,或访问大鱼平台网页以及app时,大鱼平台自动接收并记录的甲方的浏览器、计算机和移动设备上的信息,包括但不限于甲方的IP地址、浏览器的类型、使用的语言、访问日期和时间、软硬件特征信息、需求的网页记录等数据及其他操作状态、使用记录、使用习惯等反映在大鱼平台服务器端的全部记录信息;\n-->
<!--C) 在甲方使用大鱼平台服务过程中产生的业务数据,客户数据,以及由此产生的分析和统计数据,包括但不限于,工单信息、服务记录、服务评价等产生在使用大鱼平台服务过程中的全部数据。\n-->
<!--2. 甲方完全了解并同意,大鱼平台使用甲方上述信息的目的在于:为甲方提供更好地服务;甲方个人信息使用的方式包括但不限于:收集、统计、分析、商业用途的使用等方式;甲方注册、登陆、使用大鱼平台服务的行为,即视为明确同意乙方收集和使用其个人信息,无需其他意思表示。大鱼平台对个人信息以及业务数据的使用无需向甲方支付任何费用。\n-->
<!--3. 在如下情况下,乙方将依据甲方的个人意愿或法律的规定全部或部分的披露甲方的个人信息:\n-->
<!--1)事先获得了甲方的明确授权,向第三方披露;\n-->
<!--2)为提供甲方所要求的产品和服务,而必须和第三方分享甲方的个人信息;\n-->
<!--3)根据法律的有关规定,或者行政或司法机构的要求,向第三方或者行政、司法机构披露;\n-->
<!--4)如甲方出现违反中国有关法律、法规或者大鱼平台用户协议或相关规则的情况或者为了维护社会公共利益,需要向第三方披露;\n-->
<!--5)其它大鱼平台根据法律、法规或者平台政策认为合适的披露。\n-->
<!--4. 您完全了解并同意,发生上述任何一种或多种情形时,乙方对向任何第三方披露甲方个人信息的行为不承担任何责任。\n-->
<!--5. 甲方声明并保证,对于在使用大鱼平台过程中知悉的技术信息,应遵守相关知识产权法律法规,不得侵犯大鱼平台或相关第三方的知识产权;乙方对在使用过程中知悉的甲方的任何商业信息(包括但不限于客户名单、商业秘密、营销手段等)有保密的义务,上述该义务不因本协议的解除、终止而解除或终止。\n-->
<!--第七条 风险提示及免责条款\n-->
<!--1. 对由于信息网络设备维护、升级、连接故障,电脑、网络、通讯或其他系统的故障,计算机病毒或黑客攻击,以及地震,洪水,风暴,火灾,爆炸,战争,罢工,暴乱,政府行为,司法行政机关的命令等不可抗力或第三方原因造成的损害,大鱼平台不承担责任。\n-->
<!--2. 由于甲方以违法、违规或违反本协议约定等任何方式使用大鱼平台服务的行为,包括但不限于登录网站内容违法、不真实、不正当,侵犯第三方任何合法权益等,给大鱼平台或其他第三人造成的任何损失,甲方同意承担由此造成的全部损害赔偿责任。\n-->
<!--3. 乙方对大鱼平台服务的任何及全部内容不作任何形式的承诺或保证,不论是明确的或暗示的。前述承诺或保证包括但不限于服务的适用性、没有错误或疏漏、持续性、准确性、可靠性、适用于某一特定用途以及任何形式的所有权保证,非侵权保证;同时,大鱼平台也不对服务所涉及的技术及信息的有效性、准确性、正确性、可靠性、稳定性、完整性和及时性作出任何承诺和保证等。乙方对因前述未做承诺或保证的内容导致的任何直接、间接、偶然、特殊及后续的损害,不承担任何责任。\n-->
<!--第八条 违约责任\n-->
<!--1. 本协议一方未履行本协议项下的任何一项条款均被视为违约。违约方应承担因自身的违约行为而给守约方造成的损失。\n-->
<!--2. 本平台可对甲方的违约行为采取以下处理方式:对有关行为进行限制,包括限制权限、中止向甲方提供部分或全部服务、、查封账户、终止服务等。\n-->
<!--3. 如甲方的行为使大鱼平台及其关联公司、用户及其关联公司遭受损失的(包括自身的直接经济损失、商誉损失及对外支付的赔偿金、和解款、法律顾问费、诉讼费等间接经济损失),甲方应当赔偿上述全部损失。\n-->
<!--4. 如甲方的行为使大鱼平台及其关联公司、用户及其关联公司受到第三人主张权利,则大鱼平台及其关联公司、用户及其关联公司有权在对第三人承担金钱给付后就全部损失向甲方追偿。\n-->
<!--第九条 法律适用与争议解决\n-->
<!--1. 本协议之订立、生效、解释、修订、补充、终止、执行与争议解决均适用中华人民共和国法律(香港、澳门和台湾地区除外);如法律无相关规定的,参照商业惯例及/或行业惯例。\n-->
<!--2. 甲方因使用大鱼平台服务所产生争议,由甲乙双方协商解决。协商不成时,任何一方均可向被告所在地人民法院提起诉讼。\n-->
<!--第十一条 其他\n-->
<!--1. 甲方同意本平台通过以下任何方式向其送达各类通知或文件,包括但不限于:网页公告、APP公告、大鱼平台账户通知、向甲方预留的联系方式发送电子邮件、短信、信函等\n-->
<!--2. 如果本协议的任何条款被视为不合法、无效或无法强制执行的,其不应影响本协议任何其他条款的有效性或可执行性。\n-->
<!--</string>-->
</resources>
......@@ -12,10 +12,6 @@ android {
versionCode version_code
versionName verson_name
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// ndk {
// abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
// }
}
buildTypes {
......
......@@ -12,16 +12,18 @@ public class Constants {
/**
* 测试环境配置.
*/
// public static final int LOG_LEVEL = LogUtils.LEVEL_ALL;
// public static final String BASE_URL = "http://47.94.101.239:3112";
// public final static String UP_PHOTO = "/file/uploadMore?targetPath=test/sp/mobile/android/business/checkApply";
// public final static String WEB_SOP = "http://47.94.101.239:9004/#/sop";
// public final static String WEB_ZHI_SHI = "http://47.94.101.239:9004/#/detail";
// public static final boolean IS_DEBUG = true;
public static final int LOG_LEVEL = LogUtils.LEVEL_ALL;
public static final String ENVIROMENT = "debug";
public static final String BASE_URL = "http://47.94.101.239:3112";
public final static String UP_PHOTO = "/file/uploadMore?targetPath=test/sp/mobile/android/business/checkApply";
public final static String WEB_SOP = "http://47.94.101.239:9004/#/sop";
public final static String WEB_ZHI_SHI = "http://47.94.101.239:9004/#/detail";
public static final boolean IS_DEBUG = true;
/**
* uat环境配置.
*/
// public static final String ENVIROMENT = "uat";
// public static final int LOG_LEVEL = LogUtils.LEVEL_ALL;
// public static final String BASE_URL = "http://47.95.223.6:3112";
// public final static String UP_PHOTO = "/file/uploadMore?targetPath=test/sp/mobile/android/business/checkApply";
......@@ -32,6 +34,7 @@ public class Constants {
/**
* 正式环境.
*/
// public static final String ENVIROMENT = "release";
// public static final int LOG_LEVEL = LogUtils.LEVEL_OFF;
// public static final String BASE_URL = "https://mobile.kf.ai";
// public final static String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply";
......@@ -42,12 +45,13 @@ public class Constants {
/**
* 演示环境
*/
public final static int LOG_LEVEL = LogUtils.LEVEL_OFF;
public final static String BASE_URL = "http://test.mobile.dayu.ai";
public final static String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply";
public final static String WEB_SOP = "http://test.sop.dayu.ai/#/sop";
public final static String WEB_ZHI_SHI = "http://test.sop.dayu.ai/#/detail";
public final static boolean IS_DEBUG = false;
// public static final String ENVIROMENT = "demons";
// public final static int LOG_LEVEL = LogUtils.LEVEL_OFF;
// public final static String BASE_URL = "http://test.mobile.dayu.ai";
// public final static String UP_PHOTO = "/file/uploadMore?targetPath=online/sp/mobile/android/business/checkApply";
// public final static String WEB_SOP = "http://test.sop.dayu.ai/#/sop";
// public final static String WEB_ZHI_SHI = "http://test.sop.dayu.ai/#/detail";
// public final static boolean IS_DEBUG = false;
/**
* 登录.
......
package com.dayu.utils;
/**
* Created by luofan
* on 2018/3/19.
*/
public class Base64Encoder {
private static final char last2byte = (char) Integer
.parseInt("00000011", 2);
private static final char last4byte = (char) Integer
.parseInt("00001111", 2);
private static final char last6byte = (char) Integer
.parseInt("00111111", 2);
private static final char lead6byte = (char) Integer
.parseInt("11111100", 2);
private static final char lead4byte = (char) Integer
.parseInt("11110000", 2);
private static final char lead2byte = (char) Integer
.parseInt("11000000", 2);
private static final char[] encodeTable = new char[]{'A', 'B', 'C', 'D',
'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q',
'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd',
'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',
'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3',
'4', '5', '6', '7', '8', '9', '+', '/'};
/**
* Base64 encoding.
*
* @param from The src data.
* @return
*/
public static String encode(byte[] from) {
StringBuffer to = new StringBuffer((int) (from.length * 1.34) + 3);
int num = 0;
char currentByte = 0;
for (int i = 0; i < from.length; i++) {
num = num % 8;
while (num < 8) {
switch (num) {
case 0:
currentByte = (char) (from[i] & lead6byte);
currentByte = (char) (currentByte >>> 2);
break;
case 2:
currentByte = (char) (from[i] & last6byte);
break;
case 4:
currentByte = (char) (from[i] & last4byte);
currentByte = (char) (currentByte << 2);
if ((i + 1) < from.length) {
currentByte |= (from[i + 1] & lead2byte) >>> 6;
}
break;
case 6:
currentByte = (char) (from[i] & last2byte);
currentByte = (char) (currentByte << 4);
if ((i + 1) < from.length) {
currentByte |= (from[i + 1] & lead4byte) >>> 4;
}
break;
}
to.append(encodeTable[currentByte]);
num += 6;
}
}
if (to.length() % 4 != 0) {
for (int i = 4 - to.length() % 4; i > 0; i--) {
to.append("=");
}
}
return to.toString();
}
}
......@@ -324,6 +324,13 @@ public class UtilsDate {
}
public static long dayDiffCurr(String first,String second) {
Date firstDate = stringtoDate(first, LONG_DATE_FORMAT);
Date secondDate = stringtoDate(second, LONG_DATE_FORMAT);
return (firstDate.getTime() - secondDate.getTime()) / 86400000;
}
public static boolean isDateOneBigger(String str1, String str2) {
boolean isBigger = false;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
......
......@@ -106,6 +106,9 @@
<string name="is_loading">正在加载</string>
<string name="have_no_data">没有更多数据</string>
<string name="try_load_again">加载失败(再次上拉试试~)</string>
<string name="enviroment_debug">测试环境%1$s</string>
<string name="enviroment_uat">UAT环境%1$s</string>
<string name="enviroment_demons">演示环境%1$s</string>
<!--提现账户-->
<string name="title_withdrawals">提现账户</string>
<string name="alipay_account">支付宝账号</string>
......@@ -388,6 +391,7 @@
<string name="error_ssl">证书验证错误</string>
<string name="error_connect_time">连接超时</string>
<string name="error_unknow">未知错误</string>
<string name="error_pdf">上传版本错误,请重新上传此文件。</string>
<string name="engineer_identity_auditing">您的身份认证正在审核中,请耐心等待</string>
<string name="engineer_identity_not_audite">您的身份认证审核未通过,请重新修改再次提交</string>
......
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
zoom.title=அளவு
open_file.title=கோப்பினைத் திறக்க
open_file_label=திறக்க
# Secondary toolbar and context menu
# Document properties dialog box
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
# Find panel button title and messages
find_previous.title=இந்த சொற்றொடரின் முன்னைய நிகழ்வை தேடு
find_next.title=இந்த சொற்றொடரின் அடுத்த நிகழ்வைத் தேடு
# Error panel labels
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
# Predefined zoom values
# Loading indicator messages
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=ஆம்
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
previous.title=Naunang Pahina
next.title=Sunod na Pahina
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
page_label=Pahina:
page_of=ng {{bilangngPahina}}
open_file.title=Magbukas ng file
open_file_label=Buksan
bookmark.title=Kasalukuyang tingin (kopyahin o buksan sa bagong window)
bookmark_label=Kasalukuyang tingin
# Secondary toolbar and context menu
# Document properties dialog box
document_properties_title=Pamagat:
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
outline.title=Ipakita ang banghay ng dokumento
outline_label=Banghay ng dokumento
thumbs.title=Ipakita ang mga Thumbnails
findbar_label=Hanapin
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
thumb_page_title=Pahina {{pahina}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
thumb_page_canvas=Thumbnail ng Pahina {{pahina}}
# Find panel button title and messages
# Error panel labels
error_more_info=Maraming Inpormasyon
error_less_info=Maikling Inpormasyon
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Mensahe: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Linya: { { linya } }
rendering_error=May naganap na pagkakamali habang pagsasalin sa pahina.
# Predefined zoom values
page_scale_width=Haba ng Pahina
page_scale_fit=ang pahina ay angkop
page_scale_auto=awtomatikong pag-imbulog
# Loading indicator messages
loading_error=May maling nangyari habang kinakarga ang PDF.
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=OK
# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
# LOCALIZATION NOTE (page_label, page_of):
# These strings are concatenated to form the "Page: X of Y" string.
# Do not translate "{{pageCount}}", it will be substituted with a number
# representing the total number of pages.
page_label=Tsebe:
zoom.title=Zuma/gogela
open_file.title=Bula Faele
open_file_label=Bula
# Secondary toolbar and context menu
# Document properties dialog box
document_properties_file_name=Leina la faele:
document_properties_title=Leina:
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
findbar_label=Batla
# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
# Find panel button title and messages
find_previous.title=Batla tiragalo e e fetileng ya setlhopha sa mafoko
find_next.title=Batla tiragalo e e latelang ya setlhopha sa mafoko
find_not_found=Setlhopha sa mafoko ga se a bonwa
# Error panel labels
error_more_info=Tshedimosetso e Nngwe
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
# Predefined zoom values
# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a
# numerical scale value.
# Loading indicator messages
loading_error_indicator=Phoso
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_ok=Siame
password_cancel=Khansela
......@@ -58,5 +58,8 @@
<activity
android:name=".ui.activity.WebViewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".ui.activity.PdfWebViewActivity"
android:screenOrientation="portrait" />
</application>
</manifest>
......@@ -4,7 +4,8 @@ import java.io.Serializable;
import java.util.List;
/**
* Created by luofan on 2017/11/14.
* Created by luofan
* on 2017/11/14.
*/
public class OrderDetail implements Serializable {
private int id;
......@@ -671,9 +672,11 @@ public class OrderDetail implements Serializable {
}
}
public class accessories {
public class accessories implements Serializable{
private int id;
private String name;
private int orderId;
private String url;
public int getId() {
return id;
......@@ -706,8 +709,5 @@ public class OrderDetail implements Serializable {
public void setUrl(String url) {
this.url = url;
}
private int orderId;
private String url;
}
}
......@@ -13,6 +13,8 @@ public class OrderConstant {
public final static int ORDER_FINISH = 6;//已完成
public final static int ORDER_NOCONTACT_FINISH = 7;//无联系人已完成
public final static String TITLE = "title";
/**
* 异常单获取.
*/
......
......@@ -188,8 +188,8 @@ public class ProcessOrderPresenter extends ProcessOrderContract.Presenter {
@Override
public void saveOrder() {
if (mImages != null && mImages.size() > 0) {
mView.getData();
if (mImages != null && mImages.size() > 0) {
mOrderField.get().setImgPath(mImages);
}
mOrderInfoDao.insertOrReplace(mOrderField.get());
......@@ -235,5 +235,4 @@ public class ProcessOrderPresenter extends ProcessOrderContract.Presenter {
bundle.putInt(Constants.ID, mDetail.get().getSpuId());
mView.startActivity(ServerInstructionActivity.class, bundle);
}
}
package com.dayu.bigfish.ui;
package com.dayu.order.ui.activity;
import android.os.Build;
import android.text.TextUtils;
......@@ -9,8 +9,11 @@ import android.webkit.WebViewClient;
import android.widget.LinearLayout;
import com.dayu.base.ui.activity.DataBindingActivity;
import com.dayu.bigfish.R;
import com.dayu.common.Constants;
import com.dayu.order.R;
import com.dayu.order.common.OrderConstant;
import com.dayu.order.databinding.ActivityWebviewBinding;
import com.dayu.utils.Base64Encoder;
import java.io.File;
import java.io.UnsupportedEncodingException;
......@@ -31,74 +34,53 @@ public class PdfWebViewActivity extends DataBindingActivity<ActivityWebviewBindi
@Override
public void initView() {
docPath = "http://dayuoss.oss-cn-beijing.aliyuncs.com/test/test111.pdf";
docPath = getIntent().getStringExtra(Constants.PICURL);
int index = docPath.lastIndexOf(".");
docPath = docPath.substring(0, index) + ".pdf";
String title = getIntent().getStringExtra(OrderConstant.TITLE);
mBind.tvTitle.setText(title);
initWebView();
}
private void initWebView() {
mBind.tvTitle.setText("PDF");
mBind.titleBack.setOnClickListener(o -> finish());
mPdfWebView = new WebView(mActivity);
mPdfWebView.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT));
mBind.llWeb.addView(mPdfWebView);
WebSettings settings = mPdfWebView.getSettings();
settings.setSavePassword(false);
settings.setJavaScriptEnabled(true);
settings.setAllowFileAccessFromFileURLs(true);
settings.setAllowUniversalAccessFromFileURLs(true);
settings.setBuiltInZoomControls(true);
mPdfWebView.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
});
mPdfWebView.setWebChromeClient(new WebChromeClient());
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {//api >= 19
mPdfWebView.loadUrl("file:///android_asset/pdfjs/web/viewer.html?file=" + docPath);
} else {
if (!TextUtils.isEmpty(docPath)) {
byte[] bytes = null;
try {// 获取以字符编码为utf-8的字符
bytes = docPath.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
if (bytes != null) {
// docPath = new Base64Encoder().encode(bytes);// BASE64转码
new Base64Encoder();
docPath = Base64Encoder.encode(bytes);// BASE64转码
}
}
mPdfWebView.loadUrl("file:///android_asset/pdfjs_compatibility/web/viewer.html?file=" + docPath);
}
}
......@@ -147,7 +129,6 @@ public class PdfWebViewActivity extends DataBindingActivity<ActivityWebviewBindi
}
}
file.delete();
} else {
}
}
}
......@@ -10,10 +10,16 @@ import com.dayu.base.ui.fragment.DataBindingFragment;
import com.dayu.common.Constants;
import com.dayu.order.R;
import com.dayu.order.api.protocol.OrderDetail;
import com.dayu.order.common.OrderConstant;
import com.dayu.order.databinding.FragmentOrderDatailsBinding;
import com.dayu.order.databinding.ItemAccessoriesLayoutBinding;
import com.dayu.order.ui.activity.PdfWebViewActivity;
import com.dayu.order.ui.activity.QrCodeActivity;
import com.dayu.order.ui.activity.ServerInstructionActivity;
import com.dayu.utils.ToastUtils;
import com.dayu.utils.UIUtils;
import com.dayu.utils.UtilsDate;
import com.dayu.widgets.listener.OnItemClickListener;
import com.umeng.analytics.MobclickAgent;
......@@ -84,6 +90,20 @@ public class OrderDetaillsFragment extends DataBindingFragment<FragmentOrderData
mAdapter.setViewType(R.layout.item_accessories_layout);
mBind.rlAccessories.setAdapter(mAdapter);
mAdapter.setData(dataBean.getAccessories());
mAdapter.setOnItemClickListener(new OnItemClickListener<OrderDetail.accessories, ItemAccessoriesLayoutBinding>() {
@Override
public void OnItemClick(OrderDetail.accessories item, ItemAccessoriesLayoutBinding bind) {
Intent intent = new Intent(mActivity, PdfWebViewActivity.class);
intent.putExtra(Constants.PICURL, item.getUrl());
intent.putExtra(OrderConstant.TITLE, item.getName());
long daydif = UtilsDate.dayDiffCurr(mDetail.getCreateTime(),"2018-04-03");
if (!item.getUrl().contains("pdf") && daydif<=0){
ToastUtils.showLongToast(R.string.error_pdf);
return;
}
startActivity(intent);
}
});
}
}
......@@ -139,5 +159,6 @@ public class OrderDetaillsFragment extends DataBindingFragment<FragmentOrderData
Intent intent = new Intent(mActivity, ServerInstructionActivity.class);
intent.putExtra(Constants.BUNDLE, bundle);
startActivity(intent);
MobclickAgent.onEvent(mActivity, "check_serverInstruction");
}
}
......@@ -52,5 +52,8 @@
<activity
android:name=".ui.activity.WebViewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".ui.activity.PdfWebViewActivity"
android:screenOrientation="portrait" />
</application>
</manifest>
package com.dayu.usercenter.ui.activity;
import android.view.View;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.dayu.base.ui.activity.BaseActivity;
import com.dayu.common.BaseConstant;
import com.dayu.common.Constants;
import com.dayu.usercenter.LoginBinding;
import com.dayu.usercenter.R;
import com.dayu.usercenter.presenter.login.LoginContract;
import com.dayu.usercenter.presenter.login.LoginPresenter;
import com.dayu.utils.AppUtils;
import com.dayu.utils.TimeCountUtil;
import com.dayu.widgets.CustomDialog;
import com.dayu.widgets.listener.OnCloseListener;
......@@ -28,6 +32,17 @@ public class LoginActivity extends BaseActivity<LoginPresenter, LoginBinding> im
@Override
public void initView() {
String versionCode = AppUtils.getPackageNum();
if (Constants.ENVIROMENT.equals("debug")) {
mBind.environment.setText(String.format(getString(R.string.enviroment_debug),versionCode));
mBind.environment.setVisibility(View.VISIBLE);
} else if (Constants.ENVIROMENT.equals("uat")) {
mBind.environment.setVisibility(View.VISIBLE);
mBind.environment.setText(String.format(getString(R.string.enviroment_uat),versionCode));
} else if (Constants.ENVIROMENT.equals("demons")) {
mBind.environment.setVisibility(View.VISIBLE);
mBind.environment.setText(String.format(getString(R.string.enviroment_demons),versionCode));
}
}
@Override
......
......@@ -33,6 +33,17 @@
app:border_color="@color/cl_home_circleimageview_bg"
app:border_width="@dimen/size_home_circleimageview_border" />
<TextView
android:id="@+id/environment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/circle"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:visibility="gone"
android:textColor="@color/text_color"
/>
<LinearLayout
android:id="@+id/linear"
android:layout_width="@dimen/size_login_linear_width"
......
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 sign in to comment