|
@@ -21,6 +21,7 @@ import com.pan_american.android.ui.customer_resource.related_invitee.RelatedInvi
|
|
import com.pan_american.android.ui.efficiency_tools.address_book.AddressBookActivity
|
|
import com.pan_american.android.ui.efficiency_tools.address_book.AddressBookActivity
|
|
import com.pan_american.android.ui.efficiency_tools.exchange_tool.ExchangeToolActivity
|
|
import com.pan_american.android.ui.efficiency_tools.exchange_tool.ExchangeToolActivity
|
|
import com.pan_american.android.ui.efficiency_tools.itinerary.ItineraryActivity
|
|
import com.pan_american.android.ui.efficiency_tools.itinerary.ItineraryActivity
|
|
|
|
+import com.pan_american.android.ui.efficiency_tools.require_gather.RequireGatherActivity
|
|
import com.pan_american.android.ui.financial_module.accounts_receivable_report.AccountsReceivableReportActivity
|
|
import com.pan_american.android.ui.financial_module.accounts_receivable_report.AccountsReceivableReportActivity
|
|
import com.pan_american.android.ui.financial_module.collection_bill.CollectionBillActivity
|
|
import com.pan_american.android.ui.financial_module.collection_bill.CollectionBillActivity
|
|
import com.pan_american.android.ui.financial_module.daily_payment.DailyPaymentListActivity
|
|
import com.pan_american.android.ui.financial_module.daily_payment.DailyPaymentListActivity
|
|
@@ -373,6 +374,10 @@ class WorkspaceFragment : BaseFragment<FragmentWorkspaceBinding>(), OnClickListe
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (OASystem.userInfo.depName == "市场部") {
|
|
|
|
+ binding.requireGather.visibility = View.VISIBLE
|
|
|
|
+ }
|
|
|
|
+
|
|
if (OASystem.userInfo.userId == 21 || OASystem.userInfo.userId == 22) {
|
|
if (OASystem.userInfo.userId == 21 || OASystem.userInfo.userId == 22) {
|
|
if (binding.financialModule.visibility == View.GONE) {
|
|
if (binding.financialModule.visibility == View.GONE) {
|
|
binding.financialModule.visibility = View.VISIBLE
|
|
binding.financialModule.visibility = View.VISIBLE
|
|
@@ -571,6 +576,12 @@ class WorkspaceFragment : BaseFragment<FragmentWorkspaceBinding>(), OnClickListe
|
|
startActivity(intent)
|
|
startActivity(intent)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //需求收集
|
|
|
|
+ binding.requireGather.setOnClickListener {
|
|
|
|
+ val intent = Intent(OASystem.context, RequireGatherActivity::class.java)
|
|
|
|
+ startActivity(intent)
|
|
|
|
+ }
|
|
|
|
+
|
|
binding.expenseApproval.setOnClickListener {
|
|
binding.expenseApproval.setOnClickListener {
|
|
val intent = Intent(OASystem.context, ExpenseApprovalActivity::class.java)
|
|
val intent = Intent(OASystem.context, ExpenseApprovalActivity::class.java)
|
|
startActivity(intent)
|
|
startActivity(intent)
|