hrm create update bug

This commit is contained in:
曹前明 2022-09-22 10:48:15 +08:00
parent abe2fa2f76
commit dfff50d836
2 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,6 @@ class EmployeeSimpleSerializer(CustomModelSerializer):
class EmployeeCreateUpdateSerializer(CustomModelSerializer):
phone = serializers.CharField(label="手机号", validators=[check_phone_e])
id_number = serializers.CharField(label="身份证号", validators=[check_id_number_e])
class Meta:

View File

@ -13,6 +13,7 @@ from rest_framework.mixins import CreateModelMixin, ListModelMixin, DestroyModel
from rest_framework.decorators import action
from rest_framework.serializers import Serializer
from apps.wf.models import Ticket
from django.core.cache import cache
# Create your views here.