From 75dcf8cf5cb689ede2af59c0f493b49c6576d302 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Tue, 5 Nov 2019 19:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/GiftT.php | 2 +- common/models/GiftUseLogT.php | 63 ++ frontend/controllers/GiftController.php | 26 +- .../controllers/PhoneCenterController.php | 4 + frontend/controllers/StatisticsController.php | 351 ++----- frontend/views/appointment/all.php | 31 +- frontend/views/appointment/first.php | 31 +- frontend/views/appointment/today.php | 31 +- frontend/views/bank/edit.php | 8 +- frontend/views/bank/index.php | 2 +- frontend/views/car-type/edit.php | 8 +- frontend/views/car-type/index.php | 2 +- frontend/views/car-use/index.php | 2 +- frontend/views/car/edit.php | 4 +- frontend/views/car/info-track-edit.php | 68 +- frontend/views/car/info-track-info.php | 68 +- frontend/views/car/info.php | 2 +- frontend/views/car/order-add.php | 2 +- frontend/views/car/search.php | 4 +- frontend/views/city/edit.php | 8 +- frontend/views/city/index.php | 2 +- frontend/views/common/call-phone.php | 8 +- frontend/views/common/left.php | 75 -- frontend/views/common/top.php | 100 -- frontend/views/common/update-pwd.php | 24 +- frontend/views/database/a-index.php | 6 +- frontend/views/database/ad-clean-index.php | 233 ----- frontend/views/database/b-index.php | 6 +- frontend/views/database/c-index.php | 6 +- frontend/views/database/d-index.php | 4 +- .../views/database/invalid-index-search.php | 94 -- frontend/views/database/invalid-index.php | 6 +- frontend/views/district/edit.php | 16 +- frontend/views/district/index.php | 2 +- frontend/views/finance/budian-list.php | 2 +- frontend/views/finance/car-update-frame.php | 4 +- frontend/views/finance/chuna-gongzi-info.php | 6 +- frontend/views/finance/chuna-gongzi-list.php | 2 +- frontend/views/finance/gongzi-all-info.php | 8 +- frontend/views/finance/gongzi-all-list.php | 2 +- frontend/views/finance/pay2-info.php | 10 +- frontend/views/finance/pay2-list.php | 2 +- frontend/views/finance/receipt-lirun.php | 8 +- frontend/views/finance/receipt.php | 2 +- frontend/views/finance/receipt2.php | 2 +- frontend/views/finance/ticheng-jisuan.php | 4 +- frontend/views/fix-car/add-item.php | 2 +- frontend/views/fix-car/ajax-item-list.php | 10 +- frontend/views/fix-car/my-list-edit.php | 110 +-- frontend/views/fix-car/my-list-finish.php | 2 +- frontend/views/fix-car/my-list.php | 2 +- frontend/views/fix-car/my-search-result.php | 2 +- frontend/views/fix-car/my-search.php | 2 +- frontend/views/fix-car/step1-list-finish.php | 2 +- frontend/views/fix-car/step1-list.php | 2 +- frontend/views/fix-car/step2-list.php | 2 +- frontend/views/fix-car/step3-list.php | 2 +- frontend/views/fix-car/step4-list.php | 2 +- frontend/views/gift/gift-out.php | 170 ---- frontend/views/gift/gift-tj.php | 52 +- frontend/views/gift/gift-use-edit.php | 127 +++ frontend/views/gift/gift-use.php | 2 +- frontend/views/gift/index.php | 4 +- frontend/views/gift/mng-list-info.php | 400 -------- frontend/views/gift/mng-list.php | 74 -- frontend/views/gift/stastics.php | 65 -- frontend/views/gift/ticket-tj.php | 56 +- frontend/views/gift/ticket-use-edit.php | 142 +++ frontend/views/gift/ticket-use.php | 169 ++++ frontend/views/group/edit.php | 24 +- frontend/views/group/index.php | 2 +- frontend/views/group/permission.php | 65 -- frontend/views/insurer-company/edit.php | 2 +- frontend/views/insurer-company/index.php | 2 +- frontend/views/insurer-company2/edit.php | 8 +- frontend/views/insurer-company2/index.php | 2 +- frontend/views/insurer-type/edit.php | 20 +- frontend/views/insurer-type/index.php | 2 +- frontend/views/insurer/finance-mng.php | 27 +- frontend/views/insurer/info.php | 856 +++++++----------- frontend/views/insurer/my-list-info.php | 2 +- frontend/views/insurer/my-list.php | 31 +- frontend/views/insurer/my-return-list.php | 27 +- frontend/views/insurer/office-mng-edit.php | 2 +- frontend/views/insurer/office-mng.php | 27 +- frontend/views/insurer/original-ems-edit.php | 143 --- frontend/views/insurer/original-ems-edit1.php | 143 --- frontend/views/insurer/original-mng-edit.php | 2 +- frontend/views/insurer/original-mng.php | 27 +- .../views/insurer/original-send-mng-edit.php | 566 ------------ frontend/views/insurer/original-send-mng.php | 85 -- frontend/views/insurer/search.php | 4 +- frontend/views/insurer/send-mng-edit.php | 226 ----- frontend/views/insurer/send-mng.php | 91 -- frontend/views/invalid/edit.php | 20 +- frontend/views/invalid/index.php | 2 +- frontend/views/marketing-strategy/add.php | 2 +- frontend/views/marketing-strategy/edit.php | 6 +- frontend/views/marketing-strategy/index.php | 2 +- .../marketing-strategy/select-fanxian.php | 2 +- frontend/views/meet/edit.php | 16 +- frontend/views/meet/list.php | 2 +- frontend/views/menu/edit.php | 24 +- frontend/views/menu/index.php | 2 +- frontend/views/menu/power-detail.php | 67 -- frontend/views/menu/power-list.php | 59 -- frontend/views/pay-type/edit.php | 8 +- frontend/views/pay-type/index.php | 2 +- frontend/views/payee/edit.php | 8 +- frontend/views/payee/index.php | 2 +- frontend/views/payment/edit.php | 8 +- frontend/views/payment/index.php | 2 +- frontend/views/permissions/edit.php | 8 +- frontend/views/permissions/index.php | 2 +- frontend/views/permissions/permission.php | 8 +- frontend/views/personnel/pay-info.php | 8 +- frontend/views/personnel/pay-list.php | 2 +- frontend/views/phone-center/assign-phone.php | 2 +- frontend/views/phone-center/call-records.php | 2 +- frontend/views/phone-center/edit.php | 12 +- frontend/views/phone-center/sub-edit.php | 8 +- frontend/views/phone-center/sub-index.php | 3 +- .../views/phone-center/usercall-index.php | 2 +- frontend/views/renewal/all.php | 31 +- frontend/views/renewal/first.php | 31 +- frontend/views/renewal/today.php | 31 +- frontend/views/renewal/today_bak.php | 88 -- frontend/views/renewal/today_new.php | 143 --- frontend/views/role/edit.php | 8 +- frontend/views/role/index.php | 2 +- frontend/views/statistics/clean-work-zj.php | 53 -- frontend/views/statistics/clean-work.php | 87 -- frontend/views/statistics/fix-info.php | 68 -- frontend/views/statistics/non-work-info.php | 63 -- frontend/views/statistics/non-work.php | 98 -- frontend/views/statistics/work-info.bak.php | 65 -- frontend/views/statistics/work-info.php | 601 +----------- frontend/views/statistics/work.bak.php | 108 --- frontend/views/statistics/work.php | 306 +++---- frontend/views/system/ip.php | 2 +- frontend/views/user/edit.php | 509 ++++++----- frontend/views/user/index.php | 64 +- frontend/views/user/my-info.php | 13 - frontend/views/user/reset-pass.php | 17 - frontend/views/work-day/edit.php | 2 +- frontend/views/work-day/index.php | 2 +- frontend/views/work-type/edit.php | 12 +- frontend/views/work-type/index.php | 2 +- 148 files changed, 2035 insertions(+), 5800 deletions(-) create mode 100644 common/models/GiftUseLogT.php delete mode 100644 frontend/views/common/left.php delete mode 100644 frontend/views/common/top.php delete mode 100644 frontend/views/database/ad-clean-index.php delete mode 100644 frontend/views/database/invalid-index-search.php delete mode 100644 frontend/views/gift/gift-out.php create mode 100644 frontend/views/gift/gift-use-edit.php delete mode 100644 frontend/views/gift/mng-list-info.php delete mode 100644 frontend/views/gift/mng-list.php delete mode 100644 frontend/views/gift/stastics.php create mode 100644 frontend/views/gift/ticket-use-edit.php create mode 100644 frontend/views/gift/ticket-use.php delete mode 100644 frontend/views/group/permission.php delete mode 100644 frontend/views/insurer/original-ems-edit.php delete mode 100644 frontend/views/insurer/original-ems-edit1.php delete mode 100644 frontend/views/insurer/original-send-mng-edit.php delete mode 100644 frontend/views/insurer/original-send-mng.php delete mode 100644 frontend/views/insurer/send-mng-edit.php delete mode 100644 frontend/views/insurer/send-mng.php delete mode 100644 frontend/views/menu/power-detail.php delete mode 100644 frontend/views/menu/power-list.php delete mode 100644 frontend/views/renewal/today_bak.php delete mode 100644 frontend/views/renewal/today_new.php delete mode 100644 frontend/views/statistics/clean-work-zj.php delete mode 100644 frontend/views/statistics/clean-work.php delete mode 100644 frontend/views/statistics/fix-info.php delete mode 100644 frontend/views/statistics/non-work-info.php delete mode 100644 frontend/views/statistics/non-work.php delete mode 100644 frontend/views/statistics/work-info.bak.php delete mode 100644 frontend/views/statistics/work.bak.php delete mode 100644 frontend/views/user/my-info.php delete mode 100644 frontend/views/user/reset-pass.php diff --git a/common/models/GiftT.php b/common/models/GiftT.php index 26d42af..3726e92 100644 --- a/common/models/GiftT.php +++ b/common/models/GiftT.php @@ -62,7 +62,7 @@ class GiftT extends \common\models\Base public function getShowType() { - if($this->type_id == 1) return '实名礼品'; + if($this->type_id == 1) return '实物礼品'; if($this->type_id == 2) return '礼券'; return ''; } diff --git a/common/models/GiftUseLogT.php b/common/models/GiftUseLogT.php new file mode 100644 index 0000000..878495e --- /dev/null +++ b/common/models/GiftUseLogT.php @@ -0,0 +1,63 @@ + 50], + [['group_name', 'remark','info'], 'string', 'max' => 100], + ]; + } + + /** + * @inheritdoc + */ + public function attributeLabels() + { + return [ + 'id' => 'ID', + 'gift_use_id' => 'Gift Use ID', + 'op_man' => 'Op Man', + 'op_time' => 'Op Time', + 'group_name' => 'Group Name', + 'type' => 'Type', + 'remark' => 'Remark', + 'info' => 'Info', + 'created_at' => 'Created At', + 'updated_at' => 'Updated At', + ]; + } +} \ No newline at end of file diff --git a/frontend/controllers/GiftController.php b/frontend/controllers/GiftController.php index 9a1145d..2c63b38 100644 --- a/frontend/controllers/GiftController.php +++ b/frontend/controllers/GiftController.php @@ -59,7 +59,7 @@ class GiftController extends \yii\web\Controller $query = GiftT::find() ->where('is_delete=0'); if($type_id > 0) { - $query = $query->andWhere('typeid='.$type_id); + $query = $query->andWhere('type_id='.$type_id); } if($name != '') { $query = $query->andWhere('name like "'.$name.'"'); @@ -75,7 +75,7 @@ class GiftController extends \yii\web\Controller $data['rows'] = []; foreach($items as $item) { $row = $item->toArray(); - $row['type'] = $item->getShowType(); + $row['type'] = $item->showType; $data['rows'][] = $row; } @@ -818,7 +818,7 @@ class GiftController extends \yii\web\Controller ->leftJoin('order_t','order_t.id=gift_ticket_t_use.order_id') ->leftJoin('gift_t','gift_t.id=gift_ticket_t_use.type_id') ->leftJoin('user_t','user_t.id=gift_ticket_t_use.user_id') - ->where('gift_t.type_id=2') + ->where('gift_t.type_id=1') ->orderBy('id DESC'); if($code != '') { $query->andWhere('gift_ticket_t_use.code="'.$code.'"'); @@ -1095,6 +1095,25 @@ class GiftController extends \yii\web\Controller return $data; } + + public function actionGiftUseEdit() + { + $request = Yii::$app->request; + $id = $request->get('id',0); + $back_params = $request->get('back_params'); + if($id > 0) { + $info = GiftTicketTUse::findOne(['id'=>$id]); + } else { + $info = new GiftTicketTUse(); + } + + + + return $this->render('gift-use-edit',[ + 'info' => $info + ]); + } + public function actionTicketUseEdit() { $request = Yii::$app->request; @@ -1114,7 +1133,6 @@ class GiftController extends \yii\web\Controller } public function actionHistoryLogJson() { - Yii::$app->response->format = Response::FORMAT_JSON; Yii::$app->response->format = Response::FORMAT_JSON; $request = Yii::$app->request; $id = $request->get('id'); diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index eaf24a3..4d7b850 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/frontend/controllers/PhoneCenterController.php @@ -277,6 +277,10 @@ public function actionDownload(){ $data['rows'] = []; foreach($sub_items as $item) { $row = $item->toArray(); + $row['status'] = ''; + if($item->bind_id != '') { + $row['status'] = '已绑定'; + } $data['rows'][] = $row; } diff --git a/frontend/controllers/StatisticsController.php b/frontend/controllers/StatisticsController.php index e4cb4f6..73eb836 100644 --- a/frontend/controllers/StatisticsController.php +++ b/frontend/controllers/StatisticsController.php @@ -21,8 +21,21 @@ class StatisticsController extends BaseController public $enableCsrfValidation = false; public $layout = 'blue-main'; - public function actionWork() + public function actionWork() { + $group_items = GroupT::getTree((int)$this->my->group_id); + if($this->my->id == 1 || $this->my->username=='6002') + $group_items = GroupT::getTree(); + $company_items = InsurerCompanyT::find() + ->all(); + return $this->render('work',[ + 'group_items' => $group_items, + 'company_items' => $company_items + ]); + } + + public function actionWorkJson() { + Yii::$app->response->format = Response::FORMAT_JSON; $request = Yii::$app->request; $date_begin = $request->get('date_begin',date('Y-m-d')); $date_end = $request->get('date_end',date('Y-m-d')); @@ -31,9 +44,7 @@ class StatisticsController extends BaseController $username = $request->get('username'); $group_id = $request->get('group_id'); $company_id = $request->get('company_id'); - $group_items = GroupT::getTree((int)$this->my->group_id); - if($this->my->id == 1 || $this->my->username=='6002') - $group_items = GroupT::getTree(); + $group_ids[] = $group_id; if($group_id > 0) { $items = GroupT::getTree($group_id); @@ -42,12 +53,6 @@ class StatisticsController extends BaseController } } -// 原来的搜索条件 -// $userSql = ''; -// if($username != '') { -// $userSql = ' username like "'.$username.'"'; -// } - // 现在的搜索条件 $userSql = ''; if($username != '') { @@ -58,8 +63,6 @@ class StatisticsController extends BaseController $user_items = $this->my->getChildren($userSql); if($this->my->username == '6002') $user_items = $this->my->getChildren($userSql,1); -// $user_items[] = $this->my; -//var_dump($user_items); $user_rows = array(); $sum_total = array(); $sum_total[0] = ''; @@ -95,22 +98,21 @@ class StatisticsController extends BaseController ->where('user_id='.$user_info->id.' and status_id>1') ->andWhere('insurance_status=1 or insurance_status=3'); if($date_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); + $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); } if($date_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date_end.'"'); + $tmp_query->andWhere('submit_date<="'.$date_end.'"'); } if($date2_begin != '') { - $tmp_query = $tmp_query->andWhere('print_date>="'.$date2_begin.'"'); + $tmp_query->andWhere('print_date>="'.$date2_begin.'"'); } if($date2_end != '') { - $tmp_query = $tmp_query->andWhere('print_date<="'.$date2_end.'"'); + $tmp_query->andWhere('print_date<="'.$date2_end.'"'); } if($company_id > 0) { - $tmp_query = $tmp_query->andWhere('company_id='.$company_id); + $tmp_query->andWhere('company_id='.$company_id); } -// exit; foreach($tmp_query->each() as $item) { $total[0]++; //提单总数 @@ -129,16 +131,16 @@ class StatisticsController extends BaseController $tmp_query = FixCarT::find() ->where('user_id='.$user_info->id.' and status>0'); if($date_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); + $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); } if($date_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date_end.'"'); + $tmp_query->andWhere('submit_date<="'.$date_end.'"'); } if($date2_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date2_begin.'"'); + $tmp_query->andWhere('submit_date>="'.$date2_begin.'"'); } if($date2_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date2_end.'"'); + $tmp_query->andWhere('submit_date<="'.$date2_end.'"'); } $total[7] = $tmp_query->count(); @@ -146,7 +148,6 @@ class StatisticsController extends BaseController $phone_time = ''; $query = PhoneDayT::find() ->where('user_id='.$user_info->id.' and call_date>="'.$date_begin.'" and call_date<="'.$date_end.'"'); -// echo $query->createCommand()->rawSql; $items = $query->all(); $call_time = 0; foreach($items as $item) { @@ -163,7 +164,6 @@ class StatisticsController extends BaseController $row['total'] = $total; $user_rows[] = $row; -// $sum_total[0] += $total[0]; $sum_total[1] += $total[1]; $sum_total[2] += $total[2]; $sum_total[3] += $total[3]; @@ -173,23 +173,37 @@ class StatisticsController extends BaseController $sum_total[7] += $total[7]; } - $company_items = InsurerCompanyT::find() - ->all(); - - return $this->render('work',[ - 'user_rows' => $user_rows, - 'date_begin' => $date_begin, - 'date_end' => $date_end, - 'date2_begin' => $date2_begin, - 'date2_end' => $date2_end, - 'username' => $username, - 'sum_total' => $sum_total, - 'group_id' => $group_id, - 'group_items' => $group_items, - 'company_items' => $company_items, - 'company_id' => $company_id - ]); + $data = []; + $data['total'] = count($user_rows); + $data['rows'] = []; + foreach($user_rows as $item) { + $row = $item; + $row['total_0'] = $item['total'][0]!=''?$item['total'][0]:''; + $row['total_7'] = $item['total'][7]>0?$item['total'][7]:''; + $row['total_1'] = $item['total'][1]>0?$item['total'][1]:''; + $row['total_2'] = $item['total'][2]>0?'¥'.number_format($item['total'][2],2):''; + $row['total_3'] = $item['total'][3]>0?'¥'.number_format($item['total'][3],2):''; + $row['total_4'] = $item['total'][4]>0?'¥'.number_format($item['total'][4],2):''; + $row['total_5'] = $item['total'][5]>0?'¥'.number_format($item['total'][5],2):''; + $row['total_6'] = $item['total'][6]>0?'¥'.number_format($item['total'][6],2):''; + $row['op'] = 1; + $data['rows'][] = $row; + } + $row = []; + $row['username'] = '汇总'; + $row['total_7'] = $sum_total[7]>0?$sum_total[7]:''; + $row['total_1'] = $sum_total[1]>0?$sum_total[1]:''; + $row['total_2'] = $sum_total[2]>0?'¥'.number_format($sum_total[2],2):''; + $row['total_3'] = $sum_total[3]>0?'¥'.number_format($sum_total[3],2):''; + $row['total_4'] = $sum_total[4]>0?'¥'.number_format($sum_total[4],2):''; + $row['total_5'] = $sum_total[5]>0?'¥'.number_format($sum_total[5],2):''; + $row['total_6'] = $sum_total[6]>0?'¥'.number_format($sum_total[6],2):''; + $row['op'] = 0; + $data['rows'][] = $row; + + return $data; } + public function actionCleanWork() { $request = Yii::$app->request; @@ -210,7 +224,6 @@ class StatisticsController extends BaseController } } -// 现在的搜索条件 $userSql = ''; if($username != '') { $userSql = ' username like "'.$username.'" and '; @@ -221,7 +234,7 @@ class StatisticsController extends BaseController if($this->my->username == '6002') $user_items = $this->my->getChildrenClean($userSql,1); $user_items[] = $this->my; -//var_dump($user_items); + $user_rows = array(); $sum_total = array(); $sum_total[0] = 0; @@ -255,21 +268,6 @@ class StatisticsController extends BaseController $tmp_query = $tmp_query->andWhere('company_id='.$company_id); } -// exit; -// foreach($tmp_query->each() as $item) { -// $total[0]++; -// //提单总数 -// if ($item->status_id > 0) { -// $total[1]++; -// $total[2] += $item->total1_clear;//提单总净保费 -// $total[3] += $item->total2_clear;//交强总净保费 -// if($item->status_id > 5) { -// $total[4] += $item->total1_clear;//商业已收净保费 -// $total[5] += $item->total2_clear;//商业已收净保费 -// } -// $total[6] += $item->total1_clear + $item->total2_clear;//总签单净保费 -// } -// } $total['right_num']=$tmp_query->sum('right_num'); $total['wrong_num']=$tmp_query->sum('wrong_num'); $total['yuyue_num']=$tmp_query->sum('yuyue_num'); @@ -285,11 +283,6 @@ class StatisticsController extends BaseController $sum_total[1] += $total['wrong_num']; $sum_total[2] += $total['yuyue_num']; -// $sum_total[3] += $total[3]; -// $sum_total[4] += $total[4]; -// $sum_total[5] += $total[5]; -// $sum_total[6] += $total[6]; - } $company_items = InsurerCompanyT::find() @@ -321,7 +314,7 @@ class StatisticsController extends BaseController if($date_end != '') { $query = $query->andWhere('fenpei_date<="'.$date_end.'"'); } - $CleanFenpei=$query ->count(); + $CleanFenpei=$query ->count(); return $this->render('clean-work-zj',[ 'CleanFenpei' => $CleanFenpei, @@ -510,198 +503,17 @@ class StatisticsController extends BaseController 'company_id' => $company_id ]); } - - public function actionWorkOutput() - { - $objectPHPExcel = new \PHPExcel(); - $index = 1; - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('A'.$index,'工号'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('B'.$index,'真实姓名'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('C'.$index,'通时'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('D'.$index,'提车总数'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('E'.$index,'提单总数'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('F'.$index,'商业总净保费'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('G'.$index,'交强总净保费'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('H'.$index,'商业已收净保费'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('I'.$index,'交强已收净保费'); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('J'.$index,'总签单净保费'); - + public function actionWorkInfo() { $request = Yii::$app->request; - $date_begin = $request->get('date_begin',date('Y-m-d')); - $date_end = $request->get('date_end',date('Y-m-d')); - $date2_begin = $request->get('date2_begin'); - $date2_end = $request->get('date2_end'); - $username = $request->get('username'); - $group_id = $request->get('group_id'); - $company_id = $request->get('company_id'); - $group_items = GroupT::getTree((int)$this->my->group_id); - if($this->my->id == 1 || $this->my->username=='6002') - $group_items = GroupT::getTree(); - $group_ids[] = $group_id; - if($group_id > 0) { - $items = GroupT::getTree($group_id); - foreach($items as $group_info) { - $group_ids[] = $group_info->id; - } - } - -// 原来的搜索条件 -// $userSql = ''; -// if($username != '') { -// $userSql = ' username like "'.$username.'"'; -// } - -// 现在的搜索条件 - $userSql = ''; - if($username != '') { - $userSql = ' username like "'.$username.'" and '; - } - //$userSql .= 'is_locked=0 and is_login=1'; - - $user_items = $this->my->getChildren($userSql); - if($this->my->username == '6002') - $user_items = $this->my->getChildren($userSql,1); - $user_items[] = $this->my; -//var_dump($user_items); - $user_rows = array(); - $sum_total = array(); - $sum_total[0] = ''; - $sum_total[1] = 0; - $sum_total[2] = 0; - $sum_total[3] = 0; - $sum_total[4] = 0; - $sum_total[5] = 0; - $sum_total[6] = 0; - $sum_total[7] = 0; - foreach($user_items as $user_info) { - if($user_info->is_leave == 1) continue; - - if($group_id > 0) { - if(!in_array($user_info->group_id,$group_ids)) { - continue; - } - } - $total[0] = 0; - $total[1] = 0; - $total[2] = 0; - $total[3] = 0; - $total[4] = 0; - $total[5] = 0; - $total[6] = 0; - $total[7] = 0; - - $row = array(); - $row['id'] = $user_info->id; - $row['username'] = trim($user_info->username); - $row['truename'] = $user_info->name; - $tmp_query = OrderT::find() - ->where('user_id='.$user_info->id.' and status_id>1'); - if($date_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); - } - if($date_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date_end.'"'); - } - if($date2_begin != '') { - $tmp_query = $tmp_query->andWhere('print_date>="'.$date2_begin.'"'); - } - if($date2_end != '') { - $tmp_query = $tmp_query->andWhere('print_date<="'.$date2_end.'"'); - } - if($company_id > 0) { - $tmp_query = $tmp_query->andWhere('company_id='.$company_id); - } - $index++; -// exit; - foreach($tmp_query->each() as $item) { - - $total[0]++; - //提单总数 - if ($item->status_id > 0) { - $total[1]++; - $total[2] += $item->total1_clear;//提单总净保费 - $total[3] += $item->total2_clear;//交强总净保费 - if($item->status_id > 5) { - $total[4] += $item->total1_clear;//商业已收净保费 - $total[5] += $item->total2_clear;//商业已收净保费 - } - $total[6] += $item->total1_clear + $item->total2_clear;//总签单净保费 - } - - } - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('A'.$index,$row['username']); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('B'.$index,$row['truename']); - - - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('E'.$index,$total[1]>0?$total[1]:''); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('F'.$index,$total[2]>0?'¥'.number_format($total[2],2):''); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('G'.$index,$total[3]>0?'¥'.number_format($total[3],2):''); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('H'.$index,$total[4]>0?'¥'.number_format($total[4],2):''); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('I'.$index,$total[5]>0?'¥'.number_format($total[5],2):''); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('J'.$index,$total[6]>0?'¥'.number_format($total[6],2):''); - //提单总数 - $tmp_query = FixCarT::find() - ->where('user_id='.$user_info->id.' and status>0'); - if($date_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); - } - if($date_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date_end.'"'); - } - if($date2_begin != '') { - $tmp_query = $tmp_query->andWhere('submit_date>="'.$date2_begin.'"'); - } - if($date2_end != '') { - $tmp_query = $tmp_query->andWhere('submit_date<="'.$date2_end.'"'); - } - $total[7] = $tmp_query->count(); - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('D'.$index,$total[7]>0?$total[7]:''); - - //通时 - $phone_time = ''; - $query = PhoneDayT::find() - ->where('user_id='.$user_info->id.' and call_date>="'.$date_begin.'" and call_date<="'.$date_end.'"'); -// echo $query->createCommand()->rawSql; - $items = $query->all(); - $call_time = 0; - foreach($items as $item) { - $call_time += $item->call_time; - } - if($call_time > 0) { - $h = floor($call_time/3600); - $m = floor(($call_time - $h * 3600)/60); - $s = $call_time - $h * 3600 - $m * 60; - $phone_time = $h.':'.$m.':'.$s; - } - - $total[0] = $phone_time; - $objectPHPExcel->setActiveSheetIndex(0)->setCellValue('C'.$index,$total[0]!=''?$total[0]:''); - $row['total'] = $total; - $user_rows[] = $row; - - - -// $sum_total[0] += $total[0]; -// $sum_total[1] += $total[1]; -// $sum_total[2] += $total[2]; -// $sum_total[3] += $total[3]; -// $sum_total[4] += $total[4]; -// $sum_total[5] += $total[5]; -// $sum_total[6] += $total[6]; -// $sum_total[7] += $total[7]; - } - - header('Content-Type: application/vnd.ms-excel;charset=utf-8'); - header('Content-Disposition:attachment;filename="'.date("YmjHis").'.xls"'); - header('Cache-Control: max-age=0'); - $objWriter = \PHPExcel_IOFactory::createWriter($objectPHPExcel, 'Excel5'); - $objWriter->save('php://output'); - + $user_id = $request->get('user_id'); + return $this->render('work-info',[ + 'user_id' => $user_id + ]); } - - public function actionWorkInfo() + public function actionWorkInfoJson() { + Yii::$app->response->format = Response::FORMAT_JSON; $request = Yii::$app->request; $user_id = $request->get('user_id'); $date_begin = $request->get('date_begin'); @@ -726,8 +538,7 @@ class StatisticsController extends BaseController //提交单数 $tmp_query = OrderT::find() - ->where('user_id='.$user_info->id.' and status_id>1') - ->andWhere('insurance_status=1 or insurance_status=3'); + ->where('user_id='.$user_info->id.' and status_id>1'); if($date_begin != '') { $tmp_query = $tmp_query->andWhere('submit_date>="'.$date_begin.'"'); } @@ -763,17 +574,29 @@ class StatisticsController extends BaseController $phone_time = ''; $total[0] = $phone_time; - return $this->render('work-info',[ - 'user_info' => $user_info, - 'items' => $items, - 'date_begin' => $date_begin, - 'date_end' => $date_end, - 'date2_begin' => $date2_begin, - 'date2_end' => $date2_end, - 'username' => $username, - 'total' => $total - ]); + $data = []; + $data['total'] = count($items); + $data['rows'] = []; + foreach($items as $item) { + $row = $item->toArray(); + $row['total1_clear'] = '¥'.$item->total1_clear; + $row['total1_real'] = '¥'.$item->total1_real; + $row['total1_dis'] = '¥'.$item->total1_dis; + $row['total1_percent'] = '¥'.$item->total1_percent; + $row['status_name'] = '¥'.$item->status->name; + $row['op'] = 1; + $data['rows'][] = $row; + } + $row = []; + $row['id'] = '汇总'; + $row['total1_clear'] = $total[2]?'¥'.number_format($total[2],2):''; + $row['total1_real'] = $total[8]?'¥'.number_format($total[8],2):''; + $row['total1_dis'] = $total[9]?'¥'.number_format($total[9],2):''; + $row['op'] = 0; + $data['rows'][] = $row; + return $data; } + public function actionFixWorkInfo() { $request = Yii::$app->request; @@ -1054,4 +877,4 @@ class StatisticsController extends BaseController 'total' => $total ]); } -} +} \ No newline at end of file diff --git a/frontend/views/appointment/all.php b/frontend/views/appointment/all.php index d9d6680..7a36285 100644 --- a/frontend/views/appointment/all.php +++ b/frontend/views/appointment/all.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/appointment/all-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/appointment/first.php b/frontend/views/appointment/first.php index 690f7d3..667de19 100644 --- a/frontend/views/appointment/first.php +++ b/frontend/views/appointment/first.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/appointment/first-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/appointment/today.php b/frontend/views/appointment/today.php index 3010691..1ec84ad 100644 --- a/frontend/views/appointment/today.php +++ b/frontend/views/appointment/today.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/appointment/today-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/bank/edit.php b/frontend/views/bank/edit.php index b0f792e..7aa80eb 100644 --- a/frontend/views/bank/edit.php +++ b/frontend/views/bank/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/bank/index.php b/frontend/views/bank/index.php index 3c597d8..b309d25 100644 --- a/frontend/views/bank/index.php +++ b/frontend/views/bank/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car-type/edit.php b/frontend/views/car-type/edit.php index 4c8e17d..1fc949f 100644 --- a/frontend/views/car-type/edit.php +++ b/frontend/views/car-type/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/car-type/index.php b/frontend/views/car-type/index.php index e16fa3d..ff5542b 100644 --- a/frontend/views/car-type/index.php +++ b/frontend/views/car-type/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car-use/index.php b/frontend/views/car-use/index.php index b8ba042..4a27028 100644 --- a/frontend/views/car-use/index.php +++ b/frontend/views/car-use/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car/edit.php b/frontend/views/car/edit.php index 56e0cf8..7ff1057 100644 --- a/frontend/views/car/edit.php +++ b/frontend/views/car/edit.php @@ -9,7 +9,7 @@ use \common\libs\MyLib;
-
+
@@ -89,7 +89,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car/info-track-edit.php b/frontend/views/car/info-track-edit.php index 176c6f1..221ff35 100644 --- a/frontend/views/car/info-track-edit.php +++ b/frontend/views/car/info-track-edit.php @@ -34,92 +34,92 @@ use \common\libs\MyLib;
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -241,15 +241,15 @@ use \common\libs\MyLib;
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+

-
+
-
+
@@ -335,7 +335,7 @@ use \common\libs\MyLib;
-
+
@@ -367,7 +367,7 @@ use \common\libs\MyLib;
-
+
@@ -381,7 +381,7 @@ use \common\libs\MyLib;

-
+
@@ -412,7 +412,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car/info-track-info.php b/frontend/views/car/info-track-info.php index 2d1c56f..f80f1f4 100644 --- a/frontend/views/car/info-track-info.php +++ b/frontend/views/car/info-track-info.php @@ -30,83 +30,83 @@ use \common\libs\MyLib;
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -227,15 +227,15 @@ use \common\libs\MyLib;
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+

-
+
-
+
@@ -321,7 +321,7 @@ use \common\libs\MyLib;
-
+
@@ -353,7 +353,7 @@ use \common\libs\MyLib;
-
+
@@ -367,7 +367,7 @@ use \common\libs\MyLib;

-
+
@@ -398,7 +398,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car/info.php b/frontend/views/car/info.php index 8a91200..9fa363d 100644 --- a/frontend/views/car/info.php +++ b/frontend/views/car/info.php @@ -181,7 +181,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/car/order-add.php b/frontend/views/car/order-add.php index 9da71fe..922a763 100644 --- a/frontend/views/car/order-add.php +++ b/frontend/views/car/order-add.php @@ -319,7 +319,7 @@ use common\models\PriceT;
-
+
diff --git a/frontend/views/car/search.php b/frontend/views/car/search.php index f361bc0..1c90477 100644 --- a/frontend/views/car/search.php +++ b/frontend/views/car/search.php @@ -46,10 +46,10 @@
- +
-
+
diff --git a/frontend/views/city/edit.php b/frontend/views/city/edit.php index f882177..c3074ef 100644 --- a/frontend/views/city/edit.php +++ b/frontend/views/city/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/city/index.php b/frontend/views/city/index.php index 1e0d703..9aeeaf1 100644 --- a/frontend/views/city/index.php +++ b/frontend/views/city/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/common/call-phone.php b/frontend/views/common/call-phone.php index 9c9f092..f5b9827 100644 --- a/frontend/views/common/call-phone.php +++ b/frontend/views/common/call-phone.php @@ -16,18 +16,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/common/left.php b/frontend/views/common/left.php deleted file mode 100644 index 6cf1574..0000000 --- a/frontend/views/common/left.php +++ /dev/null @@ -1,75 +0,0 @@ - - - - - 车务管理系统 - - - - -
- - - - - - - - - - - -
- - - - - - - - - -
- - - - - -
); height=25>
-
- - - - - - - - - - -
-
- - - diff --git a/frontend/views/common/top.php b/frontend/views/common/top.php deleted file mode 100644 index a62b97b..0000000 --- a/frontend/views/common/top.php +++ /dev/null @@ -1,100 +0,0 @@ - - - - - 车务管理系统 - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - 当前用户:context->my->getShowName()?>   -
-
- -
-
- - - - - - - -
修改密码退出登录
-
- - - - - diff --git a/frontend/views/common/update-pwd.php b/frontend/views/common/update-pwd.php index 6169175..4caef23 100644 --- a/frontend/views/common/update-pwd.php +++ b/frontend/views/common/update-pwd.php @@ -11,42 +11,42 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
-
+
diff --git a/frontend/views/database/a-index.php b/frontend/views/database/a-index.php index 48055ed..b3b24e1 100644 --- a/frontend/views/database/a-index.php +++ b/frontend/views/database/a-index.php @@ -48,7 +48,7 @@ use \common\libs\MyLib;
- + -
@@ -56,7 +56,7 @@ use \common\libs\MyLib;
- + -
@@ -118,7 +118,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/database/ad-clean-index.php b/frontend/views/database/ad-clean-index.php deleted file mode 100644 index dcffe3a..0000000 --- a/frontend/views/database/ad-clean-index.php +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -
- - - - - - - - - - - - - - - - - -
- 车牌: - 车主: - 联系电话: - 初登日期:从截止 - 保险公司: -
- 保险日期:从截止 - - 预约状态: - - 分配状态: - - 导入状态: - - - -
- - -id.'"'; -// if($item->id == $user_id) -// echo ' selected '; -// echo '>'.$item->getShowName().''; -// } -// ?> - - - - - - - - - -
总任务数:  
- -
- - - - - - - - - - - - - - - - $item) { - $car_info = $item->car; - ?> - - - - - - - - - - - - - - - - - - -
车牌车型车主联系电话初登日期保险日期保险公司发动机号车架号操作员
car_no?>factory_model,10)?>car_man,10)?>phone?>register_date?>insurer1_date?>company?>engine_no?>car_frame_no?>user?$item->user->getShowName():''?>
-
\ No newline at end of file diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index ff1379a..f522b2f 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -33,7 +33,7 @@ use \common\libs\MyLib;
- + -
@@ -41,7 +41,7 @@ use \common\libs\MyLib;
- + -
@@ -96,7 +96,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/database/c-index.php b/frontend/views/database/c-index.php index 68efcb6..9852241 100644 --- a/frontend/views/database/c-index.php +++ b/frontend/views/database/c-index.php @@ -33,7 +33,7 @@ use \common\libs\MyLib;
- + -
@@ -41,7 +41,7 @@ use \common\libs\MyLib;
- + -
@@ -96,7 +96,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/database/d-index.php b/frontend/views/database/d-index.php index d0b973e..4477994 100644 --- a/frontend/views/database/d-index.php +++ b/frontend/views/database/d-index.php @@ -33,7 +33,7 @@ use \common\libs\MyLib;
- + -
@@ -86,7 +86,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/database/invalid-index-search.php b/frontend/views/database/invalid-index-search.php deleted file mode 100644 index 3dee376..0000000 --- a/frontend/views/database/invalid-index-search.php +++ /dev/null @@ -1,94 +0,0 @@ - -beginBlock('header_css'); ?> -endBlock(); ?> - -
-
-
-
-
- -
- -
- -
- -
- -
- -
-
-
- -
-
- - - -
-
- -
-
- - - -
-
- -
- -
-
-
- -
- -
- -
- -
-
-
-
- -
-
- -
-
-
- -beginBlock('footer_js'); ?> - -endBlock('footer_js'); ?> diff --git a/frontend/views/database/invalid-index.php b/frontend/views/database/invalid-index.php index ada6902..53d81de 100644 --- a/frontend/views/database/invalid-index.php +++ b/frontend/views/database/invalid-index.php @@ -33,7 +33,7 @@ use \common\libs\MyLib;
- + -
@@ -41,7 +41,7 @@ use \common\libs\MyLib;
- + -
@@ -60,7 +60,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/district/edit.php b/frontend/views/district/edit.php index e2cc119..465ab21 100644 --- a/frontend/views/district/edit.php +++ b/frontend/views/district/edit.php @@ -9,16 +9,16 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
-
+
diff --git a/frontend/views/district/index.php b/frontend/views/district/index.php index 0f16515..24094e0 100644 --- a/frontend/views/district/index.php +++ b/frontend/views/district/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/budian-list.php b/frontend/views/finance/budian-list.php index 545eb59..69d2df4 100644 --- a/frontend/views/finance/budian-list.php +++ b/frontend/views/finance/budian-list.php @@ -77,7 +77,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/car-update-frame.php b/frontend/views/finance/car-update-frame.php index f0ae390..725d011 100644 --- a/frontend/views/finance/car-update-frame.php +++ b/frontend/views/finance/car-update-frame.php @@ -12,7 +12,7 @@ use \common\libs\MyLib;
-
+
@@ -27,7 +27,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/chuna-gongzi-info.php b/frontend/views/finance/chuna-gongzi-info.php index 19365da..db32d6a 100644 --- a/frontend/views/finance/chuna-gongzi-info.php +++ b/frontend/views/finance/chuna-gongzi-info.php @@ -18,7 +18,7 @@ use \common\libs\MyLib;
-
+
@@ -46,7 +46,7 @@ use \common\libs\MyLib; status_id < 4 || $pay_info->status_id == 8) { ?>
-
+
@@ -64,7 +64,7 @@ use \common\libs\MyLib;
-
+
count() > 0) { ?>
diff --git a/frontend/views/finance/chuna-gongzi-list.php b/frontend/views/finance/chuna-gongzi-list.php index 4ad3eac..4399346 100644 --- a/frontend/views/finance/chuna-gongzi-list.php +++ b/frontend/views/finance/chuna-gongzi-list.php @@ -65,7 +65,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/gongzi-all-info.php b/frontend/views/finance/gongzi-all-info.php index 78e7d3e..c4613fe 100644 --- a/frontend/views/finance/gongzi-all-info.php +++ b/frontend/views/finance/gongzi-all-info.php @@ -15,7 +15,7 @@ use \common\libs\MyLib;
-
+
@@ -56,7 +56,7 @@ use \common\libs\MyLib;
-
+
@@ -84,7 +84,7 @@ use \common\libs\MyLib; status_id < 5 || $pay_info->status_id == 8) { ?>
-
+
@@ -215,7 +215,7 @@ use \common\libs\MyLib;
-
+
count() > 0) { ?>
diff --git a/frontend/views/finance/gongzi-all-list.php b/frontend/views/finance/gongzi-all-list.php index c7429c1..e8e5959 100644 --- a/frontend/views/finance/gongzi-all-list.php +++ b/frontend/views/finance/gongzi-all-list.php @@ -65,7 +65,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/pay2-info.php b/frontend/views/finance/pay2-info.php index 2119530..e45c078 100644 --- a/frontend/views/finance/pay2-info.php +++ b/frontend/views/finance/pay2-info.php @@ -15,7 +15,7 @@ use \common\libs\MyLib;
-
+
@@ -56,7 +56,7 @@ use \common\libs\MyLib;
-
+
@@ -84,14 +84,14 @@ use \common\libs\MyLib; status_id < 4 || $pay_info->status_id == 8 || $pay_info->status_id == 10) { ?>
-
+
-
+
@@ -222,7 +222,7 @@ use \common\libs\MyLib;
-
+
count() > 0) { ?>
diff --git a/frontend/views/finance/pay2-list.php b/frontend/views/finance/pay2-list.php index 3f5a1d8..2e9f849 100644 --- a/frontend/views/finance/pay2-list.php +++ b/frontend/views/finance/pay2-list.php @@ -65,7 +65,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/receipt-lirun.php b/frontend/views/finance/receipt-lirun.php index 8ce0da1..450122c 100644 --- a/frontend/views/finance/receipt-lirun.php +++ b/frontend/views/finance/receipt-lirun.php @@ -41,7 +41,7 @@ use \common\libs\MyLib;
- + -
@@ -49,7 +49,7 @@ use \common\libs\MyLib;
- + -
@@ -70,7 +70,7 @@ use \common\libs\MyLib;
- 搜索
-
+
diff --git a/frontend/views/finance/receipt.php b/frontend/views/finance/receipt.php index 5e5e604..09543d8 100644 --- a/frontend/views/finance/receipt.php +++ b/frontend/views/finance/receipt.php @@ -71,7 +71,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/receipt2.php b/frontend/views/finance/receipt2.php index b627a58..5637e61 100644 --- a/frontend/views/finance/receipt2.php +++ b/frontend/views/finance/receipt2.php @@ -70,7 +70,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/finance/ticheng-jisuan.php b/frontend/views/finance/ticheng-jisuan.php index fb6762d..c21f1f7 100644 --- a/frontend/views/finance/ticheng-jisuan.php +++ b/frontend/views/finance/ticheng-jisuan.php @@ -58,7 +58,7 @@ use \common\libs\MyLib;
- + -
@@ -130,7 +130,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/add-item.php b/frontend/views/fix-car/add-item.php index f4f617b..2b2db66 100644 --- a/frontend/views/fix-car/add-item.php +++ b/frontend/views/fix-car/add-item.php @@ -11,7 +11,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/ajax-item-list.php b/frontend/views/fix-car/ajax-item-list.php index ecad3ee..491102e 100644 --- a/frontend/views/fix-car/ajax-item-list.php +++ b/frontend/views/fix-car/ajax-item-list.php @@ -11,7 +11,7 @@ use \common\libs\MyLib;
-
+
@@ -38,7 +38,7 @@ use \common\libs\MyLib;
-
+
@@ -65,7 +65,7 @@ use \common\libs\MyLib;
-
+
@@ -92,7 +92,7 @@ use \common\libs\MyLib;
-
+
@@ -119,7 +119,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/my-list-edit.php b/frontend/views/fix-car/my-list-edit.php index a1e9859..1206bb9 100644 --- a/frontend/views/fix-car/my-list-edit.php +++ b/frontend/views/fix-car/my-list-edit.php @@ -29,23 +29,23 @@ use \common\libs\MyLib;
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -336,7 +336,7 @@ use \common\libs\MyLib;
- +
@@ -384,7 +384,7 @@ use \common\libs\MyLib;
-
+
@@ -440,10 +440,10 @@ use \common\libs\MyLib;
-
+
-
+
@@ -530,7 +530,7 @@ use \common\libs\MyLib; '
' + '
' + '
' + - '
' + + '
' + '
' + ' ' + ' ' + diff --git a/frontend/views/fix-car/my-list-finish.php b/frontend/views/fix-car/my-list-finish.php index ced3681..5970209 100644 --- a/frontend/views/fix-car/my-list-finish.php +++ b/frontend/views/fix-car/my-list-finish.php @@ -27,7 +27,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/my-list.php b/frontend/views/fix-car/my-list.php index 3eb2e64..94b71f2 100644 --- a/frontend/views/fix-car/my-list.php +++ b/frontend/views/fix-car/my-list.php @@ -27,7 +27,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/my-search-result.php b/frontend/views/fix-car/my-search-result.php index 001379e..2822447 100644 --- a/frontend/views/fix-car/my-search-result.php +++ b/frontend/views/fix-car/my-search-result.php @@ -17,7 +17,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/my-search.php b/frontend/views/fix-car/my-search.php index 76821b7..837c0cd 100644 --- a/frontend/views/fix-car/my-search.php +++ b/frontend/views/fix-car/my-search.php @@ -11,7 +11,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/step1-list-finish.php b/frontend/views/fix-car/step1-list-finish.php index 4e00d7e..692909d 100644 --- a/frontend/views/fix-car/step1-list-finish.php +++ b/frontend/views/fix-car/step1-list-finish.php @@ -24,7 +24,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/step1-list.php b/frontend/views/fix-car/step1-list.php index 9834013..68b5ac6 100644 --- a/frontend/views/fix-car/step1-list.php +++ b/frontend/views/fix-car/step1-list.php @@ -24,7 +24,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/step2-list.php b/frontend/views/fix-car/step2-list.php index 56f4d69..83d5257 100644 --- a/frontend/views/fix-car/step2-list.php +++ b/frontend/views/fix-car/step2-list.php @@ -24,7 +24,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/step3-list.php b/frontend/views/fix-car/step3-list.php index e7f8334..291a34e 100644 --- a/frontend/views/fix-car/step3-list.php +++ b/frontend/views/fix-car/step3-list.php @@ -24,7 +24,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/fix-car/step4-list.php b/frontend/views/fix-car/step4-list.php index edf97d2..048009b 100644 --- a/frontend/views/fix-car/step4-list.php +++ b/frontend/views/fix-car/step4-list.php @@ -24,7 +24,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/gift/gift-out.php b/frontend/views/gift/gift-out.php deleted file mode 100644 index 2a08279..0000000 --- a/frontend/views/gift/gift-out.php +++ /dev/null @@ -1,170 +0,0 @@ - -beginBlock('header_css'); ?> - -endBlock(); ?> - -
-
-
-
礼品出库
- -
-
-
-
- -
- -
- -
- -
- -
- -
- -
- -
-
-
- -
- -
- -
- -
- -
- -
- -
- -
-
-
- -
-
- - - -
-
- -
-
- - - -
-
-
- -
-
- -
-
-
- - - - - - - - - - - - - - -
ID礼品编号礼品车牌号车架号提单人出库时间状态操作员操作
-
-
-
-
-
- - -beginBlock('footer_js'); ?> - - - - -endBlock(); ?> diff --git a/frontend/views/gift/gift-tj.php b/frontend/views/gift/gift-tj.php index 609026a..c7a0f46 100644 --- a/frontend/views/gift/gift-tj.php +++ b/frontend/views/gift/gift-tj.php @@ -16,37 +16,32 @@ use \common\libs\MyLib;
-
-
- -
- -
-
-
- - - -
-
-
- + +
+ + +
+
+
+ + +
+
-
+
- @@ -64,21 +59,26 @@ use \common\libs\MyLib; + + + +endBlock('footer_js'); ?> \ No newline at end of file diff --git a/frontend/views/gift/gift-use.php b/frontend/views/gift/gift-use.php index 549889e..d532d78 100644 --- a/frontend/views/gift/gift-use.php +++ b/frontend/views/gift/gift-use.php @@ -81,7 +81,7 @@ use \common\libs\MyLib;
-
+
ID 名称库存 待出库 已出库
diff --git a/frontend/views/gift/index.php b/frontend/views/gift/index.php index f9ac198..4bd53c8 100644 --- a/frontend/views/gift/index.php +++ b/frontend/views/gift/index.php @@ -24,7 +24,7 @@ use \common\libs\MyLib; @@ -35,7 +35,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/gift/mng-list-info.php b/frontend/views/gift/mng-list-info.php deleted file mode 100644 index c54d5ed..0000000 --- a/frontend/views/gift/mng-list-info.php +++ /dev/null @@ -1,400 +0,0 @@ - - -
- - - - - - - - - -
- - - - - - - - - - -
 
-
- - - - -
- - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
车牌号car_no?>厂牌型号factory_model?>品牌brand?$car_info->brand->name:''?>车系series?$car_info->series->name:''?>
发动机号engine_no?>车架号car_frame_no?>初登日期register_date?>排量displacement?$car_info->displacement->name:''?>
车辆类型carType?$car_info->carType->name:''?>运营性质carUse?$car_info->carUse->name:''?>座位数seats?>年份car_year?>
车主car_man?>联系电话phone?>证件号码car_man_number?>
备注remark?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
被保险人id_man?>证件号码id_number?>联系人link_man?>联系电话link_phone?>
送单日期send_date?>保险公司company?$order_info->company->name:''?>付款方式payType?$order_info->payType->name:''?>电子邮件email?>
商业起保日期insurer1_begin_date?>交强起保日期insurer2_begin_date?>缴费单号pay_no?>
商业保单号insurer1_no?>交强保单号insurer2_no?>备注remark?>
送单地址 - direction1?$order_info->direction1->name:''?> - range1?$order_info->range1->name:''?> - city1?$order_info->city1->name:''?> - district1?$order_info->district1->name:''?> - send_address1?> -
正本送单地址 - direction2?$order_info->direction2->name:''?> - range2?$order_info->range2->name:''?> - city2?$order_info->city2->name:''?> - district2?$order_info->district2->name:''?> - send_address2?> -
- - - - - - -
- - - - - - - id; - if(!$order_id) - $order_id = 0; - $tmp_row = PriceT::find() - ->where('order_id='.$order_id.' and type_id='.$item->id) - ->one(); - if($tmp_row->val == '' || $tmp_row->val == '0' || $tmp_row->val == '否' || $tmp_row->val == '无') continue; - ?> - - - - - - -
险种内容不计免赔
name?>(code?>)val?>is_nopay == 1) { - echo '是'; - } - ?> -
-
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
商业总净保费total1_clear?>商业含税总保费total1?>
交强总净保费total2_clear?>交强含税总保费total2?>
车船税total3?>共计签单total_all?>
折扣后商业净保费total1_real?>减免金额total1_dis?>
商业折扣率total1_percent?>应收total_real?>
备注price_remark?>
- - - - - - - - - - - - - -
领款人money_man?>
银行账号money_no?>
开户行money_bank?>
-
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - - -
快递公司: - - 快递单号: - - 配送员电话: - -
描述: - -
- -
-
-
- - - - -
- - - - - - - - - - - - - - - - $item) { - if(!$item->gift) continue; - ?> - - - - - - - - - - - - -
选择礼品名称类型描述分类添加者操作时间状态
status == 0 || $item->status == 2) { - echo ''; - } else { - echo ''; - } - ?>gift->name?>gift->type->name?>gift->remark?>strategy_id>0?'公司礼品':'自费礼品'?>user?$item->user->getShowName():''?>submit_time)?> - status == 0) echo '未出库'; - if($item->status == 1) echo '已出库'; - if($item->status == 2) echo '正在退换'; - ?> -
-
- - - - -
-
-
-
-
- -
- - - - - \ No newline at end of file diff --git a/frontend/views/gift/mng-list.php b/frontend/views/gift/mng-list.php deleted file mode 100644 index a05603a..0000000 --- a/frontend/views/gift/mng-list.php +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - -
- 车主: - 电话: - 车牌: -
- - - - - - - - - - - - - - - - $item) { - $start_index = ($page - 1) * 20 + $index; - ?> - - - - - - - - - - - - - - - - - - -
序号车主提单日期送单日期车牌号品牌共计签单应收状态业务员当前操作操作
car_man,15)?>submit_date?>send_date?>car_no?>car?MyLib::substr_cut($item->car->factory_model,15):''?>total_all?>total_real?> status->name?>user?$item->user->getShowName():''?>lock?$item->lock->getShowName():''?> - [详情] -
diff --git a/frontend/views/gift/stastics.php b/frontend/views/gift/stastics.php deleted file mode 100644 index 5cc4686..0000000 --- a/frontend/views/gift/stastics.php +++ /dev/null @@ -1,65 +0,0 @@ - -beginBlock('header_css'); ?> - -endBlock(); ?> - -
-
-
-
礼品盘库
- -
-
-
-
- - - - - - - - - - -
ID名称总数量已出库已使用
-
-
-
-
-
- - -beginBlock('footer_js'); ?> - - - - -endBlock(); ?> diff --git a/frontend/views/gift/ticket-tj.php b/frontend/views/gift/ticket-tj.php index 74a380f..eb86054 100644 --- a/frontend/views/gift/ticket-tj.php +++ b/frontend/views/gift/ticket-tj.php @@ -16,39 +16,34 @@ use \common\libs\MyLib;
-
-
- -
- -
-
-
- - - -
-
-
- + +
+ + +
+
+
+ + +
+
-
+
- - - + +
ID 名称库存待出库已出库未使用已使用
@@ -64,21 +59,26 @@ use \common\libs\MyLib; + + + +endBlock('footer_js'); ?> \ No newline at end of file diff --git a/frontend/views/gift/ticket-use.php b/frontend/views/gift/ticket-use.php new file mode 100644 index 0000000..472c0d4 --- /dev/null +++ b/frontend/views/gift/ticket-use.php @@ -0,0 +1,169 @@ + +beginBlock('header_css'); ?> + +endBlock(); ?> + +
+
+
+
礼券使用
+ +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + + +
+
+
+ +
+ + + +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + +
ID礼券编号礼品车牌号车架号发放日期有效期日期提单人使用日期状态操作员操作
+
+
+
+
+
+ + +beginBlock('footer_js'); ?> + + + + +endBlock(); ?> \ No newline at end of file diff --git a/frontend/views/group/edit.php b/frontend/views/group/edit.php index 8536942..0562ffa 100644 --- a/frontend/views/group/edit.php +++ b/frontend/views/group/edit.php @@ -9,16 +9,16 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
- -
+ +
- -
+ +
-
+
diff --git a/frontend/views/group/index.php b/frontend/views/group/index.php index ed9013e..6a6ec95 100644 --- a/frontend/views/group/index.php +++ b/frontend/views/group/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/group/permission.php b/frontend/views/group/permission.php deleted file mode 100644 index 4b445d0..0000000 --- a/frontend/views/group/permission.php +++ /dev/null @@ -1,65 +0,0 @@ - -
- - - - - -
- - - getPath():''?> -
- - - - - - - - - - - - - - - - -
菜单名称路径
- - name ?>path ?>
- - - - diff --git a/frontend/views/insurer-company/edit.php b/frontend/views/insurer-company/edit.php index 29a6a45..0c07168 100644 --- a/frontend/views/insurer-company/edit.php +++ b/frontend/views/insurer-company/edit.php @@ -9,7 +9,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/insurer-company/index.php b/frontend/views/insurer-company/index.php index 3467acc..a8d4a63 100644 --- a/frontend/views/insurer-company/index.php +++ b/frontend/views/insurer-company/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/insurer-company2/edit.php b/frontend/views/insurer-company2/edit.php index efc3c81..9eda118 100644 --- a/frontend/views/insurer-company2/edit.php +++ b/frontend/views/insurer-company2/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/insurer-company2/index.php b/frontend/views/insurer-company2/index.php index 325724c..3d98665 100644 --- a/frontend/views/insurer-company2/index.php +++ b/frontend/views/insurer-company2/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/insurer-type/edit.php b/frontend/views/insurer-type/edit.php index 0de97b0..f8f28b4 100644 --- a/frontend/views/insurer-type/edit.php +++ b/frontend/views/insurer-type/edit.php @@ -9,28 +9,28 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
- -
+ +
- -
+ +
@@ -38,7 +38,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/insurer-type/index.php b/frontend/views/insurer-type/index.php index 00702ef..d9591bb 100644 --- a/frontend/views/insurer-type/index.php +++ b/frontend/views/insurer-type/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/insurer/finance-mng.php b/frontend/views/insurer/finance-mng.php index 851d9e8..6fbbf12 100644 --- a/frontend/views/insurer/finance-mng.php +++ b/frontend/views/insurer/finance-mng.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
- -
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -102,6 +108,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/insurer/finance-mng-json", diff --git a/frontend/views/insurer/info.php b/frontend/views/insurer/info.php index 4c157c6..9dd7975 100644 --- a/frontend/views/insurer/info.php +++ b/frontend/views/insurer/info.php @@ -1,591 +1,379 @@ beginBlock('header_css'); ?> - endBlock(); ?> -
-
-
-
保单信息
- -
-
-
-
-
- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-

