修改 外协显示

master
wanghao 5 days ago
parent 0d004ae3ee
commit bfe33e5a2a

@ -44,9 +44,8 @@ import okhttp3.MediaType;
public class BaseActivity extends AppCompatActivity {
public static final int CAMERA_PHOTO = 1;
// public static String url = "http://192.168.100.199:7018/dev-api";//测试
public static String url = "http://175.27.215.92:7018/prod-api";
// public static String url = "http://10.11.40.120:7018/dev-api";
public static String url = "http://175.27.215.92:7018/prod-api";//服务器
// public static String url = "http://10.10.3.32:7018/dev-api";
public ProgressDialog dialog;
public Gson gson;
public MediaType JSON = MediaType.parse("application/json; charset=utf-8");

@ -287,26 +287,26 @@
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="44dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="4dp"
android:visibility='@{visState ? View.GONE:View.VISIBLE}'>>
<TextView
style="@style/text_title"
android:layout_width="90dp"
android:layout_height="match_parent"
android:text="外协单位:" />
<TextView
style="@style/text_info"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@{vm.outsrcName}" />
</LinearLayout>
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="44dp"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:layout_marginEnd="4dp"-->
<!-- android:visibility='@{visState ? View.GONE:View.VISIBLE}'>>-->
<!-- <TextView-->
<!-- style="@style/text_title"-->
<!-- android:layout_width="90dp"-->
<!-- android:layout_height="match_parent"-->
<!-- android:text="外协单位:" />-->
<!-- <TextView-->
<!-- style="@style/text_info"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:text="@{vm.outsrcName}" />-->
<!-- </LinearLayout>-->
<LinearLayout
android:layout_width="match_parent"
@ -314,7 +314,7 @@
android:layout_marginTop="8dp"
android:layout_marginEnd="4dp"
android:background="@drawable/text_bg"
android:visibility='@{visState &amp; vm.radioState2 ? View.VISIBLE:View.GONE}'>
android:visibility='@{vm.radioState2 ? View.VISIBLE:View.GONE}'>
<TextView
style="@style/text_title"
@ -330,6 +330,7 @@
android:onItemSelected="@{vm.selectOutSourcingID}"
android:spinnerMode="dropdown"
android:selection="@{vm.outsrcIdIndex}"
android:enabled="@{visState}"
android:textAlignment="center" />
<!-- -->
</LinearLayout>

Loading…
Cancel
Save