| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # -*- coding: utf-8 -*-
- from django.conf.urls import url
- from . import views
- from .views import Product_Introduce,UAV,Forest_Fireproofing,Machine_Manage,Machine_List,Seed_Manage,Seed_ManageAdd,User_Manage,User_Add,\
- Crop_Manage,Crop_Add,Manure_Manage,Manure_Add,Pesticide_Manage,Pesticide_Add,Farm_Product,Farm_ProductAdd,Job_Name,Job_NameAdd,Detection,\
- Detection_Add,Project,Project_Add,Cal_Unit,Cal_UnitAdd,Trace_Batch,breed_Center,breed_Center_List,Water_Fertilizer_Ctrl
- from django.views.decorators.csrf import csrf_exempt
- from django.views.static import serve
- app_name = 'apps.Products'
- urlpatterns = [
- url(r'^product_introduce$', Product_Introduce.as_view(), name='product_introduce'),
- url(r'^uav$', UAV.as_view(), name='uav'),
- url(r'^forestFireproofing$', Forest_Fireproofing.as_view(), name='forestFireproofing'),
- url(r'^machineManage$', Machine_Manage.as_view(), name='machineManage'),
- url(r'^machineList$', Machine_List.as_view(), name='machineList'),
- # 种子种苗管理
- url(r'^seed_manage$', Seed_Manage.as_view(), name='seed_manage'),
- url(r'^seed_manageadd$', Seed_ManageAdd.as_view(), name='seed_manageadd'),
- # 人员管理
- url(r'^user_manage$', User_Manage.as_view(), name='user_manage'),
- url(r'^user_add$', User_Add.as_view(), name='user_add'),
- # 作物管理
- url(r'^crop_manage$', Crop_Manage.as_view(), name='crop_manage'),
- url(r'^crop_add$', Crop_Add.as_view(), name='crop_add'),
- # 肥料管理
- url(r'^manure_manage$', Manure_Manage.as_view(), name='manure_manage'),
- url(r'^manure_add$', Manure_Add.as_view(), name='manure_add'),
- # 农药管理
- url(r'^pesticide_manage$', Pesticide_Manage.as_view(), name='pesticide_manage'),
- url(r'^pesticide_add$', Pesticide_Add.as_view(), name='pesticide_add'),
- # 农资供应商
- url(r'^farm_product$', Farm_Product.as_view(), name='farm_product'),
- url(r'^farm_productadd$', Farm_ProductAdd.as_view(), name='farm_productadd'),
- # 作业名称
- url(r'^job_name$', Job_Name.as_view(), name='job_name'),
- url(r'^job_nameadd$', Job_NameAdd.as_view(), name='job_nameadd'),
- # 检测机构
- url(r'^detection$', Detection.as_view(), name='detection'),
- url(r'^detection_add$', Detection_Add.as_view(), name='detection_add'),
- # 计量单位
- url(r'^cal_unit$', Cal_Unit.as_view(), name='cal_unit'),
- url(r'^cal_unitadd$', Cal_UnitAdd.as_view(), name='cal_unitadd'),
- # 项目字典
- url(r'^project$', Project.as_view(), name='project'),
- url(r'^project_add$', Project_Add.as_view(), name='project_add'),
- # 溯源批次
- url(r'^trace_batch$', Trace_Batch.as_view(), name='trace_batch'),
- # 养殖中心
- url(r'^breedCenter$', breed_Center.as_view(), name='breedCenter'),
- # 养殖列表
- url(r'^breed_center_list$', breed_Center_List.as_view(), name='breed_center_list'),
- # 水肥控制
- url(r'^water_fertilizer_ctrl$', Water_Fertilizer_Ctrl.as_view(), name='water_fertilizer_ctrl'),
- ]
|