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 @@ -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- {notempty name='id'}{/notempty} -
- - -
-
- 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 @@ -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- {notempty name='id'}{/notempty} -
- - -
-
- 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"}