-
-
- - - - - - - - -
ID险种内容不计免赔
-

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
+
+
+ + + + +
+
+
保单信息
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
车牌号car_no?>初登日期register_date?>座位数seats?>电子邮件email?>
车型factory_model?>发动机号engine_no?>车架号car_frame_no?>新车购置价purchase_price?>
车主car_man?>证件类型car_man_type?>证件号码car_man_number?>联系电话car_man_phone?>
被投保人id_man?>证件类型id_man_type?>证件号码id_man_number?>联系电话id_man_phone?>
投保人link_man?>证件类型link_man_type?>证件号码link_man_number?>联系电话link_man_phone?>
商业起保日期insurer1_begin_date?>交强起保日期insurer2_begin_date?>保险公司company->name?>车辆使用性质car->carUse->name?>
商业保单号insurer1_no?>商业PDF文件 + shangye_src != '') { ?> + 保单 + + fapiao_src != '') { ?> + 发票 + + 交强保单号insurer2_no?>交强PDF文件 + jiaoqiang_src != '') { ?> + 保单 + + jq_fapiao_src != '') { ?> + 发票 + +
-
-
-
- -
-
-
- - -
- - -
-
-
- - -
-
-
- -
- +
+
+
险种
+
+
+ + + id; + if(!$order_id) + $order_id = 0; + $tmp_row = PriceT::find() + ->where('order_id='.$order_id.' and type_id='.$item->id) + ->one(); + if(!$tmp_row || $tmp_row->val == '' || $tmp_row->val == '否') continue; + ?> + + + + '; + echo ''; + } + $index++; + } + ?> + +
+ name?>(code?>) + val?>is_nopay == 1)?'不计免赔':''?>
-
-
-
-
-
礼品信息
-
-
-
-
-

