|
@@ -463,14 +463,11 @@ const showTools = {
|
|
|
readOnly: true
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
//图片类型
|
|
|
if (
|
|
|
item.InfoPointCode == "InstallPic" ||
|
|
|
- item.InfoPointCode == "InstallDrawing" ||
|
|
|
item.InfoPointCode == "Nameplate" ||
|
|
|
- item.InfoPointCode == "Pic" ||
|
|
|
- item.InfoPointCode == "Drawing"
|
|
|
+ item.InfoPointCode == "Pic"
|
|
|
) {
|
|
|
return {
|
|
|
data: "infos." + item.InfoPointCode,
|
|
@@ -482,7 +479,19 @@ const showTools = {
|
|
|
//文件类型
|
|
|
if (item.InfoPointCode == "InsuranceFile" ||
|
|
|
item.InfoPointCode == "Archive" ||
|
|
|
- item.InfoPointCode == "CheckReport") {
|
|
|
+ item.InfoPointCode == "CheckReport" ||
|
|
|
+ item.InfoPointCode == "MaintainManual" ||
|
|
|
+ item.InfoPointCode == "ApproachingAcceptance" ||
|
|
|
+ item.InfoPointCode == "AcceptanceReport" ||
|
|
|
+ item.InfoPointCode == "OperationManual" ||
|
|
|
+ item.InfoPointCode == "OriginalCertificate" ||
|
|
|
+ item.InfoPointCode == "TestReport" ||
|
|
|
+ item.InfoPointCode == "ProductCertification" ||
|
|
|
+ item.InfoPointCode == "InstallInstruction" ||
|
|
|
+ item.InfoPointCode == "Drawing" ||
|
|
|
+ item.InfoPointCode == "InstallDrawing"
|
|
|
+
|
|
|
+ ) {
|
|
|
return {
|
|
|
data: "infos." + item.InfoPointCode,
|
|
|
renderer: text.fileType,
|
|
@@ -640,10 +649,8 @@ const showTools = {
|
|
|
//图片类型
|
|
|
if (
|
|
|
item.InfoPointCode == "InstallPic" ||
|
|
|
- item.InfoPointCode == "InstallDrawing" ||
|
|
|
item.InfoPointCode == "Nameplate" ||
|
|
|
- item.InfoPointCode == "Pic" ||
|
|
|
- item.InfoPointCode == "Drawing"
|
|
|
+ item.InfoPointCode == "Pic"
|
|
|
) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
@@ -655,7 +662,18 @@ const showTools = {
|
|
|
//文件类型
|
|
|
if (item.InfoPointCode == "InsuranceFile" ||
|
|
|
item.InfoPointCode == "Archive" ||
|
|
|
- item.InfoPointCode == "CheckReport") {
|
|
|
+ item.InfoPointCode == "CheckReport" ||
|
|
|
+ item.InfoPointCode == "MaintainManual" ||
|
|
|
+ item.InfoPointCode == "ApproachingAcceptance" ||
|
|
|
+ item.InfoPointCode == "AcceptanceReport" ||
|
|
|
+ item.InfoPointCode == "OperationManual" ||
|
|
|
+ item.InfoPointCode == "OriginalCertificate" ||
|
|
|
+ item.InfoPointCode == "TestReport" ||
|
|
|
+ item.InfoPointCode == "ProductCertification" ||
|
|
|
+ item.InfoPointCode == "InstallInstruction" ||
|
|
|
+ item.InfoPointCode == "Drawing" ||
|
|
|
+ item.InfoPointCode == "InstallDrawing"
|
|
|
+ ) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
|
renderer: text.fileType,
|
|
@@ -799,10 +817,8 @@ const showTools = {
|
|
|
//图片类型
|
|
|
if (
|
|
|
item.InfoPointCode == "InstallPic" ||
|
|
|
- item.InfoPointCode == "InstallDrawing" ||
|
|
|
item.InfoPointCode == "Nameplate" ||
|
|
|
- item.InfoPointCode == "Pic" ||
|
|
|
- item.InfoPointCode == "Drawing"
|
|
|
+ item.InfoPointCode == "Pic"
|
|
|
) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
@@ -814,7 +830,18 @@ const showTools = {
|
|
|
//文件类型
|
|
|
if (item.InfoPointCode == "InsuranceFile" ||
|
|
|
item.InfoPointCode == "Archive" ||
|
|
|
- item.InfoPointCode == "CheckReport") {
|
|
|
+ item.InfoPointCode == "CheckReport" ||
|
|
|
+ item.InfoPointCode == "MaintainManual" ||
|
|
|
+ item.InfoPointCode == "ApproachingAcceptance" ||
|
|
|
+ item.InfoPointCode == "AcceptanceReport" ||
|
|
|
+ item.InfoPointCode == "OperationManual" ||
|
|
|
+ item.InfoPointCode == "OriginalCertificate" ||
|
|
|
+ item.InfoPointCode == "TestReport" ||
|
|
|
+ item.InfoPointCode == "ProductCertification" ||
|
|
|
+ item.InfoPointCode == "InstallInstruction" ||
|
|
|
+ item.InfoPointCode == "Drawing" ||
|
|
|
+ item.InfoPointCode == "InstallDrawing"
|
|
|
+ ) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
|
renderer: text.fileType,
|
|
@@ -996,10 +1023,8 @@ const showTools = {
|
|
|
//图片类型
|
|
|
if (
|
|
|
item.InfoPointCode == "InstallPic" ||
|
|
|
- item.InfoPointCode == "InstallDrawing" ||
|
|
|
item.InfoPointCode == "Nameplate" ||
|
|
|
- item.InfoPointCode == "Pic" ||
|
|
|
- item.InfoPointCode == "Drawing"
|
|
|
+ item.InfoPointCode == "Pic"
|
|
|
) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
@@ -1007,11 +1032,21 @@ const showTools = {
|
|
|
readOnly: onlyRead
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
//文件类型
|
|
|
if (item.InfoPointCode == "InsuranceFile" ||
|
|
|
item.InfoPointCode == "Archive" ||
|
|
|
- item.InfoPointCode == "CheckReport") {
|
|
|
+ item.InfoPointCode == "CheckReport" ||
|
|
|
+ item.InfoPointCode == "MaintainManual" ||
|
|
|
+ item.InfoPointCode == "ApproachingAcceptance" ||
|
|
|
+ item.InfoPointCode == "AcceptanceReport" ||
|
|
|
+ item.InfoPointCode == "OperationManual" ||
|
|
|
+ item.InfoPointCode == "OriginalCertificate" ||
|
|
|
+ item.InfoPointCode == "TestReport" ||
|
|
|
+ item.InfoPointCode == "ProductCertification" ||
|
|
|
+ item.InfoPointCode == "InstallInstruction" ||
|
|
|
+ item.InfoPointCode == "Drawing" ||
|
|
|
+ item.InfoPointCode == "InstallDrawing"
|
|
|
+ ) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
|
renderer: text.fileType,
|
|
@@ -1091,10 +1126,8 @@ const showTools = {
|
|
|
//图片类型
|
|
|
if (
|
|
|
item.InfoPointCode == "InstallPic" ||
|
|
|
- item.InfoPointCode == "InstallDrawing" ||
|
|
|
item.InfoPointCode == "Nameplate" ||
|
|
|
- item.InfoPointCode == "Pic" ||
|
|
|
- item.InfoPointCode == "Drawing"
|
|
|
+ item.InfoPointCode == "Pic"
|
|
|
) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
@@ -1106,7 +1139,18 @@ const showTools = {
|
|
|
//文件类型
|
|
|
if (item.InfoPointCode == "InsuranceFile" ||
|
|
|
item.InfoPointCode == "Archive" ||
|
|
|
- item.InfoPointCode == "CheckReport") {
|
|
|
+ item.InfoPointCode == "CheckReport" ||
|
|
|
+ item.InfoPointCode == "MaintainManual" ||
|
|
|
+ item.InfoPointCode == "ApproachingAcceptance" ||
|
|
|
+ item.InfoPointCode == "AcceptanceReport" ||
|
|
|
+ item.InfoPointCode == "OperationManual" ||
|
|
|
+ item.InfoPointCode == "OriginalCertificate" ||
|
|
|
+ item.InfoPointCode == "TestReport" ||
|
|
|
+ item.InfoPointCode == "ProductCertification" ||
|
|
|
+ item.InfoPointCode == "InstallInstruction" ||
|
|
|
+ item.InfoPointCode == "Drawing" ||
|
|
|
+ item.InfoPointCode == "InstallDrawing"
|
|
|
+ ) {
|
|
|
return {
|
|
|
data: item.Path,
|
|
|
renderer: text.fileType,
|