This commit is contained in:
王思川 2024-05-15 10:02:51 +08:00
parent d0270104a1
commit 6718225ddd
8 changed files with 22 additions and 4 deletions

View File

@ -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='一级部门')

0
org_mgnt/__init__.py Normal file
View File

3
org_mgnt/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
org_mgnt/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class OrgMgntConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "org_mgnt"

View File

3
org_mgnt/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
org_mgnt/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
org_mgnt/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.