免费礼品

- - +
+
+
保费信息
+
+
+
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
ID组名礼品名商业总净保费total1_clear?>商业含税总保费total1?>车船税total3?>
交强总净保费total2_clear?>交强含税总保费total2?>业务自付金额yuangong_money?>
折扣后商业净保费total1_real?>减免金额total1_dis?>商业折扣率total1_percent?>
共计签单total_all?>应收total_real?>支付方式payType ? $order_info->payType->name : ''?>
备注price_remark?>
-
-

自费礼品

- + +
+
+
礼券信息
+ +
+
+
- - - + + + + + + + + + + +
ID组名礼品名ID礼券编号礼品车牌号车架号发放日期有效期日期提单人使用日期1状态操作员
-
-
-
-
-
财务信息
-
+
+
+
其他信息
+
+
+ + + + + + + + + + + + + + + + + +
领款人money_man?>开户行money_bank?>银行账号money_no?>
送单地址 + sendCity->name?> + sendDistrict->name?> + send_address?> +
备注remark?>
+
-
-
-
-
-
- - -
-
- - -
-
- - +
+
+
操作记录
+
-
-
-
-
-
-
操作记录
-
-
-
-
-
-
- +
+
- - + -
ID 操作者操作时间操作时间 操作内容
-
-
-
- + +
-
+ beginBlock('footer_js'); ?> - - -endBlock('footer_js'); ?> \ No newline at end of file +endBlock(); ?> \ No newline at end of file diff --git a/frontend/views/insurer/my-list-info.php b/frontend/views/insurer/my-list-info.php index 789a7ea..5a31651 100644 --- a/frontend/views/insurer/my-list-info.php +++ b/frontend/views/insurer/my-list-info.php @@ -207,7 +207,7 @@ use common\models\PriceT;
-
+
gift_status == 0) { ?>
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -79,6 +85,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/insurer/my-list-json", @@ -86,10 +97,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/insurer/my-return-list.php b/frontend/views/insurer/my-return-list.php index ee66506..cc784d1 100644 --- a/frontend/views/insurer/my-return-list.php +++ b/frontend/views/insurer/my-return-list.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -74,6 +80,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/insurer/my-return-list-json", diff --git a/frontend/views/insurer/office-mng-edit.php b/frontend/views/insurer/office-mng-edit.php index f808fb0..f84f644 100644 --- a/frontend/views/insurer/office-mng-edit.php +++ b/frontend/views/insurer/office-mng-edit.php @@ -250,7 +250,7 @@ use common\models\PriceT;
-
+
diff --git a/frontend/views/insurer/office-mng.php b/frontend/views/insurer/office-mng.php index aac1b49..8d76be6 100644 --- a/frontend/views/insurer/office-mng.php +++ b/frontend/views/insurer/office-mng.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -78,6 +84,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/insurer/office-mng-json", diff --git a/frontend/views/insurer/original-ems-edit.php b/frontend/views/insurer/original-ems-edit.php deleted file mode 100644 index 68547b2..0000000 --- a/frontend/views/insurer/original-ems-edit.php +++ /dev/null @@ -1,143 +0,0 @@ - -
- - - - - - - - - - - - send_address2):?> - - - - - - - -send_address2):?> - - - - - - - - - - - - - receiver_province):?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
送单表
收件人联系电话
正本送单地址 - city2?$order_info->city2->name:''; - $address2 .= $order_info->district2?$order_info->district2->name:''; - $address2 .= $order_info->send_address2; - ?> - -
收货人省份收货人城市
收货人区县收货人详细地址
收货人省份收货人城市
收货人区县收货人详细地址
收货人省份收货人城市
收货人区县收货人详细地址
保险公司
- -    - -
- - - - diff --git a/frontend/views/insurer/original-ems-edit1.php b/frontend/views/insurer/original-ems-edit1.php deleted file mode 100644 index 3c21c0d..0000000 --- a/frontend/views/insurer/original-ems-edit1.php +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
送单表
收件人联系电话
收货人省份收货人城市
收货人区县收货人详细地址
保险公司快递备注
快递单号
- - -    - -
- - - - diff --git a/frontend/views/insurer/original-mng-edit.php b/frontend/views/insurer/original-mng-edit.php index bfa9299..68c86cb 100644 --- a/frontend/views/insurer/original-mng-edit.php +++ b/frontend/views/insurer/original-mng-edit.php @@ -294,7 +294,7 @@ use common\models\PriceT;
-
+
diff --git a/frontend/views/insurer/original-mng.php b/frontend/views/insurer/original-mng.php index 4806ab4..016e468 100644 --- a/frontend/views/insurer/original-mng.php +++ b/frontend/views/insurer/original-mng.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -77,6 +83,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/insurer/original-mng-json", diff --git a/frontend/views/insurer/original-send-mng-edit.php b/frontend/views/insurer/original-send-mng-edit.php deleted file mode 100644 index 167ce8e..0000000 --- a/frontend/views/insurer/original-send-mng-edit.php +++ /dev/null @@ -1,566 +0,0 @@ - - -
- - - - - - -
- - - - -
- -
- - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
车牌号car_no?>厂牌型号factory_model?>品牌brand?$car_info->brand->name:''?>车系series?$car_info->series->name:''?>
发动机号engine_no?>车架号car_frame_no?>初登日期register_date?>排量displacement?$car_info->displacement->name:''?>
车辆类型carType?$car_info->carType->name:''?>运营性质carUse?$car_info->carUse->name:''?>座位数seats?>年份car_year?>
车主car_man?>联系电话phone?>证件号码car_man_number?>
备注remark?>业务员user?$order_info->user->getShowName():''?>联系电话user?$order_info->user->phone:''?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
被保险人id_man?>证件号码id_number?>联系人link_man?>联系电话link_phone?>
送单日期send_date?>保险公司company?$order_info->company->name:''?>付款方式payType?$order_info->payType->name:''?>电子邮件email?>
商业起保日期insurer1_begin_date?>交强起保日期insurer2_begin_date?>缴费单号pay_no?>
商业保单号insurer1_no?>交强保单号insurer2_no?>备注remark?>
送单地址 - direction1?$order_info->direction1->name:''?> - range1?$order_info->range1->name:''?> - city1?$order_info->city1->name:''?> - district1?$order_info->district1->name:''?> - send_address1?> -
正本送单地址 - send_address2):?> - direction2?$order_info->direction2->name:''?> - range2?$order_info->range2->name:''?> - city2?$order_info->city2->name:''?> - district2?$order_info->district2->name:''?> - send_address2?> - - receiver_province):?> - receiver_province?> - receiver_city?> - receiver_county?> - receiver_address?> - - addr->regionP->name?> - addr->regionC->name?> - addr->regionD->name?> - addr->regionT)):?> - addr->regionT?> - - addr->regionT->name?> - - addr->address?> - -
- - - - - - -
- - - - - - - id; - if(!$order_id) - $order_id = 0; - $tmp_row = PriceT::find() - ->where('order_id='.$order_id.' and type_id='.$item->id) - ->one(); - if($tmp_row->val == '' || $tmp_row->val == '0' || $tmp_row->val == '否' || $tmp_row->val == '无') continue; - ?> - - - - - - -
险种内容不计免赔
name?>(code?>)val?>is_nopay==1) { - echo '是'; - } - ?> -
-
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
商业总净保费total1_clear?>商业含税总保费total1?>
交强总净保费total2_clear?>交强含税总保费total2?>
车船税total3?>共计签单total_all?>
折扣后商业净保费total1_real?>减免金额total1_dis?>
商业折扣率total1_percent?>应收total_real?>
备注price_remark?>
-
-

