This commit is contained in:
shengchanzhe 2024-01-14 19:47:49 +08:00
parent 86dacbac4c
commit 627445edda
1735 changed files with 1063 additions and 1057 deletions

View File

@ -47,7 +47,7 @@ class BuildReportLogic extends BaseLogic
{
Db::startTrans();
try {
$detail = json_decode($params['person_detail'],true);
$detail =$params['person_detail'];// json_decode($params['person_detail'],true);
$reportRes = BuildReport::create([
'report_code' => data_unique_code('施工汇报'),
'plan_id' => $params['plan_id'],

View File

@ -45,7 +45,7 @@ class ContractLogic extends BaseLogic
public static function add(array $params): bool
{
$buy_bidding_document = BidBuyBiddingDocument::field('project_id')->where('id',$params['buy_bidding_document_id'])->findOrEmpty();
$returned_money = json_decode($params['returned_money'],true);
$returned_money = $params['returned_money'];//json_decode($params['returned_money'],true);
Db::startTrans();
try {
$contractRes = Contract::create([

View File

@ -47,9 +47,9 @@ class ProcurementContractLogic extends BaseLogic
public static function add(array $params): bool
{
//采购合同明细
$procurement_contract_detail = json_decode($params['procurement_contract_detail'],true);
$procurement_contract_detail =$params['procurement_contract_detail'];// json_decode($params['procurement_contract_detail'],true);
//付款计划
$payment_plan = json_decode($params['payment_plan'],true);
$payment_plan =$params['payment_plan'];// json_decode($params['payment_plan'],true);
//税率字典值
$tax_rate_dict = DictData::where('type_value','tax_rate')->column('name','value');
//合同金额\不含税金额
@ -131,9 +131,9 @@ class ProcurementContractLogic extends BaseLogic
public static function edit(array $params): bool
{
//采购合同明细
$procurement_contract_detail = json_decode($params['procurement_contract_detail'],true);
$procurement_contract_detail = $params['procurement_contract_detail'];//json_decode($params['procurement_contract_detail'],true);
//付款计划
$payment_plan = json_decode($params['payment_plan'],true);
$payment_plan = $params['payment_plan'];//json_decode($params['payment_plan'],true);
//税率字典值
$tax_rate_dict = DictData::where('type_value','tax_rate')->column('name','value');
//合同金额\不含税金额

View File

@ -47,9 +47,9 @@ class SubcontractingContractLogic extends BaseLogic
public static function add(array $params): bool
{
//分包合同明细
$subcontracting_contract_detail = json_decode($params['subcontracting_contract_detail'],true);
$subcontracting_contract_detail = $params['subcontracting_contract_detail'];//json_decode($params['subcontracting_contract_detail'],true);
//付款计划
$payment_plan = json_decode($params['payment_plan'],true);
$payment_plan = $params['payment_plan'];//json_decode($params['payment_plan'],true);
//税率字典值
$tax_rate_dict = DictData::where('type_value','tax_rate')->column('name','value');
//合同金额\不含税金额
@ -132,9 +132,9 @@ class SubcontractingContractLogic extends BaseLogic
public static function edit(array $params): bool
{
//分包合同明细
$subcontracting_contract_detail = json_decode($params['subcontracting_contract_detail'],true);
$subcontracting_contract_detail =$params['subcontracting_contract_detail'];// json_decode($params['subcontracting_contract_detail'],true);
//付款计划
$payment_plan = json_decode($params['payment_plan'],true);
$payment_plan = $params['payment_plan'];//json_decode($params['payment_plan'],true);
//税率字典值
$tax_rate_dict = DictData::where('type_value','tax_rate')->column('name','value');
//合同金额\不含税金额

View File

@ -44,7 +44,7 @@ class CustomLogic extends BaseLogic
{
Db::startTrans();
try {
$other_contacts = json_decode($params['other_contacts'],true);
$other_contacts = $params['other_contacts'];
$customRes = Custom::create([
'org_id' => $params['org_id'],
'dept_id' => $params['dept_id'],

View File

@ -43,7 +43,7 @@ class MaterialPurchaseRequestLogic extends BaseLogic
*/
public static function add(array $params): bool
{
$detail = json_decode($params['purchase_request_detail'],true);
$detail =$params['purchase_request_detail'];// json_decode($params['purchase_request_detail'],true);
Db::startTrans();
try {
$MaterialPurchaseRequestRes = MaterialPurchaseRequest::create([

View File

@ -42,7 +42,7 @@ class ProjectAttendanceRecordLogic extends BaseLogic
{
Db::startTrans();
try {
$attendance_detail = json_decode($params['attendance_detail'],true);
$attendance_detail = $params['attendance_detail'];//json_decode($params['attendance_detail'],true);
$attendance_code = data_unique_code('项目考勤记录');
$ProjectAttendanceRecordRes = ProjectAttendanceRecord::create([
'project_id' => $params['project_id'],

View File

@ -42,7 +42,7 @@ class ProjectMaterialBudgetLogic extends BaseLogic
*/
public static function add(array $params): bool
{
$detail = json_decode($params['material_budget_detail'],true);
$detail = $params['material_budget_detail'];//json_decode($params['material_budget_detail'],true);
Db::startTrans();
try {
$project_material_budget = ProjectMaterialBudget::create([
@ -85,7 +85,7 @@ class ProjectMaterialBudgetLogic extends BaseLogic
*/
public static function edit(array $params): bool
{
$detail = json_decode($params['material_budget_detail'],true);
$detail = $params['material_budget_detail'];//json_decode($params['material_budget_detail'],true);
Db::startTrans();
try {
ProjectMaterialBudget::where('id', $params['id'])->update([

View File

@ -46,7 +46,7 @@ class ProjectSalaryPaymentLogic extends BaseLogic
{
Db::startTrans();
try {
$payment_detail = json_decode($params['payment_detail'],true);
$payment_detail = $params['payment_detail'];//json_decode($params['payment_detail'],true);
$res = ProjectSalaryPayment::create([
'payment_code' => data_unique_code('项目工资付款单'),
'project_id' => $params['project_id'],

View File

@ -42,7 +42,7 @@ class ProjectSubpackageBudgetLogic extends BaseLogic
*/
public static function add(array $params): bool
{
$detail = json_decode($params['subpackage_budget_detail'],true);
$detail = $params['subpackage_budget_detail'];//json_decode($params['subpackage_budget_detail'],true);
Db::startTrans();
try {
$res = ProjectSubpackageBudget::create([
@ -87,7 +87,7 @@ class ProjectSubpackageBudgetLogic extends BaseLogic
*/
public static function edit(array $params): bool
{
$detail = json_decode($params['subpackage_budget_detail'],true);
$detail =$params['subpackage_budget_detail'];//json_decode($params['subpackage_budget_detail'],true);
Db::startTrans();
try {
ProjectSubpackageBudget::where('id', $params['id'])->update([

View File

@ -175,7 +175,7 @@ class BidBiddingDecisionValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -134,7 +134,7 @@ class BidDocumentExaminationValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -136,7 +136,7 @@ class BidResultValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -127,7 +127,7 @@ class BidSecurityApplyValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -112,7 +112,7 @@ class BidSecurityRefundValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -125,7 +125,7 @@ class BuildProcessSettingsValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -111,7 +111,7 @@ class BuildReportValidate extends BaseValidate
public function checkFile($value): bool|string
{
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}
@ -120,7 +120,7 @@ class BuildReportValidate extends BaseValidate
public function checkDetail($value,$rule,$data): bool|string
{
$person_detail = json_decode($value,true);
$person_detail =$value;// json_decode($value,true);
if(empty($person_detail) || !is_array($person_detail)){
return '人工明细数据格式错误';
}

View File

@ -157,7 +157,7 @@ class ContractNegotiationValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex =$value;// json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件数据格式错误';
}

View File

@ -217,7 +217,7 @@ class ContractValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -227,7 +227,7 @@ class ContractValidate extends BaseValidate
public function checkReturnedMoney($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '回款计划数据格式错误';
}

View File

@ -194,7 +194,7 @@ class ProcurementContractValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -204,7 +204,7 @@ class ProcurementContractValidate extends BaseValidate
public function checkProcurementContractDetail($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '采购合同明细数据格式错误';
}
@ -251,7 +251,7 @@ class ProcurementContractValidate extends BaseValidate
public function checkPaymentPlan($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '付款计划据格式错误';
}

View File

@ -127,7 +127,7 @@ class SubcontractingContractNegotiationValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -188,7 +188,7 @@ class SubcontractingContractValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -198,7 +198,7 @@ class SubcontractingContractValidate extends BaseValidate
public function checkSubcontractingContractDetail($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '分包合同明细数据格式错误';
}
@ -245,7 +245,7 @@ class SubcontractingContractValidate extends BaseValidate
public function checkPaymentPlan($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '付款计划据格式错误';
}

View File

@ -118,7 +118,7 @@ class CustomFollowValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -204,7 +204,7 @@ class CustomServiceValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -149,11 +149,10 @@ class CustomValidate extends BaseValidate
public function checkContacts($value): bool|string
{
$params = json_decode($value,true);
if(empty($params) || !is_array($params)){
if(empty($value) || !is_array($value)){
return '其他联系人数据格式错误';
}
foreach($params as $v){
foreach($value as $v){
if(empty($v['name'])){
return '请填写联系人姓名';
}

View File

@ -147,7 +147,7 @@ class CustomerDemandSolutionValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -143,7 +143,7 @@ class CustomerDemandValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -145,7 +145,7 @@ class FinanceInvoiceApplyValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -191,7 +191,7 @@ class FinancePaymentApplyValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -156,7 +156,7 @@ class FinancePaymentPlanValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -157,7 +157,7 @@ class FinanceReceiptRecordValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -130,7 +130,7 @@ class FinanceRefundApplyValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -148,7 +148,7 @@ class FinanceRefundRecordValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -144,7 +144,7 @@ class FinanceReturnedMoneyValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -161,7 +161,7 @@ class FinanceReturnedRecordValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -137,7 +137,7 @@ class MaterialPurchaseRequestValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -147,7 +147,7 @@ class MaterialPurchaseRequestValidate extends BaseValidate
public function checkPurchaseRequestDetail($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '申购明细数据格式错误';
}

View File

@ -136,7 +136,7 @@ class MaterialValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -144,7 +144,7 @@ class MaterialWarehouseValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -146,7 +146,7 @@ class CompetitorValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -112,7 +112,7 @@ class ProjectAttendanceRecordValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}
@ -122,7 +122,7 @@ class ProjectAttendanceRecordValidate extends BaseValidate
public function checkAttendanceDetail($value,$rule,$data): bool|string
{
$attendance_detail = json_decode($value,true);
$attendance_detail = $value;//json_decode($value,true);
if(empty($attendance_detail) || !is_array($attendance_detail)){
return '考勤记录清单数据格式错误';
}

View File

@ -198,7 +198,7 @@ class ProjectEstimateValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -121,7 +121,7 @@ class ProjectInsuranceManagementValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -163,7 +163,7 @@ class ProjectLaborContractValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -133,7 +133,7 @@ class ProjectMaterialBudgetValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -144,7 +144,7 @@ class ProjectMaterialBudgetValidate extends BaseValidate
public function checkMaterialBudgetDetail($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '材料预算清单数据格式错误';
}

View File

@ -123,7 +123,7 @@ class ProjectSalaryPaymentValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}
@ -133,7 +133,7 @@ class ProjectSalaryPaymentValidate extends BaseValidate
public function checkPaymentDetail($value,$rule,$data): bool|string
{
$payment_detail = json_decode($value,true);
$payment_detail = $value;//json_decode($value,true);
if(empty($payment_detail) || !is_array($payment_detail)){
return '工资支付明细数据格式错误';
}

View File

@ -132,7 +132,7 @@ class ProjectSettlementValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -130,7 +130,7 @@ class ProjectSubcontractSettlementValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -137,7 +137,7 @@ class ProjectSubpackageBudgetValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}
@ -147,7 +147,7 @@ class ProjectSubpackageBudgetValidate extends BaseValidate
public function checkSubpackageBudgetDetail($value): bool|string
{
$detail = json_decode($value,true);
$detail = $value;//json_decode($value,true);
if(empty($detail) || !is_array($detail)){
return '分包预算明细数据格式错误';
}

View File

@ -155,7 +155,7 @@ class ProjectTotalBudgetValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '预算清单格式错误';
}

View File

@ -257,7 +257,7 @@ class ProjectValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex =$value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -129,7 +129,7 @@ class QualityAcceptValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -129,7 +129,7 @@ class QualityAccidentValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -118,7 +118,7 @@ class QualityDetectionTempValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -119,7 +119,7 @@ class QualityDetectionValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -130,7 +130,7 @@ class QualityEventValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file =$value;// json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -130,7 +130,7 @@ class QualityMboValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -118,7 +118,7 @@ class QualitySpecificationValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -129,7 +129,7 @@ class QualitySuperviseValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -200,7 +200,7 @@ class QuotationValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -145,7 +145,7 @@ class SafetyAccidentValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -128,7 +128,7 @@ class SafetyCheckValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -141,7 +141,7 @@ class SafetyEmergencyPlanValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -144,7 +144,7 @@ class SafetyEvaluateValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -145,7 +145,7 @@ class SafetyEventValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -127,7 +127,7 @@ class SafetyHazardValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -149,7 +149,7 @@ class SafetyProductMonthValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -144,7 +144,7 @@ class SafetyRehearsalValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -135,7 +135,7 @@ class SafetyStandardValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -121,7 +121,7 @@ class SafetySuperviseValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -144,7 +144,7 @@ class SafetyTargetValidate extends BaseValidate
public function checkFile($value): bool|string
{
if($value != ''){
$file = json_decode($value,true);
$file = $value;//json_decode($value,true);
if(empty($file)){
return '附件必须是json数组';
}

View File

@ -137,7 +137,7 @@ class SupplierContactsValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -171,7 +171,7 @@ class SupplierValidate extends BaseValidate
public function checkAnnex($value): bool|string
{
if(!empty($value) && $value != ''){
$annex = json_decode($value,true);
$annex = $value;//json_decode($value,true);
if(empty($annex) || !is_array($annex)){
return '附件格式错误';
}

View File

@ -0,0 +1 @@
import{_ as o}from"./no_perms.2c994bf8.js";import r from"./error.e8636098.js";import{d as i,o as m,c as p,V as e,M as s,a as t}from"./@vue.ab566ce7.js";import"./element-plus.b454ba38.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.79cf08f3.js";import"./axios.77c85d3e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./index.aabf73b2.js";import"./lodash.3080e53f.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.54284180.js";import"./color.1c59b943.js";import"./clone.0c702ab2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.66e2071a.js";import"./ms.a9ae1d6d.js";import"./nprogress.81114d43.js";import"./vue-clipboard3.f3fb4eed.js";import"./clipboard.c973b911.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const u={class:"error404"},a=t("div",{class:"flex justify-center"},[t("img",{class:"w-[150px] h-[150px]",src:o,alt:""})],-1),U=i({__name:"403",setup(c){return(n,_)=>(m(),p("div",u,[e(r,{code:"403",title:"\u60A8\u7684\u8D26\u53F7\u6743\u9650\u4E0D\u8DB3\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u6DFB\u52A0\u6743\u9650\uFF01","show-btn":!1},{content:s(()=>[a]),_:1})]))}});export{U as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./no_perms.2c994bf8.js";import r from"./error.111cd954.js";import{d as i,o as m,c as p,V as e,M as s,a as t}from"./@vue.ab566ce7.js";import"./element-plus.12e3b48f.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./index.897504a0.js";import"./lodash.1d82ee7c.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.91f9577a.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const u={class:"error404"},a=t("div",{class:"flex justify-center"},[t("img",{class:"w-[150px] h-[150px]",src:o,alt:""})],-1),S=i({__name:"403",setup(c){return(n,_)=>(m(),p("div",u,[e(r,{code:"403",title:"\u60A8\u7684\u8D26\u53F7\u6743\u9650\u4E0D\u8DB3\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u6DFB\u52A0\u6743\u9650\uFF01","show-btn":!1},{content:s(()=>[a]),_:1})]))}});export{S as default};

View File

@ -1 +0,0 @@
import o from"./error.111cd954.js";import{d as r,o as t,c as m,V as p}from"./@vue.ab566ce7.js";import"./element-plus.12e3b48f.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./index.897504a0.js";import"./lodash.1d82ee7c.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.91f9577a.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const i={class:"error404"},M=r({__name:"404",setup(e){return(u,c)=>(t(),m("div",i,[p(o,{code:"404",title:"\u54CE\u5440\uFF0C\u51FA\u9519\u4E86\uFF01\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u2026"})]))}});export{M as default};

View File

@ -0,0 +1 @@
import o from"./error.e8636098.js";import{d as r,o as t,c as m,V as p}from"./@vue.ab566ce7.js";import"./element-plus.b454ba38.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.79cf08f3.js";import"./axios.77c85d3e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./index.aabf73b2.js";import"./lodash.3080e53f.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.54284180.js";import"./color.1c59b943.js";import"./clone.0c702ab2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.66e2071a.js";import"./ms.a9ae1d6d.js";import"./nprogress.81114d43.js";import"./vue-clipboard3.f3fb4eed.js";import"./clipboard.c973b911.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const i={class:"error404"},P=r({__name:"404",setup(e){return(u,c)=>(t(),m("div",i,[p(o,{code:"404",title:"\u54CE\u5440\uFF0C\u51FA\u9519\u4E86\uFF01\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u2026"})]))}});export{P as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{L as s,M as _}from"./element-plus.b454ba38.js";import{a as n}from"./project_follow_up.e9e077a1.js";import"./index.aabf73b2.js";import{r as e,a0 as a,o as c,c as u,a as l,V as t,M as d,W as b}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.79cf08f3.js";import"./axios.77c85d3e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.3080e53f.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.54284180.js";import"./color.1c59b943.js";import"./clone.0c702ab2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.66e2071a.js";import"./ms.a9ae1d6d.js";import"./nprogress.81114d43.js";import"./vue-clipboard3.f3fb4eed.js";import"./clipboard.c973b911.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const f=l("div",{class:"tit"},"\u9879\u76EE\u8DDF\u8FDB",-1),tt={__name:"Business",setup(w){const r=e([]);e([]),e([]),e([]),e([]),a({page_size:10,page_no:1,project_id:""});const i=a({page_size:10,page_no:1,project_id:""});return(()=>{n(i).then(p=>{r.value=p.lists,total.value=p.count})})(),(p,x)=>{const o=s,m=_;return c(),u(b,null,[f,l("div",null,[t(m,{data:r.value,stripe:"",style:{width:"100%"}},{default:d(()=>[t(o,{label:"\u4E3B\u9898",prop:"theme",width:"180"}),t(o,{label:"\u65E5\u671F",prop:"follow_date",width:"180"}),t(o,{label:"\u65B9\u6848\u5185\u5BB9",prop:"solution_content"}),t(o,{label:"\u7C7B\u578B",prop:"follow_type_text"}),t(o,{label:"\u6267\u884C\u4EBA",prop:"executor"}),t(o,{label:"\u9636\u6BB5",prop:"follow_stage_text"}),t(o,{label:"\u72B6\u6001",prop:"follow_status_text"}),t(o,{label:"\u9879\u76EE\u628A\u63E1\u5EA6",prop:"project_assurance_text"})]),_:1},8,["data"])])],64)}}};export{tt as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More