From 7181f764131bf25df7204719b260ac7607c95455 Mon Sep 17 00:00:00 2001 From: ag <2663588772@qq.com> Date: Thu, 26 Dec 2024 10:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0svn=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReportBase.js | 2 +- artReport.js | 24 ------------------------ conditionReport.js | 4 +--- 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 artReport.js diff --git a/ReportBase.js b/ReportBase.js index 6115e30..79b2e4f 100644 --- a/ReportBase.js +++ b/ReportBase.js @@ -76,7 +76,7 @@ class ReportBase { this.grids = reportBase.grids; } if(reportBase.conditionTypes){ - this.conditionType = reportBase.conditionTypes; + this.conditionTypes = reportBase.conditionTypes; } this.checkLocationGeometry = reportBase.checkLocationGeometry || null; //geometry格式 this.environmentTemperature = reportBase.environmentTemperature || null; diff --git a/artReport.js b/artReport.js deleted file mode 100644 index b11b957..0000000 --- a/artReport.js +++ /dev/null @@ -1,24 +0,0 @@ -import CellsysApp from "@airkoon/cellsys/cellsysApp"; - -class ArtReport extends CellsysApp{ - constructor(params) { - super(params); - this.reportName = params.name; - this.artId = null; - this.artNumber = 1; - this.documentNumber = null; - let modelOptions = params.model_options; - if(modelOptions){ - this.artId = modelOptions.artworkId; - let reportInformation = modelOptions.reportInformation; - if(reportInformation){ - this.artNumber = reportInformation.artworkNumber; - this.documentNumber = reportInformation.documentNumber; - } - - } - - } -} - -export default ArtReport \ No newline at end of file diff --git a/conditionReport.js b/conditionReport.js index 02b8cf2..9855e71 100644 --- a/conditionReport.js +++ b/conditionReport.js @@ -1,8 +1,6 @@ -import artReport from './artReport'; -import ArtImage from './artImage'; + import {EditTask} from "@airkoon/cellsys/cellsysUtil"; import {artApi} from "./artApi"; -import ReportBase from "./ReportBase"; class ConditionReport { constructor(params) {