礼券

- - where('group_id='.$item->id.' and car_no like "'.$order_info->car_no.'"') -// ->one(); - $index++; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - } - echo ''; - - ?> -
'.$index.' '.$item->name.''; - echo ''; - echo ''; - echo '
-

实物礼品

- - where('group_id='.$item->id.' and car_no="'.$order_info->car_no.'"') - ->one(); - $index++; - echo ''; - echo ''; - echo ''; - if($ticket_info) { - echo ''; - echo ''; - } else { - echo ''; - echo ''; - } - echo ''; - } - ?> -
'.$index.' '.$item->name.''; - echo $ticket_info->type->name; - echo ''; - echo sprintf("%07d",$ticket_info->code); - echo ''; - echo ''; - echo '未出库已出库'; - echo '
- -
- - - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - send_address2){ - $address2 = $order_info->city2?$order_info->city2->name:''; - $address2 .= $order_info->district2?$order_info->district2->name:''; - $address2 .= $order_info->send_address2; - ?> - - receiver_province){ - $address2 = $order_info->receiver_province; - $address2 .= $order_info->receiver_city; - $address2 .= $order_info->receiver_county; - $address2 .= $order_info->receiver_address; - ?> - - addr->regionP->name; - $address2.=$order_info->addr->regionC->name; - $address2.=$order_info->addr->regionD->name; - if(is_string($order_info->addr->regionT)){ - $address2.= $order_info->addr->regionT; - - }else{ - $address2.= $order_info->addr->regionT->name; - } - $address2.=$order_info->addr->address; - ?> - - - - - - - -
快递公司: - - 快递单号: - - 体检卡号: - - 收件人姓名: - -
收件人电话: - - 是否发送快递 - 发快递 |自上门或其它 - 收件人地址: - -
- -
-
- - - - - - -
- - - - -
- - - - - - - - -
保单文件打印: - shangye_src):?> - 查看商业保单并打印 - - - jiaoqiang_src):?> - 查看交强保单并打印 - -
- -
- - - - - - - -
- - - - -
-
-
-
-
- -    - -    - -    - -    - -    - -
- - - - - - - diff --git a/frontend/views/insurer/original-send-mng.php b/frontend/views/insurer/original-send-mng.php deleted file mode 100644 index 9eaaac8..0000000 --- a/frontend/views/insurer/original-send-mng.php +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - -
- 被保险人: - 电话: - 车牌: - - - - -
- - - - - - - - - - - - - - - - $item) { - $start_index = ($page - 1) * 20 + $index; - ?> - - - - - - - - - - - - - - - - - - -
序号被保险人联系电话车牌号保险公司送单时间送单地址送单备注销售座席状态当前操作操作
id_man,10)?>link_phone?>car_no?>company?$item->company->name:''?>send_date?>remark,30)?>user?$item->user->getShowName():''?> status->name?>lock?$item->lock->getShowName():''?> - [详情] -
diff --git a/frontend/views/insurer/search.php b/frontend/views/insurer/search.php index 8f49852..5f70b40 100644 --- a/frontend/views/insurer/search.php +++ b/frontend/views/insurer/search.php @@ -65,10 +65,10 @@ use \common\libs\MyLib;
- +
-
+
diff --git a/frontend/views/insurer/send-mng-edit.php b/frontend/views/insurer/send-mng-edit.php deleted file mode 100644 index b405416..0000000 --- a/frontend/views/insurer/send-mng-edit.php +++ /dev/null @@ -1,226 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
送单表
车牌出单日期送单日期
保险起期保险公司缴费单号
车型种类联系人电话
交强签单车船税商业签单
共计签单实收金额实际回款 
发票抬头缴费方式
送单备注
礼品 - - -
送单地址 - direction1?$order_info->direction1->name:''; - $address1 .= $order_info->range1?$order_info->range1->name:''; - $address1 .= $order_info->city1?$order_info->city1->name:''; - $address1 .= $order_info->district1?$order_info->district1->name:''; - $address1 .= $order_info->send_address1; - ?> - -
正本送单地址 - - - send_address2){ - $address2 = $order_info->city2?$order_info->city2->name:''; - $address2 .= $order_info->district2?$order_info->district2->name:''; - $address2 .= $order_info->send_address2; - ?> - - - receiver_province){ - $address2 = $order_info->receiver_province; - $address2 .= $order_info->receiver_city; - $address2 .= $order_info->receiver_county; - $address2 .= $order_info->receiver_address; - ?> - addr->regionP->name; - $address2.=$order_info->addr->regionC->name; - $address2.=$order_info->addr->regionD->name; - if(is_string($order_info->addr->regionT)){ - $address2.= $order_info->addr->regionT; - - }else{ - $address2.= $order_info->addr->regionT->name; - } - $address2.=$order_info->addr->regionT->name; - $address2.=$order_info->addr->address; - ?> - - - -
业务员电话送单员 - -
优惠金额被保险人签字
- -    - -    - -    - -
- - - - - diff --git a/frontend/views/insurer/send-mng.php b/frontend/views/insurer/send-mng.php deleted file mode 100644 index e579c14..0000000 --- a/frontend/views/insurer/send-mng.php +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - -
- 被保险人: - 电话: - 车牌: - 送单日期: -
- - - - - - - - - - - - - - - - - - - - $item) { - $start_index = ($page-1)*20+$index; - $op_user = $item->getUsers()->where('type_id=2')->one(); - ?> - - - - - - - - - - - - - - - - - - - - - - -
序号车牌号被保险人保险公司送单时间方位送单地址送单备注商业起保时间配送次数交强起保时间销售座席核保人员状态当前操作操作
car_no?>id_man,10)?>company?$item->company->name:''?>send_date?>direction1?$item->direction1->name:''?>city1?$item->city1->name:''; - $address .= $item->district1?$item->district1->name:''; - $address .= $item->send_address1; - echo MyLib::substr_cut($address,30); - ?> - remark,20)?>insurer1_begin_date?>send_times?>insurer2_begin_date?>user?$item->user->getShowName():''?> user ? $op_user->user->getShowName():''?>status->name?>lock?$item->lock->getShowName():''?> - [详情] -
diff --git a/frontend/views/invalid/edit.php b/frontend/views/invalid/edit.php index d8492ec..9febae6 100644 --- a/frontend/views/invalid/edit.php +++ b/frontend/views/invalid/edit.php @@ -9,16 +9,16 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
@@ -45,14 +45,14 @@ use \common\libs\MyLib;
- -
+ +
-
+
diff --git a/frontend/views/invalid/index.php b/frontend/views/invalid/index.php index 225ddbf..b82d5ca 100644 --- a/frontend/views/invalid/index.php +++ b/frontend/views/invalid/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/marketing-strategy/add.php b/frontend/views/marketing-strategy/add.php index ab73ea8..cf4816d 100644 --- a/frontend/views/marketing-strategy/add.php +++ b/frontend/views/marketing-strategy/add.php @@ -9,7 +9,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/marketing-strategy/edit.php b/frontend/views/marketing-strategy/edit.php index 3040161..0da66e6 100644 --- a/frontend/views/marketing-strategy/edit.php +++ b/frontend/views/marketing-strategy/edit.php @@ -23,7 +23,7 @@ use \common\libs\MyLib;
-
+
@@ -70,7 +70,7 @@ use \common\libs\MyLib;
-
+
@@ -106,7 +106,7 @@ use \common\libs\MyLib; html += '
'; html += '
'; html += '
'; - html += '
'; + html += '
'; html += '
条件:
'; html += '

