删除部门后

This commit is contained in:
ibuler
2015-08-27 00:08:20 +08:00
parent 913f93b91f
commit 33c624c76f
13 changed files with 20 additions and 727 deletions

View File

@@ -3,7 +3,7 @@ import datetime
from uuidfield import UUIDField
from django.db import models
from juser.models import UserGroup, DEPT
from juser.models import UserGroup
from jasset.models import Asset, BisGroup
@@ -18,7 +18,6 @@ class Perm(models.Model):
class CmdGroup(models.Model):
name = models.CharField(max_length=50, unique=True)
cmd = models.CharField(max_length=999)
dept = models.ForeignKey(DEPT)
comment = models.CharField(blank=True, null=True, max_length=50)
def __unicode__(self):
@@ -41,7 +40,6 @@ class Apply(models.Model):
applyer = models.CharField(max_length=20)
admin = models.CharField(max_length=20)
approver = models.CharField(max_length=20)
dept = models.CharField(max_length=20)
bisgroup = models.CharField(max_length=500)
asset = models.CharField(max_length=500)
comment = models.TextField(blank=True, null=True)