Compare commits
3 Commits
142ae7720a
...
feature/de
| Author | SHA1 | Date | |
|---|---|---|---|
| 7088f946a3 | |||
| cf4d3f1503 | |||
| 1845e0575d |
2
.idea/deploymentTargetSelector.xml
generated
2
.idea/deploymentTargetSelector.xml
generated
@ -4,7 +4,7 @@
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DropdownSelection timestamp="2026-01-24T13:39:13.245162Z">
|
||||
<DropdownSelection timestamp="2026-02-05T08:33:30.979941Z">
|
||||
<Target type="DEFAULT_BOOT">
|
||||
<handle>
|
||||
<DeviceId pluginId="LocalEmulator" identifier="path=/Users/admin/.android/avd/Pixel_6.avd" />
|
||||
|
||||
31
AppFunctionList.csv
Normal file
31
AppFunctionList.csv
Normal file
@ -0,0 +1,31 @@
|
||||
页面名称,功能名称,功能描述
|
||||
启动页 (LoadingActivity),自动登录,检查本地 Token,自动跳转主页或登录页
|
||||
登录页 (LoginActivity),用户登录,输入账号密码进行登录,支持记住密码
|
||||
主页 (MainActivity),底部导航,切换首页、异常、生产监控、设置等主要模块
|
||||
首页 (MainFragment),巡检任务入口,跳转至今日巡检任务列表
|
||||
首页 (MainFragment),异常上报入口,跳转至异常上报页面
|
||||
首页 (MainFragment),厂区报表入口,跳转至厂区报表分类列表
|
||||
首页 (MainFragment),监视画面入口,跳转至监视画面列表
|
||||
首页 (MainFragment),历史报警入口,跳转至历史报警列表
|
||||
首页 (MainFragment),设备查询入口,跳转至设备查询页面
|
||||
首页 (MainFragment),多曲线入口,跳转至测量点/多曲线选择页面
|
||||
首页 (MainFragment),曲线方案入口,跳转至曲线方案列表
|
||||
首页 (MainFragment),消息通知,显示最新的系统消息通知
|
||||
首页 (MainFragment),任务统计,显示今日任务的总数、未提交数、已提交数及任务时间段
|
||||
首页 (MainFragment),标签页数据,根据顶部标签(如进水、出水)展示关联的测量点数据
|
||||
巡检任务页 (ProPatrolTaskListActivity),任务列表,展示日常巡检、临时巡检任务列表
|
||||
巡检任务页 (ProPatrolTaskListActivity),状态筛选,区分未完成和已完成的任务
|
||||
巡检任务页 (ProPatrolTaskListActivity),定位检查,检查GPS定位权限和开启状态,确保巡检位置准确
|
||||
异常上报页 (NewFaultActivity),故障填报,填写并提交新的异常故障信息
|
||||
厂区报表分类页 (StatementTypeActivity),报表分类树,以树形结构展示报表分类,支持展开/折叠
|
||||
厂区报表列表页 (StatementListActivity),报表查看,查看具体分类下的报表列表及详情
|
||||
监视画面列表页 (MonitorScreenListActivity),画面分类树,以树形结构展示监视画面分类
|
||||
监视画面详情页 (MonitorScreenActivity),画面浏览,通过WebView加载并展示具体的工艺监视画面
|
||||
历史报警页 (AlarmListActivity),报警查询,查看历史报警记录
|
||||
设备查询页 (EquSearchActivity),设备检索,搜索和查询厂区设备信息
|
||||
设置页 (FifthFragment),个人信息,显示用户名、登录时长、上次登录时间
|
||||
设置页 (FifthFragment),切换用户,注销当前账户并返回登录页
|
||||
设置页 (FifthFragment),退出应用,关闭应用并停止后台服务
|
||||
设置页 (FifthFragment),NFC功能,进入NFC引导页面
|
||||
设置页 (FifthFragment),交接班记录,查看交接班记录
|
||||
生产监控页 (ProMFragment),工艺监测,查看各工艺段的实时测量数据
|
||||
|
@ -66,7 +66,11 @@ public class LoginModel extends BaseModel<LoginPresenter, LoginContract.Model> {
|
||||
}else {
|
||||
LoginInfo item = new LoginInfo();
|
||||
item.setStatus(false);
|
||||
if (result != null && result.contains("html")) {
|
||||
item.setReason("服务器接口请求失败(404): 未找到指定资源,请检查服务器地址或联系管理员。");
|
||||
} else {
|
||||
item.setReason(result);
|
||||
}
|
||||
p.getContract().responseResult(item);
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public class PatrolListActivity extends BaseView<PatrolListPresenter, PatrolList
|
||||
|
||||
private void initView() {
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#00A0E9"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
}
|
||||
|
||||
@ -8,9 +8,8 @@ public class MethodURL {
|
||||
/**
|
||||
* 项目名
|
||||
*/
|
||||
// public static final String PJ_Base = "SIPAIIS_WMS";
|
||||
|
||||
public static final String PJ_Base = "JSYW";
|
||||
// public static final String PJ_Base = "TGLW";
|
||||
public static final String PJ_Base = "TGLW";
|
||||
|
||||
/**
|
||||
* 方法名
|
||||
|
||||
@ -95,7 +95,7 @@ public class MonitorScreenActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#00A0E9"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
5
app/src/main/res/drawable/bg_login_btn_theme.xml
Normal file
5
app/src/main/res/drawable/bg_login_btn_theme.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:radius="25dp"/>
|
||||
<solid android:color="@color/main_theme_color"/>
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/login_bg_gradient.xml
Normal file
8
app/src/main/res/drawable/login_bg_gradient.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/main_theme_color"
|
||||
android:endColor="@color/main_theme_green"
|
||||
android:type="linear" />
|
||||
</shape>
|
||||
@ -1,37 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@mipmap/moudle_loading_bg">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@mipmap/moudle_ipatrol_logo"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@string/app_name"/>
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="268dp"
|
||||
android:layout_marginTop="75dp"
|
||||
android:src="@mipmap/moudle_loading_pic"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
<ImageView
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="20dp"
|
||||
android:src="@mipmap/moudle_sipai"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_gravity="right"/>
|
||||
android:background="@drawable/login_bg_gradient">
|
||||
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/iv_logo"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@mipmap/logo1" />
|
||||
|
||||
</RelativeLayout>
|
||||
@ -2,7 +2,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@mipmap/moudle_ic_login_bg"
|
||||
android:background="@drawable/login_bg_gradient"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
@ -10,14 +10,14 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="70dp"
|
||||
android:layout_marginTop="100dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
<!-- <ImageView
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:src="@mipmap/moudle_ipatrol_logo" />
|
||||
android:src="@mipmap/moudle_ipatrol_logo" /> -->
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@ -42,7 +42,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
@ -75,6 +75,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:hint="用户名"
|
||||
android:text="admin"
|
||||
android:background="@null"
|
||||
android:ems="10"
|
||||
android:paddingLeft="10dp"
|
||||
@ -112,6 +113,7 @@
|
||||
android:textCursorDrawable="@null"
|
||||
android:background="@null"
|
||||
android:hint="密码"
|
||||
android:text="123456"
|
||||
android:inputType="textPassword"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
@ -198,6 +200,7 @@
|
||||
<Button
|
||||
android:id="@+id/moudle_login_btn_login"
|
||||
style="@style/wrap_layout_btn_blue"
|
||||
android:background="@drawable/bg_login_btn_theme"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="50dp"
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="#1368E1"
|
||||
android:background="@drawable/login_bg_gradient"
|
||||
android:gravity="center"
|
||||
tools:context="com.sipai.jspatrol.setting.SettingActivity">
|
||||
|
||||
@ -35,14 +35,15 @@
|
||||
android:textColor="#666666"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginBottom="8dp"/>
|
||||
|
||||
<!-- 1.13.190.129:8080 -->
|
||||
<!-- 1.13.190.129:8080 -->
|
||||
<EditText
|
||||
android:id="@+id/moudle_edit_ip_edt_in"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/bg_setting_input"
|
||||
android:hint="请输入厂内IP"
|
||||
android:text="116.228.107.170:9190"
|
||||
android:text="1.13.190.129:8080"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="12dp"
|
||||
@ -65,7 +66,7 @@
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/bg_setting_input"
|
||||
android:hint="请输入厂外IP"
|
||||
android:text="116.228.107.170:9190"
|
||||
android:text="1.13.190.129:8080"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="12dp"
|
||||
@ -120,7 +121,7 @@
|
||||
android:text="完成"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:background="@drawable/bg_layout_shape_btn_blue"
|
||||
android:background="@drawable/bg_login_btn_theme"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 201 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/logo1.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/logo1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@ -1,8 +1,8 @@
|
||||
<resources>
|
||||
<string name="app_name">碳谷绿湾</string>
|
||||
<string name="appflag">JSYW</string>
|
||||
<string name="app_flag">JSYW</string>
|
||||
<string name="app_flag_patrol">JSYW</string>
|
||||
<string name="appflag">TGLW</string>
|
||||
<string name="app_flag">TGLW</string>
|
||||
<string name="app_flag_patrol">TGLW</string>
|
||||
|
||||
<string name="no_nfc">该设备不支持NFC</string>
|
||||
<string name="open_nfc">NFC功能没打开,请打开</string>
|
||||
|
||||
Reference in New Issue
Block a user