From 0cb751da4c4550bf80180f99d1e7cbfe23bcd725 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 23 Jun 2023 18:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E6=9E=B6=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/workorder/action/admin/install.sql | 22 +++++++++++++++++ app/workorder/action/admin/options.php | 12 +++++++++- app/workorder/html/admin/menu.html | 13 ++++++++++ app/workorder/html/admin/options.html | 33 ++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 app/workorder/action/admin/install.sql create mode 100644 app/workorder/html/admin/menu.html create mode 100644 app/workorder/html/admin/options.html diff --git a/app/workorder/action/admin/install.sql b/app/workorder/action/admin/install.sql new file mode 100644 index 0000000..dcfcca0 --- /dev/null +++ b/app/workorder/action/admin/install.sql @@ -0,0 +1,22 @@ + + +CREATE TABLE IF NOT EXISTS `ts_workorder` ( + `workorderid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'orderID', + `userid` int(11) NOT NULL DEFAULT '0' COMMENT 'userID', + `cateid` int(11) NOT NULL DEFAULT '0' COMMENT '分类ID', + `title` varchar(64) NOT NULL DEFAULT '' COMMENT '标题', + `tags` varchar(128) NOT NULL DEFAULT '' COMMENT '标签', + `gaiyao` varchar(128) NOT NULL DEFAULT '' COMMENT '内容概要', + `path` char(32) NOT NULL DEFAULT '' COMMENT '路径', + `photo` char(32) NOT NULL DEFAULT '' COMMENT '图片路径', + `istop` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否置顶0否1是', + `isaudit` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否审核', + `count_comment` int(11) NOT NULL DEFAULT '0' COMMENT '统计评论数', + `addtime` datetime NOT NULL DEFAULT '1970-01-01 00:00:01' COMMENT '时间', + `uptime` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间', + PRIMARY KEY (`workorderid`), + KEY `addtime` (`addtime`), + KEY `cateid` (`cateid`), + KEY `title` (`title`), + KEY `tags` (`tags`,`isaudit`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='工单'; \ No newline at end of file diff --git a/app/workorder/action/admin/options.php b/app/workorder/action/admin/options.php index 1ff146d..4a605ce 100644 --- a/app/workorder/action/admin/options.php +++ b/app/workorder/action/admin/options.php @@ -1,2 +1,12 @@ +
工单管理
+ + +
\ No newline at end of file diff --git a/app/workorder/html/admin/options.html b/app/workorder/html/admin/options.html new file mode 100644 index 0000000..d15fc33 --- /dev/null +++ b/app/workorder/html/admin/options.html @@ -0,0 +1,33 @@ +{php include pubTemplate("header_admin")} + + +
+ + {php include template("admin/menu");} + + +
+ + + + + + + + + + + + + + + +
APP名称:
APP介绍:
APP关键词:
应用开启/关闭:开启 关闭 (关闭后应用无法访问)
会员发布:不允许 允许
是否审核:不审核 审核
+ +
+
+ + +
+ +{php include pubTemplate("footer_admin")} \ No newline at end of file