From 9f10f727ed5132bf1ab27706bc615b61e0e16864 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sun, 1 Dec 2024 16:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=A4=96=E9=83=A8=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/controller/TicketInter.php | 24 ----------- .../src/controller/TicketOuter.php | 24 ----------- .../src/view/ticket_inter/form.html | 41 ------------------- .../src/view/ticket_inter/index.html | 12 ------ .../src/view/ticket_outer/form.html | 41 ------------------- .../src/view/ticket_outer/index.html | 3 -- 6 files changed, 145 deletions(-) delete mode 100644 plugs/think-plugs-ticket/src/view/ticket_inter/form.html delete mode 100644 plugs/think-plugs-ticket/src/view/ticket_outer/form.html diff --git a/plugs/think-plugs-ticket/src/controller/TicketInter.php b/plugs/think-plugs-ticket/src/controller/TicketInter.php index e2d6671..1039625 100644 --- a/plugs/think-plugs-ticket/src/controller/TicketInter.php +++ b/plugs/think-plugs-ticket/src/controller/TicketInter.php @@ -36,30 +36,6 @@ class TicketInter extends Controller }); } - /** - * 添加工单 - * @auth true - * @menu true - * @return void - * @throws \think\db\exception\DataNotFoundException - * @throws \think\db\exception\DbException - * @throws \think\db\exception\ModelNotFoundException - */ - public function add() - { - $this->title = '添加工单'; - $this->types = TicketType::mk()->scope('active')->select(); - TicketTicketInter::mForm('form'); - } - - public function _form_filter(&$data) - { - if ($this->request->isPost()) { - $data['user_id'] = 0; - } - $data['status'] = 0; - } - /** * 查看工单 * @auth true diff --git a/plugs/think-plugs-ticket/src/controller/TicketOuter.php b/plugs/think-plugs-ticket/src/controller/TicketOuter.php index 5fb2f46..17ff077 100644 --- a/plugs/think-plugs-ticket/src/controller/TicketOuter.php +++ b/plugs/think-plugs-ticket/src/controller/TicketOuter.php @@ -37,30 +37,6 @@ class TicketOuter extends Controller }); } - /** - * 添加工单 - * @auth true - * @menu true - * @return void - * @throws \think\db\exception\DataNotFoundException - * @throws \think\db\exception\DbException - * @throws \think\db\exception\ModelNotFoundException - */ - public function add() - { - $this->title = '添加工单'; - $this->types = TicketType::mk()->scope('active')->select(); - TicketTicketOuter::mForm('form'); - } - - public function _form_filter(&$data) - { - if ($this->request->isPost()) { - $data['user_id'] = 0; - } - $data['status'] = 0; - } - /** * 查看工单 * @auth true diff --git a/plugs/think-plugs-ticket/src/view/ticket_inter/form.html b/plugs/think-plugs-ticket/src/view/ticket_inter/form.html deleted file mode 100644 index 5e45238..0000000 --- a/plugs/think-plugs-ticket/src/view/ticket_inter/form.html +++ /dev/null @@ -1,41 +0,0 @@ -
- diff --git a/plugs/think-plugs-ticket/src/view/ticket_inter/index.html b/plugs/think-plugs-ticket/src/view/ticket_inter/index.html index 0bf3e4a..792a954 100644 --- a/plugs/think-plugs-ticket/src/view/ticket_inter/index.html +++ b/plugs/think-plugs-ticket/src/view/ticket_inter/index.html @@ -1,9 +1,6 @@ {extend name="table"} {block name="button"} - - - {/block} {block name="content"} @@ -21,15 +18,6 @@ 详情 - - 分配 - - - 修改 - - - 删除 - {/block} diff --git a/plugs/think-plugs-ticket/src/view/ticket_outer/form.html b/plugs/think-plugs-ticket/src/view/ticket_outer/form.html deleted file mode 100644 index 5e45238..0000000 --- a/plugs/think-plugs-ticket/src/view/ticket_outer/form.html +++ /dev/null @@ -1,41 +0,0 @@ - - diff --git a/plugs/think-plugs-ticket/src/view/ticket_outer/index.html b/plugs/think-plugs-ticket/src/view/ticket_outer/index.html index a605ac0..7231ad1 100644 --- a/plugs/think-plugs-ticket/src/view/ticket_outer/index.html +++ b/plugs/think-plugs-ticket/src/view/ticket_outer/index.html @@ -1,9 +1,6 @@ {extend name="table"} {block name="button"} - - - {/block} {block name="content"}