保费:' + item.tiaojian.baofei + '元

'; if(item.tiaojian.car_type != '') diff --git a/frontend/views/marketing-strategy/index.php b/frontend/views/marketing-strategy/index.php index c3f44bb..8ff0db4 100644 --- a/frontend/views/marketing-strategy/index.php +++ b/frontend/views/marketing-strategy/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/marketing-strategy/select-fanxian.php b/frontend/views/marketing-strategy/select-fanxian.php index c8f0eec..cc1f241 100644 --- a/frontend/views/marketing-strategy/select-fanxian.php +++ b/frontend/views/marketing-strategy/select-fanxian.php @@ -9,7 +9,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/meet/edit.php b/frontend/views/meet/edit.php index d7da96e..6e87a4d 100644 --- a/frontend/views/meet/edit.php +++ b/frontend/views/meet/edit.php @@ -9,22 +9,22 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
- -
+ +
diff --git a/frontend/views/menu/edit.php b/frontend/views/menu/edit.php index ea66ee4..a91852e 100644 --- a/frontend/views/menu/edit.php +++ b/frontend/views/menu/edit.php @@ -9,16 +9,16 @@ use \common\libs\MyLib;
-
+
- -
+ +
- -
+ +
- -
+ +
- -
+ +
-
+
diff --git a/frontend/views/menu/index.php b/frontend/views/menu/index.php index da37273..e113e99 100644 --- a/frontend/views/menu/index.php +++ b/frontend/views/menu/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/menu/power-detail.php b/frontend/views/menu/power-detail.php deleted file mode 100644 index a85e592..0000000 --- a/frontend/views/menu/power-detail.php +++ /dev/null @@ -1,67 +0,0 @@ - - -
- - - -
- 权限组名称: - - - - -
- - - - - - - - - - - - - -
菜单名称路径
name ?>path ?>
- - - - - diff --git a/frontend/views/menu/power-list.php b/frontend/views/menu/power-list.php deleted file mode 100644 index d4d7e01..0000000 --- a/frontend/views/menu/power-list.php +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - -
- -
- - - - - - - - $v){ ?> - - - - - - - - - - - -
序号组名操作
name?>修改 | 删除
暂无权限组数据!
- - - - diff --git a/frontend/views/pay-type/edit.php b/frontend/views/pay-type/edit.php index 93a99c2..c4f8d66 100644 --- a/frontend/views/pay-type/edit.php +++ b/frontend/views/pay-type/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/pay-type/index.php b/frontend/views/pay-type/index.php index 2e326ab..5818b98 100644 --- a/frontend/views/pay-type/index.php +++ b/frontend/views/pay-type/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/payee/edit.php b/frontend/views/payee/edit.php index f6d9435..370f2f3 100644 --- a/frontend/views/payee/edit.php +++ b/frontend/views/payee/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/payee/index.php b/frontend/views/payee/index.php index c1b27ab..b9d6f02 100644 --- a/frontend/views/payee/index.php +++ b/frontend/views/payee/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/payment/edit.php b/frontend/views/payment/edit.php index a11eebf..78a957e 100644 --- a/frontend/views/payment/edit.php +++ b/frontend/views/payment/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/payment/index.php b/frontend/views/payment/index.php index ea1f729..f90c2d7 100644 --- a/frontend/views/payment/index.php +++ b/frontend/views/payment/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/permissions/edit.php b/frontend/views/permissions/edit.php index 77a778d..42077f3 100644 --- a/frontend/views/permissions/edit.php +++ b/frontend/views/permissions/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/permissions/index.php b/frontend/views/permissions/index.php index 6c58b1a..bd77cc6 100644 --- a/frontend/views/permissions/index.php +++ b/frontend/views/permissions/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/permissions/permission.php b/frontend/views/permissions/permission.php index 448ed78..b770c87 100644 --- a/frontend/views/permissions/permission.php +++ b/frontend/views/permissions/permission.php @@ -12,11 +12,11 @@ use \common\libs\MyLib; -
+
-
+
@@ -26,7 +26,7 @@ use \common\libs\MyLib;
menus as $sub_item) { ?>
-
+
@@ -40,7 +40,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/personnel/pay-info.php b/frontend/views/personnel/pay-info.php index b214edb..344d0fd 100644 --- a/frontend/views/personnel/pay-info.php +++ b/frontend/views/personnel/pay-info.php @@ -14,7 +14,7 @@ use \common\libs\MyLib;
-
+
@@ -88,7 +88,7 @@ use \common\libs\MyLib;
-
+
@@ -161,7 +161,7 @@ use \common\libs\MyLib;
-
+
@@ -250,7 +250,7 @@ use \common\libs\MyLib; status_id < 4 || $pay_info->status_id == 7) { ?>
-
+
diff --git a/frontend/views/personnel/pay-list.php b/frontend/views/personnel/pay-list.php index 3b2379f..1142cf8 100644 --- a/frontend/views/personnel/pay-list.php +++ b/frontend/views/personnel/pay-list.php @@ -65,7 +65,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/phone-center/assign-phone.php b/frontend/views/phone-center/assign-phone.php index 34d179f..8239786 100644 --- a/frontend/views/phone-center/assign-phone.php +++ b/frontend/views/phone-center/assign-phone.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/phone-center/call-records.php b/frontend/views/phone-center/call-records.php index 360a3ec..d2d1c1e 100644 --- a/frontend/views/phone-center/call-records.php +++ b/frontend/views/phone-center/call-records.php @@ -82,7 +82,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/phone-center/edit.php b/frontend/views/phone-center/edit.php index 93e3ceb..6cadf28 100644 --- a/frontend/views/phone-center/edit.php +++ b/frontend/views/phone-center/edit.php @@ -11,12 +11,12 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/phone-center/sub-edit.php b/frontend/views/phone-center/sub-edit.php index 186f2e5..2a0c215 100644 --- a/frontend/views/phone-center/sub-edit.php +++ b/frontend/views/phone-center/sub-edit.php @@ -11,18 +11,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/phone-center/sub-index.php b/frontend/views/phone-center/sub-index.php index adde1cb..8d5f51a 100644 --- a/frontend/views/phone-center/sub-index.php +++ b/frontend/views/phone-center/sub-index.php @@ -23,12 +23,13 @@ use \common\libs\MyLib;
-
+
+ diff --git a/frontend/views/phone-center/usercall-index.php b/frontend/views/phone-center/usercall-index.php index e8779fe..424a4a7 100644 --- a/frontend/views/phone-center/usercall-index.php +++ b/frontend/views/phone-center/usercall-index.php @@ -35,7 +35,7 @@ use \common\libs\MyLib;
-
+
ID 电话号码状态 操作
diff --git a/frontend/views/renewal/all.php b/frontend/views/renewal/all.php index 1b30af0..2daa517 100644 --- a/frontend/views/renewal/all.php +++ b/frontend/views/renewal/all.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/renewal/all-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/renewal/first.php b/frontend/views/renewal/first.php index f0953a5..5cc0718 100644 --- a/frontend/views/renewal/first.php +++ b/frontend/views/renewal/first.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/renewal/first-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/renewal/today.php b/frontend/views/renewal/today.php index a8f4e2f..22abaaa 100644 --- a/frontend/views/renewal/today.php +++ b/frontend/views/renewal/today.php @@ -16,21 +16,27 @@ use \common\libs\MyLib;
-
-
- + +
+ - +
+
+ - +
+
+ - +
+
+ -
+
-
+
@@ -80,6 +86,11 @@ use \common\libs\MyLib; } function search() { + o = {}; + var params = $("#searchFrm").serializeArray(); + $.each(params, function(index) { + o[this['name']] = this['value']; + }); $('#listTable').bootstrapTable('destroy'); $('#listTable').bootstrapTable({ url: "/renewal/today-json", @@ -87,10 +98,6 @@ use \common\libs\MyLib; sidePagination: 'server', multipleSelectRow: true, queryParams: function(params) { - o['car_man'] = $('#car_man').val(); - o['phone'] = $('#phone').val(); - o['car_no'] = $('#car_no').val(); - o['id_man'] = $('#id_man').val(); o['limit'] = params['limit']; o['offset'] = params['offset']; return o; diff --git a/frontend/views/renewal/today_bak.php b/frontend/views/renewal/today_bak.php deleted file mode 100644 index 8d23886..0000000 --- a/frontend/views/renewal/today_bak.php +++ /dev/null @@ -1,88 +0,0 @@ - - - - - -
- - - - - - - - - -
- 车主: - 电话: - 车牌: -
- 排序: - -
- - - - - - - - - - - - - - - $item) { - $start_index = ($page-1) * 20 + $index; - $car_info = $item->car; - ?> - - - - - - - - - - - - - - - - - -
序号预约日期预约时间车牌号车主初登日期商业起保日期交强起保日期预约备注业务员操作
pdate?>ptime?>car_no?>car_man?>register_date?>insurer1_date?>insurer2_date?>remark,40)?>user?$item->user->getShowName():''?> - [详情] -
diff --git a/frontend/views/renewal/today_new.php b/frontend/views/renewal/today_new.php deleted file mode 100644 index 3a94179..0000000 --- a/frontend/views/renewal/today_new.php +++ /dev/null @@ -1,143 +0,0 @@ - - - - - 拼图前端框架跨屏响应式模板 - - - - - - - - - -
-
-
-
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- size="20" /> -
-
-
- -
-
-
-
-
- -
-
- -
-
-
-
- -
-
-
-
-
-
-
- - - - - - - - - - - - - - - $item) { - $start_index = ($page-1) * 20 + $index; - $car_info = $item->car; - ?> - - - - - - - - - - - - - - -
序号预约日期预约时间车牌号车主初登日期商业起保日期交强起保日期预约备注业务员操作
pdate?>ptime?>car_no?>car_man,9)?>register_date?>insurer1_date?>insurer2_date?>remark,40)?>user?$item->user->getShowName():''?> - -
-

- -

-
-
- - - - - \ No newline at end of file diff --git a/frontend/views/role/edit.php b/frontend/views/role/edit.php index bfdba3a..ff8448e 100644 --- a/frontend/views/role/edit.php +++ b/frontend/views/role/edit.php @@ -9,18 +9,18 @@ use \common\libs\MyLib;
-
+
- -
+ +
-
+
diff --git a/frontend/views/role/index.php b/frontend/views/role/index.php index 8531347..37ba82e 100644 --- a/frontend/views/role/index.php +++ b/frontend/views/role/index.php @@ -20,7 +20,7 @@ use \common\libs\MyLib;
-
+
diff --git a/frontend/views/statistics/clean-work-zj.php b/frontend/views/statistics/clean-work-zj.php deleted file mode 100644 index 3a4eb42..0000000 --- a/frontend/views/statistics/clean-work-zj.php +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - -
- - - - - -
- 分配日期:从截止 - - - - - - - - - 当天   - &date_end=">7天   - &date_end=">1个月   - &date_end=">3个月   -
- - - - - - - - - - -
分配数据合计
diff --git a/frontend/views/statistics/clean-work.php b/frontend/views/statistics/clean-work.php deleted file mode 100644 index 2e3a28c..0000000 --- a/frontend/views/statistics/clean-work.php +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - -
- 提单日期:从截止 - - 工号: - 级别: - - - - - 当天   - &date_end=">7天   - &date_end=">1个月   - &date_end=">3个月   -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
工号真实姓名正确数据总数错误数据总数预约数据总数
汇总
diff --git a/frontend/views/statistics/fix-info.php b/frontend/views/statistics/fix-info.php deleted file mode 100644 index 030ab25..0000000 --- a/frontend/views/statistics/fix-info.php +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - -
- - 提单日期: - 正本日期: -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
车主车牌号发动机号车架号进厂时间出厂时间维修金额状态详情
car_man?>car_no?>engine_no?>car_frame_no?>total1_clear?>total1_real?>total1_dis?>total1_percent?>status->name?> - [详情] -
汇总
diff --git a/frontend/views/statistics/non-work-info.php b/frontend/views/statistics/non-work-info.php deleted file mode 100644 index 7c2eaf2..0000000 --- a/frontend/views/statistics/non-work-info.php +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - -
- - 提单日期: - 正本日期: -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
车主车牌号总保额保险费用投保份数状态详情
car_man?>car_no?>ord_scheme_id?$item->nona->baoer:''?>ord_scheme_id?$item->nona->baofei:''?>non_num?>status->name?> - [详情] -
汇总
diff --git a/frontend/views/statistics/non-work.php b/frontend/views/statistics/non-work.php deleted file mode 100644 index a83e19e..0000000 --- a/frontend/views/statistics/non-work.php +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - -
- 提单日期:从截止 - 正本日期:从截止 - 工号: - 级别: - - - - 当天   - &date_end=">7天   - &date_end=">1个月   - &date_end=">3个月   -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
工号真实姓名提单总数保险费用投保份数详情
0?$row['total'][1]:''?>0?'¥'.number_format($row['total'][2],2):''?>0?$row['total'][3]:''?>[详情]
汇总
diff --git a/frontend/views/statistics/work-info.bak.php b/frontend/views/statistics/work-info.bak.php deleted file mode 100644 index 019139e..0000000 --- a/frontend/views/statistics/work-info.bak.php +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - -
- - 提单日期: - 正本日期: -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
车主车牌号商业总净保费折扣后商业净保费减免金额商业折扣率状态详情
car_man?>car_no?>total1_clear?>total1_real?>total1_dis?>total1_percent?>status->name?> - [详情] -
汇总
diff --git a/frontend/views/statistics/work-info.php b/frontend/views/statistics/work-info.php index 4c157c6..a2f754c 100644 --- a/frontend/views/statistics/work-info.php +++ b/frontend/views/statistics/work-info.php @@ -3,589 +3,78 @@ use \common\libs\MyLib; ?> beginBlock('header_css'); ?> - endBlock(); ?> -
-
-
-
保单信息
- -
-
-
-
-
- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-

-
- +
+
+
+
+
+
- - - + + + + + + + +
ID险种内容不计免赔车主车牌号商业总净保费折扣后商业净保费减免金额商业折扣率状态操作
-

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
-
-
- -
- - -
-
-
- - -
-
-
- -
-
-
-
-
-
-
-
-
礼品信息
-
-
-
-
-

免费礼品

- - - - - - - - -
ID组名礼品名
-
-
-

自费礼品

- - - - - - - - -
ID组名礼品名
-
-
-
-
-
-
-
财务信息
-
-
-
-
-
-
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-
-
操作记录
-
-
-
-
-
-
- - - - - - - - - - -
ID操作者操作时间操作内容
-
-
-
-
- -
+ beginBlock('footer_js'); ?> - - + -endBlock('footer_js'); ?> \ No newline at end of file +endBlock(); ?> \ No newline at end of file diff --git a/frontend/views/statistics/work.bak.php b/frontend/views/statistics/work.bak.php deleted file mode 100644 index 61e09b1..0000000 --- a/frontend/views/statistics/work.bak.php +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - -
- 提单日期:从截止 - 正本日期:从截止 - 工号: - 级别: - - - - 当天   - &date_end=">7天   - &date_end=">1个月   - &date_end=">3个月   -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
工号真实姓名通时提车总数提单总数商业总净保费交强总净保费商业已收净保费交强已收净保费总签单净保费详情
0?$row['total'][7]:''?>0?$row['total'][1]:''?>0?'¥'.number_format($row['total'][2],2):''?>0?'¥'.number_format($row['total'][3],2):''?>0?'¥'.number_format($row['total'][4],2):''?>0?'¥'.number_format($row['total'][5],2):''?>0?'¥'.number_format($row['total'][6],2):''?>[详情]
汇总
diff --git a/frontend/views/statistics/work.php b/frontend/views/statistics/work.php index 0dd608c..986a263 100644 --- a/frontend/views/statistics/work.php +++ b/frontend/views/statistics/work.php @@ -2,206 +2,148 @@ use \common\libs\MyLib; ?> beginBlock('header_css'); ?> - - + endBlock(); ?> -
-
-
-
工作量统计
-
-
-