From 7e19e00fff05d5d75ddc8fa58b5dcce7bbb36f66 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Mon, 28 Oct 2019 00:33:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=AE=E6=94=B9=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/FinanceController.php | 2 ++ frontend/views/finance/car-update-frame.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/frontend/controllers/FinanceController.php b/frontend/controllers/FinanceController.php index 62fba5b..9b55cc2 100644 --- a/frontend/controllers/FinanceController.php +++ b/frontend/controllers/FinanceController.php @@ -6317,6 +6317,8 @@ class FinanceController extends \frontend\controllers\UserBaseController public function actionCarUpdateFrameInfo() { + set_time_limit(0); + ini_set('memory_limit', '3072M'); Yii::$app->response->format = Response::FORMAT_JSON; $request = Yii::$app->request; $result = array(); diff --git a/frontend/views/finance/car-update-frame.php b/frontend/views/finance/car-update-frame.php index f8cfdfb..f0ae390 100644 --- a/frontend/views/finance/car-update-frame.php +++ b/frontend/views/finance/car-update-frame.php @@ -68,8 +68,12 @@ use \common\libs\MyLib; btn: ['确认','取消'], //按钮 shade: false //不显示遮罩 }, function(){ + var index = parent.layer.load(1, { + shade: [0.1,'#fff'] //0.1透明度的白色背景 + }); var params = $("#theFrm").serialize(); $.post('/finance/car-update-frame-info',params,function(obj){ + parent.layer.close(index); parent.layer.msg(obj.msg); if(obj.success) { window.location.reload();