diff --git a/application/performance_management/models.py b/application/performance_management/models.py index 35b2d89..6b7c3d6 100644 --- a/application/performance_management/models.py +++ b/application/performance_management/models.py @@ -3,10 +3,10 @@ from django.db import models class GroupTargets(models.Model): PROJECT_NATURE_CHOICES = [ - ('new', '新增'), - ('existing', '存续'), - ('new_and_existing', '新增及存续'), - ('old_customer_new_business', '老客户新业务') + ('新增', '新增'), + ('存续', '存续'), + ('新增及存续', '新增及存续'), + ('老客户新业务', '老客户新业务') ] primary_department = models.CharField(max_length=255, blank=False, verbose_name='一级部门') diff --git a/org_mgnt/__init__.py b/org_mgnt/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/org_mgnt/admin.py b/org_mgnt/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/org_mgnt/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/org_mgnt/apps.py b/org_mgnt/apps.py new file mode 100644 index 0000000..c010f4e --- /dev/null +++ b/org_mgnt/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class OrgMgntConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "org_mgnt" diff --git a/org_mgnt/migrations/__init__.py b/org_mgnt/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/org_mgnt/models.py b/org_mgnt/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/org_mgnt/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/org_mgnt/tests.py b/org_mgnt/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/org_mgnt/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/org_mgnt/views.py b/org_mgnt/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/org_mgnt/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.