[6.4.0]产品需求调整问题类型

This commit is contained in:
xuxinchao
2024-04-23 18:37:38 +08:00
parent 91bd910701
commit dfe4bc9bf9
3 changed files with 30 additions and 17 deletions

View File

@@ -142,17 +142,20 @@ class WorkOrderWindow constructor(activity: Activity) : View.OnTouchListener,
rgType.setOnCheckedChangeListener{_, checkedId ->
when(checkedId){
R.id.rb_type_perception->{
workOrderType = "感知"
R.id.rb_type_software->{
workOrderType = "软件"
}
R.id.rb_type_hardware->{
workOrderType = ""
R.id.rb_type_kit->{
workOrderType = ""
}
R.id.rb_type_vehicle->{
workOrderType = ""
workOrderType = ""
}
R.id.rb_type_service->{
workOrderType = "服务"
R.id.rb_type_capacity->{
workOrderType = "运力"
}
R.id.rb_type_environment->{
workOrderType = "环境"
}
R.id.rb_type_other->{
workOrderType = "其他"

View File

@@ -79,18 +79,19 @@
>
<RadioButton
android:id="@+id/rb_type_perception"
android:id="@+id/rb_type_software"
android:layout_width="@dimen/dp_0"
android:layout_height="@dimen/dp_70"
android:text="@string/work_order_type_perception"
android:text="@string/work_order_type_software"
style="@style/work_order_type_radio_style"
/>
<RadioButton
android:id="@+id/rb_type_hardware"
android:id="@+id/rb_type_kit"
android:layout_width="@dimen/dp_0"
android:layout_height="@dimen/dp_70"
android:text="@string/work_order_type_hardware"
android:text="@string/work_order_type_kit"
style="@style/work_order_type_radio_style"
/>
@@ -103,10 +104,18 @@
/>
<RadioButton
android:id="@+id/rb_type_service"
android:id="@+id/rb_type_capacity"
android:layout_width="@dimen/dp_0"
android:layout_height="@dimen/dp_70"
android:text="@string/work_order_type_service"
android:text="@string/work_order_type_capacity"
style="@style/work_order_type_radio_style"
/>
<RadioButton
android:id="@+id/rb_type_environment"
android:layout_width="@dimen/dp_0"
android:layout_height="@dimen/dp_70"
android:text="@string/work_order_type_environment"
style="@style/work_order_type_radio_style"
/>

View File

@@ -9,10 +9,11 @@
<string name="work_order_report">上报</string>
<string name="work_order_cancel">取消</string>
<string name="work_order_time">时间:</string>
<string name="work_order_type_perception">感知</string>
<string name="work_order_type_hardware"></string>
<string name="work_order_type_vehicle"></string>
<string name="work_order_type_service">服务</string>
<string name="work_order_type_software">软件</string>
<string name="work_order_type_kit"></string>
<string name="work_order_type_vehicle"></string>
<string name="work_order_type_capacity">运力</string>
<string name="work_order_type_environment">环境</string>
<string name="work_order_type_other">其他</string>
</resources>