From d06de9eb392fa6d0f76898bb96b9a434226d2e41 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 2 Dec 2019 23:58:01 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=90=88=E5=B9=B6=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safesite/views.py b/safesite/views.py index 1c503921..86157cf7 100644 --- a/safesite/views.py +++ b/safesite/views.py @@ -4631,7 +4631,7 @@ def apioperation(req): obj.zyzt['splc'][1]['sprs'] = [spr1] #作业部门审批人 if spr2: obj.zyzt['splc'][2]['sprs'] = [spr2] #属地部门审批人 - while nextindex Date: Tue, 3 Dec 2019 00:15:58 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E4=BA=BA2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safesite/views.py b/safesite/views.py index 1c503921..36b4b63f 100644 --- a/safesite/views.py +++ b/safesite/views.py @@ -4734,7 +4734,7 @@ def apioperation(req): } } } - Operspxq.objects.create(oper=obj,jdmc=obj.zyzt['splc'][nextindex-1]['jdmc'],spr=spruser,checked=1,spbm=spruser.ubelongpart) + # Operspxq.objects.create(oper=obj,jdmc=obj.zyzt['splc'][nextindex-1]['jdmc'],spr=spruser,checked=1,spbm=spruser.ubelongpart) send_wechatmsg.delay(postdict) return JsonResponse({"code":1}) elif a == 'gbzy':#关闭作业 From a8d06aeaf49e2d23d8c8a5e49f729e27a64e57d6 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 3 Dec 2019 00:19:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E4=BA=BA3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safesite/views.py b/safesite/views.py index e7f87a58..36b4b63f 100644 --- a/safesite/views.py +++ b/safesite/views.py @@ -4631,7 +4631,7 @@ def apioperation(req): obj.zyzt['splc'][1]['sprs'] = [spr1] #作业部门审批人 if spr2: obj.zyzt['splc'][2]['sprs'] = [spr2] #属地部门审批人 - while nextindex