1.1.2
This commit is contained in:
parent
8d549ed082
commit
51c9f0e187
@ -12,7 +12,7 @@
|
|||||||
"filters": [],
|
"filters": [],
|
||||||
"versionCode": 4,
|
"versionCode": 4,
|
||||||
"versionName": "1.0.4",
|
"versionName": "1.0.4",
|
||||||
"outputFile": "企业端正式_release_1.0.4_202201240930.apk"
|
"outputFile": "企业端正式_release_1.0.4_202204041207.apk"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Binary file not shown.
@ -25,6 +25,7 @@ class GoneAdapter(layoutResId: Int) : BaseQuickAdapter<PassBean, BaseViewHolder>
|
|||||||
.setText(R.id.tvStartSj,item.startTime)
|
.setText(R.id.tvStartSj,item.startTime)
|
||||||
.setText(R.id.tvEndTime,item.endTime)
|
.setText(R.id.tvEndTime,item.endTime)
|
||||||
.setText(R.id.tvBz,item.remarks)
|
.setText(R.id.tvBz,item.remarks)
|
||||||
|
.setText(R.id.tvSfzh,item.driverIdcard)
|
||||||
.setText(R.id.tvType,"""(${item.chargeType})""")
|
.setText(R.id.tvType,"""(${item.chargeType})""")
|
||||||
.setTextColorRes(R.id.tvType,if (item.chargeType.contains("收费")) R.color.color_down_time else R.color.color_green)
|
.setTextColorRes(R.id.tvType,if (item.chargeType.contains("收费")) R.color.color_down_time else R.color.color_green)
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,24 @@ public class UserBean implements Serializable {
|
|||||||
private String name;
|
private String name;
|
||||||
private String userId;
|
private String userId;
|
||||||
private String phone;
|
private String phone;
|
||||||
|
private String contacts;
|
||||||
|
private String contactsPhone;
|
||||||
|
|
||||||
|
public String getContacts() {
|
||||||
|
return contacts;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContacts(String contacts) {
|
||||||
|
this.contacts = contacts;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContactsPhone() {
|
||||||
|
return contactsPhone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContactsPhone(String contactsPhone) {
|
||||||
|
this.contactsPhone = contactsPhone;
|
||||||
|
}
|
||||||
|
|
||||||
public String getEnterpriseName() {
|
public String getEnterpriseName() {
|
||||||
return enterpriseName;
|
return enterpriseName;
|
||||||
|
@ -232,6 +232,7 @@ class BusinessInfoActivity : BaseActivity(), View.OnClickListener {
|
|||||||
.setCancelColor(Color.parseColor("#F1474B")) //取消按钮文字颜色
|
.setCancelColor(Color.parseColor("#F1474B")) //取消按钮文字颜色
|
||||||
.setTitleBgColor(Color.parseColor("#FFFFFF"))
|
.setTitleBgColor(Color.parseColor("#FFFFFF"))
|
||||||
.setBgColor(Color.parseColor("#F5F5F5"))
|
.setBgColor(Color.parseColor("#F5F5F5"))
|
||||||
|
.setSelectOptions(15, 0, 0)
|
||||||
.setContentTextSize(20)
|
.setContentTextSize(20)
|
||||||
.build<Any>()
|
.build<Any>()
|
||||||
pvOptions.setPicker(options1Items as List<Nothing>?,
|
pvOptions.setPicker(options1Items as List<Nothing>?,
|
||||||
|
@ -17,6 +17,7 @@ import com.dahe.pass.net.BaseObserver
|
|||||||
import com.dahe.pass.net.DataManager
|
import com.dahe.pass.net.DataManager
|
||||||
import com.dahe.pass.net.RxHttpCallBack
|
import com.dahe.pass.net.RxHttpCallBack
|
||||||
import com.dahe.pass.utils.GetJsonDataUtil
|
import com.dahe.pass.utils.GetJsonDataUtil
|
||||||
|
import com.dahe.pass.utils.SPUtils
|
||||||
import com.google.gson.Gson
|
import com.google.gson.Gson
|
||||||
import com.lxj.xpopup.util.KeyboardUtils
|
import com.lxj.xpopup.util.KeyboardUtils
|
||||||
import kotlinx.android.synthetic.main.activity_apply.*
|
import kotlinx.android.synthetic.main.activity_apply.*
|
||||||
@ -50,6 +51,14 @@ class ApplyActivity : BaseActivity(), View.OnClickListener {
|
|||||||
llQylx.setOnClickListener(this)
|
llQylx.setOnClickListener(this)
|
||||||
tvJb.setOnClickListener(this)
|
tvJb.setOnClickListener(this)
|
||||||
tvSflx.setOnClickListener(this)
|
tvSflx.setOnClickListener(this)
|
||||||
|
|
||||||
|
val userInfo = SPUtils.getUserInfo(this).userInfo
|
||||||
|
if (null!=userInfo){
|
||||||
|
etLxr.text = userInfo.contacts
|
||||||
|
etPhone.text = userInfo.contactsPhone
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun initDate() {
|
override fun initDate() {
|
||||||
|
@ -232,10 +232,11 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="联系人"
|
android:text="通行证管理人"
|
||||||
android:textColor="@color/black"></TextView>
|
android:textColor="@color/black"></TextView>
|
||||||
|
|
||||||
<EditText
|
<TextView
|
||||||
|
android:textColor="@color/black"
|
||||||
android:id="@+id/etLxr"
|
android:id="@+id/etLxr"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -243,7 +244,7 @@
|
|||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:hint="请输入联系人"
|
android:hint="请输入联系人"
|
||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:textSize="14dp"></EditText>
|
android:textSize="14dp"></TextView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -265,20 +266,21 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="电话"
|
android:text="管理人电话"
|
||||||
android:textColor="@color/black"></TextView>
|
android:textColor="@color/black"></TextView>
|
||||||
|
|
||||||
<EditText
|
<TextView
|
||||||
|
android:textColor="@color/black"
|
||||||
android:id="@+id/etPhone"
|
android:id="@+id/etPhone"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:hint="请输入电话"
|
android:hint="管理人电话"
|
||||||
android:maxLength="11"
|
android:maxLength="11"
|
||||||
android:inputType="phone"
|
android:inputType="phone"
|
||||||
android:paddingRight="6dp"
|
android:paddingRight="6dp"
|
||||||
android:textSize="14dp"></EditText>
|
android:textSize="14dp"></TextView>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -116,7 +116,6 @@
|
|||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:hint="统一社会信用代码"
|
android:hint="统一社会信用代码"
|
||||||
android:maxLength="11"
|
|
||||||
android:maxLines="1"></EditText>
|
android:maxLines="1"></EditText>
|
||||||
|
|
||||||
|
|
||||||
@ -171,6 +170,7 @@
|
|||||||
android:background="@drawable/spdw"></ImageView>
|
android:background="@drawable/spdw"></ImageView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:textColor="@color/black"
|
||||||
android:textSize="16dp"
|
android:textSize="16dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:id="@+id/etSpdw"
|
android:id="@+id/etSpdw"
|
||||||
@ -212,6 +212,7 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:hint="管理人电话"
|
android:hint="管理人电话"
|
||||||
android:maxLength="11"
|
android:maxLength="11"
|
||||||
|
android:inputType="phone"
|
||||||
android:maxLines="1"></EditText>
|
android:maxLines="1"></EditText>
|
||||||
|
|
||||||
|
|
||||||
|
@ -223,6 +223,26 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="6dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="身份证号:"
|
||||||
|
android:textColor="@color/color_9"></TextView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvSfzh"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="6dp"
|
||||||
|
android:textColor="@color/black"></TextView>
|
||||||
|
</LinearLayout>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -6,6 +6,17 @@ public class VersionBean implements Serializable {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private ParamsDao data;
|
||||||
|
|
||||||
|
public ParamsDao getData() {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setData(ParamsDao data) {
|
||||||
|
this.data = data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class ParamsDao implements Serializable{
|
||||||
private int versionId;
|
private int versionId;
|
||||||
private int version;
|
private int version;
|
||||||
private String versionName;
|
private String versionName;
|
||||||
@ -78,4 +89,5 @@ public class VersionBean implements Serializable {
|
|||||||
public void setRemark(String remark) {
|
public void setRemark(String remark) {
|
||||||
this.remark = remark;
|
this.remark = remark;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ public class VersionUtils {
|
|||||||
Type type = new TypeToken<CommonResponseBean<VersionBean>>() {
|
Type type = new TypeToken<CommonResponseBean<VersionBean>>() {
|
||||||
}.getType();
|
}.getType();
|
||||||
CommonResponseBean<VersionBean> o = JsonUtils.getInstance().fromJson(result, type);
|
CommonResponseBean<VersionBean> o = JsonUtils.getInstance().fromJson(result, type);
|
||||||
VersionBean data = o.getData();
|
VersionBean.ParamsDao data = o.getData().getData();
|
||||||
if ("1".equals(data.getUpdateType())) {
|
if ("1".equals(data.getUpdateType())) {
|
||||||
downloadBuilder.setForceRedownload(true);
|
downloadBuilder.setForceRedownload(true);
|
||||||
}else{
|
}else{
|
||||||
@ -74,9 +74,9 @@ public class VersionUtils {
|
|||||||
}
|
}
|
||||||
if (AppUtils.getAppVersionCode() < data.getVersion()) {
|
if (AppUtils.getAppVersionCode() < data.getVersion()) {
|
||||||
UIData uiData = UIData.create();
|
UIData uiData = UIData.create();
|
||||||
uiData.setTitle(o.getData().getVersionName());
|
uiData.setTitle(data.getVersionName());
|
||||||
uiData.setDownloadUrl(o.getData().getApkUrl());
|
uiData.setDownloadUrl(data.getApkUrl());
|
||||||
uiData.setContent(o.getData().getIntroduce());
|
uiData.setContent(data.getIntroduce());
|
||||||
return uiData;
|
return uiData;
|
||||||
}
|
}
|
||||||
if (isShow){
|
if (isShow){
|
||||||
|
Loading…
Reference in New Issue
Block a user