feat: 国际进港新增事故签证功能页面
- 新建事故签证列表页(类型2:多选列表+批量删除) - 搜索区支持航班日期/航班号级联查询始发站和目的站 - 对接 GjAccidentVisa/search 和 GjAccidentVisa/delete 接口 - 国际进港菜单添加"事故签证"入口 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.lukouguoji.gjj.holder
|
||||
|
||||
import android.view.View
|
||||
import com.lukouguoji.gjj.databinding.ItemIntImpAccidentVisaBinding
|
||||
import com.lukouguoji.module_base.base.BaseViewHolder
|
||||
import com.lukouguoji.module_base.bean.IntImpAccidentVisaBean
|
||||
|
||||
/**
|
||||
* 国际进港-事故签证 列表项ViewHolder
|
||||
*/
|
||||
class IntImpAccidentVisaViewHolder(view: View) :
|
||||
BaseViewHolder<IntImpAccidentVisaBean, ItemIntImpAccidentVisaBinding>(view) {
|
||||
|
||||
override fun onBind(item: Any?, position: Int) {
|
||||
val bean = getItemBean(item) ?: return
|
||||
binding.bean = bean
|
||||
binding.position = position
|
||||
binding.executePendingBindings()
|
||||
|
||||
binding.ivIcon.setOnClickListener {
|
||||
bean.checked.set(!bean.checked.get())
|
||||
binding.executePendingBindings()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user