PDM更新数据结构后,基础数据查询和BOM初始查询等基本功能都已经OK,待完善和细化相关的上传和下载服务等。

This commit is contained in:
panx
2024-12-29 22:18:05 +08:00
parent d3d429e964
commit d70fcccc1d
99 changed files with 4877 additions and 948 deletions

View File

@@ -0,0 +1,55 @@
<?php
declare (strict_types = 1);
// +----------------------------------------------------------------------
// | swiftAdmin 极速开发框架 [基于 WebMan 开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2099 http://www.swiftadmin.net
// +----------------------------------------------------------------------
// | swiftAdmin.net High Speed Development Framework
// +----------------------------------------------------------------------
// | Author: meystack <coolsec@foxmail.com> Apache2
// +----------------------------------------------------------------------
namespace app\index\controller;
use app\HomeController;
use support\Response;
/**
* 首页控制器
* <!--Partlist-->
* Class Index
* @package app\index\controller
*/
class Partlist extends HomeController
{
/**
* 鉴权控制器
*/
public $needLogin = false;
/**
* 非鉴权方法
* @var array
*/
public $noNeedAuth = ['index', 'home'];
// 初始化函数
public function __construct()
{
parent::__construct();
}
/**
* Partlist 首页
* @return Response
* @throws InvalidArgumentException
*/
public function index(): Response
{
return response('Partlist 前台首页模板');
}
}

View File

@@ -0,0 +1,55 @@
<?php
declare (strict_types = 1);
// +----------------------------------------------------------------------
// | swiftAdmin 极速开发框架 [基于 WebMan 开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2099 http://www.swiftadmin.net
// +----------------------------------------------------------------------
// | swiftAdmin.net High Speed Development Framework
// +----------------------------------------------------------------------
// | Author: meystack <coolsec@foxmail.com> Apache2
// +----------------------------------------------------------------------
namespace app\index\controller;
use app\HomeController;
use support\Response;
/**
* 首页控制器
* <!--Partview-->
* Class Index
* @package app\index\controller
*/
class Partview extends HomeController
{
/**
* 鉴权控制器
*/
public $needLogin = false;
/**
* 非鉴权方法
* @var array
*/
public $noNeedAuth = ['index', 'home'];
// 初始化函数
public function __construct()
{
parent::__construct();
}
/**
* Partview 首页
* @return Response
* @throws InvalidArgumentException
*/
public function index(): Response
{
return response('Partview 前台首页模板');
}
}

View File

@@ -2,7 +2,7 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>SwiftAdmin 官方演示站</title>
<title>产品数据管理PDM平台</title>
<meta http-equiv="Cache-Control" content="no-transform " />
<include file="public:header" />
</head>
@@ -16,7 +16,7 @@
<div class="layui-row">
<div class="layui-col-md6">
<div class="layui-swift-box">
<h1>SWIFTADMIN 极速开发框架</h1>
<h1>基于 SWIFTADMIN 极速开发框架,搭建 PDM系统。</h1>
<h1 style="font-size: 26px; font-weight: 300">基于高性能WM框架性能在TP5 10倍以上</h1>
<p>SwiftAdmin框架主张简单就是高效的原则在设计和运维上采用最精简最高效的做法去完成业务系统的需求并且基于ant Design的设计原则是一款优秀的前后台极速开发解决方案。相信你第一眼就有立刻想体验SwiftAdmin框架的冲动和热情</p>
<div class="layui-swift-desc">

View File

@@ -0,0 +1,22 @@
<!--Partlist-->
<layout name="layout:layout"/>
<!-- 内容主体区域 -->
<div id="content">
<div class="layui-card">
<div class="layui-card-body"> 示例页面 TODO...</div>
<!-- // 创建数据实例 -->
<table id="lay-tableList" lay-filter="lay-tableList"></table>
</div>
</div>
<!-- // 列表工具栏 -->
<script type="text/html" id="tableBar">
<!-- // TODO-->
</script>
<script>
layui.use(['table','jquery'], function () {
let $ = layui.jquery;
let table = layui.table;
})
</script>

View File

@@ -0,0 +1,22 @@
<!--Partview-->
<layout name="layout:layout"/>
<!-- 内容主体区域 -->
<div id="content">
<div class="layui-card">
<div class="layui-card-body"> 示例页面 TODO...</div>
<!-- // 创建数据实例 -->
<table id="lay-tableList" lay-filter="lay-tableList"></table>
</div>
</div>
<!-- // 列表工具栏 -->
<script type="text/html" id="tableBar">
<!-- // TODO-->
</script>
<script>
layui.use(['table','jquery'], function () {
let $ = layui.jquery;
let table = layui.table;
})
</script>

View File

@@ -17,6 +17,7 @@
<li class="layui-nav-item"><a href="/index/user/register" target="_blank">注册</a></li>
<li class="layui-nav-item"><a href="/index/user/login" target="_blank">登录</a></li>
<li class="layui-nav-item"><a id="ajaxLogin" href="javascript:;" lay-open data-title="用户登录" data-area="450px,420px" data-url="/index/user/ajaxLogin" >Ajax登录</a></li>
<li class="layui-nav-item"><a href="/manage" target="_blank"><font color="blue">管理后台</font></a></li>
</notempty>
</div>
</div>