Merge branch 'master' into dev

This commit is contained in:
chenbo 2024-02-23 16:25:38 +08:00
commit cda15e3ec7
80 changed files with 7180 additions and 0 deletions

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\ApprovalIssuanceAchievementDocumentsLists;
use app\adminapi\logic\ApprovalIssuanceAchievementDocumentsLogic;
use app\adminapi\validate\ApprovalIssuanceAchievementDocumentsValidate;
/**
* ApprovalIssuanceAchievementDocuments控制器
* Class ApprovalIssuanceAchievementDocumentsController
* @package app\adminapi\controller
*/
class ApprovalIssuanceAchievementDocumentsController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function lists()
{
return $this->dataLists(new ApprovalIssuanceAchievementDocumentsLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function add()
{
$params = (new ApprovalIssuanceAchievementDocumentsValidate())->post()->goCheck('add');
$result = ApprovalIssuanceAchievementDocumentsLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ApprovalIssuanceAchievementDocumentsLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function edit()
{
$params = (new ApprovalIssuanceAchievementDocumentsValidate())->post()->goCheck('edit');
$result = ApprovalIssuanceAchievementDocumentsLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ApprovalIssuanceAchievementDocumentsLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function delete()
{
$params = (new ApprovalIssuanceAchievementDocumentsValidate())->post()->goCheck('delete');
ApprovalIssuanceAchievementDocumentsLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function detail()
{
$params = (new ApprovalIssuanceAchievementDocumentsValidate())->goCheck('detail');
$result = ApprovalIssuanceAchievementDocumentsLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\DataReceptionLists;
use app\adminapi\logic\DataReceptionLogic;
use app\adminapi\validate\DataReceptionValidate;
/**
* DataReception控制器
* Class DataReceptionController
* @package app\adminapi\controller
*/
class DataReceptionController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function lists()
{
return $this->dataLists(new DataReceptionLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function add()
{
$params = (new DataReceptionValidate())->post()->goCheck('add');
$result = DataReceptionLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(DataReceptionLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function edit()
{
$params = (new DataReceptionValidate())->post()->goCheck('edit');
$result = DataReceptionLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(DataReceptionLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function delete()
{
$params = (new DataReceptionValidate())->post()->goCheck('delete');
DataReceptionLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function detail()
{
$params = (new DataReceptionValidate())->goCheck('detail');
$result = DataReceptionLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\ProjectCommissionLists;
use app\adminapi\logic\ProjectCommissionLogic;
use app\adminapi\validate\ProjectCommissionValidate;
/**
* ProjectCommission控制器
* Class ProjectCommissionController
* @package app\adminapi\controller
*/
class ProjectCommissionController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function lists()
{
return $this->dataLists(new ProjectCommissionLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function add()
{
$params = (new ProjectCommissionValidate())->post()->goCheck('add');
$result = ProjectCommissionLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectCommissionLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function edit()
{
$params = (new ProjectCommissionValidate())->post()->goCheck('edit');
$result = ProjectCommissionLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectCommissionLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function delete()
{
$params = (new ProjectCommissionValidate())->post()->goCheck('delete');
ProjectCommissionLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function detail()
{
$params = (new ProjectCommissionValidate())->goCheck('detail');
$result = ProjectCommissionLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\ProjectCommissionDetailLists;
use app\adminapi\logic\ProjectCommissionDetailLogic;
use app\adminapi\validate\ProjectCommissionDetailValidate;
/**
* ProjectCommissionDetail控制器
* Class ProjectCommissionDetailController
* @package app\adminapi\controller
*/
class ProjectCommissionDetailController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function lists()
{
return $this->dataLists(new ProjectCommissionDetailLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function add()
{
$params = (new ProjectCommissionDetailValidate())->post()->goCheck('add');
$result = ProjectCommissionDetailLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectCommissionDetailLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function edit()
{
$params = (new ProjectCommissionDetailValidate())->post()->goCheck('edit');
$result = ProjectCommissionDetailLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectCommissionDetailLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function delete()
{
$params = (new ProjectCommissionDetailValidate())->post()->goCheck('delete');
ProjectCommissionDetailLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function detail()
{
$params = (new ProjectCommissionDetailValidate())->goCheck('detail');
$result = ProjectCommissionDetailLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\TaskDetailLists;
use app\adminapi\logic\TaskDetailLogic;
use app\adminapi\validate\TaskDetailValidate;
/**
* TaskDetail控制器
* Class TaskDetailController
* @package app\adminapi\controller
*/
class TaskDetailController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function lists()
{
return $this->dataLists(new TaskDetailLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function add()
{
$params = (new TaskDetailValidate())->post()->goCheck('add');
$result = TaskDetailLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(TaskDetailLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function edit()
{
$params = (new TaskDetailValidate())->post()->goCheck('edit');
$result = TaskDetailLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(TaskDetailLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function delete()
{
$params = (new TaskDetailValidate())->post()->goCheck('delete');
TaskDetailLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function detail()
{
$params = (new TaskDetailValidate())->goCheck('detail');
$result = TaskDetailLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\TaskHandlingThreeLevelReviewLists;
use app\adminapi\logic\TaskHandlingThreeLevelReviewLogic;
use app\adminapi\validate\TaskHandlingThreeLevelReviewValidate;
/**
* TaskHandlingThreeLevelReview控制器
* Class TaskHandlingThreeLevelReviewController
* @package app\adminapi\controller
*/
class TaskHandlingThreeLevelReviewController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function lists()
{
return $this->dataLists(new TaskHandlingThreeLevelReviewLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function add()
{
$params = (new TaskHandlingThreeLevelReviewValidate())->post()->goCheck('add');
$result = TaskHandlingThreeLevelReviewLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(TaskHandlingThreeLevelReviewLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function edit()
{
$params = (new TaskHandlingThreeLevelReviewValidate())->post()->goCheck('edit');
$result = TaskHandlingThreeLevelReviewLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(TaskHandlingThreeLevelReviewLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function delete()
{
$params = (new TaskHandlingThreeLevelReviewValidate())->post()->goCheck('delete');
TaskHandlingThreeLevelReviewLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function detail()
{
$params = (new TaskHandlingThreeLevelReviewValidate())->goCheck('detail');
$result = TaskHandlingThreeLevelReviewLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ApplyWithSealLists;
use app\adminapi\logic\project_process_management\ApplyWithSealLogic;
use app\adminapi\validate\project_process_management\ApplyWithSealValidate;
/**
* ApplyWithSeal控制器
* Class ApplyWithSealController
* @package app\adminapi\controller\project_process_management
*/
class ApplyWithSealController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function lists()
{
return $this->dataLists(new ApplyWithSealLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function add()
{
$params = (new ApplyWithSealValidate())->post()->goCheck('add');
$result = ApplyWithSealLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ApplyWithSealLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function edit()
{
$params = (new ApplyWithSealValidate())->post()->goCheck('edit');
$result = ApplyWithSealLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ApplyWithSealLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function delete()
{
$params = (new ApplyWithSealValidate())->post()->goCheck('delete');
ApplyWithSealLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function detail()
{
$params = (new ApplyWithSealValidate())->goCheck('detail');
$result = ApplyWithSealLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\JianliProjectProgressReportLists;
use app\adminapi\logic\project_process_management\JianliProjectProgressReportLogic;
use app\adminapi\validate\project_process_management\JianliProjectProgressReportValidate;
/**
* JianliProjectProgressReport控制器
* Class JianliProjectProgressReportController
* @package app\adminapi\controller\project_process_management
*/
class JianliProjectProgressReportController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function lists()
{
return $this->dataLists(new JianliProjectProgressReportLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function add()
{
$params = (new JianliProjectProgressReportValidate())->post()->goCheck('add');
$result = JianliProjectProgressReportLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(JianliProjectProgressReportLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function edit()
{
$params = (new JianliProjectProgressReportValidate())->post()->goCheck('edit');
$result = JianliProjectProgressReportLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(JianliProjectProgressReportLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function delete()
{
$params = (new JianliProjectProgressReportValidate())->post()->goCheck('delete');
JianliProjectProgressReportLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function detail()
{
$params = (new JianliProjectProgressReportValidate())->goCheck('detail');
$result = JianliProjectProgressReportLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectChangeVisaContentLists;
use app\adminapi\logic\project_process_management\ProjectChangeVisaContentLogic;
use app\adminapi\validate\project_process_management\ProjectChangeVisaContentValidate;
/**
* ProjectChangeVisaContent控制器
* Class ProjectChangeVisaContentController
* @package app\adminapi\controller\project_process_management
*/
class ProjectChangeVisaContentController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function lists()
{
return $this->dataLists(new ProjectChangeVisaContentLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function add()
{
$params = (new ProjectChangeVisaContentValidate())->post()->goCheck('add');
$result = ProjectChangeVisaContentLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectChangeVisaContentLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function edit()
{
$params = (new ProjectChangeVisaContentValidate())->post()->goCheck('edit');
$result = ProjectChangeVisaContentLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectChangeVisaContentLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function delete()
{
$params = (new ProjectChangeVisaContentValidate())->post()->goCheck('delete');
ProjectChangeVisaContentLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function detail()
{
$params = (new ProjectChangeVisaContentValidate())->goCheck('detail');
$result = ProjectChangeVisaContentLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectChangeVisaLists;
use app\adminapi\logic\project_process_management\ProjectChangeVisaLogic;
use app\adminapi\validate\project_process_management\ProjectChangeVisaValidate;
/**
* ProjectChangeVisa控制器
* Class ProjectChangeVisaController
* @package app\adminapi\controller\project_process_management
*/
class ProjectChangeVisaController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function lists()
{
return $this->dataLists(new ProjectChangeVisaLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function add()
{
$params = (new ProjectChangeVisaValidate())->post()->goCheck('add');
$result = ProjectChangeVisaLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectChangeVisaLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function edit()
{
$params = (new ProjectChangeVisaValidate())->post()->goCheck('edit');
$result = ProjectChangeVisaLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectChangeVisaLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function delete()
{
$params = (new ProjectChangeVisaValidate())->post()->goCheck('delete');
ProjectChangeVisaLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function detail()
{
$params = (new ProjectChangeVisaValidate())->goCheck('detail');
$result = ProjectChangeVisaLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectProgressPaymentLists;
use app\adminapi\logic\project_process_management\ProjectProgressPaymentLogic;
use app\adminapi\validate\project_process_management\ProjectProgressPaymentValidate;
/**
* ProjectProgressPayment控制器
* Class ProjectProgressPaymentController
* @package app\adminapi\controller\project_process_management
*/
class ProjectProgressPaymentController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function lists()
{
return $this->dataLists(new ProjectProgressPaymentLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function add()
{
$params = (new ProjectProgressPaymentValidate())->post()->goCheck('add');
$result = ProjectProgressPaymentLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectProgressPaymentLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function edit()
{
$params = (new ProjectProgressPaymentValidate())->post()->goCheck('edit');
$result = ProjectProgressPaymentLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectProgressPaymentLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function delete()
{
$params = (new ProjectProgressPaymentValidate())->post()->goCheck('delete');
ProjectProgressPaymentLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function detail()
{
$params = (new ProjectProgressPaymentValidate())->goCheck('detail');
$result = ProjectProgressPaymentLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectProgressPaymentDetailLists;
use app\adminapi\logic\project_process_management\ProjectProgressPaymentDetailLogic;
use app\adminapi\validate\project_process_management\ProjectProgressPaymentDetailValidate;
/**
* ProjectProgressPaymentDetail控制器
* Class ProjectProgressPaymentDetailController
* @package app\adminapi\controller\project_process_management
*/
class ProjectProgressPaymentDetailController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function lists()
{
return $this->dataLists(new ProjectProgressPaymentDetailLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function add()
{
$params = (new ProjectProgressPaymentDetailValidate())->post()->goCheck('add');
$result = ProjectProgressPaymentDetailLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectProgressPaymentDetailLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function edit()
{
$params = (new ProjectProgressPaymentDetailValidate())->post()->goCheck('edit');
$result = ProjectProgressPaymentDetailLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectProgressPaymentDetailLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function delete()
{
$params = (new ProjectProgressPaymentDetailValidate())->post()->goCheck('delete');
ProjectProgressPaymentDetailLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function detail()
{
$params = (new ProjectProgressPaymentDetailValidate())->goCheck('detail');
$result = ProjectProgressPaymentDetailLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectRectificationLists;
use app\adminapi\logic\project_process_management\ProjectRectificationLogic;
use app\adminapi\validate\project_process_management\ProjectRectificationValidate;
/**
* ProjectRectification控制器
* Class ProjectRectificationController
* @package app\adminapi\controller\project_process_management
*/
class ProjectRectificationController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function lists()
{
return $this->dataLists(new ProjectRectificationLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function add()
{
$params = (new ProjectRectificationValidate())->post()->goCheck('add');
$result = ProjectRectificationLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectRectificationLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function edit()
{
$params = (new ProjectRectificationValidate())->post()->goCheck('edit');
$result = ProjectRectificationLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectRectificationLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function delete()
{
$params = (new ProjectRectificationValidate())->post()->goCheck('delete');
ProjectRectificationLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function detail()
{
$params = (new ProjectRectificationValidate())->goCheck('detail');
$result = ProjectRectificationLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\project_process_management;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\project_process_management\ProjectSurveySignatureLists;
use app\adminapi\logic\project_process_management\ProjectSurveySignatureLogic;
use app\adminapi\validate\project_process_management\ProjectSurveySignatureValidate;
/**
* ProjectSurveySignature控制器
* Class ProjectSurveySignatureController
* @package app\adminapi\controller\project_process_management
*/
class ProjectSurveySignatureController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function lists()
{
return $this->dataLists(new ProjectSurveySignatureLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function add()
{
$params = (new ProjectSurveySignatureValidate())->post()->goCheck('add');
$result = ProjectSurveySignatureLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(ProjectSurveySignatureLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function edit()
{
$params = (new ProjectSurveySignatureValidate())->post()->goCheck('edit');
$result = ProjectSurveySignatureLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(ProjectSurveySignatureLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function delete()
{
$params = (new ProjectSurveySignatureValidate())->post()->goCheck('delete');
ProjectSurveySignatureLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function detail()
{
$params = (new ProjectSurveySignatureValidate())->goCheck('detail');
$result = ProjectSurveySignatureLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\task;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\task\TaskAllocationLists;
use app\adminapi\logic\task\TaskAllocationLogic;
use app\adminapi\validate\task\TaskAllocationValidate;
/**
* TaskAllocation控制器
* Class TaskAllocationController
* @package app\adminapi\controller\task
*/
class TaskAllocationController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function lists()
{
return $this->dataLists(new TaskAllocationLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function add()
{
$params = (new TaskAllocationValidate())->post()->goCheck('add');
$result = TaskAllocationLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(TaskAllocationLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function edit()
{
$params = (new TaskAllocationValidate())->post()->goCheck('edit');
$result = TaskAllocationLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(TaskAllocationLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function delete()
{
$params = (new TaskAllocationValidate())->post()->goCheck('delete');
TaskAllocationLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function detail()
{
$params = (new TaskAllocationValidate())->goCheck('detail');
$result = TaskAllocationLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\controller\task;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\task\TaskTypeLists;
use app\adminapi\logic\task\TaskTypeLogic;
use app\adminapi\validate\task\TaskTypeValidate;
/**
* TaskType控制器
* Class TaskTypeController
* @package app\adminapi\controller\task
*/
class TaskTypeController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function lists()
{
return $this->dataLists(new TaskTypeLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function add()
{
$params = (new TaskTypeValidate())->post()->goCheck('add');
$result = TaskTypeLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(TaskTypeLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function edit()
{
$params = (new TaskTypeValidate())->post()->goCheck('edit');
$result = TaskTypeLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(TaskTypeLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function delete()
{
$params = (new TaskTypeValidate())->post()->goCheck('delete');
TaskTypeLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function detail()
{
$params = (new TaskTypeValidate())->goCheck('detail');
$result = TaskTypeLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\ApprovalIssuanceAchievementDocuments;
use app\common\lists\ListsSearchInterface;
/**
* ApprovalIssuanceAchievementDocuments列表
* Class ApprovalIssuanceAchievementDocumentsLists
* @package app\adminapi\lists
*/
class ApprovalIssuanceAchievementDocumentsLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function setSearch(): array
{
return [
'=' => ['project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function lists(): array
{
return ApprovalIssuanceAchievementDocuments::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'task', 'processes', 'number', 'apptime', 'person', 'tips', 'fd_1', 'fd_2', 'fd_3'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function count(): int
{
return ApprovalIssuanceAchievementDocuments::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\DataReception;
use app\common\lists\ListsSearchInterface;
/**
* DataReception列表
* Class DataReceptionLists
* @package app\adminapi\lists
*/
class DataReceptionLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function lists(): array
{
return DataReception::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'apptime', 'person', 'number', 'position', 'tips'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function count(): int
{
return DataReception::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\ProjectCommissionDetail;
use app\common\lists\ListsSearchInterface;
/**
* ProjectCommissionDetail列表
* Class ProjectCommissionDetailLists
* @package app\adminapi\lists
*/
class ProjectCommissionDetailLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function setSearch(): array
{
return [
'=' => ['engineer', 'task_name'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function lists(): array
{
return ProjectCommissionDetail::where($this->searchWhere)
->field(['id', 'engineer', 'engineer_id', 'task_name', 'task_type', 'professional_type', 'zj_amount', 'sk_amount', 'tc_rate', 'tc_amount', 'pay_amount'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function count(): int
{
return ProjectCommissionDetail::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\ProjectCommission;
use app\common\lists\ListsSearchInterface;
/**
* ProjectCommission列表
* Class ProjectCommissionLists
* @package app\adminapi\lists
*/
class ProjectCommissionLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function lists(): array
{
return ProjectCommission::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'head', 'affcontract', 'industry', 'hk', 'rate', 'ticheng', 'paid_amount', 'bczfze', 'djr', 'apptime', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function count(): int
{
return ProjectCommission::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\TaskDetail;
use app\common\lists\ListsSearchInterface;
/**
* TaskDetail列表
* Class TaskDetailLists
* @package app\adminapi\lists
*/
class TaskDetailLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function setSearch(): array
{
return [
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function lists(): array
{
return TaskDetail::where($this->searchWhere)
->field(['id', 'task_allocation_dataid', 'task_name', 'task_name_id', 'process', 'task_type_id', 'professional_type', 'engineer', 'engineer_id', 'level', 'first_reviewer', 'first_reviewer_id', 'secondary_reviewer', 'secondary_reviewer_id', 'third_level_reviewer', 'third_level_reviewer_id', 'bid_winning_amount', 'cost', 'approved_amount', 'construction_unit', 'construction_unit_id', 'contact', 'contact_phone', 'days', 'start_date', 'end_date', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function count(): int
{
return TaskDetail::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\TaskHandlingThreeLevelReview;
use app\common\lists\ListsSearchInterface;
/**
* TaskHandlingThreeLevelReview列表
* Class TaskHandlingThreeLevelReviewLists
* @package app\adminapi\lists
*/
class TaskHandlingThreeLevelReviewLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function setSearch(): array
{
return [
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function lists(): array
{
return TaskHandlingThreeLevelReview::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'task', 'processes', 'rtype', 'zType', 'engineer', 'head', 'examine', 'one', 'two', 'three', 'apptime', 'level', 'area', 'type', 'use', 'construction', 'ask', 'according', 'clbc', 'ssje', 'gcshd', 'hzhj', 'rg', 'xmhd', 'bmhd', 'shbhd', 'kaigong', 'jungong', 'bz'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function count(): int
{
return TaskHandlingThreeLevelReview::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ApplyWithSeal;
use app\common\lists\ListsSearchInterface;
/**
* ApplyWithSeal列表
* Class ApplyWithSealLists
* @package app\adminapi\listsproject_process_management
*/
class ApplyWithSealLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function setSearch(): array
{
return [
'=' => ['num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function lists(): array
{
return ApplyWithSeal::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'types', 'filetype', 'ridingseam', 'name', 'frequency', 'limit', 'depar', 'stampman', 'project', 'principal', 'content', 'loan', 'borrow', 'returndate', 'applicant', 'date', 'sjborrow', 'sjborrower', 'sjreturn', 'returnee', 'annex'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function count(): int
{
return ApplyWithSeal::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\JianliProjectProgressReport;
use app\common\lists\ListsSearchInterface;
/**
* JianliProjectProgressReport列表
* Class JianliProjectProgressReportLists
* @package app\adminapi\listsproject_process_management
*/
class JianliProjectProgressReportLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num', 'datas'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function lists(): array
{
return JianliProjectProgressReport::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'bm_master', 'wt_unit', 'xm_master', 'start_date', 'end_date', 'duration', 'working_hours', 'done_progress', 'bjd_progress', 'djr', 'apptime', 'jdms'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function count(): int
{
return JianliProjectProgressReport::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectChangeVisaContent;
use app\common\lists\ListsSearchInterface;
/**
* ProjectChangeVisaContent列表
* Class ProjectChangeVisaContentLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectChangeVisaContentLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function setSearch(): array
{
return [
'=' => ['project_change_visa_dataid', 'directory', 'unit_name', 'time', 'major', 'category', 'review_content', 'review_comments', 'reviewer', 'reviewer_id', 'declared_value', 'calculated_value', 'remark'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function lists(): array
{
return ProjectChangeVisaContent::where($this->searchWhere)
->field(['id', 'project_change_visa_dataid', 'directory', 'unit_name', 'time', 'major', 'category', 'review_content', 'review_comments', 'reviewer', 'reviewer_id', 'declared_value', 'calculated_value', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function count(): int
{
return ProjectChangeVisaContent::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectChangeVisa;
use app\common\lists\ListsSearchInterface;
/**
* ProjectChangeVisa列表
* Class ProjectChangeVisaLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectChangeVisaLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function lists(): array
{
return ProjectChangeVisa::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'djr', 'djrq'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function count(): int
{
return ProjectChangeVisa::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectProgressPaymentDetail;
use app\common\lists\ListsSearchInterface;
/**
* ProjectProgressPaymentDetail列表
* Class ProjectProgressPaymentDetailLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectProgressPaymentDetailLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function setSearch(): array
{
return [
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function lists(): array
{
return ProjectProgressPaymentDetail::where($this->searchWhere)
->field(['id', 'project_progress_payment_id', 'directory', 'unit_project_name', 'time', 'image_progress', 'declared_cost_tj', 'declared_cost_az', 'declared_cost_other', 'jdsbzj_xiaoji', 'audit_cost_tj', 'audit_cost_az', 'audit_cost_other', 'jdshzj_xiaoji', 'deduction_amount', 'completed_rate', 'contract_total_amount', 'ljwc_funds', 'current_payable_funds', 'payment_rate', 'dcntract_payment_rate', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function count(): int
{
return ProjectProgressPaymentDetail::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectProgressPayment;
use app\common\lists\ListsSearchInterface;
/**
* ProjectProgressPayment列表
* Class ProjectProgressPaymentLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectProgressPaymentLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function lists(): array
{
return ProjectProgressPayment::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'djr', 'djrq', 'sbhj', 'shhj', 'ljhj', 'annex'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function count(): int
{
return ProjectProgressPayment::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectRectification;
use app\common\lists\ListsSearchInterface;
/**
* ProjectRectification列表
* Class ProjectRectificationLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectRectificationLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function lists(): array
{
return ProjectRectification::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'wt_unit', 'xm_master', 'zx_type', 'zg_master', 'dj_person', 'apptime', 'problem', 'deal_desc'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function count(): int
{
return ProjectRectification::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\project_process_management;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\project_process_management\ProjectSurveySignature;
use app\common\lists\ListsSearchInterface;
/**
* ProjectSurveySignature列表
* Class ProjectSurveySignatureLists
* @package app\adminapi\listsproject_process_management
*/
class ProjectSurveySignatureLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function setSearch(): array
{
return [
'=' => ['num', 'project', 'project_num'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function lists(): array
{
return ProjectSurveySignature::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'wt_unit', 'jsdw', 'bmfz', 'xmfz', 'riqi', 'people', 'djr', 'apptime', 'content', 'result', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function count(): int
{
return ProjectSurveySignature::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\task;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\task\TaskAllocation;
use app\common\lists\ListsSearchInterface;
/**
* TaskAllocation列表
* Class TaskAllocationLists
* @package app\adminapi\liststask
*/
class TaskAllocationLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function setSearch(): array
{
return [
'=' => ['project'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function lists(): array
{
return TaskAllocation::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'head', 'apptime', 'annex'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function count(): int
{
return TaskAllocation::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,77 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\lists\task;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\task\TaskType;
use app\common\lists\ListsSearchInterface;
/**
* TaskType列表
* Class TaskTypeLists
* @package app\adminapi\liststask
*/
class TaskTypeLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function setSearch(): array
{
return [
'=' => ['num', 'name'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function lists(): array
{
return TaskType::where($this->searchWhere)
->field(['id', 'dataid', 'project', 'num', 'name', 'superior_sort', 'level', 'remarks'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function count(): int
{
return TaskType::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,130 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\ApprovalIssuanceAchievementDocuments;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ApprovalIssuanceAchievementDocuments逻辑
* Class ApprovalIssuanceAchievementDocumentsLogic
* @package app\adminapi\logic
*/
class ApprovalIssuanceAchievementDocumentsLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:57
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ApprovalIssuanceAchievementDocuments::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'task' => $params['task'],
'processes' => $params['processes'],
'number' => $params['number'],
'apptime' => $params['apptime'],
'person' => $params['person'],
'tips' => $params['tips'],
'fd_1' => $params['fd_1'],
'fd_2' => $params['fd_2'],
'fd_3' => $params['fd_3'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:57
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ApprovalIssuanceAchievementDocuments::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'task' => $params['task'],
'processes' => $params['processes'],
'number' => $params['number'],
'apptime' => $params['apptime'],
'person' => $params['person'],
'tips' => $params['tips'],
'fd_1' => $params['fd_1'],
'fd_2' => $params['fd_2'],
'fd_3' => $params['fd_3'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:57
*/
public static function delete(array $params): bool
{
return ApprovalIssuanceAchievementDocuments::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/22 17:57
*/
public static function detail($params): array
{
return ApprovalIssuanceAchievementDocuments::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,136 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\DataReception;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* DataReception逻辑
* Class DataReceptionLogic
* @package app\adminapi\logic
*/
class DataReceptionLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:21
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
DataReception::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'apptime' => $params['apptime'],
'person' => $params['person'],
'number' => $params['number'],
'position' => $params['position'],
'tips' => $params['tips'],
'bidding_file' => $params['bidding_file'],
'zbkzj_file' => $params['zbkzj_file'],
'gczjht_file' => $params['gczjht_file'],
'xmbgqzzl_file' => $params['xmbgqzzl_file'],
'ssgsysjs_file' => $params['ssgsysjs_file'],
'wlhj_file' => $params['wlhj_file'],
'other_file' => $params['other_file'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:21
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
DataReception::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'apptime' => $params['apptime'],
'person' => $params['person'],
'number' => $params['number'],
'position' => $params['position'],
'tips' => $params['tips'],
'bidding_file' => $params['bidding_file'],
'zbkzj_file' => $params['zbkzj_file'],
'gczjht_file' => $params['gczjht_file'],
'xmbgqzzl_file' => $params['xmbgqzzl_file'],
'ssgsysjs_file' => $params['ssgsysjs_file'],
'wlhj_file' => $params['wlhj_file'],
'other_file' => $params['other_file'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:21
*/
public static function delete(array $params): bool
{
return DataReception::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 09:21
*/
public static function detail($params): array
{
return DataReception::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,130 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\ProjectCommissionDetail;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectCommissionDetail逻辑
* Class ProjectCommissionDetailLogic
* @package app\adminapi\logic
*/
class ProjectCommissionDetailLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:48
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectCommissionDetail::create([
'project_commission_dataid' => $params['project_commission_dataid'],
'engineer' => $params['engineer'],
'engineer_id' => $params['engineer_id'],
'task_name' => $params['task_name'],
'task_type' => $params['task_type'],
'professional_type' => $params['professional_type'],
'zj_amount' => $params['zj_amount'],
'sk_amount' => $params['sk_amount'],
'tc_rate' => $params['tc_rate'],
'tc_amount' => $params['tc_amount'],
'pay_amount' => $params['pay_amount'],
'remark' => $params['remark'],
'other_fee' => $params['other_fee'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:48
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectCommissionDetail::where('id', $params['id'])->update([
'project_commission_dataid' => $params['project_commission_dataid'],
'engineer' => $params['engineer'],
'engineer_id' => $params['engineer_id'],
'task_name' => $params['task_name'],
'task_type' => $params['task_type'],
'professional_type' => $params['professional_type'],
'zj_amount' => $params['zj_amount'],
'sk_amount' => $params['sk_amount'],
'tc_rate' => $params['tc_rate'],
'tc_amount' => $params['tc_amount'],
'pay_amount' => $params['pay_amount'],
'remark' => $params['remark'],
'other_fee' => $params['other_fee'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:48
*/
public static function delete(array $params): bool
{
return ProjectCommissionDetail::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 09:48
*/
public static function detail($params): array
{
return ProjectCommissionDetail::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,134 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\ProjectCommission;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectCommission逻辑
* Class ProjectCommissionLogic
* @package app\adminapi\logic
*/
class ProjectCommissionLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:37
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectCommission::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'head' => $params['head'],
'affcontract' => $params['affcontract'],
'industry' => $params['industry'],
'hk' => $params['hk'],
'rate' => $params['rate'],
'ticheng' => $params['ticheng'],
'paid_amount' => $params['paid_amount'],
'bczfze' => $params['bczfze'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:37
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectCommission::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'head' => $params['head'],
'affcontract' => $params['affcontract'],
'industry' => $params['industry'],
'hk' => $params['hk'],
'rate' => $params['rate'],
'ticheng' => $params['ticheng'],
'paid_amount' => $params['paid_amount'],
'bczfze' => $params['bczfze'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:37
*/
public static function delete(array $params): bool
{
return ProjectCommission::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 09:37
*/
public static function detail($params): array
{
return ProjectCommission::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,156 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\TaskDetail;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* TaskDetail逻辑
* Class TaskDetailLogic
* @package app\adminapi\logic
*/
class TaskDetailLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 11:58
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
TaskDetail::create([
'task_allocation_dataid' => $params['task_allocation_dataid'],
'task_name' => $params['task_name'],
'task_name_id' => $params['task_name_id'],
'process' => $params['process'],
'task_type_id' => $params['task_type_id'],
'professional_type' => $params['professional_type'],
'engineer' => $params['engineer'],
'engineer_id' => $params['engineer_id'],
'level' => $params['level'],
'first_reviewer' => $params['first_reviewer'],
'first_reviewer_id' => $params['first_reviewer_id'],
'secondary_reviewer' => $params['secondary_reviewer'],
'secondary_reviewer_id' => $params['secondary_reviewer_id'],
'third_level_reviewer' => $params['third_level_reviewer'],
'third_level_reviewer_id' => $params['third_level_reviewer_id'],
'bid_winning_amount' => $params['bid_winning_amount'],
'cost' => $params['cost'],
'approved_amount' => $params['approved_amount'],
'construction_unit' => $params['construction_unit'],
'construction_unit_id' => $params['construction_unit_id'],
'contact' => $params['contact'],
'contact_phone' => $params['contact_phone'],
'days' => $params['days'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 11:58
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
TaskDetail::where('id', $params['id'])->update([
'task_allocation_dataid' => $params['task_allocation_dataid'],
'task_name' => $params['task_name'],
'task_name_id' => $params['task_name_id'],
'process' => $params['process'],
'task_type_id' => $params['task_type_id'],
'professional_type' => $params['professional_type'],
'engineer' => $params['engineer'],
'engineer_id' => $params['engineer_id'],
'level' => $params['level'],
'first_reviewer' => $params['first_reviewer'],
'first_reviewer_id' => $params['first_reviewer_id'],
'secondary_reviewer' => $params['secondary_reviewer'],
'secondary_reviewer_id' => $params['secondary_reviewer_id'],
'third_level_reviewer' => $params['third_level_reviewer'],
'third_level_reviewer_id' => $params['third_level_reviewer_id'],
'bid_winning_amount' => $params['bid_winning_amount'],
'cost' => $params['cost'],
'approved_amount' => $params['approved_amount'],
'construction_unit' => $params['construction_unit'],
'construction_unit_id' => $params['construction_unit_id'],
'contact' => $params['contact'],
'contact_phone' => $params['contact_phone'],
'days' => $params['days'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 11:58
*/
public static function delete(array $params): bool
{
return TaskDetail::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/22 11:58
*/
public static function detail($params): array
{
return TaskDetail::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,178 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic;
use app\common\model\TaskHandlingThreeLevelReview;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* TaskHandlingThreeLevelReview逻辑
* Class TaskHandlingThreeLevelReviewLogic
* @package app\adminapi\logic
*/
class TaskHandlingThreeLevelReviewLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:18
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
TaskHandlingThreeLevelReview::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'task' => $params['task'],
'processes' => $params['processes'],
'rtype' => $params['rtype'],
'zType' => $params['zType'],
'engineer' => $params['engineer'],
'head' => $params['head'],
'examine' => $params['examine'],
'one' => $params['one'],
'two' => $params['two'],
'three' => $params['three'],
'apptime' => $params['apptime'],
'level' => $params['level'],
'area' => $params['area'],
'type' => $params['type'],
'use' => $params['use'],
'construction' => $params['construction'],
'ask' => $params['ask'],
'according' => $params['according'],
'clbc' => $params['clbc'],
'ssje' => $params['ssje'],
'gcshd' => $params['gcshd'],
'hzhj' => $params['hzhj'],
'rg' => $params['rg'],
'xmhd' => $params['xmhd'],
'bmhd' => $params['bmhd'],
'shbhd' => $params['shbhd'],
'kaigong' => $params['kaigong'],
'jungong' => $params['jungong'],
'bz' => $params['bz'],
'result_file' => $params['result_file'],
'master_annex' => $params['master_annex'],
'bm_annex' => $params['bm_annex'],
'shb_annex' => $params['shb_annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:18
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
TaskHandlingThreeLevelReview::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'task' => $params['task'],
'processes' => $params['processes'],
'rtype' => $params['rtype'],
'zType' => $params['zType'],
'engineer' => $params['engineer'],
'head' => $params['head'],
'examine' => $params['examine'],
'one' => $params['one'],
'two' => $params['two'],
'three' => $params['three'],
'apptime' => $params['apptime'],
'level' => $params['level'],
'area' => $params['area'],
'type' => $params['type'],
'use' => $params['use'],
'construction' => $params['construction'],
'ask' => $params['ask'],
'according' => $params['according'],
'clbc' => $params['clbc'],
'ssje' => $params['ssje'],
'gcshd' => $params['gcshd'],
'hzhj' => $params['hzhj'],
'rg' => $params['rg'],
'xmhd' => $params['xmhd'],
'bmhd' => $params['bmhd'],
'shbhd' => $params['shbhd'],
'kaigong' => $params['kaigong'],
'jungong' => $params['jungong'],
'bz' => $params['bz'],
'result_file' => $params['result_file'],
'master_annex' => $params['master_annex'],
'bm_annex' => $params['bm_annex'],
'shb_annex' => $params['shb_annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 17:18
*/
public static function delete(array $params): bool
{
return TaskHandlingThreeLevelReview::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/22 17:18
*/
public static function detail($params): array
{
return TaskHandlingThreeLevelReview::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,150 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ApplyWithSeal;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ApplyWithSeal逻辑
* Class ApplyWithSealLogic
* @package app\adminapi\logic\project_process_management
*/
class ApplyWithSealLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 15:05
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ApplyWithSeal::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'types' => $params['types'],
'filetype' => $params['filetype'],
'ridingseam' => $params['ridingseam'],
'name' => $params['name'],
'frequency' => $params['frequency'],
'limit' => $params['limit'],
'depar' => $params['depar'],
'stampman' => $params['stampman'],
'project' => $params['project'],
'principal' => $params['principal'],
'content' => $params['content'],
'loan' => $params['loan'],
'borrow' => $params['borrow'],
'returndate' => $params['returndate'],
'applicant' => $params['applicant'],
'date' => $params['date'],
'sjborrow' => $params['sjborrow'],
'sjborrower' => $params['sjborrower'],
'sjreturn' => $params['sjreturn'],
'returnee' => $params['returnee'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 15:05
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ApplyWithSeal::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'types' => $params['types'],
'filetype' => $params['filetype'],
'ridingseam' => $params['ridingseam'],
'name' => $params['name'],
'frequency' => $params['frequency'],
'limit' => $params['limit'],
'depar' => $params['depar'],
'stampman' => $params['stampman'],
'project' => $params['project'],
'principal' => $params['principal'],
'content' => $params['content'],
'loan' => $params['loan'],
'borrow' => $params['borrow'],
'returndate' => $params['returndate'],
'applicant' => $params['applicant'],
'date' => $params['date'],
'sjborrow' => $params['sjborrow'],
'sjborrower' => $params['sjborrower'],
'sjreturn' => $params['sjreturn'],
'returnee' => $params['returnee'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 15:05
*/
public static function delete(array $params): bool
{
return ApplyWithSeal::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 15:05
*/
public static function detail($params): array
{
return ApplyWithSeal::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,140 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\JianliProjectProgressReport;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* JianliProjectProgressReport逻辑
* Class JianliProjectProgressReportLogic
* @package app\adminapi\logic\project_process_management
*/
class JianliProjectProgressReportLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:47
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
JianliProjectProgressReport::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'bm_master' => $params['bm_master'],
'wt_unit' => $params['wt_unit'],
'xm_master' => $params['xm_master'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date'],
'duration' => $params['duration'],
'working_hours' => $params['working_hours'],
'done_progress' => $params['done_progress'],
'bjd_progress' => $params['bjd_progress'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'jdms' => $params['jdms'],
'datas' => $params['datas'],
'fd_23' => $params['fd_23'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:47
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
JianliProjectProgressReport::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'bm_master' => $params['bm_master'],
'wt_unit' => $params['wt_unit'],
'xm_master' => $params['xm_master'],
'start_date' => $params['start_date'],
'end_date' => $params['end_date'],
'duration' => $params['duration'],
'working_hours' => $params['working_hours'],
'done_progress' => $params['done_progress'],
'bjd_progress' => $params['bjd_progress'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'jdms' => $params['jdms'],
'datas' => $params['datas'],
'fd_23' => $params['fd_23'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:47
*/
public static function delete(array $params): bool
{
return JianliProjectProgressReport::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 11:47
*/
public static function detail($params): array
{
return JianliProjectProgressReport::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,130 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectChangeVisaContent;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectChangeVisaContent逻辑
* Class ProjectChangeVisaContentLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectChangeVisaContentLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 10:27
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectChangeVisaContent::create([
'project_change_visa_dataid' => $params['project_change_visa_dataid'],
'directory' => $params['directory'],
'unit_name' => $params['unit_name'],
'time' => $params['time'],
'major' => $params['major'],
'category' => $params['category'],
'review_content' => $params['review_content'],
'review_comments' => $params['review_comments'],
'reviewer' => $params['reviewer'],
'reviewer_id' => $params['reviewer_id'],
'declared_value' => $params['declared_value'],
'calculated_value' => $params['calculated_value'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 10:27
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectChangeVisaContent::where('id', $params['id'])->update([
'project_change_visa_dataid' => $params['project_change_visa_dataid'],
'directory' => $params['directory'],
'unit_name' => $params['unit_name'],
'time' => $params['time'],
'major' => $params['major'],
'category' => $params['category'],
'review_content' => $params['review_content'],
'review_comments' => $params['review_comments'],
'reviewer' => $params['reviewer'],
'reviewer_id' => $params['reviewer_id'],
'declared_value' => $params['declared_value'],
'calculated_value' => $params['calculated_value'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 10:27
*/
public static function delete(array $params): bool
{
return ProjectChangeVisaContent::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 10:27
*/
public static function detail($params): array
{
return ProjectChangeVisaContent::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,116 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectChangeVisa;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectChangeVisa逻辑
* Class ProjectChangeVisaLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectChangeVisaLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:58
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectChangeVisa::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'djr' => $params['djr'],
'djrq' => $params['djrq'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:58
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectChangeVisa::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'djr' => $params['djr'],
'djrq' => $params['djrq'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 09:58
*/
public static function delete(array $params): bool
{
return ProjectChangeVisa::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 09:58
*/
public static function detail($params): array
{
return ProjectChangeVisa::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,146 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectProgressPaymentDetail;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectProgressPaymentDetail逻辑
* Class ProjectProgressPaymentDetailLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectProgressPaymentDetailLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 14:17
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectProgressPaymentDetail::create([
'project_progress_payment_id' => $params['project_progress_payment_id'],
'directory' => $params['directory'],
'unit_project_name' => $params['unit_project_name'],
'time' => $params['time'],
'image_progress' => $params['image_progress'],
'declared_cost_tj' => $params['declared_cost_tj'],
'declared_cost_az' => $params['declared_cost_az'],
'declared_cost_other' => $params['declared_cost_other'],
'jdsbzj_xiaoji' => $params['jdsbzj_xiaoji'],
'audit_cost_tj' => $params['audit_cost_tj'],
'audit_cost_az' => $params['audit_cost_az'],
'audit_cost_other' => $params['audit_cost_other'],
'jdshzj_xiaoji' => $params['jdshzj_xiaoji'],
'deduction_amount' => $params['deduction_amount'],
'completed_rate' => $params['completed_rate'],
'contract_total_amount' => $params['contract_total_amount'],
'ljwc_funds' => $params['ljwc_funds'],
'current_payable_funds' => $params['current_payable_funds'],
'payment_rate' => $params['payment_rate'],
'dcntract_payment_rate' => $params['dcntract_payment_rate'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 14:17
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectProgressPaymentDetail::where('id', $params['id'])->update([
'project_progress_payment_id' => $params['project_progress_payment_id'],
'directory' => $params['directory'],
'unit_project_name' => $params['unit_project_name'],
'time' => $params['time'],
'image_progress' => $params['image_progress'],
'declared_cost_tj' => $params['declared_cost_tj'],
'declared_cost_az' => $params['declared_cost_az'],
'declared_cost_other' => $params['declared_cost_other'],
'jdsbzj_xiaoji' => $params['jdsbzj_xiaoji'],
'audit_cost_tj' => $params['audit_cost_tj'],
'audit_cost_az' => $params['audit_cost_az'],
'audit_cost_other' => $params['audit_cost_other'],
'jdshzj_xiaoji' => $params['jdshzj_xiaoji'],
'deduction_amount' => $params['deduction_amount'],
'completed_rate' => $params['completed_rate'],
'contract_total_amount' => $params['contract_total_amount'],
'ljwc_funds' => $params['ljwc_funds'],
'current_payable_funds' => $params['current_payable_funds'],
'payment_rate' => $params['payment_rate'],
'dcntract_payment_rate' => $params['dcntract_payment_rate'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 14:17
*/
public static function delete(array $params): bool
{
return ProjectProgressPaymentDetail::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 14:17
*/
public static function detail($params): array
{
return ProjectProgressPaymentDetail::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,124 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectProgressPayment;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectProgressPayment逻辑
* Class ProjectProgressPaymentLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectProgressPaymentLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 13:47
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectProgressPayment::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'djr' => $params['djr'],
'djrq' => $params['djrq'],
'sbhj' => $params['sbhj'],
'shhj' => $params['shhj'],
'ljhj' => $params['ljhj'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 13:47
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectProgressPayment::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'djr' => $params['djr'],
'djrq' => $params['djrq'],
'sbhj' => $params['sbhj'],
'shhj' => $params['shhj'],
'ljhj' => $params['ljhj'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 13:47
*/
public static function delete(array $params): bool
{
return ProjectProgressPayment::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 13:47
*/
public static function detail($params): array
{
return ProjectProgressPayment::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,132 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectRectification;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectRectification逻辑
* Class ProjectRectificationLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectRectificationLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:22
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectRectification::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'wt_unit' => $params['wt_unit'],
'xm_master' => $params['xm_master'],
'zx_type' => $params['zx_type'],
'zg_master' => $params['zg_master'],
'dj_person' => $params['dj_person'],
'apptime' => $params['apptime'],
'problem' => $params['problem'],
'deal_desc' => $params['deal_desc'],
'remark' => $params['remark'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:22
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectRectification::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'wt_unit' => $params['wt_unit'],
'xm_master' => $params['xm_master'],
'zx_type' => $params['zx_type'],
'zg_master' => $params['zg_master'],
'dj_person' => $params['dj_person'],
'apptime' => $params['apptime'],
'problem' => $params['problem'],
'deal_desc' => $params['deal_desc'],
'remark' => $params['remark'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:22
*/
public static function delete(array $params): bool
{
return ProjectRectification::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 11:22
*/
public static function detail($params): array
{
return ProjectRectification::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,134 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\project_process_management;
use app\common\model\project_process_management\ProjectSurveySignature;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* ProjectSurveySignature逻辑
* Class ProjectSurveySignatureLogic
* @package app\adminapi\logic\project_process_management
*/
class ProjectSurveySignatureLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:06
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
ProjectSurveySignature::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'wt_unit' => $params['wt_unit'],
'jsdw' => $params['jsdw'],
'bmfz' => $params['bmfz'],
'xmfz' => $params['xmfz'],
'riqi' => $params['riqi'],
'people' => $params['people'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'content' => $params['content'],
'result' => $params['result'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:06
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
ProjectSurveySignature::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'wt_unit' => $params['wt_unit'],
'jsdw' => $params['jsdw'],
'bmfz' => $params['bmfz'],
'xmfz' => $params['xmfz'],
'riqi' => $params['riqi'],
'people' => $params['people'],
'djr' => $params['djr'],
'apptime' => $params['apptime'],
'content' => $params['content'],
'result' => $params['result'],
'remark' => $params['remark'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/23 11:06
*/
public static function delete(array $params): bool
{
return ProjectSurveySignature::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/23 11:06
*/
public static function detail($params): array
{
return ProjectSurveySignature::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,118 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\task;
use app\common\model\task\TaskAllocation;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* TaskAllocation逻辑
* Class TaskAllocationLogic
* @package app\adminapi\logic\task
*/
class TaskAllocationLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:47
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
TaskAllocation::create([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'head' => $params['head'],
'apptime' => $params['apptime'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:47
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
TaskAllocation::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'num' => $params['num'],
'project' => $params['project'],
'project_num' => $params['project_num'],
'head' => $params['head'],
'apptime' => $params['apptime'],
'annex' => $params['annex'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:47
*/
public static function delete(array $params): bool
{
return TaskAllocation::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/22 10:47
*/
public static function detail($params): array
{
return TaskAllocation::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,118 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\logic\task;
use app\common\model\task\TaskType;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* TaskType逻辑
* Class TaskTypeLogic
* @package app\adminapi\logic\task
*/
class TaskTypeLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:06
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
TaskType::create([
'dataid' => $params['dataid'],
'project' => $params['project'],
'num' => $params['num'],
'name' => $params['name'],
'superior_sort' => $params['superior_sort'],
'level' => $params['level'],
'remarks' => $params['remarks'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:06
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
TaskType::where('id', $params['id'])->update([
'dataid' => $params['dataid'],
'project' => $params['project'],
'num' => $params['num'],
'name' => $params['name'],
'superior_sort' => $params['superior_sort'],
'level' => $params['level'],
'remarks' => $params['remarks'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2024/02/22 10:06
*/
public static function delete(array $params): bool
{
return TaskType::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2024/02/22 10:06
*/
public static function detail($params): array
{
return TaskType::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* ApprovalIssuanceAchievementDocuments验证器
* Class ApprovalIssuanceAchievementDocumentsValidate
* @package app\adminapi\validate
*/
class ApprovalIssuanceAchievementDocumentsValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ApprovalIssuanceAchievementDocumentsValidate
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ApprovalIssuanceAchievementDocumentsValidate
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ApprovalIssuanceAchievementDocumentsValidate
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ApprovalIssuanceAchievementDocumentsValidate
* @author likeadmin
* @date 2024/02/22 17:57
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* DataReception验证器
* Class DataReceptionValidate
* @package app\adminapi\validate
*/
class DataReceptionValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return DataReceptionValidate
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return DataReceptionValidate
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return DataReceptionValidate
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return DataReceptionValidate
* @author likeadmin
* @date 2024/02/23 09:21
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* ProjectCommissionDetail验证器
* Class ProjectCommissionDetailValidate
* @package app\adminapi\validate
*/
class ProjectCommissionDetailValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectCommissionDetailValidate
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectCommissionDetailValidate
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectCommissionDetailValidate
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectCommissionDetailValidate
* @author likeadmin
* @date 2024/02/23 09:48
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* ProjectCommission验证器
* Class ProjectCommissionValidate
* @package app\adminapi\validate
*/
class ProjectCommissionValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectCommissionValidate
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectCommissionValidate
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectCommissionValidate
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectCommissionValidate
* @author likeadmin
* @date 2024/02/23 09:37
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* TaskDetail验证器
* Class TaskDetailValidate
* @package app\adminapi\validate
*/
class TaskDetailValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return TaskDetailValidate
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return TaskDetailValidate
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return TaskDetailValidate
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return TaskDetailValidate
* @author likeadmin
* @date 2024/02/22 11:58
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate;
use app\common\validate\BaseValidate;
/**
* TaskHandlingThreeLevelReview验证器
* Class TaskHandlingThreeLevelReviewValidate
* @package app\adminapi\validate
*/
class TaskHandlingThreeLevelReviewValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return TaskHandlingThreeLevelReviewValidate
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return TaskHandlingThreeLevelReviewValidate
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return TaskHandlingThreeLevelReviewValidate
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return TaskHandlingThreeLevelReviewValidate
* @author likeadmin
* @date 2024/02/22 17:18
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ApplyWithSeal验证器
* Class ApplyWithSealValidate
* @package app\adminapi\validate\project_process_management
*/
class ApplyWithSealValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ApplyWithSealValidate
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ApplyWithSealValidate
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ApplyWithSealValidate
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ApplyWithSealValidate
* @author likeadmin
* @date 2024/02/23 15:05
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* JianliProjectProgressReport验证器
* Class JianliProjectProgressReportValidate
* @package app\adminapi\validate\project_process_management
*/
class JianliProjectProgressReportValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return JianliProjectProgressReportValidate
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return JianliProjectProgressReportValidate
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return JianliProjectProgressReportValidate
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return JianliProjectProgressReportValidate
* @author likeadmin
* @date 2024/02/23 11:47
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectChangeVisaContent验证器
* Class ProjectChangeVisaContentValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectChangeVisaContentValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectChangeVisaContentValidate
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectChangeVisaContentValidate
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectChangeVisaContentValidate
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectChangeVisaContentValidate
* @author likeadmin
* @date 2024/02/23 10:27
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectChangeVisa验证器
* Class ProjectChangeVisaValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectChangeVisaValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectChangeVisaValidate
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectChangeVisaValidate
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectChangeVisaValidate
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectChangeVisaValidate
* @author likeadmin
* @date 2024/02/23 09:58
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectProgressPaymentDetail验证器
* Class ProjectProgressPaymentDetailValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectProgressPaymentDetailValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectProgressPaymentDetailValidate
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectProgressPaymentDetailValidate
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectProgressPaymentDetailValidate
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectProgressPaymentDetailValidate
* @author likeadmin
* @date 2024/02/23 14:17
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectProgressPayment验证器
* Class ProjectProgressPaymentValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectProgressPaymentValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectProgressPaymentValidate
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectProgressPaymentValidate
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectProgressPaymentValidate
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectProgressPaymentValidate
* @author likeadmin
* @date 2024/02/23 13:47
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectRectification验证器
* Class ProjectRectificationValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectRectificationValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectRectificationValidate
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectRectificationValidate
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectRectificationValidate
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectRectificationValidate
* @author likeadmin
* @date 2024/02/23 11:22
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\project_process_management;
use app\common\validate\BaseValidate;
/**
* ProjectSurveySignature验证器
* Class ProjectSurveySignatureValidate
* @package app\adminapi\validate\project_process_management
*/
class ProjectSurveySignatureValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return ProjectSurveySignatureValidate
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return ProjectSurveySignatureValidate
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return ProjectSurveySignatureValidate
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return ProjectSurveySignatureValidate
* @author likeadmin
* @date 2024/02/23 11:06
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\task;
use app\common\validate\BaseValidate;
/**
* TaskAllocation验证器
* Class TaskAllocationValidate
* @package app\adminapi\validate\task
*/
class TaskAllocationValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return TaskAllocationValidate
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return TaskAllocationValidate
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return TaskAllocationValidate
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return TaskAllocationValidate
* @author likeadmin
* @date 2024/02/22 10:47
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,94 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\adminapi\validate\task;
use app\common\validate\BaseValidate;
/**
* TaskType验证器
* Class TaskTypeValidate
* @package app\adminapi\validate\task
*/
class TaskTypeValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
];
/**
* @notes 添加场景
* @return TaskTypeValidate
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function sceneAdd()
{
return $this->remove('id', true);
}
/**
* @notes 编辑场景
* @return TaskTypeValidate
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function sceneEdit()
{
return $this->only(['id']);
}
/**
* @notes 删除场景
* @return TaskTypeValidate
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return TaskTypeValidate
* @author likeadmin
* @date 2024/02/22 10:06
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ApprovalIssuanceAchievementDocuments模型
* Class ApprovalIssuanceAchievementDocuments
* @package app\common\model
*/
class ApprovalIssuanceAchievementDocuments extends BaseModel
{
use SoftDelete;
protected $name = 'approval_issuance_achievement_documents';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* DataReception模型
* Class DataReception
* @package app\common\model
*/
class DataReception extends BaseModel
{
use SoftDelete;
protected $name = 'data_reception';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectCommission模型
* Class ProjectCommission
* @package app\common\model
*/
class ProjectCommission extends BaseModel
{
use SoftDelete;
protected $name = 'project_commission';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectCommissionDetail模型
* Class ProjectCommissionDetail
* @package app\common\model
*/
class ProjectCommissionDetail extends BaseModel
{
use SoftDelete;
protected $name = 'project_commission_detail';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* TaskDetail模型
* Class TaskDetail
* @package app\common\model
*/
class TaskDetail extends BaseModel
{
use SoftDelete;
protected $name = 'task_detail';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* TaskHandlingThreeLevelReview模型
* Class TaskHandlingThreeLevelReview
* @package app\common\model
*/
class TaskHandlingThreeLevelReview extends BaseModel
{
use SoftDelete;
protected $name = 'task_handling_three_level_review';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ApplyWithSeal模型
* Class ApplyWithSeal
* @package app\common\model\project_process_management
*/
class ApplyWithSeal extends BaseModel
{
use SoftDelete;
protected $name = 'apply_with_seal';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* JianliProjectProgressReport模型
* Class JianliProjectProgressReport
* @package app\common\model\project_process_management
*/
class JianliProjectProgressReport extends BaseModel
{
use SoftDelete;
protected $name = 'jianli_project_progress_report';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectChangeVisa模型
* Class ProjectChangeVisa
* @package app\common\model\project_process_management
*/
class ProjectChangeVisa extends BaseModel
{
use SoftDelete;
protected $name = 'project_change_visa';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectChangeVisaContent模型
* Class ProjectChangeVisaContent
* @package app\common\model\project_process_management
*/
class ProjectChangeVisaContent extends BaseModel
{
use SoftDelete;
protected $name = 'project_change_visa_content';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectProgressPayment模型
* Class ProjectProgressPayment
* @package app\common\model\project_process_management
*/
class ProjectProgressPayment extends BaseModel
{
use SoftDelete;
protected $name = 'project_progress_payment';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectProgressPaymentDetail模型
* Class ProjectProgressPaymentDetail
* @package app\common\model\project_process_management
*/
class ProjectProgressPaymentDetail extends BaseModel
{
use SoftDelete;
protected $name = 'project_progress_payment_detail';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectRectification模型
* Class ProjectRectification
* @package app\common\model\project_process_management
*/
class ProjectRectification extends BaseModel
{
use SoftDelete;
protected $name = 'project_rectification';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\project_process_management;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* ProjectSurveySignature模型
* Class ProjectSurveySignature
* @package app\common\model\project_process_management
*/
class ProjectSurveySignature extends BaseModel
{
use SoftDelete;
protected $name = 'project_survey_signature';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\task;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* TaskAllocation模型
* Class TaskAllocation
* @package app\common\model\task
*/
class TaskAllocation extends BaseModel
{
use SoftDelete;
protected $name = 'task_allocation';
protected $deleteTime = 'delete_time';
}

View File

@ -0,0 +1,34 @@
<?php
// +----------------------------------------------------------------------
// | likeadmin快速开发前后端分离管理后台PHP版
// +----------------------------------------------------------------------
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
// | 开源版本可自由商用可去除界面版权logo
// | gitee下载https://gitee.com/likeshop_gitee/likeadmin
// | github下载https://github.com/likeshop-github/likeadmin
// | 访问官网https://www.likeadmin.cn
// | likeadmin团队 版权所有 拥有最终解释权
// +----------------------------------------------------------------------
// | author: likeadminTeam
// +----------------------------------------------------------------------
namespace app\common\model\task;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* TaskType模型
* Class TaskType
* @package app\common\model\task
*/
class TaskType extends BaseModel
{
use SoftDelete;
protected $name = 'task_type';
protected $deleteTime = 'delete_time';
}