success('模块列表', get_one_two_array(CommonConstant::get_module_list(), 'id', 'name')); } /** * 缓急程度列表 * * @Apidoc\Method("POST") */ public function get_degree_list() { $this->success('缓急程度列表', get_one_two_array(OfferConstant::get_degree_list(), 'id', 'name')); } /** * 采购类型列表 * * @Apidoc\Method("POST") */ public function get_apply_type_list() { $this->success('采购类型列表', get_one_two_array(ApplyConstant::get_type_list(), 'id', 'name')); } /** * 采购支付方式列表 * * @Apidoc\Method("POST") */ public function get_apply_pay_type_list() { $this->success('采购支付方式列表', get_one_two_array(ApplyConstant::get_pay_type_list(), 'id', 'name')); } /** * 呈批类型列表 * * @Apidoc\Method("POST") */ public function get_offer_type_list() { $this->success('呈批类型列表', get_one_two_array(OfferConstant::get_type_list(), 'id', 'name')); } /** * 出差类型列表 * * @Apidoc\Method("POST") */ public function get_evection_type_list() { $this->success('出差类型列表', get_one_two_array(EvectionConstant::get_type_list(), 'id', 'name')); } /** * 请假类型列表 * * @Apidoc\Method("POST") */ public function get_leave_type_list() { $this->success('请假类型列表', get_one_two_array(LeaveConstant::get_type_list(), 'id', 'name')); } /** * 维修类型列表 * * @Apidoc\Method("POST") */ public function get_maintain_type_list() { $this->success('维修类型列表', get_one_two_array(MaintainConstant::get_type_list(), 'id', 'name')); } /** * 合同类型列表 * * @Apidoc\Method("POST") */ public function get_contract_type_list() { $this->success('合同类型列表', get_one_two_array(ContractConstant::get_type_list(), 'id', 'name')); } }