diff --git a/Test/MyMaven/src/main/java/com/renchao/test/RSATest.java b/Test/MyMaven/src/main/java/com/renchao/test/RSATest.java index 0c1e7d72..1e525734 100644 --- a/Test/MyMaven/src/main/java/com/renchao/test/RSATest.java +++ b/Test/MyMaven/src/main/java/com/renchao/test/RSATest.java @@ -65,7 +65,7 @@ public class RSATest { RSA rsa = new RSA(privateKey,null); - String str = "url=/checkInInfo/reviewResult&token=5bce7d71-d60b-4858-a852-15380eba6c84×tamp=1681440129945"; + String str = "url=/checkInInfo/reviewResult&customerArea=2220&token=2bce7d71-d60b-4858-a852-15380eba6c84×tamp=" + System.currentTimeMillis(); String base64 = rsa.encryptBase64(str, KeyType.PrivateKey); System.out.println(base64); @@ -74,7 +74,7 @@ public class RSATest { RSA rsa2 = new RSA(null, publicKey); try { - System.out.println(rsa2.decryptStr(base64 + "ss", KeyType.PublicKey)); + System.out.println(rsa2.decryptStr(base64, KeyType.PublicKey)); } catch (CryptoException e) { System.out.println("发生异常===================" + e); } diff --git a/Test/TestChain/src/main/java/com/renchao/Demo01.java b/Test/TestChain/src/main/java/com/renchao/Demo01.java index b40daa79..e5e043d7 100644 --- a/Test/TestChain/src/main/java/com/renchao/Demo01.java +++ b/Test/TestChain/src/main/java/com/renchao/Demo01.java @@ -7,7 +7,6 @@ import cn.dreamdt.audit.main.DataAudit; import cn.dreamdt.audit.maker.chain.ChainConsumer; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; -import io.netty.handler.ssl.OpenSsl; import java.lang.reflect.Field; import java.net.MalformedURLException; @@ -34,24 +33,22 @@ public class Demo01 { dataAudit.subscribeChain(null,null,null); // 数据上链 测试数据 - JSONObject bizData = new JSONObject(); - bizData.put("behaviorId", "20240701798445635972400"); - bizData.put("platformCid", "did:unitrust:6r5eR9TPcSNRCGYjfEsDxbXjm9Cm"); - bizData.put("ccid", "did:unitrust:7CXMdXzSmNrGk3mWPe9jpsHg2HmU"); - bizData.put("sceneCode", "77"); - bizData.put("startTime", "2024-07-05 16:43:52"); - // bizData.put("endTime", "2024-07-05 16:43:52"); - // bizData.put("endTime", ""); - bizData.put("tripDistance", "5544.000"); - bizData.put("hashData", "5f89452b52a9df1fe0060c8ac3de5b6ffea3e6855cf307db31ac0359d67d7888"); - bizData.put("state", 1); + JSONObject bizData = buildTestJsonObject("20240701798445635972402"); //调用合约 - MessageBean messageBean = dataAudit.invoke("CAMC", "saveAssetData", bizData,"00570000000000000000121"); + MessageBean messageBean = dataAudit.invoke("CAMC", "saveAssetData", bizData,bizData.get("behaviorId").toString()); + + System.out.println("=============异步json============\n"); + System.out.println(JSON.toJSONString(messageBean)); + System.out.println("\n========================="); + + bizData = buildTestJsonObject("20240701798445635972403"); + messageBean = dataAudit.invoke(null, "CAMC", "saveAssetData", bizData, bizData.get("behaviorId").toString(), "", 10000L, 10000L); - System.out.println("=============json============\n"); + System.out.println("=============同步json============\n"); System.out.println(JSON.toJSONString(messageBean)); System.out.println("\n========================="); + Map map = new HashMap<>(); map.put("behaviorId", "20240701798445635972400"); // 失败的 // map.put("behaviorId", "00571000000000000000126"); // 成功d @@ -107,6 +104,21 @@ public class Demo01 { } + private static JSONObject buildTestJsonObject(String behaviorId) { + JSONObject bizData = new JSONObject(); + bizData.put("behaviorId", behaviorId); + bizData.put("platformCid", "did:unitrust:6r5eR9TPcSNRCGYjfEsDxbXjm9Cm"); + bizData.put("ccid", "did:unitrust:7CXMdXzSmNrGk3mWPe9jpsHg2HmU"); + bizData.put("sceneCode", "77"); + bizData.put("startTime", "2024-07-05 16:43:52"); + // bizData.put("endTime", "2024-07-05 16:43:52"); + // bizData.put("endTime", ""); + bizData.put("tripDistance", "5544.000"); + bizData.put("hashData", "5f89452b52a9df1fe0060c8ac3de5b6ffea3e6855cf307db31ac0359d67d7888"); + bizData.put("state", 1); + return bizData; + } + private static void setParent(ClassLoader classLoader) { diff --git a/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar00 b/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar00 deleted file mode 100644 index ed8e7a28..00000000 Binary files a/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar00 and /dev/null differ diff --git a/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar44 b/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar44 deleted file mode 100644 index e2a2e1d5..00000000 Binary files a/Test/TestChain/src/main/resources/lib/chainmaker-sdk-java-2.3.2.jar44 and /dev/null differ diff --git a/Test/decompile/pom.xml b/Test/decompile/pom.xml new file mode 100644 index 00000000..95794bbc --- /dev/null +++ b/Test/decompile/pom.xml @@ -0,0 +1,106 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 2.6.4 + + + com.renchao + decompile + 1.0-SNAPSHOT + + + 8 + 8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + + + + + + com.github.wvengen + proguard-maven-plugin + 2.6.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Test/decompile/src/main/java/com/renchao/MyApp.java b/Test/decompile/src/main/java/com/renchao/MyApp.java new file mode 100644 index 00000000..ca9c0b35 --- /dev/null +++ b/Test/decompile/src/main/java/com/renchao/MyApp.java @@ -0,0 +1,28 @@ +package com.renchao; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * Created on: 2024-09-13 + * + * @author ren_chao + */ +@SpringBootApplication +public class MyApp { + public static void main(String[] args) { + SpringApplication.run(MyApp.class, args); + } + + @RestController + static class MyController { + + @GetMapping("/test") + public String test() { + return "OK......."; + } + } + +} diff --git a/car-check/carcheck-admin/pom.xml b/car-check/carcheck-admin/pom.xml index 3e0e377d..0fbbb4a9 100644 --- a/car-check/carcheck-admin/pom.xml +++ b/car-check/carcheck-admin/pom.xml @@ -3,7 +3,7 @@ com.jiuyv carcheck-console - 1.0.2-SNAPSHOT + 1.0.5-SNAPSHOT 4.0.0 @@ -186,11 +186,6 @@ jaxb-api - - - org.springframework.boot - spring-boot-starter-data-redis - io.netty @@ -250,6 +245,12 @@ org.springframework.boot spring-boot-starter-cache + + + com.github.ben-manes.caffeine + caffeine + + diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/CarcheckApplication.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/CarcheckApplication.java index 9cca46c1..57db6dbe 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/CarcheckApplication.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/CarcheckApplication.java @@ -5,6 +5,7 @@ import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; +import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Bean; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.client.RestTemplate; @@ -15,6 +16,7 @@ import org.springframework.web.client.RestTemplate; * @author admin */ @EnableScheduling +@EnableCaching @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) public class CarcheckApplication { private static final Logger LOGGER = LoggerFactory.getLogger(CarcheckApplication.class); diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/config/CacheConfig.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/config/CacheConfig.java deleted file mode 100644 index 32dab033..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/config/CacheConfig.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.jiuyv.business.app.config; - -/** - * @author he_jiebing@jiuyv.com - * @create 2023-08-25 16:39 - */ - -import com.google.common.cache.CacheBuilder; -import org.springframework.cache.CacheManager; -import org.springframework.cache.annotation.EnableCaching; -import org.springframework.cache.concurrent.ConcurrentMapCache; -import org.springframework.cache.concurrent.ConcurrentMapCacheManager; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -import java.util.concurrent.TimeUnit; - -@Configuration -@EnableCaching -public class CacheConfig { - - @Bean - public CacheManager cacheManager() { - ConcurrentMapCacheManager cacheManager = new ConcurrentMapCacheManager() { - @Override - protected org.springframework.cache.Cache createConcurrentMapCache(String name) { - return new ConcurrentMapCache(name, - CacheBuilder.newBuilder() - .expireAfterWrite(1, TimeUnit.DAYS) // Set cache expiration time - .build().asMap(), - false); - } - }; - - return cacheManager; - } -} - diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/service/impl/InspectServiceImpl.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/service/impl/InspectServiceImpl.java index 9561f62d..e921fec6 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/service/impl/InspectServiceImpl.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/app/service/impl/InspectServiceImpl.java @@ -31,7 +31,6 @@ import com.jiuyv.business.domain.TblCarInspectDetailHisInfo; import com.jiuyv.business.domain.TblCarInspectDetailInfo; import com.jiuyv.business.domain.TblCarInspectHisInfo; import com.jiuyv.business.domain.TblCarInspectInfo; -import com.jiuyv.business.domain.TblCarOrderFormalDetailHisInfo; import com.jiuyv.business.domain.TblCarOrderFormalDetailInfo; import com.jiuyv.business.domain.TblCarOrderFormalHisInfo; import com.jiuyv.business.domain.TblCarOrderFormalInfo; @@ -44,7 +43,6 @@ import com.jiuyv.business.mapper.TblCarInspectDetailHisInfoMapper; import com.jiuyv.business.mapper.TblCarInspectDetailInfoMapper; import com.jiuyv.business.mapper.TblCarInspectHisInfoMapper; import com.jiuyv.business.mapper.TblCarInspectInfoMapper; -import com.jiuyv.business.mapper.TblCarOrderFormalDetailHisInfoMapper; import com.jiuyv.business.mapper.TblCarOrderFormalDetailInfoMapper; import com.jiuyv.business.mapper.TblCarOrderFormalHisInfoMapper; import com.jiuyv.business.mapper.TblCarOrderFormalInfoMapper; @@ -55,6 +53,7 @@ import com.jiuyv.business.mapper.TblInspectSiteInfoMapper; import com.jiuyv.business.mapper.TblNgPartInfoMapper; import com.jiuyv.business.mapper.TblPollutantInfoMapper; import com.jiuyv.business.service.CarOrderFormalDetailHisInfoService; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.exception.ServiceException; import com.jiuyv.common.utils.CarcheckDateUtils; import com.jiuyv.common.utils.JsonUtil; @@ -66,7 +65,6 @@ import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.cache.annotation.Cacheable; -import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; @@ -129,7 +127,7 @@ public class InspectServiceImpl implements IInspectService { private TblFileInfoMapper fileInfoMapper; @Autowired - private StringRedisTemplate redisTemplate; + private LocalCache localCache; @Value("${carcheck.app.fileViewUrl}") private String fileViewUrl; @@ -309,7 +307,7 @@ public class InspectServiceImpl implements IInspectService { String checkType = req.getCheckType(); // 先查询缓存有没有 String ngPartKey = Constants.NG_PART_CACHE_PREFIX + checkType; - String ngPartRedisJson = redisTemplate.opsForValue().get(ngPartKey); + String ngPartRedisJson = localCache.getCacheObject(ngPartKey, String.class); List partList = new ArrayList<>(); if (StringUtils.isBlank(ngPartRedisJson)) { TblNgPartInfo condition = new TblNgPartInfo(); @@ -332,13 +330,13 @@ public class InspectServiceImpl implements IInspectService { return resNgPartVO; }).collect(Collectors.toList()); partList.addAll(collect); - redisTemplate.opsForValue().set(ngPartKey, JsonUtil.toJSONString(partList)); + localCache.setCacheObject(ngPartKey, JsonUtil.toJSONString(partList)); } else { List resNgPartVOS = JsonUtil.json2List(ngPartRedisJson, ResNgPartVO.class); partList.addAll(resNgPartVOS); } String pollutantKey = Constants.POLLUTANT_CACHE_PREFIX; - String pollutantRedisJson = redisTemplate.opsForValue().get(pollutantKey); + String pollutantRedisJson = localCache.getCacheObject(pollutantKey, String.class); List pollutantList = null; if (StringUtils.isBlank(pollutantRedisJson)) { TblPollutantInfo cond = new TblPollutantInfo(); @@ -354,7 +352,7 @@ public class InspectServiceImpl implements IInspectService { res.setHandFill(item.getHandFill()); return res; }).collect(Collectors.toList()); - redisTemplate.opsForValue().set(pollutantKey, JsonUtil.toJSONString(pollutantList)); + localCache.setCacheObject(pollutantKey, JsonUtil.toJSONString(pollutantList)); } else { pollutantList = JsonUtil.json2List(pollutantRedisJson, ResPollutantVO.class); } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/controller/InspectDetailInfoController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/controller/InspectDetailInfoController.java index 01a0e040..fe1e8aa9 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/controller/InspectDetailInfoController.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/controller/InspectDetailInfoController.java @@ -13,10 +13,12 @@ import com.jiuyv.common.core.controller.BaseController; import com.jiuyv.common.core.domain.AjaxResult; import com.jiuyv.common.core.page.TableDataInfo; import com.jiuyv.common.enums.BusinessType; +import com.jiuyv.common.exception.ServiceException; import com.jiuyv.common.utils.CarcheckDateUtils; import com.jiuyv.common.utils.file.FileUtils; import com.jiuyv.common.utils.poi.ExcelUtil; import org.apache.commons.lang3.StringUtils; +import org.apache.tomcat.util.http.fileupload.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; @@ -35,23 +37,24 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; +import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; import java.io.File; +import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; -import java.nio.ByteBuffer; -import java.nio.channels.FileChannel; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; -import java.nio.file.StandardOpenOption; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.List; import java.util.Set; import java.util.stream.Collectors; +import java.util.zip.CRC32; +import java.util.zip.CheckedInputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; @@ -151,9 +154,9 @@ public class InspectDetailInfoController extends BaseController { e.printStackTrace(); } } - @Anonymous + @PreAuthorize("@ss.hasPermi('business:inspectDetail:exportImages')") @GetMapping("/download/zipImages") - public void downloadImagesAsZip(HttpServletResponse response, TblCarInspectDetailInfo tblCarInspectDetailInfo) { + public AjaxResult downloadImagesAsZip(TblCarInspectDetailInfo tblCarInspectDetailInfo) { long start = System.currentTimeMillis(); try { // Create a ZIP with local images and save it to a temporary directory @@ -185,7 +188,7 @@ public class InspectDetailInfoController extends BaseController { // 将相对路径转换为字符串并用正斜杠作为分隔符 String zipEntryName = relativePath.toString().replace(File.separator, "/"); //LOGGER.info(">>>>>>>>>>>>>>>>>>>>>>zipEntryName>>{}",zipEntryName); - if(inspectTime != null){ + if (inspectTime != null) { String inspectTimePath = CarcheckDateUtils.parseDateToStr("yyyyMMdd", inspectTime); //LOGGER.info(">>>>>>>>>>>>>>>>>>>>>>inspectTimePath>>{}",inspectTimePath); @@ -195,7 +198,7 @@ public class InspectDetailInfoController extends BaseController { // 找到需要替换的部分的索引(倒数第三个部分) int indexToReplace = parts.length - 4; - if (indexToReplace >= 0 && indexToReplace < parts.length) { + if (indexToReplace >= 0) { // 替换指定索引的部分为动态值 parts[indexToReplace] = inspectTimePath; @@ -206,19 +209,12 @@ public class InspectDetailInfoController extends BaseController { } ZipEntry zipEntry = new ZipEntry(zipEntryName); - zipOutputStream.putNextEntry(zipEntry); - // 使用NIO和缓冲区读取文件 - try (FileChannel fileChannel = FileChannel.open(imagePath, StandardOpenOption.READ)) { - ByteBuffer buffer = ByteBuffer.allocate(8192); // 8KB缓冲区 - int bytesRead; - while ((bytesRead = fileChannel.read(buffer)) != -1) { - buffer.flip(); // 切换到读模式 - zipOutputStream.write(buffer.array(), 0, bytesRead); - buffer.clear(); // 清空缓冲区 - } - } - zipOutputStream.flush(); - zipOutputStream.closeEntry(); + zipEntry.setMethod(ZipEntry.STORED); + File file = imagePath.toFile(); + zipEntry.setSize(file.length()); + zipEntry.setCrc(calcChecksum(file)); + writeZipOutputStream(zipOutputStream, imagePath, zipEntry); + } catch (IOException e) { // 处理异常 e.printStackTrace(); @@ -228,37 +224,31 @@ public class InspectDetailInfoController extends BaseController { LOGGER.info(">>>>>>>>>>>>>>生成完临时zip包"); LOGGER.info("生成完临时zip包完毕耗时时间: {}秒", ((System.currentTimeMillis() - start) / 1000.0)); + return AjaxResult.success("压缩完成", zipFile.getName()); + } catch (IOException e) { + LOGGER.error("压缩失败", e); + throw new ServiceException("压缩失败"); + } + } - // Generate the ZIP file name based on the current date - String zipFileName = generateZipFileName() + ".zip"; - - // Set response headers for the file download - response.setHeader(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + zipFileName); - response.setContentType("application/zip"); - - // Calculate the size of the ZIP file - long zipFileSize = zipFile.length(); - - // Set the Content-Length header in the response - response.setHeader(HttpHeaders.CONTENT_LENGTH, String.valueOf(zipFileSize)); + @Anonymous + @GetMapping("/download/{fileName}") + public void downloadZipFile(@PathVariable("fileName") String fileName, HttpServletResponse response) { + File zipFile = Paths.get(tempImgDir, fileName).toFile(); + response.setHeader(HttpHeaders.CONTENT_DISPOSITION, "attachment; filename=" + generateZipFileName() + ".zip"); + response.setContentType("application/zip"); + response.setHeader(HttpHeaders.CONTENT_LENGTH, String.valueOf(zipFile.length())); - try ( - OutputStream sos = response.getOutputStream() - ) { - Path zipFilePath = zipFile.toPath(); - Files.copy(zipFilePath, sos); - } catch (IOException e) { - // 处理异常 - e.printStackTrace(); - } - long end = System.currentTimeMillis(); - LOGGER.info("下载图片耗时时间: {}秒", ((end - start) / 1000.0)); + try (FileInputStream inputStream = new FileInputStream(zipFile); + ServletOutputStream outputStream = response.getOutputStream()) { + IOUtils.copy(inputStream, outputStream); } catch (IOException e) { - // Handle IO exception - e.printStackTrace(); - response.setStatus(HttpStatus.INTERNAL_SERVER_ERROR.value()); + LOGGER.error("文件下载中断。。。", e); } + } + + @Anonymous @GetMapping("/download/zipImages2") public void downloadImagesAsZip2(HttpServletResponse response, TblCarInspectDetailInfo tblCarInspectDetailInfo) { @@ -289,18 +279,7 @@ public class InspectDetailInfoController extends BaseController { // 将相对路径转换为字符串并用正斜杠作为分隔符 String zipEntryName = relativePath.toString().replace(File.separator, "/"); ZipEntry zipEntry = new ZipEntry(zipEntryName); - zipOutputStream.putNextEntry(zipEntry); - // 使用NIO和缓冲区读取文件 - try (FileChannel fileChannel = FileChannel.open(imagePath, StandardOpenOption.READ)) { - ByteBuffer buffer = ByteBuffer.allocate(8192); // 8KB缓冲区 - int bytesRead; - while ((bytesRead = fileChannel.read(buffer)) != -1) { - buffer.flip(); // 切换到读模式 - zipOutputStream.write(buffer.array(), 0, bytesRead); - buffer.clear(); // 清空缓冲区 - } - } - zipOutputStream.closeEntry(); + writeZipOutputStream(zipOutputStream, imagePath, zipEntry); } catch (IOException e) { // 处理异常 e.printStackTrace(); @@ -385,4 +364,30 @@ public class InspectDetailInfoController extends BaseController { public AjaxResult remove(@PathVariable String[] ids) { return toAjax(tblCarInspectDetailInfoService.deleteTblCarInspectDetailInfoByIds(ids)); } + + + private synchronized void writeZipOutputStream(ZipOutputStream zipOutputStream, Path imagePath, ZipEntry zipEntry) throws IOException { + try (FileInputStream inputStream = new FileInputStream(imagePath.toFile())) { + zipOutputStream.putNextEntry(zipEntry); + IOUtils.copy(inputStream, zipOutputStream); + } finally { + zipOutputStream.flush(); + zipOutputStream.closeEntry(); + } + } + + /** + * 计算文件校验和 + * + */ + @SuppressWarnings("all") + private long calcChecksum(File file) throws IOException { + try (FileInputStream fis = new FileInputStream(file); + CheckedInputStream cis = new CheckedInputStream(fis, new CRC32())) { + byte[] buffer = new byte[2048]; + while (cis.read(buffer) >= 0) {} + return cis.getChecksum().getValue(); + } + } + } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/mapper/TblCarInspectDetailInfoMapper.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/mapper/TblCarInspectDetailInfoMapper.java index 1bddc015..c872bef6 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/mapper/TblCarInspectDetailInfoMapper.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/mapper/TblCarInspectDetailInfoMapper.java @@ -75,7 +75,6 @@ public interface TblCarInspectDetailInfoMapper { List selectExportSumInfoV2(ReqExportSumInfoVO cond); - List queryInspectDetailList(TblCarInspectDetailInfo detailCond); TblCarInspectDetailInfo selectTblCarInspectDetailInfoById2(String id); diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/service/impl/CarInspectInfoServiceImpl.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/service/impl/CarInspectInfoServiceImpl.java index a0814152..00ba7ebe 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/service/impl/CarInspectInfoServiceImpl.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/service/impl/CarInspectInfoServiceImpl.java @@ -299,7 +299,7 @@ public class CarInspectInfoServiceImpl implements CarInspectInfoService { detailInfo.setCheckType(CarConstants.INSPECT_TYPE_01); bodyInspectData = tblCarInspectDetailInfoMapper.queryInspectDetailPage(detailInfo); - //查询车辆检查清单 底盘 + //查询车辆检查清单 底盘 detailInfo.setCheckType(CarConstants.INSPECT_TYPE_00); chassisInspectData = tblCarInspectDetailInfoMapper.queryInspectDetailPage(detailInfo); diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportInspectDetailVO.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportInspectDetailVO.java index afb3b522..e3581bf7 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportInspectDetailVO.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportInspectDetailVO.java @@ -20,6 +20,12 @@ public class ResExportInspectDetailVO implements Serializable { @Excel(name = "车架号 VIN No.") private String carVin; + /** + * 车型 + */ + @Excel(name = "车型") + private String carModel; + /** * 检查部位 */ @@ -214,4 +220,12 @@ public class ResExportInspectDetailVO implements Serializable { public void setInspectUserName(String inspectUserName) { this.inspectUserName = inspectUserName; } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportSumDetailVO.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportSumDetailVO.java index b6842e32..5d9568d5 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportSumDetailVO.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResExportSumDetailVO.java @@ -11,6 +11,7 @@ public class ResExportSumDetailVO implements Serializable { private String seq; private String carVin; + private String carModel; private String inspectPartFirstName; @@ -199,4 +200,12 @@ public class ResExportSumDetailVO implements Serializable { public void setInspectUserName(String inspectUserName) { this.inspectUserName = inspectUserName; } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResQueryInspectDetailPage.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResQueryInspectDetailPage.java index d146ef7c..e059aa51 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResQueryInspectDetailPage.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/business/vo/inspect/ResQueryInspectDetailPage.java @@ -94,6 +94,11 @@ public class ResQueryInspectDetailPage implements Serializable { */ private String inspectUserName; + /** + * 车型 + */ + private String carModel; + private List imgs; private String partComment; @@ -260,4 +265,12 @@ public class ResQueryInspectDetailPage implements Serializable { public void setInspectTime(Date inspectTime) { this.inspectTime = inspectTime; } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/cache/LocalCache.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/cache/LocalCache.java new file mode 100644 index 00000000..6059d4c3 --- /dev/null +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/cache/LocalCache.java @@ -0,0 +1,97 @@ +package com.jiuyv.common.core.cache; + +import com.github.benmanes.caffeine.cache.Caffeine; +import org.springframework.cache.Cache; +import org.springframework.cache.caffeine.CaffeineCacheManager; +import org.springframework.stereotype.Component; + +import java.util.concurrent.TimeUnit; + +/** + * 本地缓存Caffeine + * + **/ +@Component +public class LocalCache { + + private final CaffeineCacheManager cacheManager; + + public LocalCache(CaffeineCacheManager caffeineCacheManager) { + for (Names n : Names.values()) { + caffeineCacheManager.registerCustomCache(n.name(), + Caffeine.newBuilder().expireAfterWrite(n.value, TimeUnit.SECONDS).build()); + } + this.cacheManager = caffeineCacheManager; + } + + /** + * 缓存基本的对象,Integer、String、实体类等 + * + */ + public void setCacheObject(Object key, Object value) { + getCache(Names.CACHE_DEFAULT).put(key, value); + } + + /** + * 缓存基本的对象,Integer、String、实体类等 + * + */ + public void setCacheObject(Object key, Object value, Names cacheName) { + getCache(cacheName).put(key, value); + } + + /** + * 获得缓存的基本对象。 + * + */ + public T getCacheObject(String key, Class type) { + return getCache(Names.CACHE_DEFAULT).get(key, type); + } + + /** + * 获得缓存的基本对象。 + * + */ + public T getCacheObject(String key, Class type, Names cacheName) { + return getCache(cacheName).get(key, type); + } + + /** + * 删除单个对象 + * + */ + public void deleteObject(String key,Names cacheName) { + getCache(cacheName).evict(key); + } + + /** + * 清空指定缓存 + * + */ + public void clear(Names cacheName) { + getCache(cacheName).clear(); + } + + /** + * 根据缓存名称获取缓存 + * + */ + private Cache getCache(Names cacheName) { + return cacheManager.getCache(cacheName.name()); + } + + + public enum Names { + CACHE_5S(5), + CACHE_30DAY(2592000), + CACHE_CAPTCHA(120), // 验证码 + CACHE_DEFAULT(CACHE_30DAY.value), // 默认 + CACHE_DICT(CACHE_30DAY.value), // 字典 + CACHE_CONFIG(CACHE_30DAY.value); // 参数配置 + private final long value; + Names(long value) { + this.value = value; + } + } + +} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java deleted file mode 100644 index d37ab9f6..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java +++ /dev/null @@ -1,221 +0,0 @@ -package com.jiuyv.common.core.redis; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.BoundSetOperations; -import org.springframework.data.redis.core.HashOperations; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.ValueOperations; -import org.springframework.stereotype.Component; - -import java.util.Collection; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.concurrent.TimeUnit; - -/** - * spring redis 工具类 - * - * @author admin - **/ -@SuppressWarnings(value = {"unchecked", "rawtypes"}) -@Component -public class RedisCache { - @Autowired - public RedisTemplate redisTemplate; - - /** - * 缓存基本的对象,Integer、String、实体类等 - * - * @param key 缓存的键值 - * @param value 缓存的值 - */ - public void setCacheObject(final String key, final T value) - { - redisTemplate.opsForValue().set(key, value); - } - - /** - * 缓存基本的对象,Integer、String、实体类等 - * - * @param key 缓存的键值 - * @param value 缓存的值 - * @param timeout 时间 - * @param timeUnit 时间颗粒度 - */ - public void setCacheObject(final String key, final T value, final Integer timeout, final TimeUnit timeUnit) - { - redisTemplate.opsForValue().set(key, value, timeout, timeUnit); - } - - /** - * 获得缓存的基本对象。 - * - * @param key 缓存键值 - * @return 缓存键值对应的数据 - */ - public T getCacheObject(final String key) - { - ValueOperations operation = redisTemplate.opsForValue(); - return operation.get(key); - } - - /** - * 删除单个对象 - * - * @param key - */ - public Boolean deleteObject(final String key) - { - return redisTemplate.delete(key); - } - - /** - * 删除集合对象 - * - * @param collection 多个对象 - * @return - */ - public Long deleteObject(final Collection collection) - { - return redisTemplate.delete(collection); - } - - /** - * 缓存List数据 - * - * @param key 缓存的键值 - * @param dataList 待缓存的List数据 - * @return 缓存的对象 - */ - public long setCacheList(final String key, final List dataList) - { - Long count = redisTemplate.opsForList().rightPushAll(key, dataList); - return count == null ? 0 : count; - } - - /** - * 获得缓存的list对象 - * - * @param key 缓存的键值 - * @return 缓存键值对应的数据 - */ - public List getCacheList(final String key) - { - return redisTemplate.opsForList().range(key, 0, -1); - } - - /** - * 缓存Set - * - * @param key 缓存键值 - * @param dataSet 缓存的数据 - * @return 缓存数据的对象 - */ - public BoundSetOperations setCacheSet(final String key, final Set dataSet) - { - BoundSetOperations setOperation = redisTemplate.boundSetOps(key); - Iterator it = dataSet.iterator(); - while (it.hasNext()) - { - setOperation.add(it.next()); - } - return setOperation; - } - - /** - * 获得缓存的set - * - * @param key - * @return - */ - public Set getCacheSet(final String key) - { - return redisTemplate.opsForSet().members(key); - } - - /** - * 缓存Map - * - * @param key - * @param dataMap - */ - public void setCacheMap(final String key, final Map dataMap) - { - if (dataMap != null) { - redisTemplate.opsForHash().putAll(key, dataMap); - } - } - - /** - * 获得缓存的Map - * - * @param key - * @return - */ - public Map getCacheMap(final String key) - { - return redisTemplate.opsForHash().entries(key); - } - - /** - * 往Hash中存入数据 - * - * @param key Redis键 - * @param hKey Hash键 - * @param value 值 - */ - public void setCacheMapValue(final String key, final String hKey, final T value) - { - redisTemplate.opsForHash().put(key, hKey, value); - } - - /** - * 获取Hash中的数据 - * - * @param key Redis键 - * @param hKey Hash键 - * @return Hash中的对象 - */ - public T getCacheMapValue(final String key, final String hKey) - { - HashOperations opsForHash = redisTemplate.opsForHash(); - return opsForHash.get(key, hKey); - } - - /** - * 删除Hash中的数据 - * - * @param key - * @param hKey - */ - public void delCacheMapValue(final String key, final String hKey) - { - HashOperations hashOperations = redisTemplate.opsForHash(); - hashOperations.delete(key, hKey); - } - - /** - * 获取多个Hash中的数据 - * - * @param key Redis键 - * @param hKeys Hash键集合 - * @return Hash对象集合 - */ - public List getMultiCacheMapValue(final String key, final Collection hKeys) - { - return redisTemplate.opsForHash().multiGet(key, hKeys); - } - - /** - * 获得缓存的基本对象列表 - * - * @param pattern 字符串前缀 - * @return 对象列表 - */ - public Collection keys(final String pattern) - { - return redisTemplate.keys(pattern); - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java index ef64ecdf..242c2e70 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java @@ -1,12 +1,10 @@ package com.jiuyv.common.utils; -import com.alibaba.fastjson2.JSONArray; import com.jiuyv.common.constant.CacheConstants; import com.jiuyv.common.core.domain.entity.SysDictData; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.utils.spring.SpringUtils; -import java.util.Collection; import java.util.Collections; import java.util.List; @@ -31,7 +29,7 @@ public final class DictUtils { */ public static void setDictCache(String key, List dictDatas) { - SpringUtils.getBean(RedisCache.class).setCacheObject(getCacheKey(key), dictDatas); + SpringUtils.getBean(LocalCache.class).setCacheObject(getCacheKey(key), dictDatas, LocalCache.Names.CACHE_DICT); } /** @@ -40,14 +38,12 @@ public final class DictUtils { * @param key 参数键 * @return dictDatas 字典数据列表 */ + @SuppressWarnings("unchecked") public static List getDictCache(String key) { - JSONArray arrayCache = SpringUtils.getBean(RedisCache.class).getCacheObject(getCacheKey(key)); - if (CarcheckStringUtils.isNotNull(arrayCache)) - { - return arrayCache.toList(SysDictData.class); - } - return Collections.emptyList(); + Object object = SpringUtils.getBean(LocalCache.class) + .getCacheObject(getCacheKey(key), Object.class, LocalCache.Names.CACHE_DICT); + return object == null ? Collections.emptyList() : (List) object; } /** @@ -164,7 +160,7 @@ public final class DictUtils { */ public static void removeDictCache(String key) { - SpringUtils.getBean(RedisCache.class).deleteObject(getCacheKey(key)); + SpringUtils.getBean(LocalCache.class).deleteObject(getCacheKey(key), LocalCache.Names.CACHE_DICT); } /** @@ -172,8 +168,7 @@ public final class DictUtils { */ public static void clearDictCache() { - Collection keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.SYS_DICT_KEY + "*"); - SpringUtils.getBean(RedisCache.class).deleteObject(keys); + SpringUtils.getBean(LocalCache.class).clear(LocalCache.Names.CACHE_DICT); } /** diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java deleted file mode 100644 index 2d54c335..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.jiuyv.framework.aspectj; - -import com.jiuyv.common.annotation.RateLimiter; -import com.jiuyv.common.enums.LimitType; -import com.jiuyv.common.exception.ServiceException; -import com.jiuyv.common.utils.ServletUtils; -import com.jiuyv.common.utils.ip.IpUtils; -import org.aspectj.lang.JoinPoint; -import org.aspectj.lang.annotation.Aspect; -import org.aspectj.lang.annotation.Before; -import org.aspectj.lang.reflect.MethodSignature; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.script.RedisScript; -import org.springframework.stereotype.Component; - -import java.lang.reflect.Method; -import java.util.Collections; -import java.util.List; - -/** - * 限流处理 - * - * @author admin - */ -@Aspect -@Component -public class RateLimiterAspect -{ - private static final Logger LOGGER = LoggerFactory.getLogger(RateLimiterAspect.class); - - private final RedisTemplate redisTemplate; - - private final RedisScript limitScript; - - @Autowired - public RateLimiterAspect(RedisTemplate redisTemplate, RedisScript limitScript) { - this.redisTemplate = redisTemplate; - this.limitScript = limitScript; - } - - @Before("@annotation(rateLimiter)") - public void doBefore(JoinPoint point, RateLimiter rateLimiter) - { - String key = rateLimiter.key(); - int time = rateLimiter.time(); - int count = rateLimiter.count(); - - String combineKey = getCombineKey(rateLimiter, point); - List keys = Collections.singletonList(combineKey); - try - { - Long number = redisTemplate.execute(limitScript, keys, count, time); - if (number == null || number.intValue() > count) - { - throw new ServiceException("访问过于频繁,请稍候再试"); - } - LOGGER.info("限制请求'{}',当前请求'{}',缓存key'{}'", count, number.intValue(), key); - } - catch (ServiceException e) - { - LOGGER.error(e.getMessage(), e); - throw e; - } - } - - public String getCombineKey(RateLimiter rateLimiter, JoinPoint point) - { - StringBuilder stringBuffer = new StringBuilder(rateLimiter.key()); - if (rateLimiter.limitType() == LimitType.IP) - { - stringBuffer.append(IpUtils.getIpAddr(ServletUtils.getRequest())).append("-"); - } - MethodSignature signature = (MethodSignature) point.getSignature(); - Method method = signature.getMethod(); - Class targetClass = method.getDeclaringClass(); - stringBuffer.append(targetClass.getName()).append("-").append(method.getName()); - return stringBuffer.toString(); - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java deleted file mode 100644 index 1c5c8d1d..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java +++ /dev/null @@ -1,49 +0,0 @@ -package com.jiuyv.framework.config; - -import com.alibaba.fastjson2.JSON; -import com.alibaba.fastjson2.JSONReader; -import com.alibaba.fastjson2.JSONWriter; -import org.springframework.data.redis.serializer.RedisSerializer; -import org.springframework.data.redis.serializer.SerializationException; - -import java.nio.charset.Charset; - -/** - * Redis使用FastJson序列化 - * - * @author admin - */ -public class FastJson2JsonRedisSerializer implements RedisSerializer -{ - public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8"); - - private Class clazz; - - public FastJson2JsonRedisSerializer(Class clazz) - { - super(); - this.clazz = clazz; - } - - @Override - public byte[] serialize(T t) throws SerializationException - { - if (t == null) - { - return new byte[0]; - } - return JSON.toJSONString(t, JSONWriter.Feature.WriteClassName).getBytes(DEFAULT_CHARSET); - } - - @Override - public T deserialize(byte[] bytes) throws SerializationException - { - if (bytes == null || bytes.length <= 0) - { - return null; - } - String str = new String(bytes, DEFAULT_CHARSET); - - return JSON.parseObject(str, clazz, JSONReader.Feature.SupportAutoType); - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java deleted file mode 100644 index 724cb362..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.jiuyv.framework.config; - -import org.springframework.beans.factory.annotation.Value; -import org.springframework.cache.annotation.CachingConfigurerSupport; -import org.springframework.cache.annotation.EnableCaching; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.data.redis.connection.RedisConnectionFactory; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.script.DefaultRedisScript; -import org.springframework.data.redis.serializer.StringRedisSerializer; - -import java.nio.charset.StandardCharsets; - -/** - * redis配置 - * - * @author admin - */ -@Configuration -@EnableCaching -public class RedisConfig extends CachingConfigurerSupport { - @Value("${carcheck.redisPrefix}") - private String redisPrefix; - - class RedisKeySerializer extends StringRedisSerializer { - @Override - public byte[] serialize(String s) { - if (s == null) { - return null; - } - // 这里加上你需要加上的key前缀 - String realKey = redisPrefix + s; - return super.serialize(realKey); - } - - @Override - public String deserialize(byte[] bytes) { - if (bytes == null) { - return null; - } - String s = new String(bytes, StandardCharsets.UTF_8); - int index = s.indexOf(redisPrefix); - if (index != -1) { - return s.substring(index + 2); - } - return s; - } - } - - @Bean - @SuppressWarnings(value = {"unchecked", "rawtypes"}) - public RedisTemplate redisTemplate(RedisConnectionFactory connectionFactory) { - RedisTemplate template = new RedisTemplate<>(); - template.setConnectionFactory(connectionFactory); - - FastJson2JsonRedisSerializer serializer = new FastJson2JsonRedisSerializer(Object.class); - - // 使用StringRedisSerializer来序列化和反序列化redis的key值 - template.setKeySerializer(new StringRedisSerializer()); - template.setValueSerializer(serializer); - - // Hash的key也采用StringRedisSerializer的序列化方式 - template.setHashKeySerializer(new StringRedisSerializer()); - template.setHashValueSerializer(serializer); - - template.afterPropertiesSet(); - return template; - } - - @Bean - public DefaultRedisScript limitScript() - { - DefaultRedisScript redisScript = new DefaultRedisScript<>(); - redisScript.setScriptText(limitScriptText()); - redisScript.setResultType(Long.class); - return redisScript; - } - - /** - * 限流脚本 - */ - private String limitScriptText() - { - return "local key = KEYS[1]\n" + - "local count = tonumber(ARGV[1])\n" + - "local time = tonumber(ARGV[2])\n" + - "local current = redis.call('get', key);\n" + - "if current and tonumber(current) > count then\n" + - " return tonumber(current);\n" + - "end\n" + - "current = redis.call('incr', key)\n" + - "if tonumber(current) == 1 then\n" + - " redis.call('expire', key, time)\n" + - "end\n" + - "return tonumber(current);"; - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java index 6f5fb527..0ebd4c56 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java @@ -3,7 +3,7 @@ package com.jiuyv.framework.interceptor.impl; import com.alibaba.fastjson2.JSON; import com.jiuyv.common.annotation.RepeatSubmit; import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.filter.RepeatedlyRequestWrapper; import com.jiuyv.common.utils.CarcheckStringUtils; import com.jiuyv.common.utils.http.HttpHelper; @@ -15,7 +15,6 @@ import org.springframework.stereotype.Component; import javax.servlet.http.HttpServletRequest; import java.util.HashMap; import java.util.Map; -import java.util.concurrent.TimeUnit; /** * 判断请求url和数据是否和上一次相同, @@ -35,7 +34,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor private String header; @Autowired - private RedisCache redisCache; + private LocalCache localCache; @SuppressWarnings("unchecked") @Override @@ -66,7 +65,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor // 唯一标识(指定key + url + 消息头) String cacheRepeatKey = CacheConstants.REPEAT_SUBMIT_KEY + url + submitKey; - Object sessionObj = redisCache.getCacheObject(cacheRepeatKey); + Object sessionObj = localCache.getCacheObject(cacheRepeatKey, Object.class, LocalCache.Names.CACHE_5S); if (sessionObj != null) { Map sessionMap = (Map) sessionObj; @@ -81,7 +80,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor } Map cacheMap = new HashMap(); cacheMap.put(url, nowDataMap); - redisCache.setCacheObject(cacheRepeatKey, cacheMap, annotation.interval(), TimeUnit.MILLISECONDS); + localCache.setCacheObject(cacheRepeatKey, cacheMap, LocalCache.Names.CACHE_5S); return false; } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java index 6d5032de..69e533eb 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java @@ -6,7 +6,7 @@ import com.jiuyv.common.constant.Constants; import com.jiuyv.common.core.domain.AjaxResult; import com.jiuyv.common.core.domain.model.LoginBody; import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.exception.LoginFailureException; import com.jiuyv.common.utils.CarcheckStringUtils; import com.jiuyv.common.utils.MessageUtils; @@ -39,18 +39,18 @@ public class LoginFilter extends UsernamePasswordAuthenticationFilter { private final ISysConfigService configService; - private final RedisCache redisCache; + private final LocalCache localCache; private final UserDetailsService userDetailsService; @Lazy // 延迟加载,不然启动时会形成循环依赖 public LoginFilter(AuthenticationManager authenticationManager, - ISysSecretService sysSecretService, ISysConfigService configService, RedisCache redisCache, + ISysSecretService sysSecretService, ISysConfigService configService, LocalCache localCache, ISysUserService userService, UserDetailsService userDetailsService) { super(authenticationManager); this.sysSecretService = sysSecretService; this.configService = configService; - this.redisCache = redisCache; + this.localCache = localCache; this.userDetailsService = userDetailsService; super.setAuthenticationSuccessHandler((HttpServletRequest req, HttpServletResponse resp, Authentication auth) -> { LoginUser loginUser = (LoginUser) auth.getPrincipal(); @@ -103,8 +103,8 @@ public class LoginFilter extends UsernamePasswordAuthenticationFilter { */ private void validateCaptcha(String username, String code, String uuid) { String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + CarcheckStringUtils.nvl(uuid, ""); - String captcha = redisCache.getCacheObject(verifyKey); - redisCache.deleteObject(verifyKey); + String captcha = localCache.getCacheObject(verifyKey, String.class, LocalCache.Names.CACHE_CAPTCHA); + localCache.deleteObject(verifyKey, LocalCache.Names.CACHE_CAPTCHA); if (captcha == null) { String message = MessageUtils.message("user.jcaptcha.expire"); AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, message)); diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java index 404acdeb..bcc4c356 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java @@ -5,7 +5,7 @@ import com.jiuyv.common.constant.Constants; import com.jiuyv.common.constant.UserConstants; import com.jiuyv.common.core.domain.entity.SysUser; import com.jiuyv.common.core.domain.model.RegisterBody; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.exception.user.CaptchaException; import com.jiuyv.common.exception.user.CaptchaExpireException; import com.jiuyv.common.utils.CarcheckStringUtils; @@ -33,7 +33,7 @@ public class SysRegisterService private ISysConfigService configService; @Autowired - private RedisCache redisCache; + private LocalCache localCache; /** * 注册 @@ -102,8 +102,8 @@ public class SysRegisterService public void validateCaptcha(String username, String code, String uuid) { String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + CarcheckStringUtils.nvl(uuid, ""); - String captcha = redisCache.getCacheObject(verifyKey); - redisCache.deleteObject(verifyKey); + String captcha = localCache.getCacheObject(verifyKey,String.class, LocalCache.Names.CACHE_CAPTCHA); + localCache.deleteObject(verifyKey, LocalCache.Names.CACHE_CAPTCHA); if (captcha == null) { throw new CaptchaExpireException(); diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java deleted file mode 100644 index f1cd1f73..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java +++ /dev/null @@ -1,231 +0,0 @@ -package com.jiuyv.framework.web.service; - -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.constant.Constants; -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.redis.RedisCache; -import com.jiuyv.common.utils.CarcheckStringUtils; -import com.jiuyv.common.utils.ServletUtils; -import com.jiuyv.common.utils.ip.AddressUtils; -import com.jiuyv.common.utils.ip.IpUtils; -import com.jiuyv.common.utils.uuid.IdUtils; -import eu.bitwalker.useragentutils.UserAgent; -import io.jsonwebtoken.Claims; -import io.jsonwebtoken.Jwts; -import io.jsonwebtoken.SignatureAlgorithm; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Component; - -import javax.servlet.http.HttpServletRequest; -import java.util.HashMap; -import java.util.Map; -import java.util.concurrent.TimeUnit; - -/** - * token验证处理 - * - * @author admin - */ -@Component -public class TokenService -{ - private static final Logger LOGGER = LoggerFactory.getLogger(TokenService.class); - // 令牌自定义标识 - @Value("${token.header}") - private String header; - - // 令牌秘钥 - @Value("${token.secret}") - private String secret; - - // 令牌有效期(默认30分钟) - @Value("${token.expireTime}") - private int expireTime; - - protected static final long MILLIS_SECOND = 1000; - - protected static final long MILLIS_MINUTE = 60 * MILLIS_SECOND; - - private static final Long MILLIS_MINUTE_TEN = 20 * 60 * 1000L; - - @Autowired - private RedisCache redisCache; - - /** - * 获取用户身份信息 - * - * @return 用户信息 - */ - public LoginUser getLoginUser(HttpServletRequest request) - { - // 获取请求携带的令牌 - String token = getToken(request); - if (CarcheckStringUtils.isNotEmpty(token)) - { - try - { - Claims claims = parseToken(token); - // 解析对应的权限以及用户信息 - String uuid = (String) claims.get(Constants.LOGIN_USER_KEY); - String userKey = getTokenKey(uuid); - return redisCache.getCacheObject(userKey); - } - catch (ClassCastException e) - { - LOGGER.error(e.getMessage(), e); - } - } - return null; - } - - /** - * 设置用户身份信息 - */ - public void setLoginUser(LoginUser loginUser) - { - if (CarcheckStringUtils.isNotNull(loginUser) && CarcheckStringUtils.isNotEmpty(loginUser.getToken())) - { - refreshToken(loginUser); - } - } - - /** - * 删除用户身份信息 - */ - public void delLoginUser(String token) - { - if (CarcheckStringUtils.isNotEmpty(token)) - { - String userKey = getTokenKey(token); - redisCache.deleteObject(userKey); - } - } - - /** - * 创建令牌 - * - * @param loginUser 用户信息 - * @return 令牌 - */ - public String createToken(LoginUser loginUser) - { - loginUser.getUser().setPassword(null); - String token = IdUtils.fastUUID(); - loginUser.setToken(token); - setUserAgent(loginUser); - refreshToken(loginUser); - - Map claims = new HashMap<>(); - claims.put(Constants.LOGIN_USER_KEY, token); - return createToken(claims); - } - - /** - * 验证令牌有效期,相差不足20分钟,自动刷新缓存 - * - * @param loginUser - * @return 令牌 - */ - public void verifyToken(LoginUser loginUser) - { - long expiresTime = loginUser.getExpireTime(); - long currentTime = System.currentTimeMillis(); - if (expiresTime - currentTime <= MILLIS_MINUTE_TEN) - { - refreshToken(loginUser); - } - } - - /** - * 刷新令牌有效期 - * - * @param loginUser 登录信息 - */ - public void refreshToken(LoginUser loginUser) - { - loginUser.setLoginTime(System.currentTimeMillis()); - loginUser.setExpireTime(loginUser.getLoginTime() + expireTime * MILLIS_MINUTE); - // 根据uuid将loginUser缓存 - String userKey = getTokenKey(loginUser.getToken()); - redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.MINUTES); - } - - /** - * 设置用户代理信息 - * - * @param loginUser 登录信息 - */ - public void setUserAgent(LoginUser loginUser) - { - UserAgent userAgent = UserAgent.parseUserAgentString(ServletUtils.getRequest().getHeader("User-Agent")); - String ip = IpUtils.getIpAddr(ServletUtils.getRequest()); - loginUser.setIpaddr(ip); - loginUser.setLoginLocation(AddressUtils.getRealAddressByIP(ip)); - loginUser.setBrowser(userAgent.getBrowser().getName()); - loginUser.setOs(userAgent.getOperatingSystem().getName()); - } - - /** - * 从数据声明生成令牌 - * - * @param claims 数据声明 - * @return 令牌 - */ - private String createToken(Map claims) - { - String token = Jwts.builder() - .setClaims(claims) - .signWith(SignatureAlgorithm.HS512, secret).compact(); - return token; - } - - /** - * 从令牌中获取数据声明 - * - * @param token 令牌 - * @return 数据声明 - */ - private Claims parseToken(String token) - { - return Jwts.parser() - .setSigningKey(secret) - .parseClaimsJws(token) - .getBody(); - } - - /** - * 从令牌中获取用户名 - * - * @param token 令牌 - * @return 用户名 - */ - public String getUsernameFromToken(String token) - { - Claims claims = parseToken(token); - return claims.getSubject(); - } - - /** - * 获取请求token - * - * @param request - * @return token - */ - private String getToken(HttpServletRequest request) - { - String token = request.getHeader(header); - if (CarcheckStringUtils.isNotEmpty(token) && token.startsWith(Constants.TOKEN_PREFIX)) - { - token = token.replace(Constants.TOKEN_PREFIX, ""); - } - return token; - } - - private String getTokenKey(String uuid) - { - return CacheConstants.LOGIN_TOKEN_KEY + uuid; - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java deleted file mode 100644 index 3f01c87e..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.jiuyv.system.service; - -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.system.domain.SysUserOnline; - -/** - * 在线用户 服务层 - * - * @author admin - */ -public interface ISysUserOnlineService -{ - /** - * 通过登录地址查询信息 - * - * @param ipaddr 登录地址 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user); - - /** - * 通过用户名称查询信息 - * - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByUserName(String userName, LoginUser user); - - /** - * 通过登录地址/用户名称查询信息 - * - * @param ipaddr 登录地址 - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user); - - /** - * 设置在线用户信息 - * - * @param user 用户信息 - * @return 在线用户 - */ - public SysUserOnline loginUserToUserOnline(LoginUser user); -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java index d7f563c4..8e9cedda 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java @@ -3,7 +3,7 @@ package com.jiuyv.system.service.impl; import com.jiuyv.common.annotation.DataSource; import com.jiuyv.common.constant.CacheConstants; import com.jiuyv.common.constant.UserConstants; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.core.text.Convert; import com.jiuyv.common.enums.DataSourceType; import com.jiuyv.common.exception.ServiceException; @@ -15,7 +15,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.PostConstruct; -import java.util.Collection; import java.util.List; /** @@ -28,12 +27,12 @@ public class SysConfigServiceImpl implements ISysConfigService { private final SysConfigMapper configMapper; - private final RedisCache redisCache; + private final LocalCache localCache; @Autowired - public SysConfigServiceImpl(SysConfigMapper configMapper, RedisCache redisCache) { + public SysConfigServiceImpl(SysConfigMapper configMapper, LocalCache localCache) { this.configMapper = configMapper; - this.redisCache = redisCache; + this.localCache = localCache; } /** @@ -69,7 +68,7 @@ public class SysConfigServiceImpl implements ISysConfigService @Override public String selectConfigByKey(String configKey) { - String configValue = Convert.toStr(redisCache.getCacheObject(getCacheKey(configKey))); + String configValue = Convert.toStr(localCache.getCacheObject(getCacheKey(configKey), Object.class, LocalCache.Names.CACHE_CONFIG)); if (CarcheckStringUtils.isNotEmpty(configValue)) { return configValue; @@ -79,7 +78,7 @@ public class SysConfigServiceImpl implements ISysConfigService SysConfig retConfig = configMapper.selectConfig(config); if (CarcheckStringUtils.isNotNull(retConfig)) { - redisCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue()); + localCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue(), LocalCache.Names.CACHE_CONFIG); return retConfig.getConfigValue(); } return CarcheckStringUtils.EMPTY; @@ -125,7 +124,7 @@ public class SysConfigServiceImpl implements ISysConfigService int row = configMapper.insertConfig(config); if (row > 0) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } return row; } @@ -142,7 +141,7 @@ public class SysConfigServiceImpl implements ISysConfigService int row = configMapper.updateConfig(config); if (row > 0) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } return row; } @@ -163,7 +162,7 @@ public class SysConfigServiceImpl implements ISysConfigService throw new ServiceException(String.format("内置参数【%1$s】不能删除 ", config.getConfigKey())); } configMapper.deleteConfigById(configId); - redisCache.deleteObject(getCacheKey(config.getConfigKey())); + localCache.deleteObject(getCacheKey(config.getConfigKey()), LocalCache.Names.CACHE_CONFIG); } } @@ -176,7 +175,7 @@ public class SysConfigServiceImpl implements ISysConfigService List configsList = configMapper.selectConfigList(new SysConfig()); for (SysConfig config : configsList) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } } @@ -186,8 +185,7 @@ public class SysConfigServiceImpl implements ISysConfigService @Override public void clearConfigCache() { - Collection keys = redisCache.keys(CacheConstants.SYS_CONFIG_KEY + "*"); - redisCache.deleteObject(keys); + localCache.clear(LocalCache.Names.CACHE_CONFIG); } /** diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java deleted file mode 100644 index 84f7a406..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.jiuyv.system.service.impl; - -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.utils.CarcheckStringUtils; -import com.jiuyv.system.domain.SysUserOnline; -import com.jiuyv.system.service.ISysUserOnlineService; -import org.springframework.stereotype.Service; - -/** - * 在线用户 服务层处理 - * - * @author admin - */ -@Service -public class SysUserOnlineServiceImpl implements ISysUserOnlineService -{ - /** - * 通过登录地址查询信息 - * - * @param ipaddr 登录地址 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user) - { - if (CarcheckStringUtils.equals(ipaddr, user.getIpaddr())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 通过用户名称查询信息 - * - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByUserName(String userName, LoginUser user) - { - if (CarcheckStringUtils.equals(userName, user.getUsername())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 通过登录地址/用户名称查询信息 - * - * @param ipaddr 登录地址 - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user) - { - if (CarcheckStringUtils.equals(ipaddr, user.getIpaddr()) && CarcheckStringUtils.equals(userName, user.getUsername())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 设置在线用户信息 - * - * @param user 用户信息 - * @return 在线用户 - */ - @Override - public SysUserOnline loginUserToUserOnline(LoginUser user) - { - if (CarcheckStringUtils.isNull(user) || CarcheckStringUtils.isNull(user.getUser())) - { - return null; - } - SysUserOnline sysUserOnline = new SysUserOnline(); - sysUserOnline.setTokenId(user.getToken()); - sysUserOnline.setUserName(user.getUsername()); - sysUserOnline.setIpaddr(user.getIpaddr()); - sysUserOnline.setLoginLocation(user.getLoginLocation()); - sysUserOnline.setBrowser(user.getBrowser()); - sysUserOnline.setOs(user.getOs()); - sysUserOnline.setLoginTime(user.getLoginTime()); - if (CarcheckStringUtils.isNotNull(user.getUser().getDept())) - { - sysUserOnline.setDeptName(user.getUser().getDept().getDeptName()); - } - return sysUserOnline; - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java index 88000682..87f541af 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java @@ -4,9 +4,8 @@ import com.google.code.kaptcha.Producer; import com.jiuyv.common.annotation.Anonymous; import com.jiuyv.common.config.CarcheckConfig; import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.constant.Constants; import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.cache.LocalCache; import com.jiuyv.common.utils.sign.Base64; import com.jiuyv.common.utils.uuid.IdUtils; import com.jiuyv.system.service.ISysConfigService; @@ -21,7 +20,6 @@ import javax.annotation.Resource; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.IOException; -import java.util.concurrent.TimeUnit; /** * 验证码操作处理 @@ -39,7 +37,7 @@ public class CaptchaController private Producer captchaProducerMath; @Autowired - private RedisCache redisCache; + private LocalCache localCache; @Autowired private ISysConfigService configService; @@ -77,7 +75,7 @@ public class CaptchaController image = captchaProducer.createImage(capStr); } - redisCache.setCacheObject(verifyKey, code, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES); + localCache.setCacheObject(verifyKey, code, LocalCache.Names.CACHE_CAPTCHA); // 转换流信息写出 FastByteArrayOutputStream os = new FastByteArrayOutputStream(); try diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java deleted file mode 100644 index c868d2dd..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java +++ /dev/null @@ -1,130 +0,0 @@ -package com.jiuyv.web.controller.monitor; - -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.exception.ServiceException; -import com.jiuyv.common.utils.CarcheckStringUtils; -import com.jiuyv.system.domain.SysCache; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.RedisCallback; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.Set; - -/** - * 缓存监控 - * - * @author admin - */ -@RestController -@RequestMapping("/monitor/cache") -public class CacheController -{ - private final RedisTemplate redisTemplate; - - @Autowired - public CacheController(RedisTemplate redisTemplate) { - this.redisTemplate = redisTemplate; - } - - private final static List caches = new ArrayList(); - { - caches.add(new SysCache(CacheConstants.LOGIN_TOKEN_KEY, "用户信息")); - caches.add(new SysCache(CacheConstants.SYS_CONFIG_KEY, "配置信息")); - caches.add(new SysCache(CacheConstants.SYS_DICT_KEY, "数据字典")); - caches.add(new SysCache(CacheConstants.CAPTCHA_CODE_KEY, "验证码")); - caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交")); - caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理")); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping() - public AjaxResult getInfo() throws Exception - { - Properties info = (Properties) redisTemplate.execute((RedisCallback) connection -> connection.info()); - Properties commandStats = (Properties) redisTemplate.execute((RedisCallback) connection -> connection.info("commandstats")); - if (commandStats == null) { - throw new ServiceException("系统异常"); - } - Object dbSize = redisTemplate.execute((RedisCallback) connection -> connection.dbSize()); - - Map result = new HashMap<>(3); - result.put("info", info); - result.put("dbSize", dbSize); - - List> pieList = new ArrayList<>(); - commandStats.stringPropertyNames().forEach((String key) -> { - Map data = new HashMap<>(2); - String property = commandStats.getProperty(key); - data.put("name", CarcheckStringUtils.removeStart(key, "cmdstat_")); - data.put("value", CarcheckStringUtils.substringBetween(property, "calls=", ",usec")); - pieList.add(data); - }); - result.put("commandStats", pieList); - return AjaxResult.success(result); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getNames") - public AjaxResult cache() - { - return AjaxResult.success(caches); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getKeys/{cacheName}") - public AjaxResult getCacheKeys(@PathVariable String cacheName) - { - Set cacheKyes = redisTemplate.keys(cacheName + "*"); - return AjaxResult.success(cacheKyes); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getValue/{cacheName}/{cacheKey}") - public AjaxResult getCacheValue(@PathVariable String cacheName, @PathVariable String cacheKey) - { - String cacheValue = redisTemplate.opsForValue().get(cacheKey); - SysCache sysCache = new SysCache(cacheName, cacheKey, cacheValue); - return AjaxResult.success(sysCache); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheName/{cacheName}") - public AjaxResult clearCacheName(@PathVariable String cacheName) - { - Collection cacheKeys = redisTemplate.keys(cacheName + "*"); - assert cacheKeys != null; - redisTemplate.delete(cacheKeys); - return AjaxResult.success(); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheKey/{cacheKey}") - public AjaxResult clearCacheKey(@PathVariable String cacheKey) - { - redisTemplate.delete(cacheKey); - return AjaxResult.success(); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheAll") - public AjaxResult clearCacheAll() - { - Collection cacheKeys = redisTemplate.keys("*"); - assert cacheKeys != null; - redisTemplate.delete(cacheKeys); - return AjaxResult.success(); - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java deleted file mode 100644 index 68b843e1..00000000 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java +++ /dev/null @@ -1,93 +0,0 @@ -package com.jiuyv.web.controller.monitor; - -import com.jiuyv.common.annotation.Log; -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.controller.BaseController; -import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.page.TableDataInfo; -import com.jiuyv.common.core.redis.RedisCache; -import com.jiuyv.common.enums.BusinessType; -import com.jiuyv.common.utils.CarcheckStringUtils; -import com.jiuyv.system.domain.SysUserOnline; -import com.jiuyv.system.service.ISysUserOnlineService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.List; - -/** - * 在线用户监控 - * - * @author admin - */ -@RestController -@RequestMapping("/monitor/online") -public class SysUserOnlineController extends BaseController -{ - @Autowired - private ISysUserOnlineService userOnlineService; - - @Autowired - private RedisCache redisCache; - - @PreAuthorize("@ss.hasPermi('monitor:online:list')") - @GetMapping("/list") - public TableDataInfo list(String ipaddr, String userName) - { - Collection keys = redisCache.keys(CacheConstants.LOGIN_TOKEN_KEY + "*"); - List userOnlineList = new ArrayList(); - for (String key : keys) - { - LoginUser user = redisCache.getCacheObject(key); - if (CarcheckStringUtils.isNotEmpty(ipaddr) && CarcheckStringUtils.isNotEmpty(userName)) - { - if (CarcheckStringUtils.equals(ipaddr, user.getIpaddr()) && CarcheckStringUtils.equals(userName, user.getUsername())) - { - userOnlineList.add(userOnlineService.selectOnlineByInfo(ipaddr, userName, user)); - } - } - else if (CarcheckStringUtils.isNotEmpty(ipaddr)) - { - if (CarcheckStringUtils.equals(ipaddr, user.getIpaddr())) - { - userOnlineList.add(userOnlineService.selectOnlineByIpaddr(ipaddr, user)); - } - } - else if (CarcheckStringUtils.isNotEmpty(userName) && CarcheckStringUtils.isNotNull(user.getUser())) - { - if (CarcheckStringUtils.equals(userName, user.getUsername())) - { - userOnlineList.add(userOnlineService.selectOnlineByUserName(userName, user)); - } - } - else - { - userOnlineList.add(userOnlineService.loginUserToUserOnline(user)); - } - } - Collections.reverse(userOnlineList); - userOnlineList.removeAll(Collections.singleton(null)); - return getDataTable(userOnlineList); - } - - /** - * 强退用户 - */ - @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") - @Log(title = "在线用户", businessType = BusinessType.FORCE) - @DeleteMapping("/{tokenId}") - public AjaxResult forceLogout(@PathVariable String tokenId) - { - redisCache.deleteObject(CacheConstants.LOGIN_TOKEN_KEY + tokenId); - return AjaxResult.success(); - } -} diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java index 1e83cda5..9292d367 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java @@ -12,7 +12,6 @@ import com.jiuyv.common.utils.CarcheckStringUtils; import com.jiuyv.common.utils.SecurityUtils; import com.jiuyv.common.utils.file.FileUploadUtils; import com.jiuyv.common.utils.file.MimeTypeUtils; -import com.jiuyv.framework.web.service.TokenService; import com.jiuyv.system.service.ISysSecretService; import com.jiuyv.system.service.ISysUserService; import org.springframework.beans.factory.annotation.Autowired; @@ -36,9 +35,6 @@ public class SysProfileController extends BaseController { @Autowired private ISysUserService userService; - @Autowired - private TokenService tokenService; - @Autowired private ISysSecretService sysSecretService; @@ -80,7 +76,6 @@ public class SysProfileController extends BaseController { sysUser.setPhonenumber(user.getPhonenumber()); sysUser.setEmail(user.getEmail()); sysUser.setSex(user.getSex()); - tokenService.setLoginUser(loginUser); return AjaxResult.success(); } return AjaxResult.error("修改个人信息异常,请联系管理员"); @@ -108,7 +103,6 @@ public class SysProfileController extends BaseController { if (userService.resetUserPwd(userName, SecurityUtils.encryptPassword(newPassword)) > 0) { // 更新缓存用户密码 loginUser.getUser().setPassword(SecurityUtils.encryptPassword(newPassword)); - tokenService.setLoginUser(loginUser); return AjaxResult.success(); } return AjaxResult.error("修改密码异常,请联系管理员"); @@ -128,7 +122,6 @@ public class SysProfileController extends BaseController { ajax.put("imgUrl", avatar); // 更新缓存用户头像 loginUser.getUser().setAvatar(avatar); - tokenService.setLoginUser(loginUser); return ajax; } } diff --git a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java index 876984db..e50fd1aa 100644 --- a/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java +++ b/car-check/carcheck-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java @@ -12,7 +12,6 @@ import com.jiuyv.common.enums.BusinessType; import com.jiuyv.common.utils.CarcheckStringUtils; import com.jiuyv.common.utils.poi.ExcelUtil; import com.jiuyv.framework.web.service.SysPermissionService; -import com.jiuyv.framework.web.service.TokenService; import com.jiuyv.system.domain.SysUserRole; import com.jiuyv.system.service.ISysRoleService; import com.jiuyv.system.service.ISysUserService; @@ -41,18 +40,15 @@ import java.util.List; public class SysRoleController extends BaseController { private final ISysRoleService roleService; - - private final TokenService tokenService; private final SysPermissionService permissionService; private final ISysUserService userService; @Autowired - public SysRoleController(ISysRoleService roleService, TokenService tokenService, + public SysRoleController(ISysRoleService roleService, SysPermissionService permissionService, ISysUserService userService) { this.roleService = roleService; - this.tokenService = tokenService; this.permissionService = permissionService; this.userService = userService; } @@ -136,7 +132,6 @@ public class SysRoleController extends BaseController { loginUser.setPermissions(permissionService.getMenuPermission(loginUser.getUser())); loginUser.setUser(userService.selectUserByUserName(loginUser.getUser().getUserName())); - tokenService.setLoginUser(loginUser); } return AjaxResult.success(); } diff --git a/car-check/carcheck-admin/src/main/resources/application.yml b/car-check/carcheck-admin/src/main/resources/application.yml index 2e275664..efd2beb2 100644 --- a/car-check/carcheck-admin/src/main/resources/application.yml +++ b/car-check/carcheck-admin/src/main/resources/application.yml @@ -72,6 +72,10 @@ spring: messages: # 国际化资源文件路径 basename: i18n/messages + # 缓存配置 + cache: + type: caffeine + caffeine.spec: maximumSize=2000,expireAfterWrite=1h # 文件上传 servlet: multipart: @@ -86,29 +90,6 @@ spring: restart: # 热部署开关 enabled: true - # redis 配置 - redis: - # 地址 - host: 172.16.12.81 - # host: 127.0.0.1 - # 端口,默认为6379 - port: 6379 - # 数据库索引 - database: 0 - # 密码 - password: - # 连接超时时间 - timeout: 10s - lettuce: - pool: - # 连接池中的最小空闲连接 - min-idle: 0 - # 连接池中的最大空闲连接 - max-idle: 8 - # 连接池的最大数据库连接数 - max-active: 8 - # #连接池最大阻塞等待时间(使用负值表示没有限制) - max-wait: -1ms datasource: #数据源配置 type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver @@ -161,7 +142,7 @@ carcheck: # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/carcheck/uploadPath,Linux配置 /home/carcheck/uploadPath) - profile: C:/Users/RENCHAO/carcheck/uploadPath + profile: C:/carcheck/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数组计算 char 字符验证 diff --git a/car-check/carcheck-admin/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml b/car-check/carcheck-admin/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml index 4f19a4fd..9f2fdc8c 100644 --- a/car-check/carcheck-admin/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml +++ b/car-check/carcheck-admin/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml @@ -67,7 +67,8 @@ t7.site_name AS inspectSiteName, t8.realname AS inspectUserName, t9.company_name AS companyName, - t10.dept_name AS inspectOrgName + t10.dept_name AS inspectOrgName, + t11.car_model as carModel FROM tbl_car_inspect_detail_info t1 LEFT JOIN tbl_ng_part_info t2 ON t1.inspect_part_first = t2.id AND t2.ng_part_type = '00' and t2.status = '00' and t2.data_status = '00' @@ -83,6 +84,7 @@ LEFT JOIN tbl_inspector_info t8 ON t1.inspect_user_id = t8.id LEFT JOIN tbl_company_info t9 ON t1.company_id = t9.id LEFT JOIN sys_dept t10 ON t1.inspect_org_id = t10.dept_id + lEFT JOIN tbl_car_inspect_info t11 ON t1.main_id = t11.id SELECT - t1.inspect_time AS inspectTime, - t1.car_vin AS carVin, - t1.part_comment as partComment, - t1.pollutant_comment as pollutantComment, - t2.ng_part_name as inspectPartFirstName, - t2.ng_part_en_name as inspectPartFirstEnName, - t3.ng_part_name as inspectPartSecondName, - t3.ng_part_en_name as inspectPartSecondEnName, - t4.pollutant_name as pollutantTypeName, - t4.pollutant_en_name as pollutantTypeEnName, - t5.pollutant_name as pollutantDetailTypeName, - t5.pollutant_en_name as pollutantDetailTypeEnName, - t6.pollutant_name as pollutantDetailDescName, - t6.pollutant_en_name as pollutantDetailDescEnName, - t7.site_name AS inspectSiteName, - ( CASE WHEN t1.clean_flag = '00' THEN 'Y' WHEN t1.clean_flag = '01' THEN 'N' END ) AS cleanFlagName, - t8.realname AS inspectUserName + t1.inspect_time AS inspectTime, + t1.car_vin AS carVin, + t1.part_comment as partComment, + t1.pollutant_comment as pollutantComment, + t2.ng_part_name as inspectPartFirstName, + t2.ng_part_en_name as inspectPartFirstEnName, + t3.ng_part_name as inspectPartSecondName, + t3.ng_part_en_name as inspectPartSecondEnName, + t4.pollutant_name as pollutantTypeName, + t4.pollutant_en_name as pollutantTypeEnName, + t5.pollutant_name as pollutantDetailTypeName, + t5.pollutant_en_name as pollutantDetailTypeEnName, + t6.pollutant_name as pollutantDetailDescName, + t6.pollutant_en_name as pollutantDetailDescEnName, + t7.site_name AS inspectSiteName, + ( CASE WHEN t1.clean_flag = '00' THEN 'Y' WHEN t1.clean_flag = '01' THEN 'N' END ) AS cleanFlagName, + t8.realname AS inspectUserName, + t10.car_model as carModel FROM - tbl_car_inspect_detail_info t1 - LEFT JOIN tbl_ng_part_info t2 ON t1.inspect_part_first = t2.id - AND t2.ng_part_type = '00' and t2.status = '00' and t2.data_status = '00' - LEFT JOIN tbl_ng_part_info t3 ON t1.inspect_part_second = t3.id - AND t3.ng_part_type = '01' and t3.status = '00' and t3.data_status = '00' - LEFT JOIN tbl_pollutant_info t4 ON t1.pollutant_type = t4.id - AND t4.pollutant_type = '00' and t4.status = '00' and t4.data_status = '00' - LEFT JOIN tbl_pollutant_info t5 ON t1.pollutant_detail_type = t5.id - AND t5.pollutant_type = '01' and t5.status = '00' and t5.data_status = '00' - LEFT JOIN tbl_pollutant_info t6 ON t1.pollutant_detail_desc = t6.id - AND t6.pollutant_type = '02' and t6.status = '00' and t6.data_status = '00' - LEFT JOIN tbl_inspect_site_info t7 ON t1.inspect_site = t7.id - LEFT JOIN tbl_inspector_info t8 ON t1.inspect_user_id = t8.id - left join tbl_company_info t9 on t1.company_id = t9.id + tbl_car_inspect_detail_info t1 + LEFT JOIN tbl_ng_part_info t2 ON t1.inspect_part_first = t2.id + AND t2.ng_part_type = '00' and t2.status = '00' and t2.data_status = '00' + LEFT JOIN tbl_ng_part_info t3 ON t1.inspect_part_second = t3.id + AND t3.ng_part_type = '01' and t3.status = '00' and t3.data_status = '00' + LEFT JOIN tbl_pollutant_info t4 ON t1.pollutant_type = t4.id + AND t4.pollutant_type = '00' and t4.status = '00' and t4.data_status = '00' + LEFT JOIN tbl_pollutant_info t5 ON t1.pollutant_detail_type = t5.id + AND t5.pollutant_type = '01' and t5.status = '00' and t5.data_status = '00' + LEFT JOIN tbl_pollutant_info t6 ON t1.pollutant_detail_desc = t6.id + AND t6.pollutant_type = '02' and t6.status = '00' and t6.data_status = '00' + LEFT JOIN tbl_inspect_site_info t7 ON t1.inspect_site = t7.id + LEFT JOIN tbl_inspector_info t8 ON t1.inspect_user_id = t8.id + lEFT JOIN tbl_car_inspect_info t10 ON t1.main_id = t10.id and t1.inspect_org_id = #{inspectOrgId} and t1.order_id like concat('%', #{orderId}, '%') @@ -341,7 +343,6 @@ AND t6.pollutant_type = '02' and t6.status = '00' and t6.data_status = '00' LEFT JOIN tbl_inspect_site_info t7 ON t1.inspect_site = t7.id LEFT JOIN tbl_inspector_info t8 ON t1.inspect_user_id = t8.id - left join tbl_company_info t9 on t1.company_id = t9.id and t1.inspect_org_id = #{inspectOrgId} and t1.order_id like concat('%', #{orderId}, '%') @@ -378,7 +379,8 @@ t6.pollutant_en_name as pollutantDetailDescEnName, t7.site_name AS inspectSiteName, ( CASE WHEN t1.clean_flag = '00' THEN 'Y' WHEN t1.clean_flag = '01' THEN 'N' END ) AS cleanFlagName, - t8.realname AS inspectUserName + t8.realname AS inspectUserName, + t9.car_model as carModel FROM tbl_car_inspect_detail_info t1 LEFT JOIN tbl_ng_part_info t2 ON t1.inspect_part_first = t2.id @@ -393,7 +395,7 @@ AND t6.pollutant_type = '02' and t6.status = '00' and t6.data_status = '00' LEFT JOIN tbl_inspect_site_info t7 ON t1.inspect_site = t7.id LEFT JOIN tbl_inspector_info t8 ON t1.inspect_user_id = t8.id - left join tbl_company_info t9 on t1.company_id = t9.id + lEFT JOIN tbl_car_inspect_info t9 ON t1.main_id = t9.id and t1.inspect_org_id = #{inspectOrgId} and t1.order_id like concat('%', #{orderId}, '%') diff --git a/car-check/carcheck-admin/src/main/resources/public/index.html b/car-check/carcheck-admin/src/main/resources/public/index.html index 58cb2a45..ae74c71b 100644 --- a/car-check/carcheck-admin/src/main/resources/public/index.html +++ b/car-check/carcheck-admin/src/main/resources/public/index.html @@ -183,4 +183,4 @@ font-size: 13px; color: #FFF; opacity: 0.5; - }
正在加载系统资源,请耐心等待
\ No newline at end of file + }
正在加载系统资源,请耐心等待
\ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/index.html.gz b/car-check/carcheck-admin/src/main/resources/public/index.html.gz index b3365937..5830302c 100644 Binary files a/car-check/carcheck-admin/src/main/resources/public/index.html.gz and b/car-check/carcheck-admin/src/main/resources/public/index.html.gz differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css new file mode 100644 index 00000000..619ff2a7 --- /dev/null +++ b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css @@ -0,0 +1 @@ +.el-descriptions-item__label:not(.is-bordered-label){text-align:right;width:110px;display:inline-block}.imglist[data-v-2cb805f7]{overflow:hidden;padding:0;margin:0}.imglist li[data-v-2cb805f7]{float:left;margin:5px;width:100px;height:100px;overflow:hidden}.imglist li img[data-v-2cb805f7]{width:100%;display:block} \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css.gz b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css.gz new file mode 100644 index 00000000..e0d697de Binary files /dev/null and b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-4c9f8af4.47ed3e8d.css.gz differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css deleted file mode 100644 index 4d57e8f5..00000000 --- a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css +++ /dev/null @@ -1 +0,0 @@ -.el-descriptions-item__label:not(.is-bordered-label){text-align:right;width:110px;display:inline-block}.imglist[data-v-5d6437b8]{overflow:hidden;padding:0;margin:0}.imglist li[data-v-5d6437b8]{float:left;margin:5px;width:100px;height:100px;overflow:hidden}.imglist li img[data-v-5d6437b8]{width:100%;display:block} \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css.gz b/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css.gz deleted file mode 100644 index b43e2dce..00000000 Binary files a/car-check/carcheck-admin/src/main/resources/public/static/css/chunk-fe53be1a.ddeda8e0.css.gz and /dev/null differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js b/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js deleted file mode 100644 index 286689bf..00000000 --- a/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"02b8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"0400":function(e,t,n){},"04ad":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});l.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"07f8":function(e,t,n){},"0a7d":function(e,t,n){"use strict";n("78b5")},"0b37":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},1:function(e,t){},1147:function(e,t,n){},"15a7":function(e,t,n){"use strict";n("e2a5")},"15e8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"198d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"1aae":function(e,t,n){},"1d71":function(e,t,n){},"1e13":function(e,t,n){"use strict";n("f29d")},"20e7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"23f1":function(e,t,n){var a={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis-list.svg":"badf","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function i(e){var t=s(e);return n(t)}function s(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=s,e.exports=i,i.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},2723:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"2ba1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});l.a.add(o);t["default"]=o},"2ddf":function(e,t,n){},"2fb0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},3080:function(e,t,n){"use strict";n("a0bf")},"33ae":function(e,t,n){},3561:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"396c":function(e,t,n){"use strict";n("a873")},"39e1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"3d22":function(e,t,n){"use strict";n("1d71")},"3da7":function(e){e.exports=JSON.parse('{"CAR_INSPECTRESITE_EXPORT":{"id":"CAR_INSPECTRESITE_EXPORT","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:export","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_QUERY":{"id":"CAR_INSPECT_QUERY","_parentId":"CAR_INSPECT_INDEX","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:query","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE":{"id":"DICT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"字典管理","sort":6,"alwaysShow":false,"name":"Dict","path":"dict","component":"system/dict/index","perms":"system:dict:list","isBtn":false,"redirect":null,"meta":{"title":"字典管理","icon":"dict","noCache":false,"link":null}},"CAR_INSPECTRECORD_UPDATE":{"id":"CAR_INSPECTRECORD_UPDATE","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:edit","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_QUERY":{"id":"ROLE_MANAGE_QUERY","_parentId":"ROLE_MANAGE","label":"角色查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_DELETE":{"id":"USER_MANAGE_DELETE","_parentId":"USER_MANAGE","label":"用户删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:remove","isBtn":true,"redirect":null,"meta":null},"ONLINE_USER_QUERY":{"id":"ONLINE_USER_QUERY","_parentId":"ONLINE_USER","label":"在线查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:online:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_INDEX":{"id":"CAR_INSPECT_DETAIL_INDEX","_parentId":"CAR_CHECK","label":"车辆检查清单","sort":4,"alwaysShow":false,"name":"InspectDetail","path":"inspectDetail","component":"business/inspectDetail/index","perms":"business:inspectDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查清单","icon":"#","noCache":false,"link":null}},"CAR_COMPANY_EXPORT":{"id":"CAR_COMPANY_EXPORT","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:export","isBtn":true,"redirect":null,"meta":null},"LOG_MANAGE":{"id":"LOG_MANAGE","_parentId":"SYSTEM_MANAGE","label":"日志管理","sort":9,"alwaysShow":true,"name":"Log","path":"/log","component":"ParentView","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"日志管理","icon":"log","noCache":false,"link":null}},"ACTION_LOG_DELETE":{"id":"ACTION_LOG_DELETE","_parentId":"ACTION_LOG","label":"操作删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR":{"id":"CAR_INSPECTOR","_parentId":"-1","label":"检验员管理","sort":4,"alwaysShow":true,"name":"Inspector","path":"/inspector","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"检验员管理","icon":"user","noCache":false,"link":null}},"CAR_INSPECTRESITE_ADD":{"id":"CAR_INSPECTRESITE_ADD","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:add","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_DELETE":{"id":"CAR_INSPECTOR_DELETE","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:remove","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_DELETE":{"id":"DEPT_MANAGE_DELETE","_parentId":"DEPT_MANAGE","label":"部门删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:remove","isBtn":true,"redirect":null,"meta":null},"FORM_BUILD_IMPORT":{"id":"FORM_BUILD_IMPORT","_parentId":"FORM_BUILD","label":"导入代码","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:import","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_UPDATE":{"id":"CAR_INSPECT_UPDATE","_parentId":"CAR_INSPECT_INDEX","label":"车辆检查信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:edit","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_ADD":{"id":"ROLE_MANAGE_ADD","_parentId":"ROLE_MANAGE","label":"角色新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:add","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_IMPORT":{"id":"USER_MANAGE_IMPORT","_parentId":"USER_MANAGE","label":"用户导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:import","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_ADD":{"id":"USER_MANAGE_ADD","_parentId":"USER_MANAGE","label":"用户新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:add","isBtn":true,"redirect":null,"meta":null},"FORM_BUILD_DELETE":{"id":"FORM_BUILD_DELETE","_parentId":"FORM_BUILD","label":"生成删除","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_QUERY":{"id":"CAR_INSPECTOR_QUERY","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:query","isBtn":true,"redirect":null,"meta":null},"FORM_BUILD_GENERATE":{"id":"FORM_BUILD_GENERATE","_parentId":"FORM_BUILD","label":"生成代码","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:code","isBtn":true,"redirect":null,"meta":null},"NOTICE_MANAGE_DELETE":{"id":"NOTICE_MANAGE_DELETE","_parentId":"NOTICE_MANAGE","label":"公告删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:notice:remove","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY":{"id":"OUTER_COMPANY_QUERY","_parentId":"-1","label":"车辆检查查询","sort":9,"alwaysShow":true,"name":"OuterQuery","path":"/outerQuery","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"车辆检查查询","icon":"cascader","noCache":false,"link":null}},"CODE_GENERATION":{"id":"CODE_GENERATION","_parentId":"SYSTEM_TOOL","label":"代码生成","sort":2,"alwaysShow":false,"name":"Gen","path":"gen","component":"tool/gen/index","perms":"tool:gen:list","isBtn":false,"redirect":null,"meta":{"title":"代码生成","icon":"code","noCache":false,"link":null}},"POST_MANAGE_EXPORT":{"id":"POST_MANAGE_EXPORT","_parentId":"POST_MANAGE","label":"岗位导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:export","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE":{"id":"POST_MANAGE","_parentId":"SYSTEM_MANAGE","label":"岗位管理","sort":5,"alwaysShow":false,"name":"Post","path":"post","component":"system/post/index","perms":"system:post:list","isBtn":false,"redirect":null,"meta":{"title":"岗位管理","icon":"post","noCache":false,"link":null}},"DICT_MANAGE_UPDATE":{"id":"DICT_MANAGE_UPDATE","_parentId":"DICT_MANAGE","label":"字典修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:edit","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_QUERY":{"id":"MENU_MANAGE_QUERY","_parentId":"MENU_MANAGE","label":"菜单查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:query","isBtn":true,"redirect":null,"meta":null},"PARAM_CONFIG":{"id":"PARAM_CONFIG","_parentId":"SYSTEM_MANAGE","label":"参数设置","sort":7,"alwaysShow":false,"name":"Config","path":"config","component":"system/config/index","perms":"system:config:list","isBtn":false,"redirect":null,"meta":{"title":"参数设置","icon":"edit","noCache":false,"link":null}},"CAR_COMPANY_ADD":{"id":"CAR_COMPANY_ADD","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:add","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_QUERY":{"id":"DICT_MANAGE_QUERY","_parentId":"DICT_MANAGE","label":"字典查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:query","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_ADD":{"id":"DEPT_MANAGE_ADD","_parentId":"DEPT_MANAGE","label":"部门新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:add","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_INDEX":{"id":"CAR_PRERECORD_INDEX","_parentId":"CAR_CHECK","label":"车辆预录信息","sort":0,"alwaysShow":false,"name":"PreRecord","path":"preRecord","component":"business/preRecord/index","perms":"business:preRecord:list","isBtn":false,"redirect":null,"meta":{"title":"车辆预录信息","icon":"#","noCache":false,"link":null}},"ROLE_MANAGE":{"id":"ROLE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"角色管理","sort":2,"alwaysShow":false,"name":"Role","path":"role","component":"system/role/index","perms":"system:role:list","isBtn":false,"redirect":null,"meta":{"title":"角色管理","icon":"peoples","noCache":false,"link":null}},"CAR_ORDERFORMAL_QUERY":{"id":"CAR_ORDERFORMAL_QUERY","_parentId":"CAR_ORDERFORMAL_INDEX","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_RESET":{"id":"CAR_PRERECORD_RESET","_parentId":"CAR_INSPECTOR_INDEX","label":"重置密码","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:reset","isBtn":true,"redirect":null,"meta":null},"CACHE_MONITOR":{"id":"CACHE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"缓存监控","sort":5,"alwaysShow":false,"name":"Cache","path":"cache","component":"monitor/cache/index","perms":"monitor:cache:list","isBtn":false,"redirect":null,"meta":{"title":"缓存监控","icon":"redis","noCache":false,"link":null}},"CAR_PRERECORD_DETAIL_INDEX":{"id":"CAR_PRERECORD_DETAIL_INDEX","_parentId":"CAR_CHECK","label":"车辆预录清单","sort":1,"alwaysShow":false,"name":"PreRecordDetail","path":"preRecordDetail","component":"business/preRecordDetail/index","perms":"business:preRecordDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆预录清单","icon":"#","noCache":false,"link":null}},"SYSTEM_TOOL":{"id":"SYSTEM_TOOL","_parentId":"-1","label":"系统工具","sort":3,"alwaysShow":true,"name":"Tool","path":"/tool","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"系统工具","icon":"tool","noCache":false,"link":null}},"CAR_COMPANY_INDEX":{"id":"CAR_COMPANY_INDEX","_parentId":"CAR_COMPANY","label":"委托单位信息","sort":1,"alwaysShow":false,"name":"Company","path":"company","component":"business/company/index","perms":"business:company:list","isBtn":false,"redirect":null,"meta":{"title":"委托单位信息","icon":"#","noCache":false,"link":null}},"CACHE_LIST":{"id":"CACHE_LIST","_parentId":"SYSTEM_MONITOR","label":"缓存列表","sort":6,"alwaysShow":false,"name":"CacheList","path":"cacheList","component":"monitor/cache/list","perms":"monitor:cache:list","isBtn":false,"redirect":null,"meta":{"title":"缓存列表","icon":"redis-list","noCache":false,"link":null}},"CAR_SITE":{"id":"CAR_SITE","_parentId":"-1","label":"检查场地管理","sort":5,"alwaysShow":true,"name":"Site","path":"/site","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"检查场地管理","icon":"star","noCache":false,"link":null}},"USER_MANAGE_EXPORT":{"id":"USER_MANAGE_EXPORT","_parentId":"USER_MANAGE","label":"用户导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:export","isBtn":true,"redirect":null,"meta":null},"SYSTEM_MANAGE":{"id":"SYSTEM_MANAGE","_parentId":"-1","label":"系统管理","sort":1,"alwaysShow":true,"name":"System","path":"/system","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"系统管理","icon":"system","noCache":false,"link":null}},"CAR_NGPART_DELETE":{"id":"CAR_NGPART_DELETE","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:remove","isBtn":true,"redirect":null,"meta":null},"ONLINE_USER_BATCH_EXIT":{"id":"ONLINE_USER_BATCH_EXIT","_parentId":"ONLINE_USER","label":"批量强退","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:online:batchLogout","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_RECORD":{"id":"OUTER_COMPANY_QUERY_RECORD","_parentId":"OUTER_COMPANY_QUERY","label":"点检记录","sort":4,"alwaysShow":false,"name":"OuterCompanyInspectRecord","path":"outerCompanyInspectRecord","component":"outer/company/inspectRecord/index","perms":"company:inspectRecord:list","isBtn":false,"redirect":null,"meta":{"title":"点检记录","icon":"#","noCache":false,"link":null}},"OUTER_COMPANY_QUERY_INSPECT":{"id":"OUTER_COMPANY_QUERY_INSPECT","_parentId":"OUTER_COMPANY_QUERY","label":"车辆检查清单","sort":3,"alwaysShow":false,"name":"OuterCompanyInspectDetail","path":"outerCompanyInspectDetail","component":"outer/company/inspectDetail/index","perms":"company:inspectDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查清单","icon":"#","noCache":false,"link":null}},"CAR_INSPECTRESITE_UPDATE":{"id":"CAR_INSPECTRESITE_UPDATE","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:edit","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_EXPORT":{"id":"CAR_INSPECTRECORD_EXPORT","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:export","isBtn":true,"redirect":null,"meta":null},"NOTICE_MANAGE":{"id":"NOTICE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"通知公告","sort":8,"alwaysShow":false,"name":"Notice","path":"notice","component":"system/notice/index","perms":"system:notice:list","isBtn":false,"redirect":null,"meta":{"title":"通知公告","icon":"message","noCache":false,"link":null}},"CAR_PRERECORD_QUERY":{"id":"CAR_PRERECORD_QUERY","_parentId":"CAR_PRERECORD_INDEX","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:query","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_DELETE":{"id":"CAR_POLLUTANT_DELETE","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:remove","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_EXPORT":{"id":"ROLE_MANAGE_EXPORT","_parentId":"ROLE_MANAGE","label":"角色导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:export","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_QUERY":{"id":"CAR_NGPART_QUERY","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:query","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_QUERY":{"id":"CAR_COMPANY_QUERY","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_ADD":{"id":"CAR_PRERECORD_ADD","_parentId":"CAR_PRERECORD_INDEX","label":"生效","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:effect","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_UPDATE":{"id":"CAR_POLLUTANT_UPDATE","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG_EXPORT":{"id":"ACTION_LOG_EXPORT","_parentId":"ACTION_LOG","label":"日志导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:export","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_IMPORT":{"id":"CAR_PRERECORD_IMPORT","_parentId":"CAR_PRERECORD_INDEX","label":"导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:import","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_EXPORT":{"id":"DICT_MANAGE_EXPORT","_parentId":"DICT_MANAGE","label":"字典导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:export","isBtn":true,"redirect":null,"meta":null},"CAR_CHECK":{"id":"CAR_CHECK","_parentId":"-1","label":"车辆检查管理","sort":8,"alwaysShow":true,"name":"Check","path":"/check","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"车辆检查管理","icon":"checkbox","noCache":false,"link":null}},"PARAM_CONFIG_ADD":{"id":"PARAM_CONFIG_ADD","_parentId":"PARAM_CONFIG","label":"参数新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:config:add","isBtn":true,"redirect":null,"meta":null},"DATA_MONITOR":{"id":"DATA_MONITOR","_parentId":"SYSTEM_MONITOR","label":"数据监控","sort":3,"alwaysShow":false,"name":"Druid","path":"druid","component":"monitor/druid/index","perms":"monitor:druid:list","isBtn":false,"redirect":null,"meta":{"title":"数据监控","icon":"druid","noCache":false,"link":null}},"CAR_ORDERFORMAL_UPDATE":{"id":"CAR_ORDERFORMAL_UPDATE","_parentId":"CAR_ORDERFORMAL_INDEX","label":"完成","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:edit","isBtn":true,"redirect":null,"meta":null},"FORM_BUILD":{"id":"FORM_BUILD","_parentId":"SYSTEM_TOOL","label":"表单构建","sort":1,"alwaysShow":false,"name":"Build","path":"build","component":"tool/build/index","perms":"tool:build:list","isBtn":false,"redirect":null,"meta":{"title":"表单构建","icon":"build","noCache":false,"link":null}},"DICT_MANAGE_DELETE":{"id":"DICT_MANAGE_DELETE","_parentId":"DICT_MANAGE","label":"字典删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:remove","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_DELETE":{"id":"ROLE_MANAGE_DELETE","_parentId":"ROLE_MANAGE","label":"角色删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_QUERY":{"id":"CAR_INSPECTRESITE_QUERY","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_ADD":{"id":"CAR_INSPECTRECORD_ADD","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:add","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_ADD":{"id":"DICT_MANAGE_ADD","_parentId":"DICT_MANAGE","label":"字典新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:add","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_EXPORT":{"id":"CAR_INSPECT_DETAIL_EXPORT","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"详单导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:export","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_INDEX":{"id":"CAR_POLLUTANT_INDEX","_parentId":"CAR_BASE","label":"污染物信息","sort":1,"alwaysShow":false,"name":"Pollutant","path":"pollutant","component":"business/pollutant/index","perms":"business:pollutant:list","isBtn":false,"redirect":null,"meta":{"title":"污染物信息","icon":"#","noCache":false,"link":null}},"LOGIN_LOG_DELETE":{"id":"LOGIN_LOG_DELETE","_parentId":"LOGIN_LOG","label":"登录删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:remove","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_UPDATE":{"id":"CAR_COMPANY_UPDATE","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:edit","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_ORDER_FORMAL":{"id":"OUTER_COMPANY_QUERY_ORDER_FORMAL","_parentId":"OUTER_COMPANY_QUERY","label":"委托单信息","sort":1,"alwaysShow":false,"name":"OuterCompanyOrderFormal","path":"outerCompanyOrderFormal","component":"outer/company/orderFormal/index","perms":"company:orderFormal:list","isBtn":false,"redirect":null,"meta":{"title":"委托单信息","icon":"#","noCache":false,"link":null}},"CAR_INSPECT_INDEX":{"id":"CAR_INSPECT_INDEX","_parentId":"CAR_CHECK","label":"车辆检查信息","sort":3,"alwaysShow":false,"name":"Inspect","path":"inspect","component":"business/inspect/index","perms":"business:inspect:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查信息","icon":"#","noCache":false,"link":null}},"CAR_NGPART_EXPORT":{"id":"CAR_NGPART_EXPORT","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:export","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_DELETE":{"id":"CAR_INSPECTRECORD_DELETE","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE":{"id":"MENU_MANAGE","_parentId":"SYSTEM_MANAGE","label":"菜单管理","sort":3,"alwaysShow":false,"name":"Menu","path":"menu","component":"system/menu/index","perms":"system:menu:list","isBtn":false,"redirect":null,"meta":{"title":"菜单管理","icon":"tree-table","noCache":false,"link":null}},"USER_MANAGE":{"id":"USER_MANAGE","_parentId":"SYSTEM_MANAGE","label":"用户管理","sort":1,"alwaysShow":false,"name":"User","path":"user","component":"system/user/index","perms":"system:user:list","isBtn":false,"redirect":null,"meta":{"title":"用户管理","icon":"user","noCache":false,"link":null}},"LOGIN_LOG_EXPORT":{"id":"LOGIN_LOG_EXPORT","_parentId":"LOGIN_LOG","label":"日志导出","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:export","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_EXPORT":{"id":"CAR_POLLUTANT_EXPORT","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:export","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_QUERY":{"id":"POST_MANAGE_QUERY","_parentId":"POST_MANAGE","label":"岗位查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:query","isBtn":true,"redirect":null,"meta":null},"FORM_BUILD_UPDATE":{"id":"FORM_BUILD_UPDATE","_parentId":"FORM_BUILD","label":"生成修改","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:edit","isBtn":true,"redirect":null,"meta":null},"PARAM_CONFIG_QUERY":{"id":"PARAM_CONFIG_QUERY","_parentId":"PARAM_CONFIG","label":"参数查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:config:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_QUERY":{"id":"CAR_INSPECT_DETAIL_QUERY","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:query","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL":{"id":"OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL","_parentId":"OUTER_COMPANY_QUERY_ORDER_FORMAL","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_UPDATE":{"id":"CAR_INSPECTOR_UPDATE","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:edit","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_UPDATE":{"id":"DEPT_MANAGE_UPDATE","_parentId":"DEPT_MANAGE","label":"部门修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:edit","isBtn":true,"redirect":null,"meta":null},"ONLINE_USER_ONE_EXIT":{"id":"ONLINE_USER_ONE_EXIT","_parentId":"ONLINE_USER","label":"单条强退","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:online:forceLogout","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_QUERY":{"id":"CAR_INSPECTRECORD_QUERY","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_INDEX":{"id":"CAR_INSPECTOR_INDEX","_parentId":"CAR_INSPECTOR","label":"检验员信息","sort":1,"alwaysShow":false,"name":"Inspector","path":"inspector","component":"business/inspector/index","perms":"business:inspector:list","isBtn":false,"redirect":null,"meta":{"title":"检验员信息","icon":"#","noCache":false,"link":null}},"LOGIN_LOG":{"id":"LOGIN_LOG","_parentId":"LOG_MANAGE","label":"登录日志","sort":2,"alwaysShow":false,"name":"Logininfor","path":"logininfor","component":"monitor/logininfor/index","perms":"monitor:logininfor:list","isBtn":false,"redirect":null,"meta":{"title":"登录日志","icon":"logininfor","noCache":false,"link":null}},"USER_MANAGE_UPDATE":{"id":"USER_MANAGE_UPDATE","_parentId":"USER_MANAGE","label":"用户修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:edit","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_ADD":{"id":"CAR_NGPART_ADD","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:add","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_UPDATE":{"id":"POST_MANAGE_UPDATE","_parentId":"POST_MANAGE","label":"岗位修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:edit","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_EXPORT":{"id":"CAR_INSPECTOR_EXPORT","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:export","isBtn":true,"redirect":null,"meta":null},"SYSTEM_MONITOR":{"id":"SYSTEM_MONITOR","_parentId":"-1","label":"系统监控","sort":2,"alwaysShow":true,"name":"Monitor","path":"/monitor","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"系统监控","icon":"monitor","noCache":false,"link":null}},"CAR_COMPANY_DELETE":{"id":"CAR_COMPANY_DELETE","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_ADD":{"id":"MENU_MANAGE_ADD","_parentId":"MENU_MANAGE","label":"菜单新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:add","isBtn":true,"redirect":null,"meta":null},"LOGIN_LOG_QUERY":{"id":"LOGIN_LOG_QUERY","_parentId":"LOGIN_LOG","label":"登录查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_RESET_PASS":{"id":"USER_MANAGE_RESET_PASS","_parentId":"USER_MANAGE","label":"重置密码","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:resetPwd","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_DELETE":{"id":"CAR_INSPECT_DETAIL_DELETE","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"精简导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:exportSum","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_INSPECT_DETAIL":{"id":"OUTER_COMPANY_QUERY_INSPECT_DETAIL","_parentId":"OUTER_COMPANY_QUERY_INSPECT","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:query","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_UPDATE":{"id":"ROLE_MANAGE_UPDATE","_parentId":"ROLE_MANAGE","label":"角色修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG_QUERY":{"id":"ACTION_LOG_QUERY","_parentId":"ACTION_LOG","label":"操作查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_QUERY":{"id":"USER_MANAGE_QUERY","_parentId":"USER_MANAGE","label":"用户查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:query","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY":{"id":"CAR_COMPANY","_parentId":"-1","label":"委托单位管理","sort":6,"alwaysShow":true,"name":"Company","path":"/company","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"委托单位管理","icon":"logininfor","noCache":false,"link":null}},"PARAM_CONFIG_DELETE":{"id":"PARAM_CONFIG_DELETE","_parentId":"PARAM_CONFIG","label":"参数删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:config:remove","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE":{"id":"DEPT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"组织单位管理","sort":4,"alwaysShow":false,"name":"Dept","path":"dept","component":"system/dept/index","perms":"system:dept:list","isBtn":false,"redirect":null,"meta":{"title":"组织单位管理","icon":"tree","noCache":false,"link":null}},"CAR_NGPART_UPDATE":{"id":"CAR_NGPART_UPDATE","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG":{"id":"ACTION_LOG","_parentId":"LOG_MANAGE","label":"操作日志","sort":1,"alwaysShow":false,"name":"Operlog","path":"operlog","component":"monitor/operlog/index","perms":"monitor:operlog:list","isBtn":false,"redirect":null,"meta":{"title":"操作日志","icon":"form","noCache":false,"link":null}},"CAR_INSPECTRECORD_INDEX_":{"id":"CAR_INSPECTRECORD_INDEX_","_parentId":"CAR_CHECK","label":"点检记录","sort":5,"alwaysShow":false,"name":"InspectRecord","path":"inspectRecord","component":"business/inspectRecord/index","perms":"business:inspectRecord:list","isBtn":false,"redirect":null,"meta":{"title":"点检记录","icon":"#","noCache":false,"link":null}},"NOTICE_MANAGE_QUERY":{"id":"NOTICE_MANAGE_QUERY","_parentId":"NOTICE_MANAGE","label":"公告查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:notice:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_DETAIL_QUERY":{"id":"CAR_PRERECORD_DETAIL_QUERY","_parentId":"CAR_PRERECORD_DETAIL_INDEX","label":"车辆预录信息明细查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecordDetail:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_DELETE":{"id":"CAR_INSPECTRESITE_DELETE","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_UPDATE":{"id":"MENU_MANAGE_UPDATE","_parentId":"MENU_MANAGE","label":"菜单修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:edit","isBtn":true,"redirect":null,"meta":null},"CAR_ORDERFORMAL_INDEX":{"id":"CAR_ORDERFORMAL_INDEX","_parentId":"CAR_CHECK","label":"委托单信息","sort":2,"alwaysShow":false,"name":"OrderFormal","path":"orderFormal","component":"business/orderFormal/index","perms":"business:orderFormal:list","isBtn":false,"redirect":null,"meta":{"title":"委托单信息","icon":"#","noCache":false,"link":null}},"FORM_BUILD_PREVIEW":{"id":"FORM_BUILD_PREVIEW","_parentId":"FORM_BUILD","label":"预览代码","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:preview","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_DELETE":{"id":"MENU_MANAGE_DELETE","_parentId":"MENU_MANAGE","label":"菜单删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:remove","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_INDEX":{"id":"CAR_NGPART_INDEX","_parentId":"CAR_BASE","label":"NG部位信息","sort":1,"alwaysShow":false,"name":"NgPart","path":"ngPart","component":"business/ngPart/index","perms":"business:ngPart:list","isBtn":false,"redirect":null,"meta":{"title":"NG部位信息","icon":"#","noCache":false,"link":null}},"CAR_BASE":{"id":"CAR_BASE","_parentId":"-1","label":"基础数据管理","sort":7,"alwaysShow":true,"name":"Base","path":"/base","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"基础数据管理","icon":"excel","noCache":false,"link":null}},"CAR_INSPECTOR_ADD":{"id":"CAR_INSPECTOR_ADD","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:add","isBtn":true,"redirect":null,"meta":null},"NOTICE_MANAGE_ADD":{"id":"NOTICE_MANAGE_ADD","_parentId":"NOTICE_MANAGE","label":"公告新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:notice:add","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_QUERY":{"id":"CAR_POLLUTANT_QUERY","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:query","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_ADD":{"id":"CAR_POLLUTANT_ADD","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:add","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_DELETE":{"id":"POST_MANAGE_DELETE","_parentId":"POST_MANAGE","label":"岗位删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:remove","isBtn":true,"redirect":null,"meta":null},"CAR_ORDERFORMAL_ADD":{"id":"CAR_ORDERFORMAL_ADD","_parentId":"CAR_ORDERFORMAL_INDEX","label":"新增车辆","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:addCar","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_INDEX":{"id":"CAR_INSPECTRESITE_INDEX","_parentId":"CAR_SITE","label":"检查场地信息","sort":1,"alwaysShow":false,"name":"InspectSite","path":"inspectSite","component":"business/inspectSite/index","perms":"business:inspectSite:list","isBtn":false,"redirect":null,"meta":{"title":"检查场地信息","icon":"#","noCache":false,"link":null}},"POST_MANAGE_ADD":{"id":"POST_MANAGE_ADD","_parentId":"POST_MANAGE","label":"岗位新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:add","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_QUERY":{"id":"DEPT_MANAGE_QUERY","_parentId":"DEPT_MANAGE","label":"部门查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:query","isBtn":true,"redirect":null,"meta":null},"NOTICE_MANAGE_UPDATE":{"id":"NOTICE_MANAGE_UPDATE","_parentId":"NOTICE_MANAGE","label":"公告修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:notice:edit","isBtn":true,"redirect":null,"meta":null},"SERVICE_MONITOR":{"id":"SERVICE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"服务监控","sort":4,"alwaysShow":false,"name":"Server","path":"server","component":"monitor/server/index","perms":"monitor:server:list","isBtn":false,"redirect":null,"meta":{"title":"服务监控","icon":"server","noCache":false,"link":null}},"FORM_BUILD_QUERY":{"id":"FORM_BUILD_QUERY","_parentId":"FORM_BUILD","label":"生成查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"tool:gen:query","isBtn":true,"redirect":null,"meta":null},"PARAM_CONFIG_EXPORT":{"id":"PARAM_CONFIG_EXPORT","_parentId":"PARAM_CONFIG","label":"参数导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:config:export","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_CAR":{"id":"OUTER_COMPANY_QUERY_CAR","_parentId":"OUTER_COMPANY_QUERY","label":"车辆检查信息","sort":2,"alwaysShow":false,"name":"OuterCompanyInspect","path":"outerCompanyInspect","component":"outer/company/inspect/index","perms":"company:inspect:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查信息","icon":"#","noCache":false,"link":null}},"OUTER_COMPANY_QUERY_CAR_DETAIL":{"id":"OUTER_COMPANY_QUERY_CAR_DETAIL","_parentId":"OUTER_COMPANY_QUERY_CAR","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:query","isBtn":true,"redirect":null,"meta":null},"PARAM_CONFIG_UPDATE":{"id":"PARAM_CONFIG_UPDATE","_parentId":"PARAM_CONFIG","label":"参数修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:config:edit","isBtn":true,"redirect":null,"meta":null},"ONLINE_USER":{"id":"ONLINE_USER","_parentId":"SYSTEM_MONITOR","label":"在线用户","sort":1,"alwaysShow":false,"name":"Online","path":"online","component":"monitor/online/index","perms":"monitor:online:list","isBtn":false,"redirect":null,"meta":{"title":"在线用户","icon":"online","noCache":false,"link":null}},"CAR_PRERECORD_DETAIL_EXPORT":{"id":"CAR_PRERECORD_DETAIL_EXPORT","_parentId":"CAR_PRERECORD_DETAIL_INDEX","label":"车辆预录信息明细导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecordDetail:export","isBtn":true,"redirect":null,"meta":null}}')},"3ddf":function(e,t,n){},4360:function(e,t,n){"use strict";var a,i,s=n("2b0e"),l=n("2f62"),o=n("852e"),c=n.n(o),r={sidebar:{opened:!c.a.get("sidebarStatus")||!!+c.a.get("sidebarStatus"),withoutAnimation:!1,hide:!1},device:"desktop",size:c.a.get("size")||"medium"},u={TOGGLE_SIDEBAR:function(e){if(e.sidebar.hide)return!1;e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?c.a.set("sidebarStatus",1):c.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){c.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,c.a.set("size",t)},SET_SIDEBAR_HIDE:function(e,t){e.sidebar.hide=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)},toggleSideBarHide:function(e,t){var n=e.commit;n("SET_SIDEBAR_HIDE",t)}},h={namespaced:!0,state:r,mutations:u,actions:d},p=(n("b0c0"),n("d3b7"),n("7ded")),m=n("5f87"),f={state:{token:Object(m["a"])(),name:"",avatar:"",roles:[],permissions:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t}},actions:{Login:function(e,t){e.commit;return new Promise((function(e,n){Object(p["d"])(t).then((function(t){e()})).catch((function(e){n(e)}))}))},GetInfo:function(e){var t=e.commit;e.state;return new Promise((function(e,a){Object(p["b"])().then((function(a){var i=a.user,s=""==i.avatar||null==i.avatar?n("4b94"):"/"+i.avatar;a.roles&&a.roles.length>0?(t("SET_ROLES",a.roles),t("SET_PERMISSIONS",a.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",i.userName),t("SET_AVATAR",s),e(a)})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(p["e"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(m["b"])(),e()})).catch((function(e){a(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(m["b"])(),e()}))}}},v=f,b=n("2909"),w=n("3835"),g=n("b85c"),_=(n("caad"),n("2532"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),n("c740"),{visitedViews:[],cachedViews:[]}),E={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta&&!t.meta.noCache&&e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(g["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(w["a"])(n.value,2),s=i[0],l=i[1];if(l.path===t.path){e.visitedViews.splice(s,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(g["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t);break}}}catch(s){a.e(s)}finally{a.f()}},DEL_RIGHT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a<=n||t.meta&&t.meta.affix)return!0;var i=e.cachedViews.indexOf(t.name);return i>-1&&e.cachedViews.splice(i,1),!1})))},DEL_LEFT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a>=n||t.meta&&t.meta.affix)return!0;var i=e.cachedViews.indexOf(t.name);return i>-1&&e.cachedViews.splice(i,1),!1})))}},y={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(b["a"])(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(b["a"])(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(b["a"])(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(b["a"])(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(b["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(b["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)},delRightTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_RIGHT_VIEWS",t),e(Object(b["a"])(_.visitedViews))}))},delLeftTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_LEFT_VIEWS",t),e(Object(b["a"])(_.visitedViews))}))}},C={namespaced:!0,state:_,mutations:E,actions:y},x=(n("99af"),n("159b"),n("d81d"),n("3ca3"),n("dce4")),A=n("a18c"),R=n("b775"),k=function(){return Object(R["a"])({url:"/getRouters",method:"get"})},T=n("c1f7"),O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},S=[],I=n("2877"),M={},N=Object(I["a"])(M,O,S,!1,null,null,null),L=N.exports,D=(n("9911"),{data:function(){return{}},render:function(){var e=arguments[0],t=this.$route.meta.link;if(""==={link:t}.link)return"404";var n={link:t}.link,a=document.documentElement.clientHeight-94.5+"px",i={height:a};return e("div",{style:i},[e("iframe",{attrs:{src:n,frameborder:"no",scrolling:"auto"},style:"width: 100%; height: 100%"})])}}),z=D,P=Object(I["a"])(z,a,i,!1,null,null,null),B=P.exports,V=n("3da7");console.log(V),console.log("Menu");var H={Menu:V},U={state:{routerMap:H.Menu,routes:[],permissions:[],addRoutes:[],defaultRoutes:[],topbarRouters:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=A["a"].concat(t)},SET_DEFAULT_ROUTES:function(e,t){e.defaultRoutes=A["a"].concat(t)},SET_TOPBAR_ROUTES:function(e,t){e.topbarRouters=t},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=t}},actions:{GenerateRoutes:function(e){var t=e.commit,n=e.state;return new Promise((function(e){k().then((function(a){var i=[],s=[],l=[];a.data.forEach((function(e){n.routerMap[e]&&s.push(n.routerMap[e])})),s.map((function(e){e.isBtn?l.push(e):i.push(e)})),n.permissions=l;var o=j(i,"id"),c=G(o);console.log(c),console.log("sidebarRoutes");var r=Y(A["c"]);A["b"].addRoutes(r),t("SET_ROUTES",c),t("SET_SIDEBAR_ROUTERS",A["a"].concat(c)),e(c)}))}))}}};function j(e,t,n,a){var i,s={id:t||"id",_parentId:n||"_parentId",childrenList:a||"children"},l={},o={},c=[],r=Object(g["a"])(e);try{for(r.s();!(i=r.n()).done;){var u=i.value,d=u[s._parentId];null==l[d]&&(l[d]=[]),o[u[s.id]]=u,l[d].push(u)}}catch(E){r.e(E)}finally{r.f()}var h,p=Object(g["a"])(e);try{for(p.s();!(h=p.n()).done;){var m=h.value,f=m[s._parentId];null==o[f]&&c.push(m)}}catch(E){p.e(E)}finally{p.f()}for(var v=0,b=c;v2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return t&&e.children&&(e.children=$(e.children)),e.component&&("Layout"===e.component?e.component=T["a"]:"ParentView"===e.component?e.component=L:"InnerLink"===e.component?e.component=B:e.component=F(e.component)),null!=e.children&&e.children&&e.children.length?e.children=G(e.children,e,t):(delete e["children"],delete e["redirect"]),!0}))}function $(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return e.forEach((function(e,a){e.children&&e.children.length&&"ParentView"===e.component&&!t?e.children.forEach((function(t){t.path=e.path+"/"+t.path,t.children&&t.children.length?n=n.concat($(t.children,t)):n.push(t)})):(t&&(e.path=t.path+"/"+e.path),n=n.concat(e))})),n}function Y(e){var t=[];return e.forEach((function(e){e.permissions?x["a"].hasPermiOr(e.permissions)&&t.push(e):e.roles&&x["a"].hasRoleOr(e.roles)&&t.push(e)})),t}var F=function(e){return function(){return n("9dac")("./".concat(e))}},X=U,q=n("83d6"),Q=n.n(q),W=Q.a.sideTheme,J=Q.a.showSettings,K=Q.a.topNav,Z=Q.a.tagsView,ee=Q.a.fixedHeader,te=Q.a.sidebarLogo,ne=Q.a.dynamicTitle,ae=JSON.parse(localStorage.getItem("layout-setting"))||"",ie={title:"",theme:ae.theme||"#409EFF",sideTheme:ae.sideTheme||W,showSettings:J,topNav:void 0===ae.topNav?K:ae.topNav,tagsView:void 0===ae.tagsView?Z:ae.tagsView,fixedHeader:void 0===ae.fixedHeader?ee:ae.fixedHeader,sidebarLogo:void 0===ae.sidebarLogo?te:ae.sidebarLogo,dynamicTitle:void 0===ae.dynamicTitle?ne:ae.dynamicTitle},se={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},le={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)},setTitle:function(e,t){e.commit;ie.title=t}},oe={namespaced:!0,state:ie,mutations:se,actions:le},ce={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},topbarRouters:function(e){return e.permission.topbarRouters},defaultRoutes:function(e){return e.permission.defaultRoutes},sidebarRouters:function(e){return e.permission.sidebarRouters}},re=ce;s["default"].use(l["a"]);var ue=new l["a"].Store({modules:{app:h,user:v,tagsView:C,permission:X,settings:oe},getters:re});t["a"]=ue},4576:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"47b7":function(e,t,n){"use strict";n("4c86")},"482c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},4955:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.1dcda80e.jpg"},"4c86":function(e,t,n){},"4d24":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},5534:function(e,t,n){},"565c":function(e,t,n){"use strict";n("3ddf")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),i=n("852e"),s=n.n(i),l=n("5c96"),o=n.n(l),c=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),r=[],u=(n("99af"),{name:"App",metaInfo:function(){return{title:this.$store.state.settings.dynamicTitle&&this.$store.state.settings.title,titleTemplate:function(e){return e?"".concat(e," - ").concat("机动车整车生物安全检查系统"):"机动车整车生物安全检查系统"}}}}),d=u,h=(n("0a7d"),n("2877")),p=Object(h["a"])(d,c,r,!1,null,null,null),m=p.exports,f=n("4360"),v=n("a18c"),b=(n("d3b7"),n("caad"),n("2532"),{inserted:function(e,t,n){var a=t.value,i="admin",s=f["a"].getters&&f["a"].getters.roles;if(!(a&&a instanceof Array&&a.length>0))throw new Error('请设置角色权限标签值"');var l=a,o=s.some((function(e){return i===e||l.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),w={inserted:function(e,t,n){var a=t.value,i="*:*:*",s=f["a"].getters&&f["a"].getters.permissions;if(!(a&&a instanceof Array&&a.length>0))throw new Error("请设置操作权限标签值");var l=a,o=s.some((function(e){return i===e||l.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},g=(n("ac1f"),n("5319"),{bind:function(e,t,n,a){var i=t.value;if(0!=i){var s=e.querySelector(".el-dialog__header"),l=e.querySelector(".el-dialog");s.style.cursor="move";var o=l.currentStyle||window.getComputedStyle(l,null);l.style.position="absolute",l.style.marginTop=0;var c=l.style.width;c=c.includes("%")?+document.body.clientWidth*(+c.replace(/\%/g,"")/100):+c.replace(/\px/g,""),l.style.left="".concat((document.body.clientWidth-c)/2,"px"),s.onmousedown=function(e){var t,n,a=e.clientX-s.offsetLeft,i=e.clientY-s.offsetTop;o.left.includes("%")?(t=+document.body.clientWidth*(+o.left.replace(/\%/g,"")/100),n=+document.body.clientHeight*(+o.top.replace(/\%/g,"")/100)):(t=+o.left.replace(/\px/g,""),n=+o.top.replace(/\px/g,"")),document.onmousemove=function(e){var s=e.clientX-a,o=e.clientY-i,c=s+t,r=o+n;l.style.left="".concat(c,"px"),l.style.top="".concat(r,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}}}),_={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 5px; background: inherit; height: 80%; position: absolute; right: 0; top: 0; bottom: 0; margin: auto; z-index: 1; cursor: w-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,i=t.offsetWidth;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a;t.style.width="".concat(i+n,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},E={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 6px; background: inherit; height: 10px; position: absolute; right: 0; bottom: 0; margin: auto; z-index: 1; cursor: nwse-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,i=n.clientY-e.offsetTop,s=t.offsetWidth,l=t.offsetHeight;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a,o=e.clientY-i;t.style.width="".concat(s+n,"px"),t.style.height="".concat(l+o,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},y=n("b311"),C=n.n(y),x={bind:function(e,t,n){switch(t.arg){case"success":e._vClipBoard_success=t.value;break;case"error":e._vClipBoard_error=t.value;break;default:var a=new C.a(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"}});a.on("success",(function(t){var n=e._vClipBoard_success;n&&n(t)})),a.on("error",(function(t){var n=e._vClipBoard_error;n&&n(t)})),e._vClipBoard=a}},update:function(e,t){"success"===t.arg?e._vClipBoard_success=t.value:"error"===t.arg?e._vClipBoard_error=t.value:(e._vClipBoard.text=function(){return t.value},e._vClipBoard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipBoard_success:"error"===t.arg?delete e._vClipBoard_error:(e._vClipBoard.destroy(),delete e._vClipBoard))}},A=function(e){e.directive("hasRole",b),e.directive("hasPermi",w),e.directive("clipboard",x),e.directive("dialogDrag",g),e.directive("dialogDragWidth",_),e.directive("dialogDragHeight",E)};window.Vue&&(window["hasRole"]=b,window["hasPermi"]=w,Vue.use(A));var R,k=A,T=(n("159b"),n("b0c0"),{refreshPage:function(e){var t=v["b"].currentRoute,n=t.path,a=t.query,i=t.matched;return void 0===e&&i.forEach((function(t){t.components&&t.components.default&&t.components.default.name&&(["Layout","ParentView"].includes(t.components.default.name)||(e={name:t.components.default.name,path:n,query:a}))})),f["a"].dispatch("tagsView/delCachedView",e).then((function(){var t=e,n=t.path,a=t.query;v["b"].replace({path:"/redirect"+n,query:a})}))},closeOpenPage:function(e){if(f["a"].dispatch("tagsView/delView",v["b"].currentRoute),void 0!==e)return v["b"].push(e)},closePage:function(e){return void 0===e?f["a"].dispatch("tagsView/delView",v["b"].currentRoute).then((function(e){var t=e.lastPath;return v["b"].push(t||"/")})):f["a"].dispatch("tagsView/delView",e)},closeAllPage:function(){return f["a"].dispatch("tagsView/delAllViews")},closeLeftPage:function(e){return f["a"].dispatch("tagsView/delLeftTags",e||v["b"].currentRoute)},closeRightPage:function(e){return f["a"].dispatch("tagsView/delRightTags",e||v["b"].currentRoute)},closeOtherPage:function(e){return f["a"].dispatch("tagsView/delOthersViews",e||v["b"].currentRoute)},openPage:function(e,t,n){var a={path:t,meta:{title:e}};return f["a"].dispatch("tagsView/addView",a),v["b"].push({path:t,query:n})},updatePage:function(e){return f["a"].dispatch("tagsView/updateVisitedView",e)}}),O=n("dce4"),S=n("63f0"),I={msg:function(e){l["Message"].info(e)},msgError:function(e){l["Message"].error(e)},msgSuccess:function(e){l["Message"].success(e)},msgWarning:function(e){l["Message"].warning(e)},alert:function(e){l["MessageBox"].alert(e,"系统提示")},alertError:function(e){l["MessageBox"].alert(e,"系统提示",{type:"error"})},alertSuccess:function(e){l["MessageBox"].alert(e,"系统提示",{type:"success"})},alertWarning:function(e){l["MessageBox"].alert(e,"系统提示",{type:"warning"})},notify:function(e){l["Notification"].info(e)},notifyError:function(e){l["Notification"].error(e)},notifySuccess:function(e){l["Notification"].success(e)},notifyWarning:function(e){l["Notification"].warning(e)},confirm:function(e){return l["MessageBox"].confirm(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},prompt:function(e){return l["MessageBox"].prompt(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},loading:function(e){R=l["Loading"].service({lock:!0,text:e,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},closeLoading:function(){R.close()}},M=n("c7eb"),N=n("1da1"),L=n("bc3a"),D=n.n(L),z=n("21a6"),P=n("5f87"),B=n("81ae"),V=n("c38a"),H="/",U={name:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=H+"/common/download?fileName="+encodeURI(e)+"&delete="+n;D()({method:"get",url:a,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(N["a"])(Object(M["a"])().mark((function e(n){var a,i;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(n.data);case 2:a=e.sent,a?(i=new Blob([n.data]),t.saveAs(i,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},resource:function(e){var t=this,n=H+"/common/download/resource?resource="+encodeURI(e);D()({method:"get",url:n,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(N["a"])(Object(M["a"])().mark((function e(n){var a,i;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(n.data);case 2:a=e.sent,a?(i=new Blob([n.data]),t.saveAs(i,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},zip:function(e,t){var n=this;e=H+e;D()({method:"get",url:e,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(N["a"])(Object(M["a"])().mark((function e(a){var i,s;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(a.data);case 2:i=e.sent,i?(s=new Blob([a.data],{type:"application/zip"}),n.saveAs(s,t)):n.printErrMsg(a.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},saveAs:function(e,t,n){Object(z["saveAs"])(e,t,n)},printErrMsg:function(e){return Object(N["a"])(Object(M["a"])().mark((function t(){var n,a,i;return Object(M["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.text();case 2:n=t.sent,a=JSON.parse(n),i=B["a"][a.code]||a.msg||B["a"]["default"],l["Message"].error(i);case 6:case"end":return t.stop()}}),t)})))()}},j={install:function(e){e.prototype.$tab=T,e.prototype.$auth=O["a"],e.prototype.$cache=S["a"],e.prototype.$modal=I,e.prototype.$download=U}},G=n("b775"),$=(n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),Y=[],F=n("61f7"),X={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(F["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},q=X,Q=(n("47b7"),Object(h["a"])(q,$,Y,!1,null,"248913c8",null)),W=Q.exports;a["default"].component("svg-icon",W);var J=n("23f1"),K=function(e){return e.keys().map(e)};K(J);var Z=n("5530"),ee=n("323e"),te=n.n(ee);n("a5d8");te.a.configure({showSpinner:!1});v["b"].beforeEach((function(e,t,n){te.a.start(),"/login"===e.path?(n(),te.a.done()):0===f["a"].getters.roles.length?(G["c"].show=!0,f["a"].dispatch("GetInfo").then((function(){G["c"].show=!1,f["a"].dispatch("GenerateRoutes").then((function(t){v["b"].addRoutes(t),n(Object(Z["a"])(Object(Z["a"])({},e),{},{replace:!0}))}))})).catch((function(e){f["a"].dispatch("LogOut").then((function(){l["Message"].error(e),n({path:"/"})}))}))):n()})),v["b"].afterEach((function(){te.a.done()}));var ne=n("aa3a"),ae=n("c0c3"),ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,"pager-count":e.pagerCount,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},se=[];n("a9e3");Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var le=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function oe(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function ce(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function re(e,t,n){var a=ce(),i=e-a,s=20,l=0;t="undefined"===typeof t?500:t;var o=function e(){l+=s;var o=Math.easeInOutQuad(l,a,i,t);oe(o),lthis.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&re(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&re(0,800)}}},de=ue,he=(n("59bf"),Object(h["a"])(de,ie,se,!1,null,"f3d032e2",null)),pe=he.exports,me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top-right-btn"},[n("el-row",[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.showSearch?"隐藏搜索":"显示搜索",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-search"},on:{click:function(t){return e.toggleSearch()}}})],1),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"刷新",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-refresh"},on:{click:function(t){return e.refresh()}}})],1),e.columns?n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"显隐列",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-menu"},on:{click:function(t){return e.showColumn()}}})],1):e._e()],1),n("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-transfer",{attrs:{titles:["显示","隐藏"],data:e.columns},on:{change:e.dataChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)],1)},fe=[],ve={name:"RightToolbar",data:function(){return{value:[],title:"显示/隐藏",open:!1}},props:{showSearch:{type:Boolean,default:!0},columns:{type:Array}},created:function(){for(var e in this.columns)!1===this.columns[e].visible&&this.value.push(parseInt(e))},methods:{toggleSearch:function(){this.$emit("update:showSearch",!this.showSearch)},refresh:function(){this.$emit("queryTable")},dataChange:function(e){for(var t in this.columns){var n=this.columns[t].key;this.columns[t].visible=!e.includes(n)}},showColumn:function(){this.open=!0}}},be=ve,we=(n("be8c"),Object(h["a"])(be,me,fe,!1,null,"b0cca3be",null)),ge=we.exports,_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["url"==this.type?n("el-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{action:e.uploadUrl,"before-upload":e.handleBeforeUpload,"on-success":e.handleUploadSuccess,"on-error":e.handleUploadError,name:"file","show-file-list":!1,headers:e.headers}}):e._e(),n("div",{ref:"editor",staticClass:"editor",style:e.styles})],1)},Ee=[],ye=n("9339"),Ce=n.n(ye),xe=(n("a753"),n("8096"),n("14e1"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null},readOnly:{type:Boolean,default:!1},fileSize:{type:Number,default:5},type:{type:String,default:"url"}},data:function(){return{uploadUrl:"//common/upload",headers:{Authorization:"Bearer "+Object(P["a"])()},Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:this.readOnly}}},computed:{styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=null===e?"":e,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;if(this.Quill=new Ce.a(t,this.options),"url"==this.type){var n=this.Quill.getModule("toolbar");n.addHandler("image",(function(t){e.uploadType="image",t?e.$refs.upload.$children[0].$refs.input.click():e.quill.format("image",!1)}))}this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,a){var i=e.$refs.editor.children[0].innerHTML,s=e.Quill.getText(),l=e.Quill;e.currentValue=i,e.$emit("input",i),e.$emit("on-change",{html:i,text:s,quill:l})})),this.Quill.on("text-change",(function(t,n,a){e.$emit("on-text-change",t,n,a)})),this.Quill.on("selection-change",(function(t,n,a){e.$emit("on-selection-change",t,n,a)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i-1&&(t=e.name.slice(e.name.lastIndexOf(".")+1));var n=this.fileType.some((function(n){return e.type.indexOf(n)>-1||!!(t&&t.indexOf(n)>-1)}));if(!n)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"格式文件!")),!1}if(this.fileSize){var a=e.size/1024/1024-1?e.slice(e.lastIndexOf("/")+1):""},listToString:function(e,t){var n="";for(var a in t=t||",",e)n+=e[a].url+t;return""!=n?n.substr(0,n.length-1):""}}}),Ie=Se,Me=(n("1e13"),Object(h["a"])(Ie,Te,Oe,!1,null,"44771c67",null)),Ne=Me.exports,Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-upload-image"},[n("el-upload",{class:{hide:this.fileList.length>=this.limit},attrs:{multiple:"",action:e.uploadImgUrl,"list-type":"picture-card","on-success":e.handleUploadSuccess,"before-upload":e.handleBeforeUpload,limit:e.limit,"on-error":e.handleUploadError,"on-exceed":e.handleExceed,name:"file","on-remove":e.handleRemove,"show-file-list":!0,headers:e.headers,"file-list":e.fileList,"on-preview":e.handlePictureCardPreview}},[n("i",{staticClass:"el-icon-plus"})]),e.showTip?n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 请上传 "),e.fileSize?[e._v(" 大小不超过 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileSize)+"MB")])]:e._e(),e.fileType?[e._v(" 格式为 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileType.join("/")))])]:e._e(),e._v(" 的文件 ")],2):e._e(),n("el-dialog",{attrs:{visible:e.dialogVisible,title:"预览",width:"800","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("img",{staticStyle:{display:"block","max-width":"100%",margin:"0 auto"},attrs:{src:e.dialogImageUrl}})])],1)},De=[],ze={props:{value:[String,Object,Array],limit:{type:Number,default:5},fileSize:{type:Number,default:5},fileType:{type:Array,default:function(){return["png","jpg","jpeg"]}},isShowTip:{type:Boolean,default:!0}},data:function(){return{number:0,uploadList:[],dialogImageUrl:"",dialogVisible:!1,hideUpload:!1,baseUrl:"/",uploadImgUrl:"//common/upload",headers:{Authorization:"Bearer "+Object(P["a"])()},fileList:[]}},watch:{value:{handler:function(e){var t=this;if(!e)return this.fileList=[],[];var n=Array.isArray(e)?e:this.value.split(",");this.fileList=n.map((function(e){return"string"===typeof e&&(e=-1===e.indexOf(t.baseUrl)?{name:t.baseUrl+e,url:t.baseUrl+e}:{name:e,url:e}),e}))},deep:!0,immediate:!0}},computed:{showTip:function(){return this.isShowTip&&(this.fileType||this.fileSize)}},methods:{handleRemove:function(e,t){var n=this.fileList.map((function(e){return e.name})).indexOf(e.name);n>-1&&(this.fileList.splice(n,1),this.$emit("input",this.listToString(this.fileList)))},handleUploadSuccess:function(e){this.uploadList.push({name:e.fileName,url:e.fileName}),this.uploadList.length===this.number&&(this.fileList=this.fileList.concat(this.uploadList),this.uploadList=[],this.number=0,this.$emit("input",this.listToString(this.fileList)),this.$modal.closeLoading())},handleBeforeUpload:function(e){var t=!1;if(this.fileType.length){var n="";e.name.lastIndexOf(".")>-1&&(n=e.name.slice(e.name.lastIndexOf(".")+1)),t=this.fileType.some((function(t){return e.type.indexOf(t)>-1||!!(n&&n.indexOf(t)>-1)}))}else t=e.type.indexOf("image")>-1;if(!t)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"图片格式文件!")),!1;if(this.fileSize){var a=e.size/1024/10241?t-1:0),a=1;a"),l=[]),(i=e.type[s]).splice.apply(i,[0,Number.MAX_SAFE_INTEGER].concat(Object(Ze["a"])(l))),l.forEach((function(t){a["default"].set(e.label[s],t.value,t.label)})),l}))}var mt=function(e,t){ct(t),e.mixin({data:function(){if(void 0===this.$options||void 0===this.$options.dicts||null===this.$options.dicts)return{};var e=new ht;return e.owner=this,{dict:e}},created:function(){var e=this;this.dict instanceof ht&&(t.onCreated&&t.onCreated(this.dict),this.dict.init(this.$options.dicts).then((function(){t.onReady&&t.onReady(e.dict),e.$nextTick((function(){e.$emit("dictReady",e.dict),e.$options.methods&&e.$options.methods.onDictReady instanceof Function&&e.$options.methods.onDictReady.call(e,e.dict)}))})))}})};function ft(){a["default"].use(mt,{metas:{"*":{labelField:"dictLabel",valueField:"dictValue",request:function(e){return Object(ne["d"])(e.type).then((function(e){return e.data}))}}}})}var vt={install:ft};a["default"].prototype.getDicts=ne["d"],a["default"].prototype.getConfigKey=ae["d"],a["default"].prototype.parseTime=V["f"],a["default"].prototype.resetForm=V["g"],a["default"].prototype.addDateRange=V["a"],a["default"].prototype.selectDictLabel=V["h"],a["default"].prototype.selectDictLabels=V["i"],a["default"].prototype.download=G["b"],a["default"].prototype.handleTree=V["c"],a["default"].component("DictTag",Je),a["default"].component("Pagination",pe),a["default"].component("RightToolbar",ge),a["default"].component("Editor",ke),a["default"].component("FileUpload",Ne),a["default"].component("ImageUpload",Ve),a["default"].component("ImagePreview",Ye),a["default"].use(k),a["default"].use(j),a["default"].use(Ke["a"]),vt.install(),a["default"].use(o.a,{size:s.a.get("size")||"medium"}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:v["b"],store:f["a"],render:function(e){return e(m)}})},"575e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-online",use:"icon-online-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"57a7":function(e,t,n){},"57fa":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});l.a.add(o);t["default"]=o},"59bf":function(e,t,n){"use strict";n("07f8")},"5aa7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"5d9e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return o}));var a=n("852e"),i=n.n(a),s="Admin-Token";function l(){return i.a.get(s)}function o(){return i.a.remove(s)}},"5fda":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},6022:function(e,t,n){"use strict";n("ab8d")},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac1f"),n("00b4"),n("498a"),n("d3b7");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},"63f0":function(e,t,n){"use strict";n("e9c4");var a={set:function(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get:function(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){sessionStorage.removeItem(e)}},i={set:function(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get:function(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){localStorage.removeItem(e)}};t["a"]={session:a,local:i}},"679a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"69ce":function(e,t,n){"use strict";n("33ae")},"70c3":function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});l.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"735b":function(e,t,n){"use strict";n("70c3")},"737d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"74a2":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"77fa":function(e,t,n){"use strict";n("5534")},"78b5":function(e,t,n){},"79ea":function(e,t,n){"use strict";n("0400")},"7ded":function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return r}));var a=n("b775");n("d3b7"),n("25f0"),n("3452");function i(e){return console.log(e),console.log("data"),Object(a["a"])({url:"/login",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/register",headers:{isToken:!1},method:"post",data:e})}function l(){return Object(a["a"])({url:"/getInfo",method:"get"})}function o(){return Object(a["a"])({url:"/encrypt",headers:{isToken:!1},method:"get"})}function c(){return Object(a["a"])({url:"/logout",method:"post"})}function r(){return Object(a["a"])({url:"/captchaImage",headers:{isToken:!1},method:"get",timeout:2e4})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.4ef27f05.png"},"81ae":function(e,t,n){"use strict";t["a"]={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},"83d6":function(e,t){e.exports={sideTheme:"theme-dark",showSettings:!1,topNav:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,dynamicTitle:!1,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"879b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},8989:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"91be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});l.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"98ab":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"99ee":function(e,t,n){"use strict";n("1147")},"9a4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"9b5e":function(e,t,n){"use strict";n("b18c")},"9cb5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"9dac":function(e,t,n){var a={"./":["1e4b","chunk-2d0b68f8"],"./business/company":["e78c","chunk-a1a38e62"],"./business/company/":["e78c","chunk-a1a38e62"],"./business/company/index":["e78c","chunk-a1a38e62"],"./business/company/index.vue":["e78c","chunk-a1a38e62"],"./business/fileInfo":["685d","chunk-2d0d0607"],"./business/fileInfo/":["685d","chunk-2d0d0607"],"./business/fileInfo/index":["685d","chunk-2d0d0607"],"./business/fileInfo/index.vue":["685d","chunk-2d0d0607"],"./business/inspect":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/index":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/index.vue":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspectDetail":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-fe53be1a"],"./business/inspectDetail/":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-fe53be1a"],"./business/inspectDetail/index":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-fe53be1a"],"./business/inspectDetail/index.vue":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-fe53be1a"],"./business/inspectRecord":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/index":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/index.vue":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectSite":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/index":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/index.vue":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspector":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/index":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/index.vue":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/ngPart":["f340","chunk-36bbefa0"],"./business/ngPart/":["f340","chunk-36bbefa0"],"./business/ngPart/index":["f340","chunk-36bbefa0"],"./business/ngPart/index copy":["2d2d","chunk-2c70e2f7"],"./business/ngPart/index copy.vue":["2d2d","chunk-2c70e2f7"],"./business/ngPart/index.vue":["f340","chunk-36bbefa0"],"./business/orderFormal":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/index":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/index.vue":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/pollutant":["71da","chunk-4dfd3079"],"./business/pollutant/":["71da","chunk-4dfd3079"],"./business/pollutant/index":["71da","chunk-4dfd3079"],"./business/pollutant/index copy":["f501","chunk-7716da72"],"./business/pollutant/index copy.vue":["f501","chunk-7716da72"],"./business/pollutant/index.vue":["71da","chunk-4dfd3079"],"./business/preRecord":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/index":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/index.vue":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecordDetail":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/index":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/index.vue":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./components/icons":["3a7e","chunk-74680cd7"],"./components/icons/":["3a7e","chunk-74680cd7"],"./components/icons/element-icons":["bb49","chunk-2d21a3bb"],"./components/icons/element-icons.js":["bb49","chunk-2d21a3bb"],"./components/icons/index":["3a7e","chunk-74680cd7"],"./components/icons/index.vue":["3a7e","chunk-74680cd7"],"./components/icons/svg-icons":["c7e9","chunk-2d217c9e"],"./components/icons/svg-icons.js":["c7e9","chunk-2d217c9e"],"./dashboard/BarChart":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/BarChart.vue":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/LineChart":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/LineChart.vue":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/PanelGroup":["fbc4","chunk-d6ec12d8"],"./dashboard/PanelGroup.vue":["fbc4","chunk-d6ec12d8"],"./dashboard/PieChart":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/PieChart.vue":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/RaddarChart":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/RaddarChart.vue":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/mixins/resize":["feb2","chunk-2d238605"],"./dashboard/mixins/resize.js":["feb2","chunk-2d238605"],"./error/401":["ec55","chunk-1537fc93"],"./error/401.vue":["ec55","chunk-1537fc93"],"./error/404":["2754","chunk-81a2a40e"],"./error/404.vue":["2754","chunk-81a2a40e"],"./index":["1e4b","chunk-2d0b68f8"],"./index.vue":["1e4b","chunk-2d0b68f8"],"./index_v1":["66ef","chunk-f95fdb36","chunk-b217db68"],"./index_v1.vue":["66ef","chunk-f95fdb36","chunk-b217db68"],"./login":["dd7b","chunk-2d0d6345","chunk-3c406e86"],"./login.vue":["dd7b","chunk-2d0d6345","chunk-3c406e86"],"./monitor/cache":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index.vue":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/list":["9f66","chunk-e1a6d904"],"./monitor/cache/list.vue":["9f66","chunk-e1a6d904"],"./monitor/druid":["5194","chunk-2d0c77ad"],"./monitor/druid/":["5194","chunk-2d0c77ad"],"./monitor/druid/index":["5194","chunk-2d0c77ad"],"./monitor/druid/index.vue":["5194","chunk-2d0c77ad"],"./monitor/job":["3eac","chunk-d9e18ce6"],"./monitor/job/":["3eac","chunk-d9e18ce6"],"./monitor/job/index":["3eac","chunk-d9e18ce6"],"./monitor/job/index.vue":["3eac","chunk-d9e18ce6"],"./monitor/job/log":["0062","chunk-68702101"],"./monitor/job/log.vue":["0062","chunk-68702101"],"./monitor/logininfor":["67ef","chunk-04621586"],"./monitor/logininfor/":["67ef","chunk-04621586"],"./monitor/logininfor/index":["67ef","chunk-04621586"],"./monitor/logininfor/index.vue":["67ef","chunk-04621586"],"./monitor/online":["6b08","chunk-2d0da2ea"],"./monitor/online/":["6b08","chunk-2d0da2ea"],"./monitor/online/index":["6b08","chunk-2d0da2ea"],"./monitor/online/index.vue":["6b08","chunk-2d0da2ea"],"./monitor/operlog":["02f2","chunk-7e203972"],"./monitor/operlog/":["02f2","chunk-7e203972"],"./monitor/operlog/index":["02f2","chunk-7e203972"],"./monitor/operlog/index.vue":["02f2","chunk-7e203972"],"./monitor/server":["2a33","chunk-2d0bce05"],"./monitor/server/":["2a33","chunk-2d0bce05"],"./monitor/server/index":["2a33","chunk-2d0bce05"],"./monitor/server/index.vue":["2a33","chunk-2d0bce05"],"./outer/company/inspect":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/index":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/index.vue":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspectDetail":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/index":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/index.vue":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectRecord":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/index":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/index.vue":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/orderFormal":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/index":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/index.vue":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./redirect":["9b8f","chunk-2d0f012d"],"./redirect.vue":["9b8f","chunk-2d0f012d"],"./register":["7803","chunk-cefe2a3a"],"./register.vue":["7803","chunk-cefe2a3a"],"./system/config":["cdb7","chunk-2d22252c"],"./system/config/":["cdb7","chunk-2d22252c"],"./system/config/index":["cdb7","chunk-2d22252c"],"./system/config/index.vue":["cdb7","chunk-2d22252c"],"./system/dept":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index.vue":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dict":["046a","chunk-582b2a7a"],"./system/dict/":["046a","chunk-582b2a7a"],"./system/dict/data":["bfc4","chunk-d19c1a98"],"./system/dict/data.vue":["bfc4","chunk-d19c1a98"],"./system/dict/index":["046a","chunk-582b2a7a"],"./system/dict/index.vue":["046a","chunk-582b2a7a"],"./system/menu":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index.vue":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/notice":["202d","chunk-2d0b1626"],"./system/notice/":["202d","chunk-2d0b1626"],"./system/notice/index":["202d","chunk-2d0b1626"],"./system/notice/index.vue":["202d","chunk-2d0b1626"],"./system/post":["5788","chunk-2d0c8e18"],"./system/post/":["5788","chunk-2d0c8e18"],"./system/post/index":["5788","chunk-2d0c8e18"],"./system/post/index.vue":["5788","chunk-2d0c8e18"],"./system/role":["70eb","chunk-a662c34e"],"./system/role/":["70eb","chunk-a662c34e"],"./system/role/authUser":["7054","chunk-8ee3fc10"],"./system/role/authUser.vue":["7054","chunk-8ee3fc10"],"./system/role/index":["70eb","chunk-a662c34e"],"./system/role/index.vue":["70eb","chunk-a662c34e"],"./system/role/selectUser":["a17e","chunk-8579d4da"],"./system/role/selectUser.vue":["a17e","chunk-8579d4da"],"./system/user":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/authRole":["6a33","chunk-2727631f"],"./system/user/authRole.vue":["6a33","chunk-2727631f"],"./system/user/index":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/index.vue":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/profile":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/index":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/index.vue":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/resetPwd":["ee46","chunk-2d0d6345","chunk-5b5acc02"],"./system/user/profile/resetPwd.vue":["ee46","chunk-2d0d6345","chunk-5b5acc02"],"./system/user/profile/userAvatar":["9429","chunk-2d0e2366","chunk-263efae4"],"./system/user/profile/userAvatar.vue":["9429","chunk-2d0e2366","chunk-263efae4"],"./system/user/profile/userInfo":["1e8b","chunk-3a08d90c"],"./system/user/profile/userInfo.vue":["1e8b","chunk-3a08d90c"],"./tool/build":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/CodeTypeDialog":["a92a","chunk-2d20955d"],"./tool/build/CodeTypeDialog.vue":["a92a","chunk-2d20955d"],"./tool/build/DraggableItem":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/DraggableItem.vue":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/IconsDialog":["d0b2","chunk-56e8e43e"],"./tool/build/IconsDialog.vue":["d0b2","chunk-56e8e43e"],"./tool/build/RightPanel":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/RightPanel.vue":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/TreeNodeDialog":["c81a","chunk-2d217a3b"],"./tool/build/TreeNodeDialog.vue":["c81a","chunk-2d217a3b"],"./tool/build/index":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/index.vue":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/gen":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/basicInfoForm":["ed69","chunk-2d230898"],"./tool/gen/basicInfoForm.vue":["ed69","chunk-2d230898"],"./tool/gen/editTable":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/editTable.vue":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/genInfoForm":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/genInfoForm.vue":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/importTable":["6f72","chunk-005cb0c7"],"./tool/gen/importTable.vue":["6f72","chunk-005cb0c7"],"./tool/gen/index":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/index.vue":["82c8","chunk-5b83c289","chunk-7fa21b9b"]};function i(e){if(!n.o(a,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(a)},i.id="9dac",e.exports=i},"9ec1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a0bf:function(e,t,n){},a17a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return o}));n("d3b7"),n("3ca3"),n("ddb0");var a=n("2b0e"),i=n("8c4f"),s=n("c1f7");a["default"].use(i["a"]);var l=[{path:"/redirect",component:s["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d0f012d").then(n.bind(null,"9b8f"))}}]},{path:"/login",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-3c406e86")]).then(n.bind(null,"dd7b"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-81a2a40e").then(n.bind(null,"2754"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-1537fc93").then(n.bind(null,"ec55"))},hidden:!0},{path:"/",component:s["a"],redirect:"/login",children:[{path:"login",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-3c406e86")]).then(n.bind(null,"dd7b"))},name:"Login",hidden:!0}]},{path:"/dashboard",component:s["a"],redirect:"dashboard/index",children:[{path:"index",component:function(){return n.e("chunk-2d0b68f8").then(n.bind(null,"1e4b"))},name:"Index",meta:{title:"首页",icon:"dashboard",affix:!0}}]},{path:"/user",component:s["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-2d0e2366"),n.e("chunk-916e3c56")]).then(n.bind(null,"4c1b"))},name:"Profile",meta:{title:"个人中心",icon:"user"}}]}],o=[{path:"/system/user-auth",component:s["a"],hidden:!0,permissions:["system:user:edit"],children:[{path:"role/:userId(\\d+)",component:function(){return n.e("chunk-2727631f").then(n.bind(null,"6a33"))},name:"AuthRole",meta:{title:"分配角色",activeMenu:"/system/user"}}]},{path:"/system/role-auth",component:s["a"],hidden:!0,permissions:["system:role:edit"],children:[{path:"user/:roleId(\\d+)",component:function(){return n.e("chunk-8ee3fc10").then(n.bind(null,"7054"))},name:"AuthUser",meta:{title:"分配用户",activeMenu:"/system/role"}}]},{path:"/system/dict-data",component:s["a"],hidden:!0,permissions:["system:dict:list"],children:[{path:"index/:dictId(\\d+)",component:function(){return n.e("chunk-d19c1a98").then(n.bind(null,"bfc4"))},name:"Data",meta:{title:"字典数据",activeMenu:"/system/dict"}}]},{path:"/monitor/job-log",component:s["a"],hidden:!0,permissions:["monitor:job:list"],children:[{path:"index",component:function(){return n.e("chunk-68702101").then(n.bind(null,"0062"))},name:"JobLog",meta:{title:"调度日志",activeMenu:"/monitor/job"}}]},{path:"/tool/gen-edit",component:s["a"],hidden:!0,permissions:["tool:gen:edit"],children:[{path:"index/:tableId(\\d+)",component:function(){return Promise.all([n.e("chunk-5a2f9c7b"),n.e("chunk-2d212b99"),n.e("chunk-548b6580")]).then(n.bind(null,"76f8"))},name:"GenEdit",meta:{title:"修改生成配置",activeMenu:"/tool/gen"}}]}],c=i["a"].prototype.push;i["a"].prototype.push=function(e){return c.call(this,e).catch((function(e){return e}))},t["b"]=new i["a"]({mode:"hash",scrollBehavior:function(){return{y:0}},routes:l})},a1ac:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a543:function(e,t,n){},a601:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},a873:function(e,t,n){},aa3a:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return r}));var a=n("b775");function i(e){return Object(a["a"])({url:"/system/dict/data/list",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"get"})}function l(e){return Object(a["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/dict/data",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/dict/data",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"delete"})}},ab8d:function(e,t,n){},ad41:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},ad64:function(e,t,n){"use strict";n("d464")},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},b11f:function(e,t,n){"use strict";n("57a7")},b18c:function(e,t,n){},b34b:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},b4dc:function(e,t,n){},b6f9:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return b}));var a,i=n("c7eb"),s=n("1da1"),l=n("53ca"),o=(n("fb6a"),n("e9c4"),n("d3b7"),n("caad"),n("2532"),n("bc3a")),c=n.n(o),r=n("5c96"),u=n("4360"),d=(n("5f87"),n("81ae")),h=n("c38a"),p=n("63f0"),m=n("21a6"),f={show:!1};c.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var v=c.a.create({baseURL:"/",timeout:864e5});function b(e,t,n){return a=r["Loading"].service({text:"正在下载数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),v.post(e,t,{transformRequest:[function(e){return Object(h["j"])(e)}],headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"blob"}).then(function(){var e=Object(s["a"])(Object(i["a"])().mark((function e(t){var s,l,o,c,u;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["b"])(t);case 2:if(s=e.sent,!s){e.next=8;break}l=new Blob([t]),Object(m["saveAs"])(l,n),e.next=14;break;case 8:return e.next=10,t.text();case 10:o=e.sent,c=JSON.parse(o),u=d["a"][c.code]||c.msg||d["a"]["default"],r["Message"].error(u);case 14:a.close();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e),r["Message"].error("下载文件出现错误,请联系管理员!"),a.close()}))}v.interceptors.request.use((function(e){(e.headers||{}).isToken;var t=!1===(e.headers||{}).repeatSubmit;if("get"===e.method&&e.params){var n=e.url+"?"+Object(h["j"])(e.params);n=n.slice(0,-1),e.params={},e.url=n}if(!t&&("post"===e.method||"put"===e.method)){var a={url:e.url,data:"object"===Object(l["a"])(e.data)?JSON.stringify(e.data):e.data,time:(new Date).getTime()},i=p["a"].session.getJSON("sessionObj");if(void 0===i||null===i||""===i)p["a"].session.setJSON("sessionObj",a);else{var s=i.url,o=i.data,c=i.time,r=1e3;if(o===a.data&&a.time-c'});l.a.add(o);t["default"]=o},b92c:function(e,t,n){"use strict";n("b4dc")},badf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-redis-list",use:"icon-redis-list-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},bc7b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},be8c:function(e,t,n){"use strict";n("2ddf")},c0c3:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return u}));var a=n("b775");function i(e){return Object(a["a"])({url:"/system/config/list",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/system/config/"+e,method:"get"})}function l(e){return Object(a["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/config",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/config",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/config/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/config/refreshCache",method:"delete"})}},c1f7:function(e,t,n){"use strict";var a,i,s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e.sidebar.hide?e._e():n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView,sidebarHide:e.sidebar.hide}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),n("right-panel",[n("settings")],1)],1)],1)},l=[],o=n("5530"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},r=[],u=(n("a9e3"),n("ed08")),d={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(u["a"])(document.body,"showRightPanel"):Object(u["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=d,p=(n("b11f"),n("d08d"),n("2877")),m=Object(p["a"])(h,c,r,!1,null,"2b17496a",null),f=m.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},b=[],w={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},g=w,_=(n("69ce"),n("79ea"),Object(p["a"])(g,v,b,!1,null,"f3be4606",null)),E=_.exports,y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e.topNav?e._e():n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e.topNav?n("top-nav",{staticClass:"topmenu-container",attrs:{id:"topmenu-container"}}):e._e(),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),n("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),n("el-tooltip",{attrs:{content:"布局大小",effect:"dark",placement:"bottom"}},[n("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{nativeOn:{click:function(t){e.setting=!0}}},[n("span",[e._v("布局设置")])]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},C=[],x=n("c7eb"),A=n("1da1"),R=n("2f62"),k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},T=[],O=(n("2ca0"),n("4de4"),n("d3b7"),n("99af"),n("b0c0"),n("498a"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"Index"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),S=O,I=(n("d20b"),Object(p["a"])(S,k,T,!1,null,"08dd0676",null)),M=I.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{attrs:{"default-active":e.activeMenu,mode:"horizontal"},on:{select:e.handleSelect}},[e._l(e.topMenus,(function(t,a){return[ae.visibleNumber?n("el-submenu",{style:{"--theme":e.theme},attrs:{index:"more"}},[n("template",{slot:"title"},[e._v("更多菜单")]),e._l(e.topMenus,(function(t,a){return[a>=e.visibleNumber?n("el-menu-item",{key:a,attrs:{index:t.path}},[n("svg-icon",{attrs:{"icon-class":t.meta.icon}}),e._v(" "+e._s(t.meta.title))],1):e._e()]}))],2):e._e()],2)},L=[],D=(n("d81d"),n("7db0"),n("a18c")),z=["/index","/user/profile"],P={data:function(){return{visibleNumber:5,currentIndex:void 0}},computed:{theme:function(){return this.$store.state.settings.theme},topMenus:function(){var e=[];return this.routers.map((function(t){!0!==t.hidden&&("/"===t.path?e.push(t.children[0]):e.push(t))})),e},routers:function(){return this.$store.state.permission.topbarRouters},childrenMenus:function(){var e=this,t=[];return this.routers.map((function(n){for(var a in n.children)void 0===n.children[a].parentPath&&("/"===n.path?n.children[a].path="/"+n.children[a].path:e.ishttp(n.children[a].path)||(n.children[a].path=n.path+"/"+n.children[a].path),n.children[a].parentPath=n.path),t.push(n.children[a])})),D["a"].concat(t)},activeMenu:function(){var e=this.$route.path,t=e;if(void 0!==e&&e.lastIndexOf("/")>0&&-1===z.indexOf(e)){var n=e.substring(1,e.length);t="/"+n.substring(0,n.indexOf("/")),this.$store.dispatch("app/toggleSideBarHide",!1)}else this.$route.children||(t=e,this.$store.dispatch("app/toggleSideBarHide",!0));return this.activeRoutes(t),t}},beforeMount:function(){window.addEventListener("resize",this.setVisibleNumber)},beforeDestroy:function(){window.removeEventListener("resize",this.setVisibleNumber)},mounted:function(){this.setVisibleNumber()},methods:{setVisibleNumber:function(){var e=document.body.getBoundingClientRect().width/3;this.visibleNumber=parseInt(e/85)},handleSelect:function(e,t){this.currentIndex=e;var n=this.routers.find((function(t){return t.path===e}));this.ishttp(e)?window.open(e,"_blank"):n&&n.children?(this.activeRoutes(e),this.$store.dispatch("app/toggleSideBarHide",!1)):(this.$router.push({path:e}),this.$store.dispatch("app/toggleSideBarHide",!0))},activeRoutes:function(e){var t=[];this.childrenMenus&&this.childrenMenus.length>0&&this.childrenMenus.map((function(n){(e==n.parentPath||"index"==e&&""==n.path)&&t.push(n)})),t.length>0&&this.$store.commit("SET_SIDEBAR_ROUTERS",t)},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},B=P,V=(n("9b5e"),Object(p["a"])(B,N,L,!1,null,null,null)),H=V.exports,U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},j=[],G={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},$=G,Y=(n("d49d"),Object(p["a"])($,U,j,!1,null,"49e15297",null)),F=Y.exports,X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},q=[],Q=n("93bf"),W=n.n(Q),J={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!W.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;W.a.toggle()},change:function(){this.isFullscreen=W.a.isFullscreen},init:function(){W.a.isEnabled&&W.a.on("change",this.change)},destroy:function(){W.a.isEnabled&&W.a.off("change",this.change)}}},K=J,Z=(n("ad64"),Object(p["a"])(K,X,q,!1,null,"243c7c0f",null)),ee=Z.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},ne=[],ae=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),ie=ae,se=Object(p["a"])(ie,te,ne,!1,null,null,null),le=se.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},ce=[],re=n("2909"),ue=n("b85c"),de=(n("841c"),n("0278")),he=n.n(de),pe=n("df7c"),me=n.n(pe),fe={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this,n=e.path;if(this.ishttp(e.path)){var a=n.indexOf("http");window.open(n.substr(a,n.length),"_blank")}else this.$router.push(e.path);this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new he.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=[],s=Object(ue["a"])(e);try{for(s.s();!(t=s.n()).done;){var l=t.value;if(!l.hidden){var o={path:this.ishttp(l.path)?l.path:me.a.resolve(n,l.path),title:Object(re["a"])(a)};if(l.meta&&l.meta.title&&(o.title=[].concat(Object(re["a"])(o.title),[l.meta.title]),"noRedirect"!==l.redirect&&i.push(o)),l.children){var c=this.generateRoutes(l.children,o.path,o.title);c.length>=1&&(i=[].concat(Object(re["a"])(i),Object(re["a"])(c)))}}}}catch(r){s.e(r)}finally{s.f()}return i},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},ve=fe,be=(n("77fa"),Object(p["a"])(ve,oe,ce,!1,null,"55552066",null)),we=be.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},_e=[],Ee={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},ye=Ee,Ce=Object(p["a"])(ye,ge,_e,!1,null,null,null),xe=Ce.exports,Ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},Re=[],ke={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},Te=ke,Oe=Object(p["a"])(Te,Ae,Re,!1,null,null,null),Se=Oe.exports,Ie={components:{Breadcrumb:M,TopNav:H,Hamburger:F,Screenfull:ee,SizeSelect:le,Search:we,RuoYiGit:xe,RuoYiDoc:Se},computed:Object(o["a"])(Object(o["a"])({},Object(R["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(A["a"])(Object(x["a"])().mark((function t(){return Object(x["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){e.$router.push("/login?redirect=".concat(e.$route.fullPath))}))})).catch((function(){}));case 1:case"end":return t.stop()}}),t)})))()}}},Me=Ie,Ne=(n("3080"),Object(p["a"])(Me,y,C,!1,null,"0557aae2",null)),Le=Ne.exports,De=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawer-container"},[a("div",[a("div",{staticClass:"setting-drawer-content"},[e._m(0),a("div",{staticClass:"setting-drawer-block-checbox"},[a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[a("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[a("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("主题颜色")]),a("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),a("el-divider"),a("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 TopNav")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.topNav,callback:function(t){e.topNav=t},expression:"topNav"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 Tags-Views")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("固定 Header")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("显示 Logo")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("动态标题")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.dynamicTitle,callback:function(t){e.dynamicTitle=t},expression:"dynamicTitle"}})],1),a("el-divider"),a("el-button",{attrs:{size:"small",type:"primary",plain:"",icon:"el-icon-document-add"},on:{click:e.saveSetting}},[e._v("保存配置")]),a("el-button",{attrs:{size:"small",plain:"",icon:"el-icon-refresh"},on:{click:e.resetSetting}},[e._v("重置配置")])],1)])},ze=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},Be=[],Ve=(n("fb6a"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("159b"),n("a15b"),n("b680"),n("f6f8").version),He="#409EFF",Ue={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(A["a"])(Object(x["a"])().mark((function n(){return Object(x["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.setTheme(e);case 2:case"end":return n.stop()}}),n)})))()}},created:function(){this.defaultTheme!==He&&this.setTheme(this.defaultTheme)},methods:{setTheme:function(e){var t=this;return Object(A["a"])(Object(x["a"])().mark((function n(){var a,i,s,l,o,c,r;return Object(x["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.chalk?t.theme:He,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(i=t.getThemeCluster(e.replace("#","")),s=t.getThemeCluster(a.replace("#","")),l=function(e,n){return function(){var a=t.getThemeCluster(He.replace("#","")),s=t.updateStyle(t[e],a,i),l=document.getElementById(n);l||(l=document.createElement("style"),l.setAttribute("id",n),document.head.appendChild(l)),l.innerText=s}},t.chalk){n.next=10;break}return o="https://unpkg.com/element-ui@".concat(Ve,"/lib/theme-chalk/index.css"),n.next=10,t.getCSSString(o,"chalk");case 10:c=l("chalk","chalk-style"),c(),r=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)})),r.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,s,i))})),t.$emit("change",e);case 15:case"end":return n.stop()}}),n)})))()},updateStyle:function(e,t,n){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),n[t])})),a},getCSSString:function(e,t){var n=this;return new Promise((function(a){var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&200===i.status&&(n[t]=i.responseText.replace(/@font-face{[^}]+}/,""),a())},i.open("GET",e),i.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return 0===t?[n,a,i].join(","):(n+=Math.round(t*(255-n)),a+=Math.round(t*(255-a)),i+=Math.round(t*(255-i)),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i))},n=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),a=Math.round((1-t)*a),i=Math.round((1-t)*i),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i)},a=[e],i=0;i<=9;i++)a.push(t(e,Number((i/10).toFixed(2))));return a.push(n(e,.1)),a}}},je=Ue,Ge=(n("ea44"),Object(p["a"])(je,Pe,Be,!1,null,null,null)),$e=Ge.exports,Ye={components:{ThemePicker:$e},data:function(){return{theme:this.$store.state.settings.theme,sideTheme:this.$store.state.settings.sideTheme}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"topNav",value:e}),e||(this.$store.dispatch("app/toggleSideBarHide",!1),this.$store.commit("SET_SIDEBAR_ROUTERS",this.$store.state.permission.defaultRoutes))}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}},dynamicTitle:{get:function(){return this.$store.state.settings.dynamicTitle},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"dynamicTitle",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e}),this.theme=e},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e}),this.sideTheme=e},saveSetting:function(){this.$modal.loading("正在保存到本地,请稍候..."),this.$cache.local.set("layout-setting",'{\n "topNav":'.concat(this.topNav,',\n "tagsView":').concat(this.tagsView,',\n "fixedHeader":').concat(this.fixedHeader,',\n "sidebarLogo":').concat(this.sidebarLogo,',\n "dynamicTitle":').concat(this.dynamicTitle,',\n "sideTheme":"').concat(this.sideTheme,'",\n "theme":"').concat(this.theme,'"\n }')),setTimeout(this.$modal.closeLoading(),1e3)},resetSetting:function(){this.$modal.loading("正在清除设置缓存并刷新,请稍候..."),this.$cache.local.remove("layout-setting"),setTimeout("window.location.reload()",1e3)}}},Fe=Ye,Xe=(n("15a7"),Object(p["a"])(Fe,De,ze,!1,null,"84da46fe",null)),qe=Xe.exports,Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuColor:e.variables.menuLightColor,"unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},We=[],Je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])])],1)],1)},Ke=[],Ze=(n("81a5"),n("8df1")),et=n.n(Ze),tt={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return et.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"机动车整车生物安全检查系统",logo:null}}},nt=tt,at=(n("735b"),Object(p["a"])(nt,Je,Ke,!1,null,"663603a1",null)),it=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item,e.item.children)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path,e.onlyOneChild.query)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},lt=[],ot=n("61f7"),ct={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,s=[];return a&&s.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&(i.length>5?s.push(e("span",{slot:"title",attrs:{title:i}},[i])):s.push(e("span",{slot:"title"},[i]))),s}},rt=ct,ut=Object(p["a"])(rt,a,i,!1,null,null,null),dt=ut.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},pt=[],mt={props:{to:{type:[String,Object],required:!0}},computed:{isExternal:function(){return Object(ot["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},ft=mt,vt=Object(p["a"])(ft,ht,pt,!1,null,null,null),bt=vt.exports,wt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},gt={name:"SidebarItem",components:{Item:dt,AppLink:bt},mixins:[wt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n||(n=[]);var a=n.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},e),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e,t){if(Object(ot["a"])(e))return e;if(Object(ot["a"])(this.basePath))return this.basePath;if(t){var n=JSON.parse(t);return{path:me.a.resolve(this.basePath,e),query:n}}return me.a.resolve(this.basePath,e)}}},_t=gt,Et=Object(p["a"])(_t,st,lt,!1,null,null,null),yt=Et.exports,Ct={components:{SidebarItem:yt,Logo:it},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(R["c"])(["settings"])),Object(R["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return et.a},isCollapse:function(){return!this.sidebar.opened}})},xt=Ct,At=Object(p["a"])(xt,Qe,We,!1,null,null,null),Rt=At.exports,kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-refresh-right"}),e._v(" 刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-close"}),e._v(" 关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 关闭其他")]),e.isFirstView()?e._e():n("li",{on:{click:e.closeLeftTags}},[n("i",{staticClass:"el-icon-back"}),e._v(" 关闭左侧")]),e.isLastView()?e._e():n("li",{on:{click:e.closeRightTags}},[n("i",{staticClass:"el-icon-right"}),e._v(" 关闭右侧")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 全部关闭")])])],1)},Tt=[],Ot=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},St=[],It=(n("c740"),4),Mt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,s=null,l=null;if(i.length>0&&(s=i[0],l=i[i.length-1]),s===e)a.scrollLeft=0;else if(l===e)a.scrollLeft=a.scrollWidth-n;else{var o=i.findIndex((function(t){return t===e})),c=i[o-1],r=i[o+1],u=r.$el.offsetLeft+r.$el.offsetWidth+It,d=c.$el.offsetLeft-It;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=me.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var s=t.filterAffixTags(e.children,e.path);s.length>=1&&(a=[].concat(Object(re["a"])(a),Object(re["a"])(s)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ue["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ue["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(s){a.e(s)}finally{a.f()}}))},refreshSelectedTag:function(e){this.$tab.refreshPage(e)},closeSelectedTag:function(e){var t=this;this.$tab.closePage(e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeRightTags:function(){var e=this;this.$tab.closeRightPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeLeftTags:function(){var e=this;this.$tab.closeLeftPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$tab.closeOtherPage(this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$tab.closeAllPage().then((function(n){var a=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,s=i-n,l=t.clientX-a+15;this.left=l>s?s:l,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Pt=zt,Bt=(n("6022"),n("c32a"),Object(p["a"])(Pt,kt,Tt,!1,null,"15c1bde7",null)),Vt=Bt.exports,Ht=n("4360"),Ut=document,jt=Ut.body,Gt=992,$t={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Ht["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Ht["a"].dispatch("app/toggleDevice","mobile"),Ht["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=jt.getBoundingClientRect();return e.width-1'});l.a.add(o);t["default"]=o},c32a:function(e,t,n){"use strict";n("1aae")},c38a:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"b",(function(){return v}));var a=n("c7eb"),i=n("1da1"),s=n("b85c"),l=n("53ca");n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("d3b7"),n("b64b"),n("a15b"),n("1276");function o(e,t){if(0===arguments.length||!e)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(l["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/").replace("T"," ").replace(new RegExp(/\.[\d]{3}/gm),"")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var i={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},s=a.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=i[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return s}function c(e){this.$refs[e]&&this.$refs[e].resetFields()}function r(e,t,n){var a=e;return a.params="object"!==Object(l["a"])(a.params)||null===a.params||Array.isArray(a.params)?{}:a.params,t=Array.isArray(t)?t:[],"undefined"===typeof n?(a.params["beginTime"]=t[0],a.params["endTime"]=t[1]):(a.params["begin"+n]=t[0],a.params["end"+n]=t[1]),a}function u(e,t){if(void 0===t)return"";var n=[];return Object.keys(e).some((function(a){if(e[a].value==""+t)return n.push(e[a].label),!0})),0===n.length&&n.push(t),n.join("")}function d(e,t,n){if(void 0===t)return"";var a=[],i=void 0===n?",":n,s=t.split(i);return Object.keys(t.split(i)).some((function(t){var n=!1;Object.keys(e).some((function(l){e[l].value==""+s[t]&&(a.push(e[l].label+i),n=!0)})),n||a.push(s[t]+i)})),a.join("").substring(0,a.join("").length-1)}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function p(e,t){for(var n in t)try{t[n].constructor==Object?e[n]=p(e[n],t[n]):e[n]=t[n]}catch(a){e[n]=t[n]}return e}function m(e,t,n,a){var i,l={id:t||"id",parentId:n||"parentId",childrenList:a||"children"},o={},c={},r=[],u=Object(s["a"])(e);try{for(u.s();!(i=u.n()).done;){var d=i.value,h=d[l.parentId];null==o[h]&&(o[h]=[]),c[d[l.id]]=d,o[h].push(d)}}catch(E){u.e(E)}finally{u.f()}var p,m=Object(s["a"])(e);try{for(m.s();!(p=m.n()).done;){var f=p.value,v=f[l.parentId];null==c[v]&&r.push(f)}}catch(E){m.e(E)}finally{m.f()}for(var b=0,w=r;b'});l.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},d08d:function(e,t,n){"use strict";n("f0ee")},d20b:function(e,t,n){"use strict";n("b7b5")},d464:function(e,t,n){},d49d:function(e,t,n){"use strict";n("da64")},d7a0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});l.a.add(o);t["default"]=o},d8c8:function(e,t,n){"use strict";n("db55")},da64:function(e,t,n){},da75:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},db55:function(e,t,n){},dc13:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},dce4:function(e,t,n){"use strict";n("d3b7");var a=n("4360");function i(e){var t="*:*:*",n=a["a"].getters&&a["a"].getters.permissions;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}function s(e){var t="admin",n=a["a"].getters&&a["a"].getters.roles;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}t["a"]={hasPermi:function(e){return i(e)},hasPermiOr:function(e){return e.some((function(e){return i(e)}))},hasPermiAnd:function(e){return e.every((function(e){return i(e)}))},hasRole:function(e){return s(e)},hasRoleOr:function(e){return e.some((function(e){return s(e)}))},hasRoleAnd:function(e){return e.every((function(e){return s(e)}))}}},df36:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},e218:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},e2a5:function(e,t,n){},e3ff:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},e82a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},ea44:function(e,t,n){"use strict";n("a543")},ed00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});l.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return d}));n("53ca"),n("ac1f"),n("5319"),n("a15b"),n("d81d"),n("b64b"),n("d3b7"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("6062"),n("ddb0"),n("25f0"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("00b4"),n("c38a");function a(e,t,n){var a,i,s,l,o,c=function c(){var r=+new Date-l;r0?a=setTimeout(c,t-r):(a=null,n||(o=e.apply(s,i),a||(s=i=null)))};return function(){for(var i=arguments.length,r=new Array(i),u=0;u'});l.a.add(o);t["default"]=o},f29d:function(e,t,n){},f71f:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),l=n.n(s),o=new i.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});l.a.add(o);t["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js.gz deleted file mode 100644 index fc014c70..00000000 Binary files a/car-check/carcheck-admin/src/main/resources/public/static/js/app.33f1cec6.js.gz and /dev/null differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js b/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js new file mode 100644 index 00000000..7c71bcfb --- /dev/null +++ b/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"02b8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0400":function(e,t,n){},"04ad":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});c.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"07f8":function(e,t,n){},"0a7d":function(e,t,n){"use strict";n("78b5")},"0b37":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},1:function(e,t){},1147:function(e,t,n){},"15a7":function(e,t,n){"use strict";n("e2a5")},"15e8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"198d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"1aae":function(e,t,n){},"1d71":function(e,t,n){},"1e13":function(e,t,n){"use strict";n("f29d")},"20e7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"23f1":function(e,t,n){var a={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis-list.svg":"badf","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function i(e){var t=s(e);return n(t)}function s(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=s,e.exports=i,i.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},2723:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"2ba1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(o);t["default"]=o},"2ddf":function(e,t,n){},"2fb0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},3080:function(e,t,n){"use strict";n("a0bf")},"33ae":function(e,t,n){},3561:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"396c":function(e,t,n){"use strict";n("a873")},"39e1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"3d22":function(e,t,n){"use strict";n("1d71")},"3da7":function(e){e.exports=JSON.parse('{"CAR_INSPECTRESITE_EXPORT":{"id":"CAR_INSPECTRESITE_EXPORT","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:export","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_QUERY":{"id":"CAR_INSPECT_QUERY","_parentId":"CAR_INSPECT_INDEX","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:query","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE":{"id":"DICT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"字典管理","sort":6,"alwaysShow":false,"name":"Dict","path":"dict","component":"system/dict/index","perms":"system:dict:list","isBtn":false,"redirect":null,"meta":{"title":"字典管理","icon":"dict","noCache":false,"link":null}},"CAR_INSPECTRECORD_UPDATE":{"id":"CAR_INSPECTRECORD_UPDATE","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:edit","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_QUERY":{"id":"ROLE_MANAGE_QUERY","_parentId":"ROLE_MANAGE","label":"角色查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_DELETE":{"id":"USER_MANAGE_DELETE","_parentId":"USER_MANAGE","label":"用户删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_INDEX":{"id":"CAR_INSPECT_DETAIL_INDEX","_parentId":"CAR_CHECK","label":"车辆检查清单","sort":4,"alwaysShow":false,"name":"InspectDetail","path":"inspectDetail","component":"business/inspectDetail/index","perms":"business:inspectDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查清单","icon":"#","noCache":false,"link":null}},"CAR_COMPANY_EXPORT":{"id":"CAR_COMPANY_EXPORT","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:export","isBtn":true,"redirect":null,"meta":null},"LOG_MANAGE":{"id":"LOG_MANAGE","_parentId":"SYSTEM_MANAGE","label":"日志管理","sort":9,"alwaysShow":true,"name":"Log","path":"/log","component":"ParentView","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"日志管理","icon":"log","noCache":false,"link":null}},"ACTION_LOG_DELETE":{"id":"ACTION_LOG_DELETE","_parentId":"ACTION_LOG","label":"操作删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR":{"id":"CAR_INSPECTOR","_parentId":"-1","label":"检验员管理","sort":4,"alwaysShow":true,"name":"Inspector","path":"/inspector","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"检验员管理","icon":"user","noCache":false,"link":null}},"CAR_INSPECTRESITE_ADD":{"id":"CAR_INSPECTRESITE_ADD","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:add","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_DELETE":{"id":"CAR_INSPECTOR_DELETE","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:remove","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_DELETE":{"id":"DEPT_MANAGE_DELETE","_parentId":"DEPT_MANAGE","label":"部门删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_UPDATE":{"id":"CAR_INSPECT_UPDATE","_parentId":"CAR_INSPECT_INDEX","label":"车辆检查信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:edit","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_ADD":{"id":"ROLE_MANAGE_ADD","_parentId":"ROLE_MANAGE","label":"角色新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:add","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_IMPORT":{"id":"USER_MANAGE_IMPORT","_parentId":"USER_MANAGE","label":"用户导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:import","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_ADD":{"id":"USER_MANAGE_ADD","_parentId":"USER_MANAGE","label":"用户新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:add","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_QUERY":{"id":"CAR_INSPECTOR_QUERY","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:query","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY":{"id":"OUTER_COMPANY_QUERY","_parentId":"-1","label":"车辆检查查询","sort":9,"alwaysShow":true,"name":"OuterQuery","path":"/outerQuery","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"车辆检查查询","icon":"cascader","noCache":false,"link":null}},"POST_MANAGE_EXPORT":{"id":"POST_MANAGE_EXPORT","_parentId":"POST_MANAGE","label":"岗位导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:export","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE":{"id":"POST_MANAGE","_parentId":"SYSTEM_MANAGE","label":"岗位管理","sort":5,"alwaysShow":false,"name":"Post","path":"post","component":"system/post/index","perms":"system:post:list","isBtn":false,"redirect":null,"meta":{"title":"岗位管理","icon":"post","noCache":false,"link":null}},"DICT_MANAGE_UPDATE":{"id":"DICT_MANAGE_UPDATE","_parentId":"DICT_MANAGE","label":"字典修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:edit","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_QUERY":{"id":"MENU_MANAGE_QUERY","_parentId":"MENU_MANAGE","label":"菜单查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:query","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_ADD":{"id":"CAR_COMPANY_ADD","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:add","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_QUERY":{"id":"DICT_MANAGE_QUERY","_parentId":"DICT_MANAGE","label":"字典查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_EXPORT_PIC":{"id":"CAR_INSPECT_DETAIL_EXPORT_PIC","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"导出图片","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:exportImages","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_ADD":{"id":"DEPT_MANAGE_ADD","_parentId":"DEPT_MANAGE","label":"部门新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:add","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_INDEX":{"id":"CAR_PRERECORD_INDEX","_parentId":"CAR_CHECK","label":"车辆预录信息","sort":0,"alwaysShow":false,"name":"PreRecord","path":"preRecord","component":"business/preRecord/index","perms":"business:preRecord:list","isBtn":false,"redirect":null,"meta":{"title":"车辆预录信息","icon":"#","noCache":false,"link":null}},"ROLE_MANAGE":{"id":"ROLE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"角色管理","sort":2,"alwaysShow":false,"name":"Role","path":"role","component":"system/role/index","perms":"system:role:list","isBtn":false,"redirect":null,"meta":{"title":"角色管理","icon":"peoples","noCache":false,"link":null}},"CAR_ORDERFORMAL_QUERY":{"id":"CAR_ORDERFORMAL_QUERY","_parentId":"CAR_ORDERFORMAL_INDEX","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_RESET":{"id":"CAR_PRERECORD_RESET","_parentId":"CAR_INSPECTOR_INDEX","label":"重置密码","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:reset","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_DETAIL_INDEX":{"id":"CAR_PRERECORD_DETAIL_INDEX","_parentId":"CAR_CHECK","label":"车辆预录清单","sort":1,"alwaysShow":false,"name":"PreRecordDetail","path":"preRecordDetail","component":"business/preRecordDetail/index","perms":"business:preRecordDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆预录清单","icon":"#","noCache":false,"link":null}},"CAR_COMPANY_INDEX":{"id":"CAR_COMPANY_INDEX","_parentId":"CAR_COMPANY","label":"委托单位信息","sort":1,"alwaysShow":false,"name":"Company","path":"company","component":"business/company/index","perms":"business:company:list","isBtn":false,"redirect":null,"meta":{"title":"委托单位信息","icon":"#","noCache":false,"link":null}},"CAR_SITE":{"id":"CAR_SITE","_parentId":"-1","label":"检查场地管理","sort":5,"alwaysShow":true,"name":"Site","path":"/site","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"检查场地管理","icon":"star","noCache":false,"link":null}},"USER_MANAGE_EXPORT":{"id":"USER_MANAGE_EXPORT","_parentId":"USER_MANAGE","label":"用户导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:export","isBtn":true,"redirect":null,"meta":null},"SYSTEM_MANAGE":{"id":"SYSTEM_MANAGE","_parentId":"-1","label":"系统管理","sort":1,"alwaysShow":true,"name":"System","path":"/system","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"系统管理","icon":"system","noCache":false,"link":null}},"CAR_NGPART_DELETE":{"id":"CAR_NGPART_DELETE","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:remove","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_RECORD":{"id":"OUTER_COMPANY_QUERY_RECORD","_parentId":"OUTER_COMPANY_QUERY","label":"点检记录","sort":4,"alwaysShow":false,"name":"OuterCompanyInspectRecord","path":"outerCompanyInspectRecord","component":"outer/company/inspectRecord/index","perms":"company:inspectRecord:list","isBtn":false,"redirect":null,"meta":{"title":"点检记录","icon":"#","noCache":false,"link":null}},"OUTER_COMPANY_QUERY_INSPECT":{"id":"OUTER_COMPANY_QUERY_INSPECT","_parentId":"OUTER_COMPANY_QUERY","label":"车辆检查清单","sort":3,"alwaysShow":false,"name":"OuterCompanyInspectDetail","path":"outerCompanyInspectDetail","component":"outer/company/inspectDetail/index","perms":"company:inspectDetail:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查清单","icon":"#","noCache":false,"link":null}},"CAR_ORDERFORMAL_OVER":{"id":"CAR_ORDERFORMAL_OVER","_parentId":"CAR_ORDERFORMAL_INDEX","label":"强制完成","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:forceComplete","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_UPDATE":{"id":"CAR_INSPECTRESITE_UPDATE","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:edit","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_EXPORT":{"id":"CAR_INSPECTRECORD_EXPORT","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:export","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_QUERY":{"id":"CAR_PRERECORD_QUERY","_parentId":"CAR_PRERECORD_INDEX","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:query","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_DELETE":{"id":"CAR_POLLUTANT_DELETE","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:remove","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_EXPORT":{"id":"ROLE_MANAGE_EXPORT","_parentId":"ROLE_MANAGE","label":"角色导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:export","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_QUERY":{"id":"CAR_NGPART_QUERY","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:query","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_QUERY":{"id":"CAR_COMPANY_QUERY","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_ADD":{"id":"CAR_PRERECORD_ADD","_parentId":"CAR_PRERECORD_INDEX","label":"生效","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:effect","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_UPDATE":{"id":"CAR_POLLUTANT_UPDATE","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG_EXPORT":{"id":"ACTION_LOG_EXPORT","_parentId":"ACTION_LOG","label":"日志导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:export","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_IMPORT":{"id":"CAR_PRERECORD_IMPORT","_parentId":"CAR_PRERECORD_INDEX","label":"导入","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:import","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_EXPORT":{"id":"DICT_MANAGE_EXPORT","_parentId":"DICT_MANAGE","label":"字典导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:export","isBtn":true,"redirect":null,"meta":null},"CAR_CHECK":{"id":"CAR_CHECK","_parentId":"-1","label":"车辆检查管理","sort":8,"alwaysShow":true,"name":"Check","path":"/check","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"车辆检查管理","icon":"checkbox","noCache":false,"link":null}},"CAR_PRERECORD_DELETE":{"id":"CAR_PRERECORD_DELETE","_parentId":"CAR_PRERECORD_INDEX","label":"删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecord:remove","isBtn":true,"redirect":null,"meta":null},"CAR_ORDERFORMAL_UPDATE":{"id":"CAR_ORDERFORMAL_UPDATE","_parentId":"CAR_ORDERFORMAL_INDEX","label":"完成","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:edit","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_DELETE":{"id":"DICT_MANAGE_DELETE","_parentId":"DICT_MANAGE","label":"字典删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:remove","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_DELETE":{"id":"ROLE_MANAGE_DELETE","_parentId":"ROLE_MANAGE","label":"角色删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:remove","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_QUERY":{"id":"CAR_INSPECTRESITE_QUERY","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_ADD":{"id":"CAR_INSPECTRECORD_ADD","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:add","isBtn":true,"redirect":null,"meta":null},"DICT_MANAGE_ADD":{"id":"DICT_MANAGE_ADD","_parentId":"DICT_MANAGE","label":"字典新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dict:add","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_EXPORT":{"id":"CAR_INSPECT_DETAIL_EXPORT","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"详单导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:export","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_INDEX":{"id":"CAR_POLLUTANT_INDEX","_parentId":"CAR_BASE","label":"污染物信息","sort":1,"alwaysShow":false,"name":"Pollutant","path":"pollutant","component":"business/pollutant/index","perms":"business:pollutant:list","isBtn":false,"redirect":null,"meta":{"title":"污染物信息","icon":"#","noCache":false,"link":null}},"LOGIN_LOG_DELETE":{"id":"LOGIN_LOG_DELETE","_parentId":"LOGIN_LOG","label":"登录删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:remove","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_UPDATE":{"id":"CAR_COMPANY_UPDATE","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:edit","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_ORDER_FORMAL":{"id":"OUTER_COMPANY_QUERY_ORDER_FORMAL","_parentId":"OUTER_COMPANY_QUERY","label":"委托单信息","sort":1,"alwaysShow":false,"name":"OuterCompanyOrderFormal","path":"outerCompanyOrderFormal","component":"outer/company/orderFormal/index","perms":"company:orderFormal:list","isBtn":false,"redirect":null,"meta":{"title":"委托单信息","icon":"#","noCache":false,"link":null}},"CAR_INSPECT_INDEX":{"id":"CAR_INSPECT_INDEX","_parentId":"CAR_CHECK","label":"车辆检查信息","sort":3,"alwaysShow":false,"name":"Inspect","path":"inspect","component":"business/inspect/index","perms":"business:inspect:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查信息","icon":"#","noCache":false,"link":null}},"CAR_NGPART_EXPORT":{"id":"CAR_NGPART_EXPORT","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:export","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_DELETE":{"id":"CAR_INSPECTRECORD_DELETE","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE":{"id":"MENU_MANAGE","_parentId":"SYSTEM_MANAGE","label":"菜单管理","sort":3,"alwaysShow":false,"name":"Menu","path":"menu","component":"system/menu/index","perms":"system:menu:list","isBtn":false,"redirect":null,"meta":{"title":"菜单管理","icon":"tree-table","noCache":false,"link":null}},"USER_MANAGE":{"id":"USER_MANAGE","_parentId":"SYSTEM_MANAGE","label":"用户管理","sort":1,"alwaysShow":false,"name":"User","path":"user","component":"system/user/index","perms":"system:user:list","isBtn":false,"redirect":null,"meta":{"title":"用户管理","icon":"user","noCache":false,"link":null}},"LOGIN_LOG_EXPORT":{"id":"LOGIN_LOG_EXPORT","_parentId":"LOGIN_LOG","label":"日志导出","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:export","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_EXPORT":{"id":"CAR_POLLUTANT_EXPORT","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:export","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_QUERY":{"id":"POST_MANAGE_QUERY","_parentId":"POST_MANAGE","label":"岗位查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_QUERY":{"id":"CAR_INSPECT_DETAIL_QUERY","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:query","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL":{"id":"OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL","_parentId":"OUTER_COMPANY_QUERY_ORDER_FORMAL","label":"查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_UPDATE":{"id":"CAR_INSPECTOR_UPDATE","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:edit","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_UPDATE":{"id":"DEPT_MANAGE_UPDATE","_parentId":"DEPT_MANAGE","label":"部门修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:edit","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRECORD_QUERY":{"id":"CAR_INSPECTRECORD_QUERY","_parentId":"CAR_INSPECTRECORD_INDEX_","label":"点检记录信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectRecord:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_INDEX":{"id":"CAR_INSPECTOR_INDEX","_parentId":"CAR_INSPECTOR","label":"检验员信息","sort":1,"alwaysShow":false,"name":"Inspector","path":"inspector","component":"business/inspector/index","perms":"business:inspector:list","isBtn":false,"redirect":null,"meta":{"title":"检验员信息","icon":"#","noCache":false,"link":null}},"LOGIN_LOG":{"id":"LOGIN_LOG","_parentId":"LOG_MANAGE","label":"登录日志","sort":2,"alwaysShow":false,"name":"Logininfor","path":"logininfor","component":"monitor/logininfor/index","perms":"monitor:logininfor:list","isBtn":false,"redirect":null,"meta":{"title":"登录日志","icon":"logininfor","noCache":false,"link":null}},"USER_MANAGE_UPDATE":{"id":"USER_MANAGE_UPDATE","_parentId":"USER_MANAGE","label":"用户修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:edit","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_ADD":{"id":"CAR_NGPART_ADD","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:add","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_UPDATE":{"id":"POST_MANAGE_UPDATE","_parentId":"POST_MANAGE","label":"岗位修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:edit","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTOR_EXPORT":{"id":"CAR_INSPECTOR_EXPORT","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:export","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY_DELETE":{"id":"CAR_COMPANY_DELETE","_parentId":"CAR_COMPANY_INDEX","label":"委托单位信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:company:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_ADD":{"id":"MENU_MANAGE_ADD","_parentId":"MENU_MANAGE","label":"菜单新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:add","isBtn":true,"redirect":null,"meta":null},"LOGIN_LOG_QUERY":{"id":"LOGIN_LOG_QUERY","_parentId":"LOGIN_LOG","label":"登录查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:logininfor:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_RESET_PASS":{"id":"USER_MANAGE_RESET_PASS","_parentId":"USER_MANAGE","label":"重置密码","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:resetPwd","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DETAIL_DELETE":{"id":"CAR_INSPECT_DETAIL_DELETE","_parentId":"CAR_INSPECT_DETAIL_INDEX","label":"精简导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:exportSum","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_INSPECT_DETAIL":{"id":"OUTER_COMPANY_QUERY_INSPECT_DETAIL","_parentId":"OUTER_COMPANY_QUERY_INSPECT","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectDetail:query","isBtn":true,"redirect":null,"meta":null},"ROLE_MANAGE_UPDATE":{"id":"ROLE_MANAGE_UPDATE","_parentId":"ROLE_MANAGE","label":"角色修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:role:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG_QUERY":{"id":"ACTION_LOG_QUERY","_parentId":"ACTION_LOG","label":"操作查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"monitor:operlog:query","isBtn":true,"redirect":null,"meta":null},"USER_MANAGE_QUERY":{"id":"USER_MANAGE_QUERY","_parentId":"USER_MANAGE","label":"用户查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:user:query","isBtn":true,"redirect":null,"meta":null},"CAR_COMPANY":{"id":"CAR_COMPANY","_parentId":"-1","label":"委托单位管理","sort":6,"alwaysShow":true,"name":"Company","path":"/company","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"委托单位管理","icon":"logininfor","noCache":false,"link":null}},"DEPT_MANAGE":{"id":"DEPT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"组织单位管理","sort":4,"alwaysShow":false,"name":"Dept","path":"dept","component":"system/dept/index","perms":"system:dept:list","isBtn":false,"redirect":null,"meta":{"title":"组织单位管理","icon":"tree","noCache":false,"link":null}},"CAR_NGPART_UPDATE":{"id":"CAR_NGPART_UPDATE","_parentId":"CAR_NGPART_INDEX","label":"NG部位信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:ngPart:edit","isBtn":true,"redirect":null,"meta":null},"ACTION_LOG":{"id":"ACTION_LOG","_parentId":"LOG_MANAGE","label":"操作日志","sort":1,"alwaysShow":false,"name":"Operlog","path":"operlog","component":"monitor/operlog/index","perms":"monitor:operlog:list","isBtn":false,"redirect":null,"meta":{"title":"操作日志","icon":"form","noCache":false,"link":null}},"CAR_INSPECTRECORD_INDEX_":{"id":"CAR_INSPECTRECORD_INDEX_","_parentId":"CAR_CHECK","label":"点检记录","sort":5,"alwaysShow":false,"name":"InspectRecord","path":"inspectRecord","component":"business/inspectRecord/index","perms":"business:inspectRecord:list","isBtn":false,"redirect":null,"meta":{"title":"点检记录","icon":"#","noCache":false,"link":null}},"CAR_PRERECORD_DETAIL_QUERY":{"id":"CAR_PRERECORD_DETAIL_QUERY","_parentId":"CAR_PRERECORD_DETAIL_INDEX","label":"车辆预录信息明细查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecordDetail:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_DELETE":{"id":"CAR_INSPECTRESITE_DELETE","_parentId":"CAR_INSPECTRESITE_INDEX","label":"检查场地信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspectSite:remove","isBtn":true,"redirect":null,"meta":null},"MENU_MANAGE_UPDATE":{"id":"MENU_MANAGE_UPDATE","_parentId":"MENU_MANAGE","label":"菜单修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:edit","isBtn":true,"redirect":null,"meta":null},"CAR_ORDERFORMAL_INDEX":{"id":"CAR_ORDERFORMAL_INDEX","_parentId":"CAR_CHECK","label":"委托单信息","sort":2,"alwaysShow":false,"name":"OrderFormal","path":"orderFormal","component":"business/orderFormal/index","perms":"business:orderFormal:list","isBtn":false,"redirect":null,"meta":{"title":"委托单信息","icon":"#","noCache":false,"link":null}},"MENU_MANAGE_DELETE":{"id":"MENU_MANAGE_DELETE","_parentId":"MENU_MANAGE","label":"菜单删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:menu:remove","isBtn":true,"redirect":null,"meta":null},"CAR_NGPART_INDEX":{"id":"CAR_NGPART_INDEX","_parentId":"CAR_BASE","label":"NG部位信息","sort":1,"alwaysShow":false,"name":"NgPart","path":"ngPart","component":"business/ngPart/index","perms":"business:ngPart:list","isBtn":false,"redirect":null,"meta":{"title":"NG部位信息","icon":"#","noCache":false,"link":null}},"CAR_BASE":{"id":"CAR_BASE","_parentId":"-1","label":"基础数据管理","sort":7,"alwaysShow":true,"name":"Base","path":"/base","component":"Layout","perms":null,"isBtn":false,"redirect":"noRedirect","meta":{"title":"基础数据管理","icon":"excel","noCache":false,"link":null}},"CAR_INSPECTOR_ADD":{"id":"CAR_INSPECTOR_ADD","_parentId":"CAR_INSPECTOR_INDEX","label":"检验员信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspector:add","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_QUERY":{"id":"CAR_POLLUTANT_QUERY","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:query","isBtn":true,"redirect":null,"meta":null},"CAR_POLLUTANT_ADD":{"id":"CAR_POLLUTANT_ADD","_parentId":"CAR_POLLUTANT_INDEX","label":"污染物信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:pollutant:add","isBtn":true,"redirect":null,"meta":null},"POST_MANAGE_DELETE":{"id":"POST_MANAGE_DELETE","_parentId":"POST_MANAGE","label":"岗位删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:remove","isBtn":true,"redirect":null,"meta":null},"CAR_ORDERFORMAL_ADD":{"id":"CAR_ORDERFORMAL_ADD","_parentId":"CAR_ORDERFORMAL_INDEX","label":"新增车辆","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:orderFormal:addCar","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECTRESITE_INDEX":{"id":"CAR_INSPECTRESITE_INDEX","_parentId":"CAR_SITE","label":"检查场地信息","sort":1,"alwaysShow":false,"name":"InspectSite","path":"inspectSite","component":"business/inspectSite/index","perms":"business:inspectSite:list","isBtn":false,"redirect":null,"meta":{"title":"检查场地信息","icon":"#","noCache":false,"link":null}},"POST_MANAGE_ADD":{"id":"POST_MANAGE_ADD","_parentId":"POST_MANAGE","label":"岗位新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:post:add","isBtn":true,"redirect":null,"meta":null},"DEPT_MANAGE_QUERY":{"id":"DEPT_MANAGE_QUERY","_parentId":"DEPT_MANAGE","label":"部门查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"system:dept:query","isBtn":true,"redirect":null,"meta":null},"CAR_INSPECT_DELETE":{"id":"CAR_INSPECT_DELETE","_parentId":"CAR_INSPECT_INDEX","label":"删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:remove","isBtn":true,"redirect":null,"meta":null},"OUTER_COMPANY_QUERY_CAR":{"id":"OUTER_COMPANY_QUERY_CAR","_parentId":"OUTER_COMPANY_QUERY","label":"车辆检查信息","sort":2,"alwaysShow":false,"name":"OuterCompanyInspect","path":"outerCompanyInspect","component":"outer/company/inspect/index","perms":"company:inspect:list","isBtn":false,"redirect":null,"meta":{"title":"车辆检查信息","icon":"#","noCache":false,"link":null}},"OUTER_COMPANY_QUERY_CAR_DETAIL":{"id":"OUTER_COMPANY_QUERY_CAR_DETAIL","_parentId":"OUTER_COMPANY_QUERY_CAR","label":"详情","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:inspect:query","isBtn":true,"redirect":null,"meta":null},"CAR_PRERECORD_DETAIL_EXPORT":{"id":"CAR_PRERECORD_DETAIL_EXPORT","_parentId":"CAR_PRERECORD_DETAIL_INDEX","label":"车辆预录信息明细导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"perms":"business:preRecordDetail:export","isBtn":true,"redirect":null,"meta":null}}')},"3ddf":function(e,t,n){},4360:function(e,t,n){"use strict";var a,i,s=n("2b0e"),c=n("2f62"),o=n("852e"),l=n.n(o),r={sidebar:{opened:!l.a.get("sidebarStatus")||!!+l.a.get("sidebarStatus"),withoutAnimation:!1,hide:!1},device:"desktop",size:l.a.get("size")||"medium"},u={TOGGLE_SIDEBAR:function(e){if(e.sidebar.hide)return!1;e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?l.a.set("sidebarStatus",1):l.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){l.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,l.a.set("size",t)},SET_SIDEBAR_HIDE:function(e,t){e.sidebar.hide=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)},toggleSideBarHide:function(e,t){var n=e.commit;n("SET_SIDEBAR_HIDE",t)}},h={namespaced:!0,state:r,mutations:u,actions:d},p=(n("b0c0"),n("d3b7"),n("7ded")),f=n("5f87"),m={state:{token:Object(f["a"])(),name:"",avatar:"",roles:[],permissions:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t}},actions:{Login:function(e,t){e.commit;return new Promise((function(e,n){Object(p["d"])(t).then((function(t){e()})).catch((function(e){n(e)}))}))},GetInfo:function(e){var t=e.commit;e.state;return new Promise((function(e,a){Object(p["b"])().then((function(a){var i=a.user,s=""==i.avatar||null==i.avatar?n("4b94"):"/"+i.avatar;a.roles&&a.roles.length>0?(t("SET_ROLES",a.roles),t("SET_PERMISSIONS",a.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",i.userName),t("SET_AVATAR",s),e(a)})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(p["e"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(f["b"])(),e()})).catch((function(e){a(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(f["b"])(),e()}))}}},v=m,b=n("2909"),w=n("3835"),g=n("b85c"),_=(n("caad"),n("2532"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),n("c740"),{visitedViews:[],cachedViews:[]}),y={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta&&!t.meta.noCache&&e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(g["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var i=Object(w["a"])(n.value,2),s=i[0],c=i[1];if(c.path===t.path){e.visitedViews.splice(s,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(g["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.path===t.path){i=Object.assign(i,t);break}}}catch(s){a.e(s)}finally{a.f()}},DEL_RIGHT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a<=n||t.meta&&t.meta.affix)return!0;var i=e.cachedViews.indexOf(t.name);return i>-1&&e.cachedViews.splice(i,1),!1})))},DEL_LEFT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a>=n||t.meta&&t.meta.affix)return!0;var i=e.cachedViews.indexOf(t.name);return i>-1&&e.cachedViews.splice(i,1),!1})))}},E={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(b["a"])(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(b["a"])(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(b["a"])(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(b["a"])(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(b["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(b["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)},delRightTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_RIGHT_VIEWS",t),e(Object(b["a"])(_.visitedViews))}))},delLeftTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_LEFT_VIEWS",t),e(Object(b["a"])(_.visitedViews))}))}},x={namespaced:!0,state:_,mutations:y,actions:E},C=(n("99af"),n("159b"),n("d81d"),n("3ca3"),n("dce4")),A=n("a18c"),R=n("b775"),k=function(){return Object(R["a"])({url:"/getRouters",method:"get"})},T=n("c1f7"),S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},O=[],I=n("2877"),M={},L=Object(I["a"])(M,S,O,!1,null,null,null),N=L.exports,D=(n("9911"),{data:function(){return{}},render:function(){var e=arguments[0],t=this.$route.meta.link;if(""==={link:t}.link)return"404";var n={link:t}.link,a=document.documentElement.clientHeight-94.5+"px",i={height:a};return e("div",{style:i},[e("iframe",{attrs:{src:n,frameborder:"no",scrolling:"auto"},style:"width: 100%; height: 100%"})])}}),z=D,P=Object(I["a"])(z,a,i,!1,null,null,null),B=P.exports,V=n("3da7");console.log(V),console.log("Menu");var H={Menu:V},j={state:{routerMap:H.Menu,routes:[],permissions:[],addRoutes:[],defaultRoutes:[],topbarRouters:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=A["a"].concat(t)},SET_DEFAULT_ROUTES:function(e,t){e.defaultRoutes=A["a"].concat(t)},SET_TOPBAR_ROUTES:function(e,t){e.topbarRouters=t},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=t}},actions:{GenerateRoutes:function(e){var t=e.commit,n=e.state;return new Promise((function(e){k().then((function(a){var i=[],s=[],c=[];a.data.forEach((function(e){n.routerMap[e]&&s.push(n.routerMap[e])})),s.map((function(e){e.isBtn?c.push(e):i.push(e)})),n.permissions=c;var o=U(i,"id"),l=$(o);console.log(l),console.log("sidebarRoutes");var r=Y(A["c"]);A["b"].addRoutes(r),t("SET_ROUTES",l),t("SET_SIDEBAR_ROUTERS",A["a"].concat(l)),e(l)}))}))}}};function U(e,t,n,a){var i,s={id:t||"id",_parentId:n||"_parentId",childrenList:a||"children"},c={},o={},l=[],r=Object(g["a"])(e);try{for(r.s();!(i=r.n()).done;){var u=i.value,d=u[s._parentId];null==c[d]&&(c[d]=[]),o[u[s.id]]=u,c[d].push(u)}}catch(y){r.e(y)}finally{r.f()}var h,p=Object(g["a"])(e);try{for(p.s();!(h=p.n()).done;){var f=h.value,m=f[s._parentId];null==o[m]&&l.push(f)}}catch(y){p.e(y)}finally{p.f()}for(var v=0,b=l;v2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return t&&e.children&&(e.children=G(e.children)),e.component&&("Layout"===e.component?e.component=T["a"]:"ParentView"===e.component?e.component=N:"InnerLink"===e.component?e.component=B:e.component=X(e.component)),null!=e.children&&e.children&&e.children.length?e.children=$(e.children,e,t):(delete e["children"],delete e["redirect"]),!0}))}function G(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return e.forEach((function(e,a){e.children&&e.children.length&&"ParentView"===e.component&&!t?e.children.forEach((function(t){t.path=e.path+"/"+t.path,t.children&&t.children.length?n=n.concat(G(t.children,t)):n.push(t)})):(t&&(e.path=t.path+"/"+e.path),n=n.concat(e))})),n}function Y(e){var t=[];return e.forEach((function(e){e.permissions?C["a"].hasPermiOr(e.permissions)&&t.push(e):e.roles&&C["a"].hasRoleOr(e.roles)&&t.push(e)})),t}var X=function(e){return function(){return n("9dac")("./".concat(e))}},F=j,q=n("83d6"),Q=n.n(q),W=Q.a.sideTheme,J=Q.a.showSettings,K=Q.a.topNav,Z=Q.a.tagsView,ee=Q.a.fixedHeader,te=Q.a.sidebarLogo,ne=Q.a.dynamicTitle,ae=JSON.parse(localStorage.getItem("layout-setting"))||"",ie={title:"",theme:ae.theme||"#409EFF",sideTheme:ae.sideTheme||W,showSettings:J,topNav:void 0===ae.topNav?K:ae.topNav,tagsView:void 0===ae.tagsView?Z:ae.tagsView,fixedHeader:void 0===ae.fixedHeader?ee:ae.fixedHeader,sidebarLogo:void 0===ae.sidebarLogo?te:ae.sidebarLogo,dynamicTitle:void 0===ae.dynamicTitle?ne:ae.dynamicTitle},se={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},ce={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)},setTitle:function(e,t){e.commit;ie.title=t}},oe={namespaced:!0,state:ie,mutations:se,actions:ce},le={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},topbarRouters:function(e){return e.permission.topbarRouters},defaultRoutes:function(e){return e.permission.defaultRoutes},sidebarRouters:function(e){return e.permission.sidebarRouters}},re=le;s["default"].use(c["a"]);var ue=new c["a"].Store({modules:{app:h,user:v,tagsView:x,permission:F,settings:oe},getters:re});t["a"]=ue},4576:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"47b7":function(e,t,n){"use strict";n("4c86")},"482c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},4955:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.1dcda80e.jpg"},"4c86":function(e,t,n){},"4d24":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},5534:function(e,t,n){},"565c":function(e,t,n){"use strict";n("3ddf")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),i=n("852e"),s=n.n(i),c=n("5c96"),o=n.n(c),l=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),r=[],u=(n("99af"),{name:"App",metaInfo:function(){return{title:this.$store.state.settings.dynamicTitle&&this.$store.state.settings.title,titleTemplate:function(e){return e?"".concat(e," - ").concat("机动车整车生物安全检查系统"):"机动车整车生物安全检查系统"}}}}),d=u,h=(n("0a7d"),n("2877")),p=Object(h["a"])(d,l,r,!1,null,null,null),f=p.exports,m=n("4360"),v=n("a18c"),b=(n("d3b7"),n("caad"),n("2532"),{inserted:function(e,t,n){var a=t.value,i="admin",s=m["a"].getters&&m["a"].getters.roles;if(!(a&&a instanceof Array&&a.length>0))throw new Error('请设置角色权限标签值"');var c=a,o=s.some((function(e){return i===e||c.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),w={inserted:function(e,t,n){var a=t.value,i="*:*:*",s=m["a"].getters&&m["a"].getters.permissions;if(!(a&&a instanceof Array&&a.length>0))throw new Error("请设置操作权限标签值");var c=a,o=s.some((function(e){return i===e||c.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},g=(n("ac1f"),n("5319"),{bind:function(e,t,n,a){var i=t.value;if(0!=i){var s=e.querySelector(".el-dialog__header"),c=e.querySelector(".el-dialog");s.style.cursor="move";var o=c.currentStyle||window.getComputedStyle(c,null);c.style.position="absolute",c.style.marginTop=0;var l=c.style.width;l=l.includes("%")?+document.body.clientWidth*(+l.replace(/\%/g,"")/100):+l.replace(/\px/g,""),c.style.left="".concat((document.body.clientWidth-l)/2,"px"),s.onmousedown=function(e){var t,n,a=e.clientX-s.offsetLeft,i=e.clientY-s.offsetTop;o.left.includes("%")?(t=+document.body.clientWidth*(+o.left.replace(/\%/g,"")/100),n=+document.body.clientHeight*(+o.top.replace(/\%/g,"")/100)):(t=+o.left.replace(/\px/g,""),n=+o.top.replace(/\px/g,"")),document.onmousemove=function(e){var s=e.clientX-a,o=e.clientY-i,l=s+t,r=o+n;c.style.left="".concat(l,"px"),c.style.top="".concat(r,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}}}),_={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 5px; background: inherit; height: 80%; position: absolute; right: 0; top: 0; bottom: 0; margin: auto; z-index: 1; cursor: w-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,i=t.offsetWidth;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a;t.style.width="".concat(i+n,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},y={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 6px; background: inherit; height: 10px; position: absolute; right: 0; bottom: 0; margin: auto; z-index: 1; cursor: nwse-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,i=n.clientY-e.offsetTop,s=t.offsetWidth,c=t.offsetHeight;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a,o=e.clientY-i;t.style.width="".concat(s+n,"px"),t.style.height="".concat(c+o,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},E=n("b311"),x=n.n(E),C={bind:function(e,t,n){switch(t.arg){case"success":e._vClipBoard_success=t.value;break;case"error":e._vClipBoard_error=t.value;break;default:var a=new x.a(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"}});a.on("success",(function(t){var n=e._vClipBoard_success;n&&n(t)})),a.on("error",(function(t){var n=e._vClipBoard_error;n&&n(t)})),e._vClipBoard=a}},update:function(e,t){"success"===t.arg?e._vClipBoard_success=t.value:"error"===t.arg?e._vClipBoard_error=t.value:(e._vClipBoard.text=function(){return t.value},e._vClipBoard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipBoard_success:"error"===t.arg?delete e._vClipBoard_error:(e._vClipBoard.destroy(),delete e._vClipBoard))}},A=function(e){e.directive("hasRole",b),e.directive("hasPermi",w),e.directive("clipboard",C),e.directive("dialogDrag",g),e.directive("dialogDragWidth",_),e.directive("dialogDragHeight",y)};window.Vue&&(window["hasRole"]=b,window["hasPermi"]=w,Vue.use(A));var R,k=A,T=(n("159b"),n("b0c0"),{refreshPage:function(e){var t=v["b"].currentRoute,n=t.path,a=t.query,i=t.matched;return void 0===e&&i.forEach((function(t){t.components&&t.components.default&&t.components.default.name&&(["Layout","ParentView"].includes(t.components.default.name)||(e={name:t.components.default.name,path:n,query:a}))})),m["a"].dispatch("tagsView/delCachedView",e).then((function(){var t=e,n=t.path,a=t.query;v["b"].replace({path:"/redirect"+n,query:a})}))},closeOpenPage:function(e){if(m["a"].dispatch("tagsView/delView",v["b"].currentRoute),void 0!==e)return v["b"].push(e)},closePage:function(e){return void 0===e?m["a"].dispatch("tagsView/delView",v["b"].currentRoute).then((function(e){var t=e.lastPath;return v["b"].push(t||"/")})):m["a"].dispatch("tagsView/delView",e)},closeAllPage:function(){return m["a"].dispatch("tagsView/delAllViews")},closeLeftPage:function(e){return m["a"].dispatch("tagsView/delLeftTags",e||v["b"].currentRoute)},closeRightPage:function(e){return m["a"].dispatch("tagsView/delRightTags",e||v["b"].currentRoute)},closeOtherPage:function(e){return m["a"].dispatch("tagsView/delOthersViews",e||v["b"].currentRoute)},openPage:function(e,t,n){var a={path:t,meta:{title:e}};return m["a"].dispatch("tagsView/addView",a),v["b"].push({path:t,query:n})},updatePage:function(e){return m["a"].dispatch("tagsView/updateVisitedView",e)}}),S=n("dce4"),O=n("63f0"),I={msg:function(e){c["Message"].info(e)},msgError:function(e){c["Message"].error(e)},msgSuccess:function(e){c["Message"].success(e)},msgWarning:function(e){c["Message"].warning(e)},alert:function(e){c["MessageBox"].alert(e,"系统提示")},alertError:function(e){c["MessageBox"].alert(e,"系统提示",{type:"error"})},alertSuccess:function(e){c["MessageBox"].alert(e,"系统提示",{type:"success"})},alertWarning:function(e){c["MessageBox"].alert(e,"系统提示",{type:"warning"})},notify:function(e){c["Notification"].info(e)},notifyError:function(e){c["Notification"].error(e)},notifySuccess:function(e){c["Notification"].success(e)},notifyWarning:function(e){c["Notification"].warning(e)},confirm:function(e){return c["MessageBox"].confirm(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},prompt:function(e){return c["MessageBox"].prompt(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},loading:function(e){R=c["Loading"].service({lock:!0,text:e,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},closeLoading:function(){R.close()}},M=n("c7eb"),L=n("1da1"),N=n("bc3a"),D=n.n(N),z=n("21a6"),P=n("5f87"),B=n("81ae"),V=n("c38a"),H="/",j={name:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=H+"/common/download?fileName="+encodeURI(e)+"&delete="+n;D()({method:"get",url:a,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(L["a"])(Object(M["a"])().mark((function e(n){var a,i;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(n.data);case 2:a=e.sent,a?(i=new Blob([n.data]),t.saveAs(i,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},resource:function(e){var t=this,n=H+"/common/download/resource?resource="+encodeURI(e);D()({method:"get",url:n,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(L["a"])(Object(M["a"])().mark((function e(n){var a,i;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(n.data);case 2:a=e.sent,a?(i=new Blob([n.data]),t.saveAs(i,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},zip:function(e,t){var n=this;e=H+e;D()({method:"get",url:e,responseType:"blob",headers:{Authorization:"Bearer "+Object(P["a"])()}}).then(function(){var e=Object(L["a"])(Object(M["a"])().mark((function e(a){var i,s;return Object(M["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(V["b"])(a.data);case 2:i=e.sent,i?(s=new Blob([a.data],{type:"application/zip"}),n.saveAs(s,t)):n.printErrMsg(a.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},saveAs:function(e,t,n){Object(z["saveAs"])(e,t,n)},printErrMsg:function(e){return Object(L["a"])(Object(M["a"])().mark((function t(){var n,a,i;return Object(M["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.text();case 2:n=t.sent,a=JSON.parse(n),i=B["a"][a.code]||a.msg||B["a"]["default"],c["Message"].error(i);case 6:case"end":return t.stop()}}),t)})))()}},U={install:function(e){e.prototype.$tab=T,e.prototype.$auth=S["a"],e.prototype.$cache=O["a"],e.prototype.$modal=I,e.prototype.$download=j}},$=n("b775"),G=(n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),Y=[],X=n("61f7"),F={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(X["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},q=F,Q=(n("47b7"),Object(h["a"])(q,G,Y,!1,null,"248913c8",null)),W=Q.exports;a["default"].component("svg-icon",W);var J=n("23f1"),K=function(e){return e.keys().map(e)};K(J);var Z=n("5530"),ee=n("323e"),te=n.n(ee);n("a5d8");te.a.configure({showSpinner:!1});v["b"].beforeEach((function(e,t,n){te.a.start(),"/login"===e.path?(n(),te.a.done()):0===m["a"].getters.roles.length?($["c"].show=!0,m["a"].dispatch("GetInfo").then((function(){$["c"].show=!1,m["a"].dispatch("GenerateRoutes").then((function(t){v["b"].addRoutes(t),n(Object(Z["a"])(Object(Z["a"])({},e),{},{replace:!0}))}))})).catch((function(e){m["a"].dispatch("LogOut").then((function(){c["Message"].error(e),n({path:"/"})}))}))):n()})),v["b"].afterEach((function(){te.a.done()}));var ne=n("aa3a"),ae=n("c0c3"),ie=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,"pager-count":e.pagerCount,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},se=[];n("a9e3");Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var ce=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function oe(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function le(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function re(e,t,n){var a=le(),i=e-a,s=20,c=0;t="undefined"===typeof t?500:t;var o=function e(){c+=s;var o=Math.easeInOutQuad(c,a,i,t);oe(o),cthis.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&re(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&re(0,800)}}},de=ue,he=(n("59bf"),Object(h["a"])(de,ie,se,!1,null,"f3d032e2",null)),pe=he.exports,fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top-right-btn"},[n("el-row",[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.showSearch?"隐藏搜索":"显示搜索",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-search"},on:{click:function(t){return e.toggleSearch()}}})],1),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"刷新",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-refresh"},on:{click:function(t){return e.refresh()}}})],1),e.columns?n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"显隐列",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-menu"},on:{click:function(t){return e.showColumn()}}})],1):e._e()],1),n("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-transfer",{attrs:{titles:["显示","隐藏"],data:e.columns},on:{change:e.dataChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)],1)},me=[],ve={name:"RightToolbar",data:function(){return{value:[],title:"显示/隐藏",open:!1}},props:{showSearch:{type:Boolean,default:!0},columns:{type:Array}},created:function(){for(var e in this.columns)!1===this.columns[e].visible&&this.value.push(parseInt(e))},methods:{toggleSearch:function(){this.$emit("update:showSearch",!this.showSearch)},refresh:function(){this.$emit("queryTable")},dataChange:function(e){for(var t in this.columns){var n=this.columns[t].key;this.columns[t].visible=!e.includes(n)}},showColumn:function(){this.open=!0}}},be=ve,we=(n("be8c"),Object(h["a"])(be,fe,me,!1,null,"b0cca3be",null)),ge=we.exports,_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["url"==this.type?n("el-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{action:e.uploadUrl,"before-upload":e.handleBeforeUpload,"on-success":e.handleUploadSuccess,"on-error":e.handleUploadError,name:"file","show-file-list":!1,headers:e.headers}}):e._e(),n("div",{ref:"editor",staticClass:"editor",style:e.styles})],1)},ye=[],Ee=n("9339"),xe=n.n(Ee),Ce=(n("a753"),n("8096"),n("14e1"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null},readOnly:{type:Boolean,default:!1},fileSize:{type:Number,default:5},type:{type:String,default:"url"}},data:function(){return{uploadUrl:"//common/upload",headers:{Authorization:"Bearer "+Object(P["a"])()},Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:this.readOnly}}},computed:{styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=null===e?"":e,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;if(this.Quill=new xe.a(t,this.options),"url"==this.type){var n=this.Quill.getModule("toolbar");n.addHandler("image",(function(t){e.uploadType="image",t?e.$refs.upload.$children[0].$refs.input.click():e.quill.format("image",!1)}))}this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,a){var i=e.$refs.editor.children[0].innerHTML,s=e.Quill.getText(),c=e.Quill;e.currentValue=i,e.$emit("input",i),e.$emit("on-change",{html:i,text:s,quill:c})})),this.Quill.on("text-change",(function(t,n,a){e.$emit("on-text-change",t,n,a)})),this.Quill.on("selection-change",(function(t,n,a){e.$emit("on-selection-change",t,n,a)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i-1&&(t=e.name.slice(e.name.lastIndexOf(".")+1));var n=this.fileType.some((function(n){return e.type.indexOf(n)>-1||!!(t&&t.indexOf(n)>-1)}));if(!n)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"格式文件!")),!1}if(this.fileSize){var a=e.size/1024/1024-1?e.slice(e.lastIndexOf("/")+1):""},listToString:function(e,t){var n="";for(var a in t=t||",",e)n+=e[a].url+t;return""!=n?n.substr(0,n.length-1):""}}}),Ie=Oe,Me=(n("1e13"),Object(h["a"])(Ie,Te,Se,!1,null,"44771c67",null)),Le=Me.exports,Ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-upload-image"},[n("el-upload",{class:{hide:this.fileList.length>=this.limit},attrs:{multiple:"",action:e.uploadImgUrl,"list-type":"picture-card","on-success":e.handleUploadSuccess,"before-upload":e.handleBeforeUpload,limit:e.limit,"on-error":e.handleUploadError,"on-exceed":e.handleExceed,name:"file","on-remove":e.handleRemove,"show-file-list":!0,headers:e.headers,"file-list":e.fileList,"on-preview":e.handlePictureCardPreview}},[n("i",{staticClass:"el-icon-plus"})]),e.showTip?n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 请上传 "),e.fileSize?[e._v(" 大小不超过 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileSize)+"MB")])]:e._e(),e.fileType?[e._v(" 格式为 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileType.join("/")))])]:e._e(),e._v(" 的文件 ")],2):e._e(),n("el-dialog",{attrs:{visible:e.dialogVisible,title:"预览",width:"800","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("img",{staticStyle:{display:"block","max-width":"100%",margin:"0 auto"},attrs:{src:e.dialogImageUrl}})])],1)},De=[],ze={props:{value:[String,Object,Array],limit:{type:Number,default:5},fileSize:{type:Number,default:5},fileType:{type:Array,default:function(){return["png","jpg","jpeg"]}},isShowTip:{type:Boolean,default:!0}},data:function(){return{number:0,uploadList:[],dialogImageUrl:"",dialogVisible:!1,hideUpload:!1,baseUrl:"/",uploadImgUrl:"//common/upload",headers:{Authorization:"Bearer "+Object(P["a"])()},fileList:[]}},watch:{value:{handler:function(e){var t=this;if(!e)return this.fileList=[],[];var n=Array.isArray(e)?e:this.value.split(",");this.fileList=n.map((function(e){return"string"===typeof e&&(e=-1===e.indexOf(t.baseUrl)?{name:t.baseUrl+e,url:t.baseUrl+e}:{name:e,url:e}),e}))},deep:!0,immediate:!0}},computed:{showTip:function(){return this.isShowTip&&(this.fileType||this.fileSize)}},methods:{handleRemove:function(e,t){var n=this.fileList.map((function(e){return e.name})).indexOf(e.name);n>-1&&(this.fileList.splice(n,1),this.$emit("input",this.listToString(this.fileList)))},handleUploadSuccess:function(e){this.uploadList.push({name:e.fileName,url:e.fileName}),this.uploadList.length===this.number&&(this.fileList=this.fileList.concat(this.uploadList),this.uploadList=[],this.number=0,this.$emit("input",this.listToString(this.fileList)),this.$modal.closeLoading())},handleBeforeUpload:function(e){var t=!1;if(this.fileType.length){var n="";e.name.lastIndexOf(".")>-1&&(n=e.name.slice(e.name.lastIndexOf(".")+1)),t=this.fileType.some((function(t){return e.type.indexOf(t)>-1||!!(n&&n.indexOf(t)>-1)}))}else t=e.type.indexOf("image")>-1;if(!t)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"图片格式文件!")),!1;if(this.fileSize){var a=e.size/1024/10241?t-1:0),a=1;a"),c=[]),(i=e.type[s]).splice.apply(i,[0,Number.MAX_SAFE_INTEGER].concat(Object(Ze["a"])(c))),c.forEach((function(t){a["default"].set(e.label[s],t.value,t.label)})),c}))}var ft=function(e,t){lt(t),e.mixin({data:function(){if(void 0===this.$options||void 0===this.$options.dicts||null===this.$options.dicts)return{};var e=new ht;return e.owner=this,{dict:e}},created:function(){var e=this;this.dict instanceof ht&&(t.onCreated&&t.onCreated(this.dict),this.dict.init(this.$options.dicts).then((function(){t.onReady&&t.onReady(e.dict),e.$nextTick((function(){e.$emit("dictReady",e.dict),e.$options.methods&&e.$options.methods.onDictReady instanceof Function&&e.$options.methods.onDictReady.call(e,e.dict)}))})))}})};function mt(){a["default"].use(ft,{metas:{"*":{labelField:"dictLabel",valueField:"dictValue",request:function(e){return Object(ne["d"])(e.type).then((function(e){return e.data}))}}}})}var vt={install:mt};a["default"].prototype.getDicts=ne["d"],a["default"].prototype.getConfigKey=ae["d"],a["default"].prototype.parseTime=V["f"],a["default"].prototype.resetForm=V["g"],a["default"].prototype.addDateRange=V["a"],a["default"].prototype.selectDictLabel=V["h"],a["default"].prototype.selectDictLabels=V["i"],a["default"].prototype.download=$["b"],a["default"].prototype.handleTree=V["c"],a["default"].component("DictTag",Je),a["default"].component("Pagination",pe),a["default"].component("RightToolbar",ge),a["default"].component("Editor",ke),a["default"].component("FileUpload",Le),a["default"].component("ImageUpload",Ve),a["default"].component("ImagePreview",Ye),a["default"].use(k),a["default"].use(U),a["default"].use(Ke["a"]),vt.install(),a["default"].use(o.a,{size:s.a.get("size")||"medium"}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:v["b"],store:m["a"],render:function(e){return e(f)}})},"575e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-online",use:"icon-online-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"57a7":function(e,t,n){},"57fa":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(o);t["default"]=o},"59bf":function(e,t,n){"use strict";n("07f8")},"5aa7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"5d9e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var a=n("852e"),i=n.n(a),s="Admin-Token";function c(){return i.a.get(s)}function o(){return i.a.remove(s)}},"5fda":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},6022:function(e,t,n){"use strict";n("ab8d")},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac1f"),n("00b4"),n("498a"),n("d3b7");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},"63f0":function(e,t,n){"use strict";n("e9c4");var a={set:function(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get:function(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){sessionStorage.removeItem(e)}},i={set:function(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get:function(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){localStorage.removeItem(e)}};t["a"]={session:a,local:i}},"679a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"69ce":function(e,t,n){"use strict";n("33ae")},"70c3":function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"735b":function(e,t,n){"use strict";n("70c3")},"737d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"74a2":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"77fa":function(e,t,n){"use strict";n("5534")},"78b5":function(e,t,n){},"79ea":function(e,t,n){"use strict";n("0400")},"7ded":function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return r}));var a=n("b775");n("d3b7"),n("25f0"),n("3452");function i(e){return console.log(e),console.log("data"),Object(a["a"])({url:"/login",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/register",headers:{isToken:!1},method:"post",data:e})}function c(){return Object(a["a"])({url:"/getInfo",method:"get"})}function o(){return Object(a["a"])({url:"/encrypt",headers:{isToken:!1},method:"get"})}function l(){return Object(a["a"])({url:"/logout",method:"post"})}function r(){return Object(a["a"])({url:"/captchaImage",headers:{isToken:!1},method:"get",timeout:2e4})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.4ef27f05.png"},"81ae":function(e,t,n){"use strict";t["a"]={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},"83d6":function(e,t){e.exports={sideTheme:"theme-dark",showSettings:!1,topNav:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,dynamicTitle:!1,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"879b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},8989:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"91be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});c.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"98ab":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"99ee":function(e,t,n){"use strict";n("1147")},"9a4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9b5e":function(e,t,n){"use strict";n("b18c")},"9cb5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9dac":function(e,t,n){var a={"./":["1e4b","chunk-2d0b68f8"],"./business/company":["e78c","chunk-a1a38e62"],"./business/company/":["e78c","chunk-a1a38e62"],"./business/company/index":["e78c","chunk-a1a38e62"],"./business/company/index.vue":["e78c","chunk-a1a38e62"],"./business/fileInfo":["685d","chunk-2d0d0607"],"./business/fileInfo/":["685d","chunk-2d0d0607"],"./business/fileInfo/index":["685d","chunk-2d0d0607"],"./business/fileInfo/index.vue":["685d","chunk-2d0d0607"],"./business/inspect":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/index":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspect/index.vue":["34de","chunk-5a2f9c7b","chunk-1c6cc160"],"./business/inspectDetail":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-4c9f8af4"],"./business/inspectDetail/":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-4c9f8af4"],"./business/inspectDetail/index":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-4c9f8af4"],"./business/inspectDetail/index.vue":["7bd8","chunk-5a2f9c7b","chunk-ec75af08","chunk-4c9f8af4"],"./business/inspectRecord":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/index":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectRecord/index.vue":["62e3","chunk-5a2f9c7b","chunk-8fb5ef40"],"./business/inspectSite":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/index":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspectSite/index.vue":["99ab","chunk-5a2f9c7b","chunk-7a5a349a"],"./business/inspector":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/index":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/inspector/index.vue":["111b","chunk-5a2f9c7b","chunk-2d0d6345","chunk-3a6331e5"],"./business/ngPart":["f340","chunk-36bbefa0"],"./business/ngPart/":["f340","chunk-36bbefa0"],"./business/ngPart/index":["f340","chunk-36bbefa0"],"./business/ngPart/index copy":["2d2d","chunk-2c70e2f7"],"./business/ngPart/index copy.vue":["2d2d","chunk-2c70e2f7"],"./business/ngPart/index.vue":["f340","chunk-36bbefa0"],"./business/orderFormal":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/index":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/orderFormal/index.vue":["634a","chunk-5a2f9c7b","chunk-0aa11606"],"./business/pollutant":["71da","chunk-4dfd3079"],"./business/pollutant/":["71da","chunk-4dfd3079"],"./business/pollutant/index":["71da","chunk-4dfd3079"],"./business/pollutant/index copy":["f501","chunk-7716da72"],"./business/pollutant/index copy.vue":["f501","chunk-7716da72"],"./business/pollutant/index.vue":["71da","chunk-4dfd3079"],"./business/preRecord":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/index":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecord/index.vue":["9422","chunk-5a2f9c7b","chunk-4802b500"],"./business/preRecordDetail":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/index":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./business/preRecordDetail/index.vue":["e3cf","chunk-5a2f9c7b","chunk-39d96794"],"./components/icons":["3a7e","chunk-74680cd7"],"./components/icons/":["3a7e","chunk-74680cd7"],"./components/icons/element-icons":["bb49","chunk-2d21a3bb"],"./components/icons/element-icons.js":["bb49","chunk-2d21a3bb"],"./components/icons/index":["3a7e","chunk-74680cd7"],"./components/icons/index.vue":["3a7e","chunk-74680cd7"],"./components/icons/svg-icons":["c7e9","chunk-2d217c9e"],"./components/icons/svg-icons.js":["c7e9","chunk-2d217c9e"],"./dashboard/BarChart":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/BarChart.vue":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/LineChart":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/LineChart.vue":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/PanelGroup":["fbc4","chunk-d6ec12d8"],"./dashboard/PanelGroup.vue":["fbc4","chunk-d6ec12d8"],"./dashboard/PieChart":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/PieChart.vue":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/RaddarChart":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/RaddarChart.vue":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/mixins/resize":["feb2","chunk-2d238605"],"./dashboard/mixins/resize.js":["feb2","chunk-2d238605"],"./error/401":["ec55","chunk-1537fc93"],"./error/401.vue":["ec55","chunk-1537fc93"],"./error/404":["2754","chunk-81a2a40e"],"./error/404.vue":["2754","chunk-81a2a40e"],"./index":["1e4b","chunk-2d0b68f8"],"./index.vue":["1e4b","chunk-2d0b68f8"],"./index_v1":["66ef","chunk-f95fdb36","chunk-b217db68"],"./index_v1.vue":["66ef","chunk-f95fdb36","chunk-b217db68"],"./login":["dd7b","chunk-2d0d6345","chunk-3c406e86"],"./login.vue":["dd7b","chunk-2d0d6345","chunk-3c406e86"],"./monitor/cache":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index.vue":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/list":["9f66","chunk-e1a6d904"],"./monitor/cache/list.vue":["9f66","chunk-e1a6d904"],"./monitor/druid":["5194","chunk-2d0c77ad"],"./monitor/druid/":["5194","chunk-2d0c77ad"],"./monitor/druid/index":["5194","chunk-2d0c77ad"],"./monitor/druid/index.vue":["5194","chunk-2d0c77ad"],"./monitor/job":["3eac","chunk-d9e18ce6"],"./monitor/job/":["3eac","chunk-d9e18ce6"],"./monitor/job/index":["3eac","chunk-d9e18ce6"],"./monitor/job/index.vue":["3eac","chunk-d9e18ce6"],"./monitor/job/log":["0062","chunk-68702101"],"./monitor/job/log.vue":["0062","chunk-68702101"],"./monitor/logininfor":["67ef","chunk-04621586"],"./monitor/logininfor/":["67ef","chunk-04621586"],"./monitor/logininfor/index":["67ef","chunk-04621586"],"./monitor/logininfor/index.vue":["67ef","chunk-04621586"],"./monitor/online":["6b08","chunk-2d0da2ea"],"./monitor/online/":["6b08","chunk-2d0da2ea"],"./monitor/online/index":["6b08","chunk-2d0da2ea"],"./monitor/online/index.vue":["6b08","chunk-2d0da2ea"],"./monitor/operlog":["02f2","chunk-7e203972"],"./monitor/operlog/":["02f2","chunk-7e203972"],"./monitor/operlog/index":["02f2","chunk-7e203972"],"./monitor/operlog/index.vue":["02f2","chunk-7e203972"],"./monitor/server":["2a33","chunk-2d0bce05"],"./monitor/server/":["2a33","chunk-2d0bce05"],"./monitor/server/index":["2a33","chunk-2d0bce05"],"./monitor/server/index.vue":["2a33","chunk-2d0bce05"],"./outer/company/inspect":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/index":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspect/index.vue":["0d11","chunk-5a2f9c7b","chunk-71544e56"],"./outer/company/inspectDetail":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/index":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectDetail/index.vue":["0a92","chunk-5a2f9c7b","chunk-ec75af08","chunk-5dff04e8"],"./outer/company/inspectRecord":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/index":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/inspectRecord/index.vue":["76af","chunk-5a2f9c7b","chunk-457eae06"],"./outer/company/orderFormal":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/index":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./outer/company/orderFormal/index.vue":["3972","chunk-5a2f9c7b","chunk-3e17a782"],"./redirect":["9b8f","chunk-2d0f012d"],"./redirect.vue":["9b8f","chunk-2d0f012d"],"./register":["7803","chunk-cefe2a3a"],"./register.vue":["7803","chunk-cefe2a3a"],"./system/config":["cdb7","chunk-2d22252c"],"./system/config/":["cdb7","chunk-2d22252c"],"./system/config/index":["cdb7","chunk-2d22252c"],"./system/config/index.vue":["cdb7","chunk-2d22252c"],"./system/dept":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index.vue":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dict":["046a","chunk-582b2a7a"],"./system/dict/":["046a","chunk-582b2a7a"],"./system/dict/data":["bfc4","chunk-d19c1a98"],"./system/dict/data.vue":["bfc4","chunk-d19c1a98"],"./system/dict/index":["046a","chunk-582b2a7a"],"./system/dict/index.vue":["046a","chunk-582b2a7a"],"./system/menu":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index.vue":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/notice":["202d","chunk-2d0b1626"],"./system/notice/":["202d","chunk-2d0b1626"],"./system/notice/index":["202d","chunk-2d0b1626"],"./system/notice/index.vue":["202d","chunk-2d0b1626"],"./system/post":["5788","chunk-2d0c8e18"],"./system/post/":["5788","chunk-2d0c8e18"],"./system/post/index":["5788","chunk-2d0c8e18"],"./system/post/index.vue":["5788","chunk-2d0c8e18"],"./system/role":["70eb","chunk-a662c34e"],"./system/role/":["70eb","chunk-a662c34e"],"./system/role/authUser":["7054","chunk-8ee3fc10"],"./system/role/authUser.vue":["7054","chunk-8ee3fc10"],"./system/role/index":["70eb","chunk-a662c34e"],"./system/role/index.vue":["70eb","chunk-a662c34e"],"./system/role/selectUser":["a17e","chunk-8579d4da"],"./system/role/selectUser.vue":["a17e","chunk-8579d4da"],"./system/user":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/authRole":["6a33","chunk-2727631f"],"./system/user/authRole.vue":["6a33","chunk-2727631f"],"./system/user/index":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/index.vue":["1f34","chunk-5a2f9c7b","chunk-2d0d6345","chunk-2534df76"],"./system/user/profile":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/index":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/index.vue":["4c1b","chunk-2d0d6345","chunk-2d0e2366","chunk-916e3c56"],"./system/user/profile/resetPwd":["ee46","chunk-2d0d6345","chunk-5b5acc02"],"./system/user/profile/resetPwd.vue":["ee46","chunk-2d0d6345","chunk-5b5acc02"],"./system/user/profile/userAvatar":["9429","chunk-2d0e2366","chunk-263efae4"],"./system/user/profile/userAvatar.vue":["9429","chunk-2d0e2366","chunk-263efae4"],"./system/user/profile/userInfo":["1e8b","chunk-3a08d90c"],"./system/user/profile/userInfo.vue":["1e8b","chunk-3a08d90c"],"./tool/build":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/CodeTypeDialog":["a92a","chunk-2d20955d"],"./tool/build/CodeTypeDialog.vue":["a92a","chunk-2d20955d"],"./tool/build/DraggableItem":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/DraggableItem.vue":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/IconsDialog":["d0b2","chunk-56e8e43e"],"./tool/build/IconsDialog.vue":["d0b2","chunk-56e8e43e"],"./tool/build/RightPanel":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/RightPanel.vue":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/TreeNodeDialog":["c81a","chunk-2d217a3b"],"./tool/build/TreeNodeDialog.vue":["c81a","chunk-2d217a3b"],"./tool/build/index":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/build/index.vue":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-52d084c9"],"./tool/gen":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/basicInfoForm":["ed69","chunk-2d230898"],"./tool/gen/basicInfoForm.vue":["ed69","chunk-2d230898"],"./tool/gen/editTable":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/editTable.vue":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/genInfoForm":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/genInfoForm.vue":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/importTable":["6f72","chunk-005cb0c7"],"./tool/gen/importTable.vue":["6f72","chunk-005cb0c7"],"./tool/gen/index":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/index.vue":["82c8","chunk-5b83c289","chunk-7fa21b9b"]};function i(e){if(!n.o(a,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(a)},i.id="9dac",e.exports=i},"9ec1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a0bf:function(e,t,n){},a17a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return o}));n("d3b7"),n("3ca3"),n("ddb0");var a=n("2b0e"),i=n("8c4f"),s=n("c1f7");a["default"].use(i["a"]);var c=[{path:"/redirect",component:s["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d0f012d").then(n.bind(null,"9b8f"))}}]},{path:"/login",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-3c406e86")]).then(n.bind(null,"dd7b"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-81a2a40e").then(n.bind(null,"2754"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-1537fc93").then(n.bind(null,"ec55"))},hidden:!0},{path:"/",component:s["a"],redirect:"/login",children:[{path:"login",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-3c406e86")]).then(n.bind(null,"dd7b"))},name:"Login",hidden:!0}]},{path:"/dashboard",component:s["a"],redirect:"dashboard/index",children:[{path:"index",component:function(){return n.e("chunk-2d0b68f8").then(n.bind(null,"1e4b"))},name:"Index",meta:{title:"首页",icon:"dashboard",affix:!0}}]},{path:"/user",component:s["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(){return Promise.all([n.e("chunk-2d0d6345"),n.e("chunk-2d0e2366"),n.e("chunk-916e3c56")]).then(n.bind(null,"4c1b"))},name:"Profile",meta:{title:"个人中心",icon:"user"}}]}],o=[{path:"/system/user-auth",component:s["a"],hidden:!0,permissions:["system:user:edit"],children:[{path:"role/:userId(\\d+)",component:function(){return n.e("chunk-2727631f").then(n.bind(null,"6a33"))},name:"AuthRole",meta:{title:"分配角色",activeMenu:"/system/user"}}]},{path:"/system/role-auth",component:s["a"],hidden:!0,permissions:["system:role:edit"],children:[{path:"user/:roleId(\\d+)",component:function(){return n.e("chunk-8ee3fc10").then(n.bind(null,"7054"))},name:"AuthUser",meta:{title:"分配用户",activeMenu:"/system/role"}}]},{path:"/system/dict-data",component:s["a"],hidden:!0,permissions:["system:dict:list"],children:[{path:"index/:dictId(\\d+)",component:function(){return n.e("chunk-d19c1a98").then(n.bind(null,"bfc4"))},name:"Data",meta:{title:"字典数据",activeMenu:"/system/dict"}}]},{path:"/monitor/job-log",component:s["a"],hidden:!0,permissions:["monitor:job:list"],children:[{path:"index",component:function(){return n.e("chunk-68702101").then(n.bind(null,"0062"))},name:"JobLog",meta:{title:"调度日志",activeMenu:"/monitor/job"}}]},{path:"/tool/gen-edit",component:s["a"],hidden:!0,permissions:["tool:gen:edit"],children:[{path:"index/:tableId(\\d+)",component:function(){return Promise.all([n.e("chunk-5a2f9c7b"),n.e("chunk-2d212b99"),n.e("chunk-548b6580")]).then(n.bind(null,"76f8"))},name:"GenEdit",meta:{title:"修改生成配置",activeMenu:"/tool/gen"}}]}],l=i["a"].prototype.push;i["a"].prototype.push=function(e){return l.call(this,e).catch((function(e){return e}))},t["b"]=new i["a"]({mode:"hash",scrollBehavior:function(){return{y:0}},routes:c})},a1ac:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a543:function(e,t,n){},a601:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a873:function(e,t,n){},aa3a:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return r}));var a=n("b775");function i(e){return Object(a["a"])({url:"/system/dict/data/list",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"get"})}function c(e){return Object(a["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/dict/data",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/system/dict/data",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"delete"})}},ab8d:function(e,t,n){},ad41:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},ad64:function(e,t,n){"use strict";n("d464")},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},b11f:function(e,t,n){"use strict";n("57a7")},b18c:function(e,t,n){},b34b:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},b4dc:function(e,t,n){},b6f9:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return b}));var a,i=n("c7eb"),s=n("1da1"),c=n("53ca"),o=(n("fb6a"),n("e9c4"),n("d3b7"),n("caad"),n("2532"),n("bc3a")),l=n.n(o),r=n("5c96"),u=n("4360"),d=(n("5f87"),n("81ae")),h=n("c38a"),p=n("63f0"),f=n("21a6"),m={show:!1};l.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var v=l.a.create({baseURL:"/",timeout:864e5});function b(e,t,n){return a=r["Loading"].service({text:"正在下载数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),v.post(e,t,{transformRequest:[function(e){return Object(h["j"])(e)}],headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"blob"}).then(function(){var e=Object(s["a"])(Object(i["a"])().mark((function e(t){var s,c,o,l,u;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["b"])(t);case 2:if(s=e.sent,!s){e.next=8;break}c=new Blob([t]),Object(f["saveAs"])(c,n),e.next=14;break;case 8:return e.next=10,t.text();case 10:o=e.sent,l=JSON.parse(o),u=d["a"][l.code]||l.msg||d["a"]["default"],r["Message"].error(u);case 14:a.close();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e),r["Message"].error("下载文件出现错误,请联系管理员!"),a.close()}))}v.interceptors.request.use((function(e){(e.headers||{}).isToken;var t=!1===(e.headers||{}).repeatSubmit;if("get"===e.method&&e.params){var n=e.url+"?"+Object(h["j"])(e.params);n=n.slice(0,-1),e.params={},e.url=n}if(!t&&("post"===e.method||"put"===e.method)){var a={url:e.url,data:"object"===Object(c["a"])(e.data)?JSON.stringify(e.data):e.data,time:(new Date).getTime()},i=p["a"].session.getJSON("sessionObj");if(void 0===i||null===i||""===i)p["a"].session.setJSON("sessionObj",a);else{var s=i.url,o=i.data,l=i.time,r=1e3;if(o===a.data&&a.time-l'});c.a.add(o);t["default"]=o},b92c:function(e,t,n){"use strict";n("b4dc")},badf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-redis-list",use:"icon-redis-list-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},bc7b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},be8c:function(e,t,n){"use strict";n("2ddf")},c0c3:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return l})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return u}));var a=n("b775");function i(e){return Object(a["a"])({url:"/system/config/list",method:"get",params:e})}function s(e){return Object(a["a"])({url:"/system/config/"+e,method:"get"})}function c(e){return Object(a["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/config",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/system/config",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/config/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/config/refreshCache",method:"delete"})}},c1f7:function(e,t,n){"use strict";var a,i,s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e.sidebar.hide?e._e():n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView,sidebarHide:e.sidebar.hide}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),n("right-panel",[n("settings")],1)],1)],1)},c=[],o=n("5530"),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},r=[],u=(n("a9e3"),n("ed08")),d={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(u["a"])(document.body,"showRightPanel"):Object(u["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=d,p=(n("b11f"),n("d08d"),n("2877")),f=Object(p["a"])(h,l,r,!1,null,"2b17496a",null),m=f.exports,v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},b=[],w={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},g=w,_=(n("69ce"),n("79ea"),Object(p["a"])(g,v,b,!1,null,"f3be4606",null)),y=_.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e.topNav?e._e():n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e.topNav?n("top-nav",{staticClass:"topmenu-container",attrs:{id:"topmenu-container"}}):e._e(),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),n("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),n("el-tooltip",{attrs:{content:"布局大小",effect:"dark",placement:"bottom"}},[n("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{nativeOn:{click:function(t){e.setting=!0}}},[n("span",[e._v("布局设置")])]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},x=[],C=n("c7eb"),A=n("1da1"),R=n("2f62"),k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},T=[],S=(n("2ca0"),n("4de4"),n("d3b7"),n("99af"),n("b0c0"),n("498a"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"Index"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),O=S,I=(n("d20b"),Object(p["a"])(O,k,T,!1,null,"08dd0676",null)),M=I.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{attrs:{"default-active":e.activeMenu,mode:"horizontal"},on:{select:e.handleSelect}},[e._l(e.topMenus,(function(t,a){return[ae.visibleNumber?n("el-submenu",{style:{"--theme":e.theme},attrs:{index:"more"}},[n("template",{slot:"title"},[e._v("更多菜单")]),e._l(e.topMenus,(function(t,a){return[a>=e.visibleNumber?n("el-menu-item",{key:a,attrs:{index:t.path}},[n("svg-icon",{attrs:{"icon-class":t.meta.icon}}),e._v(" "+e._s(t.meta.title))],1):e._e()]}))],2):e._e()],2)},N=[],D=(n("d81d"),n("7db0"),n("a18c")),z=["/index","/user/profile"],P={data:function(){return{visibleNumber:5,currentIndex:void 0}},computed:{theme:function(){return this.$store.state.settings.theme},topMenus:function(){var e=[];return this.routers.map((function(t){!0!==t.hidden&&("/"===t.path?e.push(t.children[0]):e.push(t))})),e},routers:function(){return this.$store.state.permission.topbarRouters},childrenMenus:function(){var e=this,t=[];return this.routers.map((function(n){for(var a in n.children)void 0===n.children[a].parentPath&&("/"===n.path?n.children[a].path="/"+n.children[a].path:e.ishttp(n.children[a].path)||(n.children[a].path=n.path+"/"+n.children[a].path),n.children[a].parentPath=n.path),t.push(n.children[a])})),D["a"].concat(t)},activeMenu:function(){var e=this.$route.path,t=e;if(void 0!==e&&e.lastIndexOf("/")>0&&-1===z.indexOf(e)){var n=e.substring(1,e.length);t="/"+n.substring(0,n.indexOf("/")),this.$store.dispatch("app/toggleSideBarHide",!1)}else this.$route.children||(t=e,this.$store.dispatch("app/toggleSideBarHide",!0));return this.activeRoutes(t),t}},beforeMount:function(){window.addEventListener("resize",this.setVisibleNumber)},beforeDestroy:function(){window.removeEventListener("resize",this.setVisibleNumber)},mounted:function(){this.setVisibleNumber()},methods:{setVisibleNumber:function(){var e=document.body.getBoundingClientRect().width/3;this.visibleNumber=parseInt(e/85)},handleSelect:function(e,t){this.currentIndex=e;var n=this.routers.find((function(t){return t.path===e}));this.ishttp(e)?window.open(e,"_blank"):n&&n.children?(this.activeRoutes(e),this.$store.dispatch("app/toggleSideBarHide",!1)):(this.$router.push({path:e}),this.$store.dispatch("app/toggleSideBarHide",!0))},activeRoutes:function(e){var t=[];this.childrenMenus&&this.childrenMenus.length>0&&this.childrenMenus.map((function(n){(e==n.parentPath||"index"==e&&""==n.path)&&t.push(n)})),t.length>0&&this.$store.commit("SET_SIDEBAR_ROUTERS",t)},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},B=P,V=(n("9b5e"),Object(p["a"])(B,L,N,!1,null,null,null)),H=V.exports,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},U=[],$={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},G=$,Y=(n("d49d"),Object(p["a"])(G,j,U,!1,null,"49e15297",null)),X=Y.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},q=[],Q=n("93bf"),W=n.n(Q),J={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!W.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;W.a.toggle()},change:function(){this.isFullscreen=W.a.isFullscreen},init:function(){W.a.isEnabled&&W.a.on("change",this.change)},destroy:function(){W.a.isEnabled&&W.a.off("change",this.change)}}},K=J,Z=(n("ad64"),Object(p["a"])(K,F,q,!1,null,"243c7c0f",null)),ee=Z.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},ne=[],ae=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),ie=ae,se=Object(p["a"])(ie,te,ne,!1,null,null,null),ce=se.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},le=[],re=n("2909"),ue=n("b85c"),de=(n("841c"),n("0278")),he=n.n(de),pe=n("df7c"),fe=n.n(pe),me={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this,n=e.path;if(this.ishttp(e.path)){var a=n.indexOf("http");window.open(n.substr(a,n.length),"_blank")}else this.$router.push(e.path);this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new he.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=[],s=Object(ue["a"])(e);try{for(s.s();!(t=s.n()).done;){var c=t.value;if(!c.hidden){var o={path:this.ishttp(c.path)?c.path:fe.a.resolve(n,c.path),title:Object(re["a"])(a)};if(c.meta&&c.meta.title&&(o.title=[].concat(Object(re["a"])(o.title),[c.meta.title]),"noRedirect"!==c.redirect&&i.push(o)),c.children){var l=this.generateRoutes(c.children,o.path,o.title);l.length>=1&&(i=[].concat(Object(re["a"])(i),Object(re["a"])(l)))}}}}catch(r){s.e(r)}finally{s.f()}return i},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},ve=me,be=(n("77fa"),Object(p["a"])(ve,oe,le,!1,null,"55552066",null)),we=be.exports,ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},_e=[],ye={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},Ee=ye,xe=Object(p["a"])(Ee,ge,_e,!1,null,null,null),Ce=xe.exports,Ae=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},Re=[],ke={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},Te=ke,Se=Object(p["a"])(Te,Ae,Re,!1,null,null,null),Oe=Se.exports,Ie={components:{Breadcrumb:M,TopNav:H,Hamburger:X,Screenfull:ee,SizeSelect:ce,Search:we,RuoYiGit:Ce,RuoYiDoc:Oe},computed:Object(o["a"])(Object(o["a"])({},Object(R["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(A["a"])(Object(C["a"])().mark((function t(){return Object(C["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){e.$router.push("/login?redirect=".concat(e.$route.fullPath))}))})).catch((function(){}));case 1:case"end":return t.stop()}}),t)})))()}}},Me=Ie,Le=(n("3080"),Object(p["a"])(Me,E,x,!1,null,"0557aae2",null)),Ne=Le.exports,De=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawer-container"},[a("div",[a("div",{staticClass:"setting-drawer-content"},[e._m(0),a("div",{staticClass:"setting-drawer-block-checbox"},[a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[a("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[a("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("主题颜色")]),a("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),a("el-divider"),a("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 TopNav")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.topNav,callback:function(t){e.topNav=t},expression:"topNav"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 Tags-Views")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("固定 Header")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("显示 Logo")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("动态标题")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.dynamicTitle,callback:function(t){e.dynamicTitle=t},expression:"dynamicTitle"}})],1),a("el-divider"),a("el-button",{attrs:{size:"small",type:"primary",plain:"",icon:"el-icon-document-add"},on:{click:e.saveSetting}},[e._v("保存配置")]),a("el-button",{attrs:{size:"small",plain:"",icon:"el-icon-refresh"},on:{click:e.resetSetting}},[e._v("重置配置")])],1)])},ze=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},Be=[],Ve=(n("fb6a"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("159b"),n("a15b"),n("b680"),n("f6f8").version),He="#409EFF",je={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(A["a"])(Object(C["a"])().mark((function n(){return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.setTheme(e);case 2:case"end":return n.stop()}}),n)})))()}},created:function(){this.defaultTheme!==He&&this.setTheme(this.defaultTheme)},methods:{setTheme:function(e){var t=this;return Object(A["a"])(Object(C["a"])().mark((function n(){var a,i,s,c,o,l,r;return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.chalk?t.theme:He,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(i=t.getThemeCluster(e.replace("#","")),s=t.getThemeCluster(a.replace("#","")),c=function(e,n){return function(){var a=t.getThemeCluster(He.replace("#","")),s=t.updateStyle(t[e],a,i),c=document.getElementById(n);c||(c=document.createElement("style"),c.setAttribute("id",n),document.head.appendChild(c)),c.innerText=s}},t.chalk){n.next=10;break}return o="https://unpkg.com/element-ui@".concat(Ve,"/lib/theme-chalk/index.css"),n.next=10,t.getCSSString(o,"chalk");case 10:l=c("chalk","chalk-style"),l(),r=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)})),r.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,s,i))})),t.$emit("change",e);case 15:case"end":return n.stop()}}),n)})))()},updateStyle:function(e,t,n){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),n[t])})),a},getCSSString:function(e,t){var n=this;return new Promise((function(a){var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&200===i.status&&(n[t]=i.responseText.replace(/@font-face{[^}]+}/,""),a())},i.open("GET",e),i.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return 0===t?[n,a,i].join(","):(n+=Math.round(t*(255-n)),a+=Math.round(t*(255-a)),i+=Math.round(t*(255-i)),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i))},n=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),i=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),a=Math.round((1-t)*a),i=Math.round((1-t)*i),n=n.toString(16),a=a.toString(16),i=i.toString(16),"#".concat(n).concat(a).concat(i)},a=[e],i=0;i<=9;i++)a.push(t(e,Number((i/10).toFixed(2))));return a.push(n(e,.1)),a}}},Ue=je,$e=(n("ea44"),Object(p["a"])(Ue,Pe,Be,!1,null,null,null)),Ge=$e.exports,Ye={components:{ThemePicker:Ge},data:function(){return{theme:this.$store.state.settings.theme,sideTheme:this.$store.state.settings.sideTheme}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"topNav",value:e}),e||(this.$store.dispatch("app/toggleSideBarHide",!1),this.$store.commit("SET_SIDEBAR_ROUTERS",this.$store.state.permission.defaultRoutes))}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}},dynamicTitle:{get:function(){return this.$store.state.settings.dynamicTitle},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"dynamicTitle",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e}),this.theme=e},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e}),this.sideTheme=e},saveSetting:function(){this.$modal.loading("正在保存到本地,请稍候..."),this.$cache.local.set("layout-setting",'{\n "topNav":'.concat(this.topNav,',\n "tagsView":').concat(this.tagsView,',\n "fixedHeader":').concat(this.fixedHeader,',\n "sidebarLogo":').concat(this.sidebarLogo,',\n "dynamicTitle":').concat(this.dynamicTitle,',\n "sideTheme":"').concat(this.sideTheme,'",\n "theme":"').concat(this.theme,'"\n }')),setTimeout(this.$modal.closeLoading(),1e3)},resetSetting:function(){this.$modal.loading("正在清除设置缓存并刷新,请稍候..."),this.$cache.local.remove("layout-setting"),setTimeout("window.location.reload()",1e3)}}},Xe=Ye,Fe=(n("15a7"),Object(p["a"])(Xe,De,ze,!1,null,"84da46fe",null)),qe=Fe.exports,Qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuColor:e.variables.menuLightColor,"unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},We=[],Je=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])])],1)],1)},Ke=[],Ze=(n("81a5"),n("8df1")),et=n.n(Ze),tt={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return et.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"机动车整车生物安全检查系统",logo:null}}},nt=tt,at=(n("735b"),Object(p["a"])(nt,Je,Ke,!1,null,"663603a1",null)),it=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item,e.item.children)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path,e.onlyOneChild.query)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},ct=[],ot=n("61f7"),lt={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,s=[];return a&&s.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&(i.length>5?s.push(e("span",{slot:"title",attrs:{title:i}},[i])):s.push(e("span",{slot:"title"},[i]))),s}},rt=lt,ut=Object(p["a"])(rt,a,i,!1,null,null,null),dt=ut.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},pt=[],ft={props:{to:{type:[String,Object],required:!0}},computed:{isExternal:function(){return Object(ot["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},mt=ft,vt=Object(p["a"])(mt,ht,pt,!1,null,null,null),bt=vt.exports,wt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},gt={name:"SidebarItem",components:{Item:dt,AppLink:bt},mixins:[wt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n||(n=[]);var a=n.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},e),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e,t){if(Object(ot["a"])(e))return e;if(Object(ot["a"])(this.basePath))return this.basePath;if(t){var n=JSON.parse(t);return{path:fe.a.resolve(this.basePath,e),query:n}}return fe.a.resolve(this.basePath,e)}}},_t=gt,yt=Object(p["a"])(_t,st,ct,!1,null,null,null),Et=yt.exports,xt={components:{SidebarItem:Et,Logo:it},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(R["c"])(["settings"])),Object(R["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return et.a},isCollapse:function(){return!this.sidebar.opened}})},Ct=xt,At=Object(p["a"])(Ct,Qe,We,!1,null,null,null),Rt=At.exports,kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-refresh-right"}),e._v(" 刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-close"}),e._v(" 关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 关闭其他")]),e.isFirstView()?e._e():n("li",{on:{click:e.closeLeftTags}},[n("i",{staticClass:"el-icon-back"}),e._v(" 关闭左侧")]),e.isLastView()?e._e():n("li",{on:{click:e.closeRightTags}},[n("i",{staticClass:"el-icon-right"}),e._v(" 关闭右侧")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 全部关闭")])])],1)},Tt=[],St=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},Ot=[],It=(n("c740"),4),Mt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,i=this.$parent.$refs.tag,s=null,c=null;if(i.length>0&&(s=i[0],c=i[i.length-1]),s===e)a.scrollLeft=0;else if(c===e)a.scrollLeft=a.scrollWidth-n;else{var o=i.findIndex((function(t){return t===e})),l=i[o-1],r=i[o+1],u=r.$el.offsetLeft+r.$el.offsetWidth+It,d=l.$el.offsetLeft-It;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var i=fe.a.resolve(n,e.path);a.push({fullPath:i,path:i,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var s=t.filterAffixTags(e.children,e.path);s.length>=1&&(a=[].concat(Object(re["a"])(a),Object(re["a"])(s)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ue["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(i){n.e(i)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ue["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(i),i.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(s){a.e(s)}finally{a.f()}}))},refreshSelectedTag:function(e){this.$tab.refreshPage(e)},closeSelectedTag:function(e){var t=this;this.$tab.closePage(e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeRightTags:function(){var e=this;this.$tab.closeRightPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeLeftTags:function(){var e=this;this.$tab.closeLeftPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$tab.closeOtherPage(this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$tab.closeAllPage().then((function(n){var a=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,i=this.$el.offsetWidth,s=i-n,c=t.clientX-a+15;this.left=c>s?s:c,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Pt=zt,Bt=(n("6022"),n("c32a"),Object(p["a"])(Pt,kt,Tt,!1,null,"15c1bde7",null)),Vt=Bt.exports,Ht=n("4360"),jt=document,Ut=jt.body,$t=992,Gt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Ht["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Ht["a"].dispatch("app/toggleDevice","mobile"),Ht["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Ut.getBoundingClientRect();return e.width-1<$t},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();Ht["a"].dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&Ht["a"].dispatch("app/closeSideBar",{withoutAnimation:!0})}}}},Yt={name:"Layout",components:{AppMain:y,Navbar:Ne,RightPanel:m,Settings:qe,Sidebar:Rt,TagsView:Vt},mixins:[Gt],computed:Object(o["a"])(Object(o["a"])({},Object(R["c"])({theme:function(e){return e.settings.theme},sideTheme:function(e){return e.settings.sideTheme},sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},needTagsView:function(e){return e.settings.tagsView},fixedHeader:function(e){return e.settings.fixedHeader}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}},variables:function(){return et.a}}),methods:{handleClickOutside:function(){this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}}},Xt=Yt,Ft=(n("3d22"),Object(p["a"])(Xt,s,c,!1,null,"7e9659ec",null));t["a"]=Ft.exports},c292:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-button",use:"icon-button-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},c32a:function(e,t,n){"use strict";n("1aae")},c38a:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return v}));var a=n("c7eb"),i=n("1da1"),s=n("b85c"),c=n("53ca");n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("d3b7"),n("b64b"),n("a15b"),n("1276");function o(e,t){if(0===arguments.length||!e)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(c["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/").replace("T"," ").replace(new RegExp(/\.[\d]{3}/gm),"")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var i={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},s=a.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=i[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return s}function l(e){this.$refs[e]&&this.$refs[e].resetFields()}function r(e,t,n){var a=e;return a.params="object"!==Object(c["a"])(a.params)||null===a.params||Array.isArray(a.params)?{}:a.params,t=Array.isArray(t)?t:[],"undefined"===typeof n?(a.params["beginTime"]=t[0],a.params["endTime"]=t[1]):(a.params["begin"+n]=t[0],a.params["end"+n]=t[1]),a}function u(e,t){if(void 0===t)return"";var n=[];return Object.keys(e).some((function(a){if(e[a].value==""+t)return n.push(e[a].label),!0})),0===n.length&&n.push(t),n.join("")}function d(e,t,n){if(void 0===t)return"";var a=[],i=void 0===n?",":n,s=t.split(i);return Object.keys(t.split(i)).some((function(t){var n=!1;Object.keys(e).some((function(c){e[c].value==""+s[t]&&(a.push(e[c].label+i),n=!0)})),n||a.push(s[t]+i)})),a.join("").substring(0,a.join("").length-1)}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function p(e,t){for(var n in t)try{t[n].constructor==Object?e[n]=p(e[n],t[n]):e[n]=t[n]}catch(a){e[n]=t[n]}return e}function f(e,t,n,a){var i,c={id:t||"id",parentId:n||"parentId",childrenList:a||"children"},o={},l={},r=[],u=Object(s["a"])(e);try{for(u.s();!(i=u.n()).done;){var d=i.value,h=d[c.parentId];null==o[h]&&(o[h]=[]),l[d[c.id]]=d,o[h].push(d)}}catch(y){u.e(y)}finally{u.f()}var p,f=Object(s["a"])(e);try{for(f.s();!(p=f.n()).done;){var m=p.value,v=m[c.parentId];null==l[v]&&r.push(m)}}catch(y){f.e(y)}finally{f.f()}for(var b=0,w=r;b'});c.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},d08d:function(e,t,n){"use strict";n("f0ee")},d20b:function(e,t,n){"use strict";n("b7b5")},d464:function(e,t,n){},d49d:function(e,t,n){"use strict";n("da64")},d7a0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(o);t["default"]=o},d8c8:function(e,t,n){"use strict";n("db55")},da64:function(e,t,n){},da75:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},db55:function(e,t,n){},dc13:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},dce4:function(e,t,n){"use strict";n("d3b7");var a=n("4360");function i(e){var t="*:*:*",n=a["a"].getters&&a["a"].getters.permissions;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}function s(e){var t="admin",n=a["a"].getters&&a["a"].getters.roles;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}t["a"]={hasPermi:function(e){return i(e)},hasPermiOr:function(e){return e.some((function(e){return i(e)}))},hasPermiAnd:function(e){return e.every((function(e){return i(e)}))},hasRole:function(e){return s(e)},hasRoleOr:function(e){return e.some((function(e){return s(e)}))},hasRoleAnd:function(e){return e.every((function(e){return s(e)}))}}},df36:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},e218:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},e2a5:function(e,t,n){},e3ff:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},e82a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},ea44:function(e,t,n){"use strict";n("a543")},ed00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return d}));n("53ca"),n("ac1f"),n("5319"),n("a15b"),n("d81d"),n("b64b"),n("d3b7"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("6062"),n("ddb0"),n("25f0"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("00b4"),n("c38a");function a(e,t,n){var a,i,s,c,o,l=function l(){var r=+new Date-c;r0?a=setTimeout(l,t-r):(a=null,n||(o=e.apply(s,i),a||(s=i=null)))};return function(){for(var i=arguments.length,r=new Array(i),u=0;u'});c.a.add(o);t["default"]=o},f29d:function(e,t,n){},f71f:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),i=n.n(a),s=n("21a1"),c=n.n(s),o=new i.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js.gz new file mode 100644 index 00000000..cba3ea73 Binary files /dev/null and b/car-check/carcheck-admin/src/main/resources/public/static/js/app.6ac74417.js.gz differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js new file mode 100644 index 00000000..4b78c1d4 --- /dev/null +++ b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b68f8"],{"1e4b":function(e,l,i){"use strict";i.r(l);var o=function(){var e=this,l=e.$createElement,i=e._self._c||l;return i("div",{staticClass:"app-container home"},[i("h1",[e._v("机动车整车生物安全检查系统")]),i("el-card",{staticClass:"update-log"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[e._v("更新日志")])]),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.9",title:"V1.0.9 - 2024.08.27"}},[i("ol",[i("li",[e._v(" 新增:管控台--\x3e车辆预录信息功能:删除已生效的预录单,并删除对应的车辆清单、委托单及检查信息")]),i("li",[e._v(" 新增:管控台--\x3e车辆检查信息功能:删除车辆信息")]),i("li",[e._v(" 新增:管控台--\x3e委托单信息功能:新增批量导入车辆功能")]),i("li",[e._v(" 新增:管控台--\x3e委托单信息功能:新增强制完成功能")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查清单功能:增加车型,涉及查询列表、详情、导出表1和表2")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查清单功能:优化导出检查图片大文件功能")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.8",title:"V1.0.8 - 2023.11.29"}},[i("ol",[i("li",[e._v(" 优化:管控台--\x3e客户、兄弟公司角色登录系统,车辆检查管理数据展示")]),i("li",[e._v(" 优化:管控台--\x3e考虑下载大量车辆图片时间长,调整会话时间为60分钟")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.7",title:"V1.0.7 - 2023.10.20"}},[i("ol",[i("li",[e._v(" 优化:APP--\x3e新增污染物,优化照片上传及提交数据")]),i("li",[e._v(" 优化:APP--\x3e新增、编辑、删除污染物,历史数据完整性优化")]),i("li",[e._v(" 优化:APP--\x3e所有接口兼容适配“不同委托单可以导入同VIN码车辆”")]),i("li",[e._v(" 优化:管控台--\x3e车辆预录信息页面,导入车辆信息,改为“不同预录单可以导入同VIN码车辆”")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查信息页面,增加“数据来源”查询条件(人工导入、app导入、预录导入)")]),i("li",[e._v(" 优化:管控台--\x3e委托单信息页面,新增车辆,标识数据来源为“人工导入”")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查清单页面,跨天的同台车做检查情况,导出照片合并到查询条件“检查时间”对应的日期目录下")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.6",title:"V1.0.6 - 2023.09.28"}},[i("ol",[i("li",[e._v(" 优化:APP--\x3e提交污染物,增加非空判断")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.5",title:"V1.0.5 - 2023.09.22"}},[i("ol",[i("li",[e._v("优化:APP--\x3e车辆照片预览,优化为滑动切换效果")]),i("li",[e._v("优化:APP--\x3e首页,按照委托单生成时间倒序排列")]),i("li",[e._v("优化:APP--\x3e扫码时,“该车不在本批次内”情况下闪退问题")]),i("li",[e._v("优化:APP--\x3e底盘检查的数量统计只有一个数字,应该有总数和NG数")]),i("li",[e._v("优化:APP--\x3e上传8张以上照片情况下闪退问题")]),i("li",[e._v("优化:管控台--\x3e车辆照片预览,优化为上下切换效果")]),i("li",[e._v("优化:管控台--\x3e预录信息列表,按照导入时间倒序排列,未生效数据置顶")]),i("li",[e._v("优化:管控台--\x3e委托单信息列表,增加生效时间,按照委托单按照生成时间倒序排列")]),i("li",[e._v("优化:管控台--\x3e车辆检查信息页面,复检场地展示问题修复")]),i("li",[e._v("增加:管控台--\x3e检查清单页面,增加“检查员”查询条件")]),i("li",[e._v("新增:管控台--\x3e数据隔离:只提供以下功能给兄弟公司:委托单信息、车辆检查信息、车辆检查清单、点检记录,且可编辑、查看、导出")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.4",title:"V1.0.4 - 2023.09.15"}},[i("ol",[i("li",[e._v("优化:APP--\x3e委托单详情页面,列表数据,按照检查时间倒序排列,新增车辆置顶")]),i("li",[e._v("优化:管控台--\x3e点检记录页面,发现这台车在点检记录里底盘和车身均无检查记录,但是在检查检测清单里有")]),i("li",[e._v("优化:管控台--\x3e登录页面,验证码调清晰点,现在不容易看清楚")]),i("li",[e._v("优化:管控台--\x3e车辆检查清单导出表,表1,2:表头和数据中英文分开")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.3",title:"V1.0.3 - 2023.09.13"}},[i("ol",[i("li",[e._v("优化:APP--\x3eoppo和摩托的权限问题")]),i("li",[e._v("优化:管控台--\x3e汽车检查页面,如果委托单已关闭,对应的车辆均不可以修改")]),i("li",[e._v("优化:管控台--\x3e汽车检查清单页面,导出照片功能,WinRAR打不开问题")]),i("li",[e._v("优化:管控台--\x3e汽车检查清单页面,导出照片功能,个别照片无法打开问题")]),i("li",[e._v("优化:管控台、APP后台--\x3esonar扫描,代码优化")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.2",title:"V1.0.2 - 2023.09.08"}},[i("ol",[i("li",[e._v("新增:APP--\x3e委托单详情页,显示已检及本账号已检车辆数量,能否区分已检的有NG车数量,无NG车数量")]),i("li",[e._v("优化:APP--\x3e扫码不存在车辆时,委托单位名称显示问题")]),i("li",[e._v("优化:APP--\x3e委托单详情页,待检车辆VIN码有重复显示问题")]),i("li",[e._v("新增:管控台--\x3e车辆检查清单页,统计车辆数量,显示车辆总数,有ng总数,无ng总数")]),i("li",[e._v("优化:管控台--\x3e所有查询页面,查询条件除了选择类条件,其他都改为模糊查询")]),i("li",[e._v("优化:管控台--\x3e车辆检查清单页,照片导出时增加进度条显示;解决10M带宽限制导致的无法下载问题")]),i("li",[e._v("优化:管控台--\x3e表3表头文字修改")]),i("li",[e._v("优化:管控台--\x3e检验员、检查场地页面,检查单位查询条件初始提示文字修改")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.1",title:"V1.0.1 - 2023.09.05"}},[i("ol",[i("li",[e._v("优化:委托单详情页,需要查询到当前页面未显示数据")]),i("li",[e._v("优化:污染物详情页,“编辑”、“删除”、图片右上角叉号尺寸调整大一些,编辑和删除图标拿掉")]),i("li",[e._v("优化:委托单详情页,在核实已检车辆情况时有闪退情况")]),i("li",[e._v("优化:扫码两辆车信息错乱")]),i("li",[e._v("优化:做复检检查时,本账号已检有异常数据")]),i("li",[e._v("优化:污染物新增、编辑页面,上传图片失败,页面不应展示图片")]),i("li",[e._v("优化:管控台车辆检查清单,导出表1、表2、图片时,必选条件有委托单号和船名航次,其他根据需要选择")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.0",title:"V1.0.0 - 2023.08.29"}},[i("ol",[i("li",[e._v("机动车整车生物安全检查系统正式发布")])])])],1)],1)],1)},a=[],s={name:"Index",data:function(){return{version:"1.0.9"}},methods:{}},n=s,t=i("2877"),v=Object(t["a"])(n,o,a,!1,null,null,null);l["default"]=v.exports}}]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js.gz new file mode 100644 index 00000000..9747faef Binary files /dev/null and b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.847e879e.js.gz differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js deleted file mode 100644 index b956f90b..00000000 --- a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b68f8"],{"1e4b":function(e,l,i){"use strict";i.r(l);var o=function(){var e=this,l=e.$createElement,i=e._self._c||l;return i("div",{staticClass:"app-container home"},[i("h1",[e._v("机动车整车生物安全检查系统")]),i("el-card",{staticClass:"update-log"},[i("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[i("span",[e._v("更新日志")])]),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.8",title:"V1.0.8 - 2023.11.29"}},[i("ol",[i("li",[e._v(" 优化:管控台--\x3e客户、兄弟公司角色登录系统,车辆检查管理数据展示")]),i("li",[e._v(" 优化:管控台--\x3e考虑下载大量车辆图片时间长,调整会话时间为60分钟")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.7",title:"V1.0.7 - 2023.10.20"}},[i("ol",[i("li",[e._v(" 优化:APP--\x3e新增污染物,优化照片上传及提交数据")]),i("li",[e._v(" 优化:APP--\x3e新增、编辑、删除污染物,历史数据完整性优化")]),i("li",[e._v(" 优化:APP--\x3e所有接口兼容适配“不同委托单可以导入同VIN码车辆”")]),i("li",[e._v(" 优化:管控台--\x3e车辆预录信息页面,导入车辆信息,改为“不同预录单可以导入同VIN码车辆”")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查信息页面,增加“数据来源”查询条件(人工导入、app导入、预录导入)")]),i("li",[e._v(" 优化:管控台--\x3e委托单信息页面,新增车辆,标识数据来源为“人工导入”")]),i("li",[e._v(" 优化:管控台--\x3e车辆检查清单页面,跨天的同台车做检查情况,导出照片合并到查询条件“检查时间”对应的日期目录下")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.6",title:"V1.0.6 - 2023.09.28"}},[i("ol",[i("li",[e._v(" 优化:APP--\x3e提交污染物,增加非空判断")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.5",title:"V1.0.5 - 2023.09.22"}},[i("ol",[i("li",[e._v("优化:APP--\x3e车辆照片预览,优化为滑动切换效果")]),i("li",[e._v("优化:APP--\x3e首页,按照委托单生成时间倒序排列")]),i("li",[e._v("优化:APP--\x3e扫码时,“该车不在本批次内”情况下闪退问题")]),i("li",[e._v("优化:APP--\x3e底盘检查的数量统计只有一个数字,应该有总数和NG数")]),i("li",[e._v("优化:APP--\x3e上传8张以上照片情况下闪退问题")]),i("li",[e._v("优化:管控台--\x3e车辆照片预览,优化为上下切换效果")]),i("li",[e._v("优化:管控台--\x3e预录信息列表,按照导入时间倒序排列,未生效数据置顶")]),i("li",[e._v("优化:管控台--\x3e委托单信息列表,增加生效时间,按照委托单按照生成时间倒序排列")]),i("li",[e._v("优化:管控台--\x3e车辆检查信息页面,复检场地展示问题修复")]),i("li",[e._v("增加:管控台--\x3e检查清单页面,增加“检查员”查询条件")]),i("li",[e._v("新增:管控台--\x3e数据隔离:只提供以下功能给兄弟公司:委托单信息、车辆检查信息、车辆检查清单、点检记录,且可编辑、查看、导出")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.4",title:"V1.0.4 - 2023.09.15"}},[i("ol",[i("li",[e._v("优化:APP--\x3e委托单详情页面,列表数据,按照检查时间倒序排列,新增车辆置顶")]),i("li",[e._v("优化:管控台--\x3e点检记录页面,发现这台车在点检记录里底盘和车身均无检查记录,但是在检查检测清单里有")]),i("li",[e._v("优化:管控台--\x3e登录页面,验证码调清晰点,现在不容易看清楚")]),i("li",[e._v("优化:管控台--\x3e车辆检查清单导出表,表1,2:表头和数据中英文分开")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.3",title:"V1.0.3 - 2023.09.13"}},[i("ol",[i("li",[e._v("优化:APP--\x3eoppo和摩托的权限问题")]),i("li",[e._v("优化:管控台--\x3e汽车检查页面,如果委托单已关闭,对应的车辆均不可以修改")]),i("li",[e._v("优化:管控台--\x3e汽车检查清单页面,导出照片功能,WinRAR打不开问题")]),i("li",[e._v("优化:管控台--\x3e汽车检查清单页面,导出照片功能,个别照片无法打开问题")]),i("li",[e._v("优化:管控台、APP后台--\x3esonar扫描,代码优化")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.2",title:"V1.0.2 - 2023.09.08"}},[i("ol",[i("li",[e._v("新增:APP--\x3e委托单详情页,显示已检及本账号已检车辆数量,能否区分已检的有NG车数量,无NG车数量")]),i("li",[e._v("优化:APP--\x3e扫码不存在车辆时,委托单位名称显示问题")]),i("li",[e._v("优化:APP--\x3e委托单详情页,待检车辆VIN码有重复显示问题")]),i("li",[e._v("新增:管控台--\x3e车辆检查清单页,统计车辆数量,显示车辆总数,有ng总数,无ng总数")]),i("li",[e._v("优化:管控台--\x3e所有查询页面,查询条件除了选择类条件,其他都改为模糊查询")]),i("li",[e._v("优化:管控台--\x3e车辆检查清单页,照片导出时增加进度条显示;解决10M带宽限制导致的无法下载问题")]),i("li",[e._v("优化:管控台--\x3e表3表头文字修改")]),i("li",[e._v("优化:管控台--\x3e检验员、检查场地页面,检查单位查询条件初始提示文字修改")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.1",title:"V1.0.1 - 2023.09.05"}},[i("ol",[i("li",[e._v("优化:委托单详情页,需要查询到当前页面未显示数据")]),i("li",[e._v("优化:污染物详情页,“编辑”、“删除”、图片右上角叉号尺寸调整大一些,编辑和删除图标拿掉")]),i("li",[e._v("优化:委托单详情页,在核实已检车辆情况时有闪退情况")]),i("li",[e._v("优化:扫码两辆车信息错乱")]),i("li",[e._v("优化:做复检检查时,本账号已检有异常数据")]),i("li",[e._v("优化:污染物新增、编辑页面,上传图片失败,页面不应展示图片")]),i("li",[e._v("优化:管控台车辆检查清单,导出表1、表2、图片时,必选条件有委托单号和船名航次,其他根据需要选择")])])])],1),i("el-collapse",{attrs:{accordion:""},model:{value:e.version,callback:function(l){e.version=l},expression:"version"}},[i("el-collapse-item",{attrs:{name:"1.0.0",title:"V1.0.0 - 2023.08.29"}},[i("ol",[i("li",[e._v("机动车整车生物安全检查系统正式发布")])])])],1)],1)],1)},a=[],s={name:"Index",data:function(){return{version:"1.0.8"}},methods:{}},n=s,t=i("2877"),v=Object(t["a"])(n,o,a,!1,null,null,null);l["default"]=v.exports}}]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js.gz deleted file mode 100644 index 58255f2f..00000000 Binary files a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-2d0b68f8.ba7d8ead.js.gz and /dev/null differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js new file mode 100644 index 00000000..a16064f1 --- /dev/null +++ b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4c9f8af4"],{"01cf":function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"e",(function(){return s})),a.d(t,"c",(function(){return o})),a.d(t,"b",(function(){return l})),a.d(t,"f",(function(){return c}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/inspectDetail/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/inspectDetail/countCar",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/outer/company/inspectDetail/list",method:"get",params:e})}function o(e){return Object(r["a"])({url:"/business/inspectDetail/getDetailInfo",method:"get",params:e})}function l(e){return Object(r["a"])({url:"/business/inspectDetail/exportSum2",method:"get",params:e,responseType:"blob"})}function c(e,t){return Object(r["a"])({url:"/business/inspectDetail/download/zipImages",method:"get",params:e,config:t})}},"0ba9":function(e,t,a){},1009:function(e,t,a){"use strict";a("0ba9")},"684f":function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"g",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"f",(function(){return u}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/inspector/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/inspector/listWithNoPermission",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/business/inspector/"+e,method:"get"})}function o(e){return Object(r["a"])({url:"/business/inspector",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/business/inspector",method:"put",data:e})}function c(e){return Object(r["a"])({url:"/business/inspector/"+e,method:"delete"})}function u(e,t){var a={id:e,password:t};return Object(r["a"])({url:"/business/inspector/resetPwd ",method:"put",data:a})}},"7bd8":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{inline:!0,model:e.queryParams,"label-width":"120px",size:"small"}},[a("el-form-item",{attrs:{label:"检查单位",prop:"inspectOrgId"}},[a("treeselect",{staticStyle:{width:"350px"},attrs:{options:e.deptOptions,"show-count":!0,defaultExpandLevel:1/0,placeholder:"请选择检查单位"},on:{input:e.handleDeptChange},model:{value:e.queryParams.inspectOrgId,callback:function(t){e.$set(e.queryParams,"inspectOrgId",t)},expression:"queryParams.inspectOrgId"}})],1),a("el-form-item",{attrs:{label:"检查员",prop:"inspectUserId"}},[a("el-select",{attrs:{placeholder:"请选择检查员",clearable:""},on:{focus:e.inspectUserChange},model:{value:e.queryParams.inspectUserId,callback:function(t){e.$set(e.queryParams,"inspectUserId",t)},expression:"queryParams.inspectUserId"}},e._l(e.inspectUserIdList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.username,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"委托单号",prop:"orderId"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入委托单号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.orderId,callback:function(t){e.$set(e.queryParams,"orderId",t)},expression:"queryParams.orderId"}})],1),a("el-form-item",{attrs:{label:"委托单位",prop:"companyId"}},[a("el-select",{attrs:{placeholder:"请选择委托单位",clearable:""},model:{value:e.queryParams.companyId,callback:function(t){e.$set(e.queryParams,"companyId",t)},expression:"queryParams.companyId"}},e._l(e.companyList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.companyName,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"船名航次",prop:"shipName"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入船名航次"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.shipName,callback:function(t){e.$set(e.queryParams,"shipName",t)},expression:"queryParams.shipName"}})],1),a("el-form-item",{attrs:{label:"车架号",prop:"carVin"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入车架号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.carVin,callback:function(t){e.$set(e.queryParams,"carVin",t)},expression:"queryParams.carVin"}})],1),a("el-form-item",{attrs:{label:"检查类型",prop:"checkType"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择检查类型"},model:{value:e.queryParams.checkType,callback:function(t){e.$set(e.queryParams,"checkType",t)},expression:"queryParams.checkType"}},e._l(e.dict.type.inspect_object,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"是否发现污染物",prop:"pollutantFlag"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.queryParams.pollutantFlag,callback:function(t){e.$set(e.queryParams,"pollutantFlag",t)},expression:"queryParams.pollutantFlag"}},e._l(e.dict.type.exist_pollutant,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"清理是否",prop:"cleanFlag"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.queryParams.cleanFlag,callback:function(t){e.$set(e.queryParams,"cleanFlag",t)},expression:"queryParams.cleanFlag"}},e._l(e.dict.type.clean_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"检查时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:e.queryParams.inspectTime,callback:function(t){e.$set(e.queryParams,"inspectTime",t)},expression:"queryParams.inspectTime"}})],1),a("el-form-item",{attrs:{label:"检查车辆总数"}},[a("el-tag",{staticStyle:{width:"213px"},attrs:{type:"info"}},[a("span",{staticStyle:{color:"#e21512","font-weight":"600"}},[e._v(e._s(e.countCarArr.totalCount)+"辆")])])],1),a("el-form-item",{attrs:{label:"有NG车辆总数"}},[a("el-tag",{staticStyle:{width:"213px"},attrs:{type:"info"}},[a("span",{staticStyle:{color:"#e21512","font-weight":"600"}},[e._v(e._s(e.countCarArr.ngCount)+"辆")])])],1),a("el-form-item",[a("el-button",{attrs:{icon:"el-icon-search",size:"mini",type:"primary"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:export"],expression:"['business:inspectDetail:export']"}],attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handledetaExport}},[e._v("导出检查情况清单(详细) ")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:exportSum"],expression:"['business:inspectDetail:exportSum']"}],attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handleExport}},[e._v("导出检查情况清单 ")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:exportImages"],expression:"['business:inspectDetail:exportImages']"}],attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handlezipImages}},[e._v("导出图片 ")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.inspectDetailList}},[a("el-table-column",{attrs:{align:"center",label:"检查单位",prop:"inspectOrgName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"委托单号",prop:"orderId","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"委托单位",prop:"companyName","show-overflow-tooltip":"",width:"100"}}),a("el-table-column",{attrs:{align:"center",label:"船名航次",prop:"shipName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"车架号",prop:"carVin","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"车型",prop:"carModel","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",label:"检查类型",prop:"checkType","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.inspect_object,value:t.row.checkType}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"是否发现污染物",prop:"pollutantFlag","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:t.row.pollutantFlag}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"清理与否",prop:"cleanFlag","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.clean_status,value:t.row.cleanFlag}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"NG部位",prop:"inspectPartFirstName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"NG具体部位",prop:"inspectPartSecondName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物种类",prop:"pollutantTypeName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物具体种类",prop:"pollutantDetailTypeName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物具体描述",prop:"pollutantDetailDescName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"检查场地",prop:"inspectSiteName","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",label:"检查员",prop:"inspectUserName","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",label:"检查时间",prop:"inspectTime","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.inspectTime)))])]}}])}),a("el-table-column",{attrs:{fixed:"right",align:"center","class-name":"small-padding fixed-width",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:query"],expression:"['business:inspectDetail:query']"}],attrs:{icon:"el-icon-document",size:"mini",type:"text"},on:{click:function(a){return e.handleDate(t.row)}}},[e._v("检查详情 ")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{limit:e.queryParams.pageSize,page:e.queryParams.pageNum,total:e.total},on:{"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":"",width:"850px"},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[a("div",[a("el-descriptions",{staticClass:"margin-top",attrs:{column:2,title:"基本信息"}},[a("el-descriptions-item",{attrs:{label:"检查单位"}},[e._v(e._s(e.form.inspectOrgName)+" ")]),a("el-descriptions-item",{attrs:{label:"委托单号"}},[e._v(e._s(e.form.orderId)+" ")]),a("el-descriptions-item",{attrs:{label:"委托单位"}},[e._v(e._s(e.form.companyName)+" ")]),a("el-descriptions-item",{attrs:{label:"船名航次"}},[e._v(e._s(e.form.shipName)+" ")]),a("el-descriptions-item",{attrs:{label:"车架号 (VIN) "}},[e._v(e._s(e.form.carVin)+" ")]),a("el-descriptions-item",{attrs:{label:"车型"}},[e._v(e._s(e.form.carModel)+" ")]),a("el-descriptions-item",{attrs:{label:"检查员"}},[e._v(e._s(e.form.inspectUserName)+" ")]),a("el-descriptions-item",{attrs:{label:"检查场地"}},[e._v(e._s(e.form.inspectSiteName)+" ")]),a("el-descriptions-item",{attrs:{label:"检查对象"}},[a("dict-tag",{attrs:{options:e.dict.type.inspect_object,value:e.form.checkType}})],1),a("el-descriptions-item",{attrs:{label:"检查时间"}},[e._v(e._s(e.form.inspectTime)+" ")])],1)],1),a("div",{staticStyle:{"border-top":"2px dashed #ccc","padding-top":"25px"}},["00"==e.form.pollutantFlag?a("el-descriptions",{attrs:{title:"污染物信息",column:1}},[a("el-descriptions-item",{attrs:{label:"NG部位"}},[e._v(e._s(e.form.inspectPartFirstName)+" ")]),a("el-descriptions-item",{attrs:{label:"NG具体部位"}},[e._v(e._s(e.form.inspectPartSecondName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物种类"}},[e._v(e._s(e.form.pollutantTypeName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物具体种类"}},[e._v(e._s(e.form.pollutantDetailTypeName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物具体描述"}},[e._v(e._s(e.form.pollutantDetailDescName)+" ")]),a("el-descriptions-item",{attrs:{label:"是否清理"}},[a("dict-tag",{attrs:{options:e.dict.type.clean_status,value:e.form.cleanFlag}})],1),a("el-descriptions-item",{attrs:{label:"是否有污染物"}},[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:e.form.pollutantFlag}})],1),a("el-descriptions-item",{attrs:{label:"检查图片"}},[a("ul",{staticClass:"imglist"},e._l(e.form.imgs,(function(t){return a("li",{key:t.index},[a("img",{attrs:{alt:t,src:t},on:{click:function(a){return e.showimg(t)}}})])})),0)])],1):e._e(),"01"==e.form.pollutantFlag?a("el-descriptions",{attrs:{title:"污染物信息",column:1}},[a("el-descriptions-item",{attrs:{label:"是否有污染物"}},[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:e.form.pollutantFlag}})],1),a("el-descriptions-item",{attrs:{label:"检查图片"}},[a("ul",{staticClass:"imglist"},e._l(e.form.imgs,(function(t){return a("li",{key:t.index},[a("img",{attrs:{alt:t,src:t},on:{click:function(a){return e.showimg(t)}}})])})),0)])],1):e._e()],1)])],1),a("el-dialog",{attrs:{title:"查看图片",visible:e.opens,"append-to-body":"",width:"850px"},on:{"update:visible":function(t){e.opens=t}}},[a("div",{staticStyle:{position:"relative",overflow:"hidden",height:"700px",margin:"0 auto","text-align":"center"}},[a("img",{style:{zoom:e.zoom,height:"700px",transform:"translate("+e.x+"px,"+e.y+"px)"},attrs:{draggable:"false",src:e.imgurl,id:"pic"},on:{mousewheel:function(t){return e.change_img(t)},mousedown:function(t){return e.mousedown(t)}}})]),e.form.imgs.length>1?a("div",{staticStyle:{"text-align":"right",padding:"15px 0"}},[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.imgurlReduce}},[e._v("上一张")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.imgurlAdd}},[e._v("下一张")])],1):e._e()]),a("el-dialog",{attrs:{title:"下载进度",visible:e.percentageopen,"append-to-body":"",width:"500px"},on:{"update:visible":function(t){e.percentageopen=t}}},[a("el-progress",{attrs:{percentage:e.percentage}})],1)],1)},n=[],i=a("5530"),s=(a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("9861"),a("01cf")),o=a("c3a4"),l=a("684f"),c=a("fcb7"),u=a("ca17"),p=a.n(u),m=(a("542c"),a("bc3a")),d=a.n(m),h=a("5c96"),f={name:"InspectDetail",components:{Treeselect:p.a},dicts:["clean_status","exist_pollutant","inspect_object","clean_status"],data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,inspectDetailList:[],title:"",open:!1,opens:!1,imgurl:"",countCarArr:{},queryParams:{pageNum:1,pageSize:10,shipName:"",orderId:"",carVin:"",companyId:"",orgId:"",chassisInspectStatus:"",carBodyInspectStatus:"",inspectTime:"",pollutantFlag:"",cleanFlag:""},percentageopen:!1,percentage:0,companyList:[],inspectUserIdList:[],deptOptions:[],form:{imgs:[]},rules:{},zoom:1,x:0,y:0,startx:"",starty:"",endx:0,endy:0}},created:function(){this.getquery(),this.getTreeselect(),this.getList()},watch:{$route:function(){this.getquery(),this.getList()}},methods:{change_img:function(e){e.deltaY<0?this.zoom++:this.zoom--},mousedown:function(e){this.startx=e.pageX,this.starty=e.pageY,document.addEventListener("mousemove",this.mousemove),document.addEventListener("mouseup",this.mouseup)},mousemove:function(e){this.x=e.pageX-this.startx+this.endx,this.y=e.pageY-this.starty+this.endy},mouseup:function(){document.removeEventListener("mousemove",this.mousemove,!1),this.endx=this.x,this.endy=this.y},closePic:function(){this.x=0,this.y=0,this.zoom=1,this.endx=0,this.endy=0},getTreeselect:function(){var e=this;Object(c["g"])().then((function(t){e.deptOptions=t.data}));var t={pageNum:1,pageSize:1e3,status:"00"};Object(o["e"])(t).then((function(t){e.companyList=t.data}))},handleDeptChange:function(e){var t=this;if(this.inspectUserIdList=[],void 0!=e){var a={pageNum:1,pageSize:1e3,orgId:e,status:"00"};Object(l["e"])(a).then((function(e){t.inspectUserIdList=e.data}))}},inspectUserChange:function(){void 0!=this.queryParams.inspectOrgId||this.$message.error("请选选择检查单位")},getquery:function(){var e=this.$route.query.shipName;this.queryParams.shipName=e;var t=this.$route.query.carVin;this.queryParams.carVin=t;var a=this.$route.query.orderId;this.queryParams.orderId=a},getList:function(){var e=this;this.loading=!0,Object(s["d"])(this.queryParams).then((function(t){e.inspectDetailList=t.rows,e.total=t.total,e.loading=!1})),Object(s["a"])(this.queryParams).then((function(t){e.countCarArr=t.data}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={imgs:[]},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.queryParams={pageNum:1,pageSize:10,shipName:"",orderId:"",carVin:"",companyId:"",orgId:"",chassisInspectStatus:"",carBodyInspectStatus:"",inspectOrgId:null,inspectTime:""},this.resetForm("queryForm"),this.handleQuery()},handleDate:function(e){var t=this;this.reset();var a=e.id||this.ids;Object(s["c"])({id:a}).then((function(e){t.form=e.data,t.open=!0,t.title="车辆检查详情"}))},showimg:function(e){this.opens=!0,this.imgurl=e,this.closePic()},imgurlAdd:function(){for(var e=0;e0){var a=e-1;return void(this.imgurl=this.form.imgs[a])}}}},handleExport:function(){var e=this;if(this.queryParams.orderId)if(this.queryParams.shipName){var t=this.queryParams;Object(s["b"])(t).then((function(t){var a=e.$store.filename.split(";")[1].split("filename=")[1],r=new Blob([t],{type:"application/vnd.ms-excel;charset=utf-8"}),n=document.createElement("a"),i=window.URL.createObjectURL(r);n.href=i,n.download=decodeURIComponent("表2-装船前生物安全风险检验情况清单"+a),document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(i)}))}else this.$message.error("船名航次不能为空");else this.$message.error("委托单号不能为空")},handlezipImages:function(){if(this.queryParams.orderId)if(this.queryParams.shipName){var e=this.queryParams,t=h["Loading"].service({text:"正在压缩数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),a=18e5;d.a.get("/business/inspectDetail/download/zipImages",{params:e,timeout:a,headers:{"Content-Type":"application/json;charset=UTF-8"}}).then((function(e){t.close();var a="/business/inspectDetail/download/"+e.data.data;window.open(a,"_blank")}))}else this.$message.error("船名航次不能为空");else this.$message.error("委托单号不能为空")},handledetaExport:function(){this.queryParams.orderId?this.queryParams.shipName?this.download("business/inspectDetail/exportDetail",Object(i["a"])({},this.queryParams),"表1 - 装船前生物安全风险检验情况清单(详细)_".concat((new Date).getTime(),".xlsx")):this.$message.error("船名航次不能为空"):this.$message.error("委托单号不能为空")}}},b=f,g=(a("1009"),a("8289"),a("2877")),y=Object(g["a"])(b,r,n,!1,null,"2cb805f7",null);t["default"]=y.exports},8289:function(e,t,a){"use strict";a("ab08")},ab08:function(e,t,a){},c3a4:function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"f",(function(){return l})),a.d(t,"b",(function(){return c}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/company/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/company/listWithNoPermission",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/business/company/"+e,method:"get"})}function o(e){return Object(r["a"])({url:"/business/company",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/business/company",method:"put",data:e})}function c(e){return Object(r["a"])({url:"/business/company/"+e,method:"delete"})}},fcb7:function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"g",(function(){return o})),a.d(t,"f",(function(){return l})),a.d(t,"a",(function(){return c})),a.d(t,"h",(function(){return u})),a.d(t,"b",(function(){return p}));var r=a("b775");function n(e){return Object(r["a"])({url:"/system/dept/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/system/dept/list/exclude/"+e,method:"get"})}function s(e){return Object(r["a"])({url:"/system/dept/"+e,method:"get"})}function o(){return Object(r["a"])({url:"/system/dept/treeselect",method:"get"})}function l(e){return Object(r["a"])({url:"/system/dept/roleDeptTreeselect/"+e,method:"get"})}function c(e){return Object(r["a"])({url:"/system/dept",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/system/dept",method:"put",data:e})}function p(e){return Object(r["a"])({url:"/system/dept/"+e,method:"delete"})}}}]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js.gz new file mode 100644 index 00000000..c479d2a5 Binary files /dev/null and b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-4c9f8af4.d6065028.js.gz differ diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js deleted file mode 100644 index 210567aa..00000000 --- a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fe53be1a"],{"01cf":function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"a",(function(){return i})),a.d(t,"e",(function(){return s})),a.d(t,"c",(function(){return o})),a.d(t,"b",(function(){return l})),a.d(t,"f",(function(){return c}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/inspectDetail/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/inspectDetail/countCar",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/outer/company/inspectDetail/list",method:"get",params:e})}function o(e){return Object(r["a"])({url:"/business/inspectDetail/getDetailInfo",method:"get",params:e})}function l(e){return Object(r["a"])({url:"/business/inspectDetail/exportSum2",method:"get",params:e,responseType:"blob"})}function c(e,t){return Object(r["a"])({url:"/business/inspectDetail/download/zipImages",method:"get",params:e,config:t})}},"33c3":function(e,t,a){"use strict";a("989d")},4997:function(e,t,a){},"684f":function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"g",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"f",(function(){return u}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/inspector/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/inspector/listWithNoPermission",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/business/inspector/"+e,method:"get"})}function o(e){return Object(r["a"])({url:"/business/inspector",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/business/inspector",method:"put",data:e})}function c(e){return Object(r["a"])({url:"/business/inspector/"+e,method:"delete"})}function u(e,t){var a={id:e,password:t};return Object(r["a"])({url:"/business/inspector/resetPwd ",method:"put",data:a})}},"7bd8":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{inline:!0,model:e.queryParams,"label-width":"120px",size:"small"}},[a("el-form-item",{attrs:{label:"检查单位",prop:"inspectOrgId"}},[a("treeselect",{staticStyle:{width:"350px"},attrs:{options:e.deptOptions,"show-count":!0,defaultExpandLevel:1/0,placeholder:"请选择检查单位"},on:{input:e.handleDeptChange},model:{value:e.queryParams.inspectOrgId,callback:function(t){e.$set(e.queryParams,"inspectOrgId",t)},expression:"queryParams.inspectOrgId"}})],1),a("el-form-item",{attrs:{label:"检查员",prop:"inspectUserId"}},[a("el-select",{attrs:{placeholder:"请选择检查员",clearable:""},on:{focus:e.inspectUserChange},model:{value:e.queryParams.inspectUserId,callback:function(t){e.$set(e.queryParams,"inspectUserId",t)},expression:"queryParams.inspectUserId"}},e._l(e.inspectUserIdList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.username,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"委托单号",prop:"orderId"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入委托单号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.orderId,callback:function(t){e.$set(e.queryParams,"orderId",t)},expression:"queryParams.orderId"}})],1),a("el-form-item",{attrs:{label:"委托单位",prop:"companyId"}},[a("el-select",{attrs:{placeholder:"请选择委托单位",clearable:""},model:{value:e.queryParams.companyId,callback:function(t){e.$set(e.queryParams,"companyId",t)},expression:"queryParams.companyId"}},e._l(e.companyList,(function(e){return a("el-option",{key:e.id,attrs:{label:e.companyName,value:e.id}})})),1)],1),a("el-form-item",{attrs:{label:"船名航次",prop:"shipName"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入船名航次"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.shipName,callback:function(t){e.$set(e.queryParams,"shipName",t)},expression:"queryParams.shipName"}})],1),a("el-form-item",{attrs:{label:"车架号",prop:"carVin"}},[a("el-input",{attrs:{clearable:"",placeholder:"请输入车架号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.carVin,callback:function(t){e.$set(e.queryParams,"carVin",t)},expression:"queryParams.carVin"}})],1),a("el-form-item",{attrs:{label:"检查类型",prop:"checkType"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择检查类型"},model:{value:e.queryParams.checkType,callback:function(t){e.$set(e.queryParams,"checkType",t)},expression:"queryParams.checkType"}},e._l(e.dict.type.inspect_object,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"是否发现污染物",prop:"pollutantFlag"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.queryParams.pollutantFlag,callback:function(t){e.$set(e.queryParams,"pollutantFlag",t)},expression:"queryParams.pollutantFlag"}},e._l(e.dict.type.exist_pollutant,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"清理是否",prop:"cleanFlag"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.queryParams.cleanFlag,callback:function(t){e.$set(e.queryParams,"cleanFlag",t)},expression:"queryParams.cleanFlag"}},e._l(e.dict.type.clean_status,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",{attrs:{label:"检查时间"}},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:e.queryParams.inspectTime,callback:function(t){e.$set(e.queryParams,"inspectTime",t)},expression:"queryParams.inspectTime"}})],1),a("el-form-item",{attrs:{label:"检查车辆总数"}},[a("el-tag",{staticStyle:{width:"213px"},attrs:{type:"info"}},[a("span",{staticStyle:{color:"#E21512","font-weight":"600"}},[e._v(e._s(e.countCarArr.totalCount)+"辆")])])],1),a("el-form-item",{attrs:{label:"有NG车辆总数"}},[a("el-tag",{staticStyle:{width:"213px"},attrs:{type:"info"}},[a("span",{staticStyle:{color:"#E21512","font-weight":"600"}},[e._v(e._s(e.countCarArr.ngCount)+"辆")])])],1),a("el-form-item",[a("el-button",{attrs:{icon:"el-icon-search",size:"mini",type:"primary"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:export"],expression:"['business:inspectDetail:export']"}],attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handledetaExport}},[e._v("导出检查情况清单(详细) ")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:exportSum"],expression:"['business:inspectDetail:exportSum']"}],attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handleExport}},[e._v("导出检查情况清单 ")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{icon:"el-icon-download",plain:"",size:"mini",type:"warning"},on:{click:e.handlezipImages}},[e._v("导出图片 ")])],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.inspectDetailList}},[a("el-table-column",{attrs:{align:"center",label:"检查单位",prop:"inspectOrgName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"委托单号",prop:"orderId","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"委托单位",prop:"companyName","show-overflow-tooltip":"",width:"100"}}),a("el-table-column",{attrs:{align:"center",label:"船名航次",prop:"shipName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"车架号",prop:"carVin","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"检查类型",prop:"checkType","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.inspect_object,value:t.row.checkType}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"是否发现污染物",prop:"pollutantFlag","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:t.row.pollutantFlag}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"清理与否",prop:"cleanFlag","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("dict-tag",{attrs:{options:e.dict.type.clean_status,value:t.row.cleanFlag}})]}}])}),a("el-table-column",{attrs:{align:"center",label:"NG部位",prop:"inspectPartFirstName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"NG具体部位",prop:"inspectPartSecondName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物种类",prop:"pollutantTypeName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物具体种类",prop:"pollutantDetailTypeName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"污染物具体描述",prop:"pollutantDetailDescName","show-overflow-tooltip":"",width:"200"}}),a("el-table-column",{attrs:{align:"center",label:"检查场地",prop:"inspectSiteName","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",label:"检查员",prop:"inspectUserName","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",label:"检查时间",prop:"inspectTime","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.inspectTime)))])]}}])}),a("el-table-column",{attrs:{fixed:"right",align:"center","class-name":"small-padding fixed-width",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:inspectDetail:query"],expression:"['business:inspectDetail:query']"}],attrs:{icon:"el-icon-document",size:"mini",type:"text"},on:{click:function(a){return e.handleDate(t.row)}}},[e._v("检查详情 ")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{limit:e.queryParams.pageSize,page:e.queryParams.pageNum,total:e.total},on:{"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":"",width:"850px"},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"120px"}},[a("div",[a("el-descriptions",{staticClass:"margin-top",attrs:{column:2,title:"基本信息"}},[a("el-descriptions-item",{attrs:{label:"检查单位"}},[e._v(e._s(e.form.inspectOrgName)+" ")]),a("el-descriptions-item",{attrs:{label:"委托单号"}},[e._v(e._s(e.form.orderId)+" ")]),a("el-descriptions-item",{attrs:{label:"委托单位"}},[e._v(e._s(e.form.companyName)+" ")]),a("el-descriptions-item",{attrs:{label:"船名航次"}},[e._v(e._s(e.form.shipName)+" ")]),a("el-descriptions-item",{attrs:{label:"车架号 (VIN) "}},[e._v(e._s(e.form.carVin)+" ")]),a("el-descriptions-item",{attrs:{label:"检查员"}},[e._v(e._s(e.form.inspectUserName)+" ")]),a("el-descriptions-item",{attrs:{label:"检查场地"}},[e._v(e._s(e.form.inspectSiteName)+" ")]),a("el-descriptions-item",{attrs:{label:"检查对象"}},[a("dict-tag",{attrs:{options:e.dict.type.inspect_object,value:e.form.checkType}})],1),a("el-descriptions-item",{attrs:{label:"检查时间"}},[e._v(e._s(e.form.inspectTime)+" ")])],1)],1),a("div",{staticStyle:{"border-top":"2px dashed #ccc","padding-top":"25px"}},["00"==e.form.pollutantFlag?a("el-descriptions",{attrs:{title:"污染物信息",column:1}},[a("el-descriptions-item",{attrs:{label:"NG部位"}},[e._v(e._s(e.form.inspectPartFirstName)+" ")]),a("el-descriptions-item",{attrs:{label:"NG具体部位"}},[e._v(e._s(e.form.inspectPartSecondName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物种类"}},[e._v(e._s(e.form.pollutantTypeName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物具体种类"}},[e._v(e._s(e.form.pollutantDetailTypeName)+" ")]),a("el-descriptions-item",{attrs:{label:"污染物具体描述"}},[e._v(e._s(e.form.pollutantDetailDescName)+" ")]),a("el-descriptions-item",{attrs:{label:"是否清理"}},[a("dict-tag",{attrs:{options:e.dict.type.clean_status,value:e.form.cleanFlag}})],1),a("el-descriptions-item",{attrs:{label:"是否有污染物"}},[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:e.form.pollutantFlag}})],1),a("el-descriptions-item",{attrs:{label:"检查图片"}},[a("ul",{staticClass:"imglist"},e._l(e.form.imgs,(function(t){return a("li",{key:t.index},[a("img",{attrs:{alt:t,src:t},on:{click:function(a){return e.showimg(t)}}})])})),0)])],1):e._e(),"01"==e.form.pollutantFlag?a("el-descriptions",{attrs:{title:"污染物信息",column:1}},[a("el-descriptions-item",{attrs:{label:"是否有污染物"}},[a("dict-tag",{attrs:{options:e.dict.type.exist_pollutant,value:e.form.pollutantFlag}})],1),a("el-descriptions-item",{attrs:{label:"检查图片"}},[a("ul",{staticClass:"imglist"},e._l(e.form.imgs,(function(t){return a("li",{key:t.index},[a("img",{attrs:{alt:t,src:t},on:{click:function(a){return e.showimg(t)}}})])})),0)])],1):e._e()],1)])],1),a("el-dialog",{attrs:{title:"查看图片",visible:e.opens,"append-to-body":"",width:"850px"},on:{"update:visible":function(t){e.opens=t}}},[a("div",{staticStyle:{position:"relative",overflow:"hidden",height:"700px",margin:"0 auto","text-align":"center"}},[a("img",{style:{zoom:e.zoom,height:"700px",transform:"translate("+e.x+"px,"+e.y+"px)"},attrs:{draggable:"false",src:e.imgurl,id:"pic"},on:{mousewheel:function(t){return e.change_img(t)},mousedown:function(t){return e.mousedown(t)}}})]),e.form.imgs.length>1?a("div",{staticStyle:{"text-align":"right",padding:"15px 0"}},[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.imgurlReduce}},[e._v("上一张")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.imgurlAdd}},[e._v("下一张")])],1):e._e()]),a("el-dialog",{attrs:{title:"下载进度",visible:e.percentageopen,"append-to-body":"",width:"500px"},on:{"update:visible":function(t){e.percentageopen=t}}},[a("el-progress",{attrs:{percentage:e.percentage}})],1)],1)},n=[],i=a("5530"),s=(a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("9861"),a("01cf")),o=a("c3a4"),l=a("684f"),c=a("fcb7"),u=a("ca17"),p=a.n(u),m=(a("542c"),a("bc3a")),d=a.n(m),h=a("5c96"),f={name:"InspectDetail",components:{Treeselect:p.a},dicts:["clean_status","exist_pollutant","inspect_object","clean_status"],data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,inspectDetailList:[],title:"",open:!1,opens:!1,imgurl:"",countCarArr:{},queryParams:{pageNum:1,pageSize:10,shipName:"",orderId:"",carVin:"",companyId:"",orgId:"",chassisInspectStatus:"",carBodyInspectStatus:"",inspectTime:"",pollutantFlag:"",cleanFlag:""},percentageopen:!1,percentage:0,companyList:[],inspectUserIdList:[],deptOptions:[],form:{imgs:[]},rules:{},zoom:1,x:0,y:0,startx:"",starty:"",endx:0,endy:0}},created:function(){this.getquery(),this.getTreeselect(),this.getList()},watch:{$route:function(){this.getquery(),this.getList()}},methods:{change_img:function(e){e.deltaY<0?this.zoom++:this.zoom--},mousedown:function(e){this.startx=e.pageX,this.starty=e.pageY,document.addEventListener("mousemove",this.mousemove),document.addEventListener("mouseup",this.mouseup)},mousemove:function(e){this.x=e.pageX-this.startx+this.endx,this.y=e.pageY-this.starty+this.endy},mouseup:function(){document.removeEventListener("mousemove",this.mousemove,!1),this.endx=this.x,this.endy=this.y},closePic:function(){this.x=0,this.y=0,this.zoom=1,this.endx=0,this.endy=0},getTreeselect:function(){var e=this;Object(c["g"])().then((function(t){e.deptOptions=t.data}));var t={pageNum:1,pageSize:1e3,status:"00"};Object(o["e"])(t).then((function(t){e.companyList=t.data}))},handleDeptChange:function(e){var t=this;if(this.inspectUserIdList=[],void 0!=e){var a={pageNum:1,pageSize:1e3,orgId:e,status:"00"};Object(l["e"])(a).then((function(e){t.inspectUserIdList=e.data}))}},inspectUserChange:function(){void 0!=this.queryParams.inspectOrgId||this.$message.error("请选选择检查单位")},getquery:function(){var e=this.$route.query.shipName;this.queryParams.shipName=e;var t=this.$route.query.carVin;this.queryParams.carVin=t;var a=this.$route.query.orderId;this.queryParams.orderId=a},getList:function(){var e=this;this.loading=!0,Object(s["d"])(this.queryParams).then((function(t){e.inspectDetailList=t.rows,e.total=t.total,e.loading=!1})),Object(s["a"])(this.queryParams).then((function(t){e.countCarArr=t.data}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={imgs:[]},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.queryParams={pageNum:1,pageSize:10,shipName:"",orderId:"",carVin:"",companyId:"",orgId:"",chassisInspectStatus:"",carBodyInspectStatus:"",inspectOrgId:null,inspectTime:""},this.resetForm("queryForm"),this.handleQuery()},handleDate:function(e){var t=this;this.reset();var a=e.id||this.ids;Object(s["c"])({id:a}).then((function(e){t.form=e.data,t.open=!0,t.title="车辆检查详情"}))},showimg:function(e){this.opens=!0,this.imgurl=e,this.closePic()},imgurlAdd:function(){for(var e=0;e0){var a=e-1;return void(this.imgurl=this.form.imgs[a])}}}},handleExport:function(){var e=this;if(this.queryParams.orderId)if(this.queryParams.shipName){var t=this.queryParams;Object(s["b"])(t).then((function(t){var a=e.$store.filename.split(";")[1].split("filename=")[1],r=new Blob([t],{type:"application/vnd.ms-excel;charset=utf-8"}),n=document.createElement("a"),i=window.URL.createObjectURL(r);n.href=i,n.download=decodeURIComponent("表2-装船前生物安全风险检验情况清单"+a),document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(i)}))}else this.$message.error("船名航次不能为空");else this.$message.error("委托单号不能为空")},handlezipImages:function(){var e=this;if(this.queryParams.orderId)if(this.queryParams.shipName){var t=this.queryParams,a=h["Loading"].service({text:"正在下载数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),r=18e5;d.a.get("/business/inspectDetail/download/zipImages",{params:t,timeout:r,responseType:"blob",headers:{"Content-Type":"application/json;charset=UTF-8"},onDownloadProgress:function(t){console.log(t);var r=t.target.getResponseHeader("Content-Length");if(r){e.percentageopen=!0;var n=Math.round(100*t.loaded/parseFloat(r));e.percentage=n,100==e.percentage&&(e.percentageopen=!1,a.close())}}}).then((function(e){var t=decodeURIComponent(e.headers["content-disposition"].split(";")[1].split("filename=")[1]),a=new Blob([e.data]),r=window.URL.createObjectURL(a),n=document.createElement("a");n.href=r,n.download=t,n.click(),window.URL.revokeObjectURL(r)}))}else this.$message.error("船名航次不能为空");else this.$message.error("委托单号不能为空")},handledetaExport:function(){this.queryParams.orderId?this.queryParams.shipName?this.download("business/inspectDetail/exportDetail",Object(i["a"])({},this.queryParams),"表1 - 装船前生物安全风险检验情况清单(详细)_".concat((new Date).getTime(),".xlsx")):this.$message.error("船名航次不能为空"):this.$message.error("委托单号不能为空")}}},g=f,b=(a("9e8d"),a("33c3"),a("2877")),y=Object(b["a"])(g,r,n,!1,null,"5d6437b8",null);t["default"]=y.exports},"989d":function(e,t,a){},"9e8d":function(e,t,a){"use strict";a("4997")},c3a4:function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"f",(function(){return l})),a.d(t,"b",(function(){return c}));var r=a("b775");function n(e){return Object(r["a"])({url:"/business/company/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/business/company/listWithNoPermission",method:"get",params:e})}function s(e){return Object(r["a"])({url:"/business/company/"+e,method:"get"})}function o(e){return Object(r["a"])({url:"/business/company",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/business/company",method:"put",data:e})}function c(e){return Object(r["a"])({url:"/business/company/"+e,method:"delete"})}},fcb7:function(e,t,a){"use strict";a.d(t,"d",(function(){return n})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return s})),a.d(t,"g",(function(){return o})),a.d(t,"f",(function(){return l})),a.d(t,"a",(function(){return c})),a.d(t,"h",(function(){return u})),a.d(t,"b",(function(){return p}));var r=a("b775");function n(e){return Object(r["a"])({url:"/system/dept/list",method:"get",params:e})}function i(e){return Object(r["a"])({url:"/system/dept/list/exclude/"+e,method:"get"})}function s(e){return Object(r["a"])({url:"/system/dept/"+e,method:"get"})}function o(){return Object(r["a"])({url:"/system/dept/treeselect",method:"get"})}function l(e){return Object(r["a"])({url:"/system/dept/roleDeptTreeselect/"+e,method:"get"})}function c(e){return Object(r["a"])({url:"/system/dept",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/system/dept",method:"put",data:e})}function p(e){return Object(r["a"])({url:"/system/dept/"+e,method:"delete"})}}}]); \ No newline at end of file diff --git a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js.gz b/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js.gz deleted file mode 100644 index 5a2c9f3c..00000000 Binary files a/car-check/carcheck-admin/src/main/resources/public/static/js/chunk-fe53be1a.a2fe1899.js.gz and /dev/null differ diff --git a/car-check/carcheck-ui/pom.xml b/car-check/carcheck-ui/pom.xml index ce59de8f..5ba6f20f 100644 --- a/car-check/carcheck-ui/pom.xml +++ b/car-check/carcheck-ui/pom.xml @@ -4,7 +4,7 @@ com.jiuyv carcheck-console - 1.0.2-SNAPSHOT + 1.0.5-SNAPSHOT carcheck-ui carcheck-ui diff --git a/car-check/carcheck-ui/src/utils/menu.json b/car-check/carcheck-ui/src/utils/menu.json index ec7ed8b5..2e6f085f 100644 --- a/car-check/carcheck-ui/src/utils/menu.json +++ b/car-check/carcheck-ui/src/utils/menu.json @@ -1,2214 +1,1809 @@ { - "CAR_INSPECTRESITE_EXPORT":{ - "id":"CAR_INSPECTRESITE_EXPORT", - "_parentId":"CAR_INSPECTRESITE_INDEX", - "label":"检查场地信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectSite:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_QUERY":{ - "id":"CAR_INSPECT_QUERY", - "_parentId":"CAR_INSPECT_INDEX", - "label":"详情", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspect:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DICT_MANAGE":{ - "id":"DICT_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"字典管理", - "sort":6, - "alwaysShow":false, - "name":"Dict", - "path":"dict", - "component":"system/dict/index", - "perms":"system:dict:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"字典管理", - "icon":"dict", - "noCache":false, - "link":null + "CAR_INSPECTRESITE_EXPORT": { + "id": "CAR_INSPECTRESITE_EXPORT", + "_parentId": "CAR_INSPECTRESITE_INDEX", + "label": "检查场地信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectSite:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_QUERY": { + "id": "CAR_INSPECT_QUERY", + "_parentId": "CAR_INSPECT_INDEX", + "label": "详情", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspect:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DICT_MANAGE": { + "id": "DICT_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "字典管理", + "sort": 6, + "alwaysShow": false, + "name": "Dict", + "path": "dict", + "component": "system/dict/index", + "perms": "system:dict:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "字典管理", + "icon": "dict", + "noCache": false, + "link": null } }, - "CAR_INSPECTRECORD_UPDATE":{ - "id":"CAR_INSPECTRECORD_UPDATE", - "_parentId":"CAR_INSPECTRECORD_INDEX_", - "label":"点检记录信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectRecord:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ROLE_MANAGE_QUERY":{ - "id":"ROLE_MANAGE_QUERY", - "_parentId":"ROLE_MANAGE", - "label":"角色查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:role:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "USER_MANAGE_DELETE":{ - "id":"USER_MANAGE_DELETE", - "_parentId":"USER_MANAGE", - "label":"用户删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ONLINE_USER_QUERY":{ - "id":"ONLINE_USER_QUERY", - "_parentId":"ONLINE_USER", - "label":"在线查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:online:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_DETAIL_INDEX":{ - "id":"CAR_INSPECT_DETAIL_INDEX", - "_parentId":"CAR_CHECK", - "label":"车辆检查清单", - "sort":4, - "alwaysShow":false, - "name":"InspectDetail", - "path":"inspectDetail", - "component":"business/inspectDetail/index", - "perms":"business:inspectDetail:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆检查清单", - "icon":"#", - "noCache":false, - "link":null + "CAR_INSPECTRECORD_UPDATE": { + "id": "CAR_INSPECTRECORD_UPDATE", + "_parentId": "CAR_INSPECTRECORD_INDEX_", + "label": "点检记录信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectRecord:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ROLE_MANAGE_QUERY": { + "id": "ROLE_MANAGE_QUERY", + "_parentId": "ROLE_MANAGE", + "label": "角色查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:role:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "USER_MANAGE_DELETE": { + "id": "USER_MANAGE_DELETE", + "_parentId": "USER_MANAGE", + "label": "用户删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DETAIL_INDEX": { + "id": "CAR_INSPECT_DETAIL_INDEX", + "_parentId": "CAR_CHECK", + "label": "车辆检查清单", + "sort": 4, + "alwaysShow": false, + "name": "InspectDetail", + "path": "inspectDetail", + "component": "business/inspectDetail/index", + "perms": "business:inspectDetail:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆检查清单", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_COMPANY_EXPORT":{ - "id":"CAR_COMPANY_EXPORT", - "_parentId":"CAR_COMPANY_INDEX", - "label":"委托单位信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:company:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "LOG_MANAGE":{ - "id":"LOG_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"日志管理", - "sort":9, - "alwaysShow":true, - "name":"Log", - "path":"/log", - "component":"ParentView", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"日志管理", - "icon":"log", - "noCache":false, - "link":null + "CAR_COMPANY_EXPORT": { + "id": "CAR_COMPANY_EXPORT", + "_parentId": "CAR_COMPANY_INDEX", + "label": "委托单位信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:company:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "LOG_MANAGE": { + "id": "LOG_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "日志管理", + "sort": 9, + "alwaysShow": true, + "name": "Log", + "path": "/log", + "component": "ParentView", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "日志管理", + "icon": "log", + "noCache": false, + "link": null } }, - "ACTION_LOG_DELETE":{ - "id":"ACTION_LOG_DELETE", - "_parentId":"ACTION_LOG", - "label":"操作删除", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:operlog:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR":{ - "id":"CAR_INSPECTOR", - "_parentId":"-1", - "label":"检验员管理", - "sort":4, - "alwaysShow":true, - "name":"Inspector", - "path":"/inspector", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"检验员管理", - "icon":"user", - "noCache":false, - "link":null + "ACTION_LOG_DELETE": { + "id": "ACTION_LOG_DELETE", + "_parentId": "ACTION_LOG", + "label": "操作删除", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:operlog:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR": { + "id": "CAR_INSPECTOR", + "_parentId": "-1", + "label": "检验员管理", + "sort": 4, + "alwaysShow": true, + "name": "Inspector", + "path": "/inspector", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "检验员管理", + "icon": "user", + "noCache": false, + "link": null } }, - "CAR_INSPECTRESITE_ADD":{ - "id":"CAR_INSPECTRESITE_ADD", - "_parentId":"CAR_INSPECTRESITE_INDEX", - "label":"检查场地信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectSite:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR_DELETE":{ - "id":"CAR_INSPECTOR_DELETE", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"检验员信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DEPT_MANAGE_DELETE":{ - "id":"DEPT_MANAGE_DELETE", - "_parentId":"DEPT_MANAGE", - "label":"部门删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dept:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "FORM_BUILD_IMPORT":{ - "id":"FORM_BUILD_IMPORT", - "_parentId":"FORM_BUILD", - "label":"导入代码", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:import", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_UPDATE":{ - "id":"CAR_INSPECT_UPDATE", - "_parentId":"CAR_INSPECT_INDEX", - "label":"车辆检查信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspect:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ROLE_MANAGE_ADD":{ - "id":"ROLE_MANAGE_ADD", - "_parentId":"ROLE_MANAGE", - "label":"角色新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:role:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "USER_MANAGE_IMPORT":{ - "id":"USER_MANAGE_IMPORT", - "_parentId":"USER_MANAGE", - "label":"用户导入", - "sort":6, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:import", - "isBtn":true, - "redirect":null, - "meta":null - }, - "USER_MANAGE_ADD":{ - "id":"USER_MANAGE_ADD", - "_parentId":"USER_MANAGE", - "label":"用户新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "FORM_BUILD_DELETE":{ - "id":"FORM_BUILD_DELETE", - "_parentId":"FORM_BUILD", - "label":"生成删除", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR_QUERY":{ - "id":"CAR_INSPECTOR_QUERY", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"检验员信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "FORM_BUILD_GENERATE":{ - "id":"FORM_BUILD_GENERATE", - "_parentId":"FORM_BUILD", - "label":"生成代码", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:code", - "isBtn":true, - "redirect":null, - "meta":null - }, - "NOTICE_MANAGE_DELETE":{ - "id":"NOTICE_MANAGE_DELETE", - "_parentId":"NOTICE_MANAGE", - "label":"公告删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:notice:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY":{ - "id":"OUTER_COMPANY_QUERY", - "_parentId":"-1", - "label":"车辆检查查询", - "sort":9, - "alwaysShow":true, - "name":"OuterQuery", - "path":"/outerQuery", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"车辆检查查询", - "icon":"cascader", - "noCache":false, - "link":null + "CAR_INSPECTRESITE_ADD": { + "id": "CAR_INSPECTRESITE_ADD", + "_parentId": "CAR_INSPECTRESITE_INDEX", + "label": "检查场地信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectSite:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR_DELETE": { + "id": "CAR_INSPECTOR_DELETE", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "检验员信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DEPT_MANAGE_DELETE": { + "id": "DEPT_MANAGE_DELETE", + "_parentId": "DEPT_MANAGE", + "label": "部门删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dept:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_UPDATE": { + "id": "CAR_INSPECT_UPDATE", + "_parentId": "CAR_INSPECT_INDEX", + "label": "车辆检查信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspect:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ROLE_MANAGE_ADD": { + "id": "ROLE_MANAGE_ADD", + "_parentId": "ROLE_MANAGE", + "label": "角色新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:role:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "USER_MANAGE_IMPORT": { + "id": "USER_MANAGE_IMPORT", + "_parentId": "USER_MANAGE", + "label": "用户导入", + "sort": 6, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:import", + "isBtn": true, + "redirect": null, + "meta": null + }, + "USER_MANAGE_ADD": { + "id": "USER_MANAGE_ADD", + "_parentId": "USER_MANAGE", + "label": "用户新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR_QUERY": { + "id": "CAR_INSPECTOR_QUERY", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "检验员信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY": { + "id": "OUTER_COMPANY_QUERY", + "_parentId": "-1", + "label": "车辆检查查询", + "sort": 9, + "alwaysShow": true, + "name": "OuterQuery", + "path": "/outerQuery", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "车辆检查查询", + "icon": "cascader", + "noCache": false, + "link": null } }, - "CODE_GENERATION":{ - "id":"CODE_GENERATION", - "_parentId":"SYSTEM_TOOL", - "label":"代码生成", - "sort":2, - "alwaysShow":false, - "name":"Gen", - "path":"gen", - "component":"tool/gen/index", - "perms":"tool:gen:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"代码生成", - "icon":"code", - "noCache":false, - "link":null + "POST_MANAGE_EXPORT": { + "id": "POST_MANAGE_EXPORT", + "_parentId": "POST_MANAGE", + "label": "岗位导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:post:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "POST_MANAGE": { + "id": "POST_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "岗位管理", + "sort": 5, + "alwaysShow": false, + "name": "Post", + "path": "post", + "component": "system/post/index", + "perms": "system:post:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "岗位管理", + "icon": "post", + "noCache": false, + "link": null } }, - "POST_MANAGE_EXPORT":{ - "id":"POST_MANAGE_EXPORT", - "_parentId":"POST_MANAGE", - "label":"岗位导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:post:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "POST_MANAGE":{ - "id":"POST_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"岗位管理", - "sort":5, - "alwaysShow":false, - "name":"Post", - "path":"post", - "component":"system/post/index", - "perms":"system:post:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"岗位管理", - "icon":"post", - "noCache":false, - "link":null + "DICT_MANAGE_UPDATE": { + "id": "DICT_MANAGE_UPDATE", + "_parentId": "DICT_MANAGE", + "label": "字典修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dict:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "MENU_MANAGE_QUERY": { + "id": "MENU_MANAGE_QUERY", + "_parentId": "MENU_MANAGE", + "label": "菜单查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:menu:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_COMPANY_ADD": { + "id": "CAR_COMPANY_ADD", + "_parentId": "CAR_COMPANY_INDEX", + "label": "委托单位信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:company:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DICT_MANAGE_QUERY": { + "id": "DICT_MANAGE_QUERY", + "_parentId": "DICT_MANAGE", + "label": "字典查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dict:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DETAIL_EXPORT_PIC": { + "id": "CAR_INSPECT_DETAIL_EXPORT_PIC", + "_parentId": "CAR_INSPECT_DETAIL_INDEX", + "label": "导出图片", + "sort": 6, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectDetail:exportImages", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DEPT_MANAGE_ADD": { + "id": "DEPT_MANAGE_ADD", + "_parentId": "DEPT_MANAGE", + "label": "部门新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dept:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_INDEX": { + "id": "CAR_PRERECORD_INDEX", + "_parentId": "CAR_CHECK", + "label": "车辆预录信息", + "sort": 0, + "alwaysShow": false, + "name": "PreRecord", + "path": "preRecord", + "component": "business/preRecord/index", + "perms": "business:preRecord:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆预录信息", + "icon": "#", + "noCache": false, + "link": null } }, - "DICT_MANAGE_UPDATE":{ - "id":"DICT_MANAGE_UPDATE", - "_parentId":"DICT_MANAGE", - "label":"字典修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dict:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "MENU_MANAGE_QUERY":{ - "id":"MENU_MANAGE_QUERY", - "_parentId":"MENU_MANAGE", - "label":"菜单查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:menu:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "PARAM_CONFIG":{ - "id":"PARAM_CONFIG", - "_parentId":"SYSTEM_MANAGE", - "label":"参数设置", - "sort":7, - "alwaysShow":false, - "name":"Config", - "path":"config", - "component":"system/config/index", - "perms":"system:config:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"参数设置", - "icon":"edit", - "noCache":false, - "link":null + "ROLE_MANAGE": { + "id": "ROLE_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "角色管理", + "sort": 2, + "alwaysShow": false, + "name": "Role", + "path": "role", + "component": "system/role/index", + "perms": "system:role:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "角色管理", + "icon": "peoples", + "noCache": false, + "link": null } }, - "CAR_COMPANY_ADD":{ - "id":"CAR_COMPANY_ADD", - "_parentId":"CAR_COMPANY_INDEX", - "label":"委托单位信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:company:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DICT_MANAGE_QUERY":{ - "id":"DICT_MANAGE_QUERY", - "_parentId":"DICT_MANAGE", - "label":"字典查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dict:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DEPT_MANAGE_ADD":{ - "id":"DEPT_MANAGE_ADD", - "_parentId":"DEPT_MANAGE", - "label":"部门新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dept:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_PRERECORD_INDEX":{ - "id":"CAR_PRERECORD_INDEX", - "_parentId":"CAR_CHECK", - "label":"车辆预录信息", - "sort":0, - "alwaysShow":false, - "name":"PreRecord", - "path":"preRecord", - "component":"business/preRecord/index", - "perms":"business:preRecord:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆预录信息", - "icon":"#", - "noCache":false, - "link":null + "CAR_ORDERFORMAL_QUERY": { + "id": "CAR_ORDERFORMAL_QUERY", + "_parentId": "CAR_ORDERFORMAL_INDEX", + "label": "查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:orderFormal:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_RESET": { + "id": "CAR_PRERECORD_RESET", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "重置密码", + "sort": 6, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:reset", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_DETAIL_INDEX": { + "id": "CAR_PRERECORD_DETAIL_INDEX", + "_parentId": "CAR_CHECK", + "label": "车辆预录清单", + "sort": 1, + "alwaysShow": false, + "name": "PreRecordDetail", + "path": "preRecordDetail", + "component": "business/preRecordDetail/index", + "perms": "business:preRecordDetail:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆预录清单", + "icon": "#", + "noCache": false, + "link": null } }, - "ROLE_MANAGE":{ - "id":"ROLE_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"角色管理", - "sort":2, - "alwaysShow":false, - "name":"Role", - "path":"role", - "component":"system/role/index", - "perms":"system:role:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"角色管理", - "icon":"peoples", - "noCache":false, - "link":null + "CAR_COMPANY_INDEX": { + "id": "CAR_COMPANY_INDEX", + "_parentId": "CAR_COMPANY", + "label": "委托单位信息", + "sort": 1, + "alwaysShow": false, + "name": "Company", + "path": "company", + "component": "business/company/index", + "perms": "business:company:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "委托单位信息", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_ORDERFORMAL_QUERY":{ - "id":"CAR_ORDERFORMAL_QUERY", - "_parentId":"CAR_ORDERFORMAL_INDEX", - "label":"查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:orderFormal:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_PRERECORD_RESET":{ - "id":"CAR_PRERECORD_RESET", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"重置密码", - "sort":6, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:reset", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CACHE_MONITOR":{ - "id":"CACHE_MONITOR", - "_parentId":"SYSTEM_MONITOR", - "label":"缓存监控", - "sort":5, - "alwaysShow":false, - "name":"Cache", - "path":"cache", - "component":"monitor/cache/index", - "perms":"monitor:cache:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"缓存监控", - "icon":"redis", - "noCache":false, - "link":null + "CAR_SITE": { + "id": "CAR_SITE", + "_parentId": "-1", + "label": "检查场地管理", + "sort": 5, + "alwaysShow": true, + "name": "Site", + "path": "/site", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "检查场地管理", + "icon": "star", + "noCache": false, + "link": null } }, - "CAR_PRERECORD_DETAIL_INDEX":{ - "id":"CAR_PRERECORD_DETAIL_INDEX", - "_parentId":"CAR_CHECK", - "label":"车辆预录清单", - "sort":1, - "alwaysShow":false, - "name":"PreRecordDetail", - "path":"preRecordDetail", - "component":"business/preRecordDetail/index", - "perms":"business:preRecordDetail:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆预录清单", - "icon":"#", - "noCache":false, - "link":null + "USER_MANAGE_EXPORT": { + "id": "USER_MANAGE_EXPORT", + "_parentId": "USER_MANAGE", + "label": "用户导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "SYSTEM_MANAGE": { + "id": "SYSTEM_MANAGE", + "_parentId": "-1", + "label": "系统管理", + "sort": 1, + "alwaysShow": true, + "name": "System", + "path": "/system", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "系统管理", + "icon": "system", + "noCache": false, + "link": null } }, - "SYSTEM_TOOL":{ - "id":"SYSTEM_TOOL", - "_parentId":"-1", - "label":"系统工具", - "sort":3, - "alwaysShow":true, - "name":"Tool", - "path":"/tool", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"系统工具", - "icon":"tool", - "noCache":false, - "link":null + "CAR_NGPART_DELETE": { + "id": "CAR_NGPART_DELETE", + "_parentId": "CAR_NGPART_INDEX", + "label": "NG部位信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:ngPart:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY_RECORD": { + "id": "OUTER_COMPANY_QUERY_RECORD", + "_parentId": "OUTER_COMPANY_QUERY", + "label": "点检记录", + "sort": 4, + "alwaysShow": false, + "name": "OuterCompanyInspectRecord", + "path": "outerCompanyInspectRecord", + "component": "outer/company/inspectRecord/index", + "perms": "company:inspectRecord:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "点检记录", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_COMPANY_INDEX":{ - "id":"CAR_COMPANY_INDEX", - "_parentId":"CAR_COMPANY", - "label":"委托单位信息", - "sort":1, - "alwaysShow":false, - "name":"Company", - "path":"company", - "component":"business/company/index", - "perms":"business:company:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"委托单位信息", - "icon":"#", - "noCache":false, - "link":null + "OUTER_COMPANY_QUERY_INSPECT": { + "id": "OUTER_COMPANY_QUERY_INSPECT", + "_parentId": "OUTER_COMPANY_QUERY", + "label": "车辆检查清单", + "sort": 3, + "alwaysShow": false, + "name": "OuterCompanyInspectDetail", + "path": "outerCompanyInspectDetail", + "component": "outer/company/inspectDetail/index", + "perms": "company:inspectDetail:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆检查清单", + "icon": "#", + "noCache": false, + "link": null } }, - "CACHE_LIST":{ - "id":"CACHE_LIST", - "_parentId":"SYSTEM_MONITOR", - "label":"缓存列表", - "sort":6, - "alwaysShow":false, - "name":"CacheList", - "path":"cacheList", - "component":"monitor/cache/list", - "perms":"monitor:cache:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"缓存列表", - "icon":"redis-list", - "noCache":false, - "link":null + "CAR_ORDERFORMAL_OVER": { + "id": "CAR_ORDERFORMAL_OVER", + "_parentId": "CAR_ORDERFORMAL_INDEX", + "label": "强制完成", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:orderFormal:forceComplete", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRESITE_UPDATE": { + "id": "CAR_INSPECTRESITE_UPDATE", + "_parentId": "CAR_INSPECTRESITE_INDEX", + "label": "检查场地信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectSite:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRECORD_EXPORT": { + "id": "CAR_INSPECTRECORD_EXPORT", + "_parentId": "CAR_INSPECTRECORD_INDEX_", + "label": "点检记录信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectRecord:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_QUERY": { + "id": "CAR_PRERECORD_QUERY", + "_parentId": "CAR_PRERECORD_INDEX", + "label": "查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecord:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_DELETE": { + "id": "CAR_POLLUTANT_DELETE", + "_parentId": "CAR_POLLUTANT_INDEX", + "label": "污染物信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:pollutant:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ROLE_MANAGE_EXPORT": { + "id": "ROLE_MANAGE_EXPORT", + "_parentId": "ROLE_MANAGE", + "label": "角色导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:role:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_NGPART_QUERY": { + "id": "CAR_NGPART_QUERY", + "_parentId": "CAR_NGPART_INDEX", + "label": "NG部位信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:ngPart:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_COMPANY_QUERY": { + "id": "CAR_COMPANY_QUERY", + "_parentId": "CAR_COMPANY_INDEX", + "label": "委托单位信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:company:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_ADD": { + "id": "CAR_PRERECORD_ADD", + "_parentId": "CAR_PRERECORD_INDEX", + "label": "生效", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecord:effect", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_UPDATE": { + "id": "CAR_POLLUTANT_UPDATE", + "_parentId": "CAR_POLLUTANT_INDEX", + "label": "污染物信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:pollutant:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ACTION_LOG_EXPORT": { + "id": "ACTION_LOG_EXPORT", + "_parentId": "ACTION_LOG", + "label": "日志导出", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:operlog:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_IMPORT": { + "id": "CAR_PRERECORD_IMPORT", + "_parentId": "CAR_PRERECORD_INDEX", + "label": "导入", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecord:import", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DICT_MANAGE_EXPORT": { + "id": "DICT_MANAGE_EXPORT", + "_parentId": "DICT_MANAGE", + "label": "字典导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dict:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_CHECK": { + "id": "CAR_CHECK", + "_parentId": "-1", + "label": "车辆检查管理", + "sort": 8, + "alwaysShow": true, + "name": "Check", + "path": "/check", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "车辆检查管理", + "icon": "checkbox", + "noCache": false, + "link": null } }, - "CAR_SITE":{ - "id":"CAR_SITE", - "_parentId":"-1", - "label":"检查场地管理", - "sort":5, - "alwaysShow":true, - "name":"Site", - "path":"/site", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"检查场地管理", - "icon":"star", - "noCache":false, - "link":null + "CAR_PRERECORD_DELETE": { + "id": "CAR_PRERECORD_DELETE", + "_parentId": "CAR_PRERECORD_INDEX", + "label": "删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecord:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_ORDERFORMAL_UPDATE": { + "id": "CAR_ORDERFORMAL_UPDATE", + "_parentId": "CAR_ORDERFORMAL_INDEX", + "label": "完成", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:orderFormal:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DICT_MANAGE_DELETE": { + "id": "DICT_MANAGE_DELETE", + "_parentId": "DICT_MANAGE", + "label": "字典删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dict:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ROLE_MANAGE_DELETE": { + "id": "ROLE_MANAGE_DELETE", + "_parentId": "ROLE_MANAGE", + "label": "角色删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:role:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRESITE_QUERY": { + "id": "CAR_INSPECTRESITE_QUERY", + "_parentId": "CAR_INSPECTRESITE_INDEX", + "label": "检查场地信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectSite:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRECORD_ADD": { + "id": "CAR_INSPECTRECORD_ADD", + "_parentId": "CAR_INSPECTRECORD_INDEX_", + "label": "点检记录信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectRecord:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DICT_MANAGE_ADD": { + "id": "DICT_MANAGE_ADD", + "_parentId": "DICT_MANAGE", + "label": "字典新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dict:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DETAIL_EXPORT": { + "id": "CAR_INSPECT_DETAIL_EXPORT", + "_parentId": "CAR_INSPECT_DETAIL_INDEX", + "label": "详单导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectDetail:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_INDEX": { + "id": "CAR_POLLUTANT_INDEX", + "_parentId": "CAR_BASE", + "label": "污染物信息", + "sort": 1, + "alwaysShow": false, + "name": "Pollutant", + "path": "pollutant", + "component": "business/pollutant/index", + "perms": "business:pollutant:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "污染物信息", + "icon": "#", + "noCache": false, + "link": null } }, - "USER_MANAGE_EXPORT":{ - "id":"USER_MANAGE_EXPORT", - "_parentId":"USER_MANAGE", - "label":"用户导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "SYSTEM_MANAGE":{ - "id":"SYSTEM_MANAGE", - "_parentId":"-1", - "label":"系统管理", - "sort":1, - "alwaysShow":true, - "name":"System", - "path":"/system", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"系统管理", - "icon":"system", - "noCache":false, - "link":null + "LOGIN_LOG_DELETE": { + "id": "LOGIN_LOG_DELETE", + "_parentId": "LOGIN_LOG", + "label": "登录删除", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:logininfor:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_COMPANY_UPDATE": { + "id": "CAR_COMPANY_UPDATE", + "_parentId": "CAR_COMPANY_INDEX", + "label": "委托单位信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:company:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY_ORDER_FORMAL": { + "id": "OUTER_COMPANY_QUERY_ORDER_FORMAL", + "_parentId": "OUTER_COMPANY_QUERY", + "label": "委托单信息", + "sort": 1, + "alwaysShow": false, + "name": "OuterCompanyOrderFormal", + "path": "outerCompanyOrderFormal", + "component": "outer/company/orderFormal/index", + "perms": "company:orderFormal:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "委托单信息", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_NGPART_DELETE":{ - "id":"CAR_NGPART_DELETE", - "_parentId":"CAR_NGPART_INDEX", - "label":"NG部位信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:ngPart:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ONLINE_USER_BATCH_EXIT":{ - "id":"ONLINE_USER_BATCH_EXIT", - "_parentId":"ONLINE_USER", - "label":"批量强退", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:online:batchLogout", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY_RECORD":{ - "id":"OUTER_COMPANY_QUERY_RECORD", - "_parentId":"OUTER_COMPANY_QUERY", - "label":"点检记录", - "sort":4, - "alwaysShow":false, - "name":"OuterCompanyInspectRecord", - "path":"outerCompanyInspectRecord", - "component":"outer/company/inspectRecord/index", - "perms":"company:inspectRecord:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"点检记录", - "icon":"#", - "noCache":false, - "link":null + "CAR_INSPECT_INDEX": { + "id": "CAR_INSPECT_INDEX", + "_parentId": "CAR_CHECK", + "label": "车辆检查信息", + "sort": 3, + "alwaysShow": false, + "name": "Inspect", + "path": "inspect", + "component": "business/inspect/index", + "perms": "business:inspect:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆检查信息", + "icon": "#", + "noCache": false, + "link": null } }, - "OUTER_COMPANY_QUERY_INSPECT":{ - "id":"OUTER_COMPANY_QUERY_INSPECT", - "_parentId":"OUTER_COMPANY_QUERY", - "label":"车辆检查清单", - "sort":3, - "alwaysShow":false, - "name":"OuterCompanyInspectDetail", - "path":"outerCompanyInspectDetail", - "component":"outer/company/inspectDetail/index", - "perms":"company:inspectDetail:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆检查清单", - "icon":"#", - "noCache":false, - "link":null + "CAR_NGPART_EXPORT": { + "id": "CAR_NGPART_EXPORT", + "_parentId": "CAR_NGPART_INDEX", + "label": "NG部位信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:ngPart:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRECORD_DELETE": { + "id": "CAR_INSPECTRECORD_DELETE", + "_parentId": "CAR_INSPECTRECORD_INDEX_", + "label": "点检记录信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectRecord:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "MENU_MANAGE": { + "id": "MENU_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "菜单管理", + "sort": 3, + "alwaysShow": false, + "name": "Menu", + "path": "menu", + "component": "system/menu/index", + "perms": "system:menu:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "菜单管理", + "icon": "tree-table", + "noCache": false, + "link": null } }, - "CAR_INSPECTRESITE_UPDATE":{ - "id":"CAR_INSPECTRESITE_UPDATE", - "_parentId":"CAR_INSPECTRESITE_INDEX", - "label":"检查场地信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectSite:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRECORD_EXPORT":{ - "id":"CAR_INSPECTRECORD_EXPORT", - "_parentId":"CAR_INSPECTRECORD_INDEX_", - "label":"点检记录信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectRecord:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "NOTICE_MANAGE":{ - "id":"NOTICE_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"通知公告", - "sort":8, - "alwaysShow":false, - "name":"Notice", - "path":"notice", - "component":"system/notice/index", - "perms":"system:notice:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"通知公告", - "icon":"message", - "noCache":false, - "link":null + "USER_MANAGE": { + "id": "USER_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "用户管理", + "sort": 1, + "alwaysShow": false, + "name": "User", + "path": "user", + "component": "system/user/index", + "perms": "system:user:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "用户管理", + "icon": "user", + "noCache": false, + "link": null } }, - "CAR_PRERECORD_QUERY":{ - "id":"CAR_PRERECORD_QUERY", - "_parentId":"CAR_PRERECORD_INDEX", - "label":"查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:preRecord:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_DELETE":{ - "id":"CAR_POLLUTANT_DELETE", - "_parentId":"CAR_POLLUTANT_INDEX", - "label":"污染物信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:pollutant:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ROLE_MANAGE_EXPORT":{ - "id":"ROLE_MANAGE_EXPORT", - "_parentId":"ROLE_MANAGE", - "label":"角色导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:role:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_NGPART_QUERY":{ - "id":"CAR_NGPART_QUERY", - "_parentId":"CAR_NGPART_INDEX", - "label":"NG部位信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:ngPart:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_COMPANY_QUERY":{ - "id":"CAR_COMPANY_QUERY", - "_parentId":"CAR_COMPANY_INDEX", - "label":"委托单位信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:company:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_PRERECORD_ADD":{ - "id":"CAR_PRERECORD_ADD", - "_parentId":"CAR_PRERECORD_INDEX", - "label":"生效", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:preRecord:effect", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_UPDATE":{ - "id":"CAR_POLLUTANT_UPDATE", - "_parentId":"CAR_POLLUTANT_INDEX", - "label":"污染物信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:pollutant:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ACTION_LOG_EXPORT":{ - "id":"ACTION_LOG_EXPORT", - "_parentId":"ACTION_LOG", - "label":"日志导出", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:operlog:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_PRERECORD_IMPORT":{ - "id":"CAR_PRERECORD_IMPORT", - "_parentId":"CAR_PRERECORD_INDEX", - "label":"导入", - "sort":6, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:preRecord:import", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DICT_MANAGE_EXPORT":{ - "id":"DICT_MANAGE_EXPORT", - "_parentId":"DICT_MANAGE", - "label":"字典导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dict:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_CHECK":{ - "id":"CAR_CHECK", - "_parentId":"-1", - "label":"车辆检查管理", - "sort":8, - "alwaysShow":true, - "name":"Check", - "path":"/check", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"车辆检查管理", - "icon":"checkbox", - "noCache":false, - "link":null + "LOGIN_LOG_EXPORT": { + "id": "LOGIN_LOG_EXPORT", + "_parentId": "LOGIN_LOG", + "label": "日志导出", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:logininfor:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_EXPORT": { + "id": "CAR_POLLUTANT_EXPORT", + "_parentId": "CAR_POLLUTANT_INDEX", + "label": "污染物信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:pollutant:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "POST_MANAGE_QUERY": { + "id": "POST_MANAGE_QUERY", + "_parentId": "POST_MANAGE", + "label": "岗位查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:post:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DETAIL_QUERY": { + "id": "CAR_INSPECT_DETAIL_QUERY", + "_parentId": "CAR_INSPECT_DETAIL_INDEX", + "label": "详情", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectDetail:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL": { + "id": "OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL", + "_parentId": "OUTER_COMPANY_QUERY_ORDER_FORMAL", + "label": "查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:orderFormal:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR_UPDATE": { + "id": "CAR_INSPECTOR_UPDATE", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "检验员信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DEPT_MANAGE_UPDATE": { + "id": "DEPT_MANAGE_UPDATE", + "_parentId": "DEPT_MANAGE", + "label": "部门修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dept:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRECORD_QUERY": { + "id": "CAR_INSPECTRECORD_QUERY", + "_parentId": "CAR_INSPECTRECORD_INDEX_", + "label": "点检记录信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectRecord:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR_INDEX": { + "id": "CAR_INSPECTOR_INDEX", + "_parentId": "CAR_INSPECTOR", + "label": "检验员信息", + "sort": 1, + "alwaysShow": false, + "name": "Inspector", + "path": "inspector", + "component": "business/inspector/index", + "perms": "business:inspector:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "检验员信息", + "icon": "#", + "noCache": false, + "link": null } }, - "PARAM_CONFIG_ADD":{ - "id":"PARAM_CONFIG_ADD", - "_parentId":"PARAM_CONFIG", - "label":"参数新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:config:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DATA_MONITOR":{ - "id":"DATA_MONITOR", - "_parentId":"SYSTEM_MONITOR", - "label":"数据监控", - "sort":3, - "alwaysShow":false, - "name":"Druid", - "path":"druid", - "component":"monitor/druid/index", - "perms":"monitor:druid:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"数据监控", - "icon":"druid", - "noCache":false, - "link":null + "LOGIN_LOG": { + "id": "LOGIN_LOG", + "_parentId": "LOG_MANAGE", + "label": "登录日志", + "sort": 2, + "alwaysShow": false, + "name": "Logininfor", + "path": "logininfor", + "component": "monitor/logininfor/index", + "perms": "monitor:logininfor:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "登录日志", + "icon": "logininfor", + "noCache": false, + "link": null } }, - "CAR_ORDERFORMAL_UPDATE":{ - "id":"CAR_ORDERFORMAL_UPDATE", - "_parentId":"CAR_ORDERFORMAL_INDEX", - "label":"完成", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:orderFormal:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "FORM_BUILD":{ - "id":"FORM_BUILD", - "_parentId":"SYSTEM_TOOL", - "label":"表单构建", - "sort":1, - "alwaysShow":false, - "name":"Build", - "path":"build", - "component":"tool/build/index", - "perms":"tool:build:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"表单构建", - "icon":"build", - "noCache":false, - "link":null + "USER_MANAGE_UPDATE": { + "id": "USER_MANAGE_UPDATE", + "_parentId": "USER_MANAGE", + "label": "用户修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_NGPART_ADD": { + "id": "CAR_NGPART_ADD", + "_parentId": "CAR_NGPART_INDEX", + "label": "NG部位信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:ngPart:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "POST_MANAGE_UPDATE": { + "id": "POST_MANAGE_UPDATE", + "_parentId": "POST_MANAGE", + "label": "岗位修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:post:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTOR_EXPORT": { + "id": "CAR_INSPECTOR_EXPORT", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "检验员信息导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:export", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_COMPANY_DELETE": { + "id": "CAR_COMPANY_DELETE", + "_parentId": "CAR_COMPANY_INDEX", + "label": "委托单位信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:company:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "MENU_MANAGE_ADD": { + "id": "MENU_MANAGE_ADD", + "_parentId": "MENU_MANAGE", + "label": "菜单新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:menu:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "LOGIN_LOG_QUERY": { + "id": "LOGIN_LOG_QUERY", + "_parentId": "LOGIN_LOG", + "label": "登录查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:logininfor:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "USER_MANAGE_RESET_PASS": { + "id": "USER_MANAGE_RESET_PASS", + "_parentId": "USER_MANAGE", + "label": "重置密码", + "sort": 7, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:resetPwd", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DETAIL_DELETE": { + "id": "CAR_INSPECT_DETAIL_DELETE", + "_parentId": "CAR_INSPECT_DETAIL_INDEX", + "label": "精简导出", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectDetail:exportSum", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY_INSPECT_DETAIL": { + "id": "OUTER_COMPANY_QUERY_INSPECT_DETAIL", + "_parentId": "OUTER_COMPANY_QUERY_INSPECT", + "label": "详情", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectDetail:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ROLE_MANAGE_UPDATE": { + "id": "ROLE_MANAGE_UPDATE", + "_parentId": "ROLE_MANAGE", + "label": "角色修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:role:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ACTION_LOG_QUERY": { + "id": "ACTION_LOG_QUERY", + "_parentId": "ACTION_LOG", + "label": "操作查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "monitor:operlog:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "USER_MANAGE_QUERY": { + "id": "USER_MANAGE_QUERY", + "_parentId": "USER_MANAGE", + "label": "用户查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:user:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_COMPANY": { + "id": "CAR_COMPANY", + "_parentId": "-1", + "label": "委托单位管理", + "sort": 6, + "alwaysShow": true, + "name": "Company", + "path": "/company", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "委托单位管理", + "icon": "logininfor", + "noCache": false, + "link": null } }, - "DICT_MANAGE_DELETE":{ - "id":"DICT_MANAGE_DELETE", - "_parentId":"DICT_MANAGE", - "label":"字典删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dict:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ROLE_MANAGE_DELETE":{ - "id":"ROLE_MANAGE_DELETE", - "_parentId":"ROLE_MANAGE", - "label":"角色删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:role:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRESITE_QUERY":{ - "id":"CAR_INSPECTRESITE_QUERY", - "_parentId":"CAR_INSPECTRESITE_INDEX", - "label":"检查场地信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectSite:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRECORD_ADD":{ - "id":"CAR_INSPECTRECORD_ADD", - "_parentId":"CAR_INSPECTRECORD_INDEX_", - "label":"点检记录信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectRecord:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DICT_MANAGE_ADD":{ - "id":"DICT_MANAGE_ADD", - "_parentId":"DICT_MANAGE", - "label":"字典新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dict:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_DETAIL_EXPORT":{ - "id":"CAR_INSPECT_DETAIL_EXPORT", - "_parentId":"CAR_INSPECT_DETAIL_INDEX", - "label":"详单导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectDetail:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_INDEX":{ - "id":"CAR_POLLUTANT_INDEX", - "_parentId":"CAR_BASE", - "label":"污染物信息", - "sort":1, - "alwaysShow":false, - "name":"Pollutant", - "path":"pollutant", - "component":"business/pollutant/index", - "perms":"business:pollutant:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"污染物信息", - "icon":"#", - "noCache":false, - "link":null + "DEPT_MANAGE": { + "id": "DEPT_MANAGE", + "_parentId": "SYSTEM_MANAGE", + "label": "组织单位管理", + "sort": 4, + "alwaysShow": false, + "name": "Dept", + "path": "dept", + "component": "system/dept/index", + "perms": "system:dept:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "组织单位管理", + "icon": "tree", + "noCache": false, + "link": null } }, - "LOGIN_LOG_DELETE":{ - "id":"LOGIN_LOG_DELETE", - "_parentId":"LOGIN_LOG", - "label":"登录删除", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:logininfor:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_COMPANY_UPDATE":{ - "id":"CAR_COMPANY_UPDATE", - "_parentId":"CAR_COMPANY_INDEX", - "label":"委托单位信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:company:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY_ORDER_FORMAL":{ - "id":"OUTER_COMPANY_QUERY_ORDER_FORMAL", - "_parentId":"OUTER_COMPANY_QUERY", - "label":"委托单信息", - "sort":1, - "alwaysShow":false, - "name":"OuterCompanyOrderFormal", - "path":"outerCompanyOrderFormal", - "component":"outer/company/orderFormal/index", - "perms":"company:orderFormal:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"委托单信息", - "icon":"#", - "noCache":false, - "link":null + "CAR_NGPART_UPDATE": { + "id": "CAR_NGPART_UPDATE", + "_parentId": "CAR_NGPART_INDEX", + "label": "NG部位信息修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:ngPart:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "ACTION_LOG": { + "id": "ACTION_LOG", + "_parentId": "LOG_MANAGE", + "label": "操作日志", + "sort": 1, + "alwaysShow": false, + "name": "Operlog", + "path": "operlog", + "component": "monitor/operlog/index", + "perms": "monitor:operlog:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "操作日志", + "icon": "form", + "noCache": false, + "link": null } }, - "CAR_INSPECT_INDEX":{ - "id":"CAR_INSPECT_INDEX", - "_parentId":"CAR_CHECK", - "label":"车辆检查信息", - "sort":3, - "alwaysShow":false, - "name":"Inspect", - "path":"inspect", - "component":"business/inspect/index", - "perms":"business:inspect:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆检查信息", - "icon":"#", - "noCache":false, - "link":null + "CAR_INSPECTRECORD_INDEX_": { + "id": "CAR_INSPECTRECORD_INDEX_", + "_parentId": "CAR_CHECK", + "label": "点检记录", + "sort": 5, + "alwaysShow": false, + "name": "InspectRecord", + "path": "inspectRecord", + "component": "business/inspectRecord/index", + "perms": "business:inspectRecord:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "点检记录", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_NGPART_EXPORT":{ - "id":"CAR_NGPART_EXPORT", - "_parentId":"CAR_NGPART_INDEX", - "label":"NG部位信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:ngPart:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRECORD_DELETE":{ - "id":"CAR_INSPECTRECORD_DELETE", - "_parentId":"CAR_INSPECTRECORD_INDEX_", - "label":"点检记录信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectRecord:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "MENU_MANAGE":{ - "id":"MENU_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"菜单管理", - "sort":3, - "alwaysShow":false, - "name":"Menu", - "path":"menu", - "component":"system/menu/index", - "perms":"system:menu:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"菜单管理", - "icon":"tree-table", - "noCache":false, - "link":null + "CAR_PRERECORD_DETAIL_QUERY": { + "id": "CAR_PRERECORD_DETAIL_QUERY", + "_parentId": "CAR_PRERECORD_DETAIL_INDEX", + "label": "车辆预录信息明细查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecordDetail:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRESITE_DELETE": { + "id": "CAR_INSPECTRESITE_DELETE", + "_parentId": "CAR_INSPECTRESITE_INDEX", + "label": "检查场地信息删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspectSite:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "MENU_MANAGE_UPDATE": { + "id": "MENU_MANAGE_UPDATE", + "_parentId": "MENU_MANAGE", + "label": "菜单修改", + "sort": 3, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:menu:edit", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_ORDERFORMAL_INDEX": { + "id": "CAR_ORDERFORMAL_INDEX", + "_parentId": "CAR_CHECK", + "label": "委托单信息", + "sort": 2, + "alwaysShow": false, + "name": "OrderFormal", + "path": "orderFormal", + "component": "business/orderFormal/index", + "perms": "business:orderFormal:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "委托单信息", + "icon": "#", + "noCache": false, + "link": null } }, - "USER_MANAGE":{ - "id":"USER_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"用户管理", - "sort":1, - "alwaysShow":false, - "name":"User", - "path":"user", - "component":"system/user/index", - "perms":"system:user:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"用户管理", - "icon":"user", - "noCache":false, - "link":null + "MENU_MANAGE_DELETE": { + "id": "MENU_MANAGE_DELETE", + "_parentId": "MENU_MANAGE", + "label": "菜单删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:menu:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_NGPART_INDEX": { + "id": "CAR_NGPART_INDEX", + "_parentId": "CAR_BASE", + "label": "NG部位信息", + "sort": 1, + "alwaysShow": false, + "name": "NgPart", + "path": "ngPart", + "component": "business/ngPart/index", + "perms": "business:ngPart:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "NG部位信息", + "icon": "#", + "noCache": false, + "link": null } }, - "LOGIN_LOG_EXPORT":{ - "id":"LOGIN_LOG_EXPORT", - "_parentId":"LOGIN_LOG", - "label":"日志导出", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:logininfor:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_EXPORT":{ - "id":"CAR_POLLUTANT_EXPORT", - "_parentId":"CAR_POLLUTANT_INDEX", - "label":"污染物信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:pollutant:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "POST_MANAGE_QUERY":{ - "id":"POST_MANAGE_QUERY", - "_parentId":"POST_MANAGE", - "label":"岗位查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:post:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "FORM_BUILD_UPDATE":{ - "id":"FORM_BUILD_UPDATE", - "_parentId":"FORM_BUILD", - "label":"生成修改", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "PARAM_CONFIG_QUERY":{ - "id":"PARAM_CONFIG_QUERY", - "_parentId":"PARAM_CONFIG", - "label":"参数查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:config:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_DETAIL_QUERY":{ - "id":"CAR_INSPECT_DETAIL_QUERY", - "_parentId":"CAR_INSPECT_DETAIL_INDEX", - "label":"详情", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectDetail:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL":{ - "id":"OUTER_COMPANY_QUERY_ORDER_FORMAL_DETAIL", - "_parentId":"OUTER_COMPANY_QUERY_ORDER_FORMAL", - "label":"查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:orderFormal:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR_UPDATE":{ - "id":"CAR_INSPECTOR_UPDATE", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"检验员信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DEPT_MANAGE_UPDATE":{ - "id":"DEPT_MANAGE_UPDATE", - "_parentId":"DEPT_MANAGE", - "label":"部门修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dept:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ONLINE_USER_ONE_EXIT":{ - "id":"ONLINE_USER_ONE_EXIT", - "_parentId":"ONLINE_USER", - "label":"单条强退", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:online:forceLogout", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRECORD_QUERY":{ - "id":"CAR_INSPECTRECORD_QUERY", - "_parentId":"CAR_INSPECTRECORD_INDEX_", - "label":"点检记录信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectRecord:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR_INDEX":{ - "id":"CAR_INSPECTOR_INDEX", - "_parentId":"CAR_INSPECTOR", - "label":"检验员信息", - "sort":1, - "alwaysShow":false, - "name":"Inspector", - "path":"inspector", - "component":"business/inspector/index", - "perms":"business:inspector:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"检验员信息", - "icon":"#", - "noCache":false, - "link":null + "CAR_BASE": { + "id": "CAR_BASE", + "_parentId": "-1", + "label": "基础数据管理", + "sort": 7, + "alwaysShow": true, + "name": "Base", + "path": "/base", + "component": "Layout", + "perms": null, + "isBtn": false, + "redirect": "noRedirect", + "meta": { + "title": "基础数据管理", + "icon": "excel", + "noCache": false, + "link": null } }, - "LOGIN_LOG":{ - "id":"LOGIN_LOG", - "_parentId":"LOG_MANAGE", - "label":"登录日志", - "sort":2, - "alwaysShow":false, - "name":"Logininfor", - "path":"logininfor", - "component":"monitor/logininfor/index", - "perms":"monitor:logininfor:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"登录日志", - "icon":"logininfor", - "noCache":false, - "link":null + "CAR_INSPECTOR_ADD": { + "id": "CAR_INSPECTOR_ADD", + "_parentId": "CAR_INSPECTOR_INDEX", + "label": "检验员信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspector:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_QUERY": { + "id": "CAR_POLLUTANT_QUERY", + "_parentId": "CAR_POLLUTANT_INDEX", + "label": "污染物信息查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:pollutant:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_POLLUTANT_ADD": { + "id": "CAR_POLLUTANT_ADD", + "_parentId": "CAR_POLLUTANT_INDEX", + "label": "污染物信息新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:pollutant:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "POST_MANAGE_DELETE": { + "id": "POST_MANAGE_DELETE", + "_parentId": "POST_MANAGE", + "label": "岗位删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:post:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_ORDERFORMAL_ADD": { + "id": "CAR_ORDERFORMAL_ADD", + "_parentId": "CAR_ORDERFORMAL_INDEX", + "label": "新增车辆", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:orderFormal:addCar", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECTRESITE_INDEX": { + "id": "CAR_INSPECTRESITE_INDEX", + "_parentId": "CAR_SITE", + "label": "检查场地信息", + "sort": 1, + "alwaysShow": false, + "name": "InspectSite", + "path": "inspectSite", + "component": "business/inspectSite/index", + "perms": "business:inspectSite:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "检查场地信息", + "icon": "#", + "noCache": false, + "link": null } }, - "USER_MANAGE_UPDATE":{ - "id":"USER_MANAGE_UPDATE", - "_parentId":"USER_MANAGE", - "label":"用户修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_NGPART_ADD":{ - "id":"CAR_NGPART_ADD", - "_parentId":"CAR_NGPART_INDEX", - "label":"NG部位信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:ngPart:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "POST_MANAGE_UPDATE":{ - "id":"POST_MANAGE_UPDATE", - "_parentId":"POST_MANAGE", - "label":"岗位修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:post:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTOR_EXPORT":{ - "id":"CAR_INSPECTOR_EXPORT", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"检验员信息导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "SYSTEM_MONITOR":{ - "id":"SYSTEM_MONITOR", - "_parentId":"-1", - "label":"系统监控", - "sort":2, - "alwaysShow":true, - "name":"Monitor", - "path":"/monitor", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"系统监控", - "icon":"monitor", - "noCache":false, - "link":null + "POST_MANAGE_ADD": { + "id": "POST_MANAGE_ADD", + "_parentId": "POST_MANAGE", + "label": "岗位新增", + "sort": 2, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:post:add", + "isBtn": true, + "redirect": null, + "meta": null + }, + "DEPT_MANAGE_QUERY": { + "id": "DEPT_MANAGE_QUERY", + "_parentId": "DEPT_MANAGE", + "label": "部门查询", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "system:dept:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_INSPECT_DELETE": { + "id": "CAR_INSPECT_DELETE", + "_parentId": "CAR_INSPECT_INDEX", + "label": "删除", + "sort": 4, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspect:remove", + "isBtn": true, + "redirect": null, + "meta": null + }, + "OUTER_COMPANY_QUERY_CAR": { + "id": "OUTER_COMPANY_QUERY_CAR", + "_parentId": "OUTER_COMPANY_QUERY", + "label": "车辆检查信息", + "sort": 2, + "alwaysShow": false, + "name": "OuterCompanyInspect", + "path": "outerCompanyInspect", + "component": "outer/company/inspect/index", + "perms": "company:inspect:list", + "isBtn": false, + "redirect": null, + "meta": { + "title": "车辆检查信息", + "icon": "#", + "noCache": false, + "link": null } }, - "CAR_COMPANY_DELETE":{ - "id":"CAR_COMPANY_DELETE", - "_parentId":"CAR_COMPANY_INDEX", - "label":"委托单位信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:company:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "MENU_MANAGE_ADD":{ - "id":"MENU_MANAGE_ADD", - "_parentId":"MENU_MANAGE", - "label":"菜单新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:menu:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "LOGIN_LOG_QUERY":{ - "id":"LOGIN_LOG_QUERY", - "_parentId":"LOGIN_LOG", - "label":"登录查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:logininfor:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "USER_MANAGE_RESET_PASS":{ - "id":"USER_MANAGE_RESET_PASS", - "_parentId":"USER_MANAGE", - "label":"重置密码", - "sort":7, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:resetPwd", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECT_DETAIL_DELETE":{ - "id":"CAR_INSPECT_DETAIL_DELETE", - "_parentId":"CAR_INSPECT_DETAIL_INDEX", - "label":"精简导出", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectDetail:exportSum", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY_INSPECT_DETAIL":{ - "id":"OUTER_COMPANY_QUERY_INSPECT_DETAIL", - "_parentId":"OUTER_COMPANY_QUERY_INSPECT", - "label":"详情", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectDetail:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ROLE_MANAGE_UPDATE":{ - "id":"ROLE_MANAGE_UPDATE", - "_parentId":"ROLE_MANAGE", - "label":"角色修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:role:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ACTION_LOG_QUERY":{ - "id":"ACTION_LOG_QUERY", - "_parentId":"ACTION_LOG", - "label":"操作查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"monitor:operlog:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "USER_MANAGE_QUERY":{ - "id":"USER_MANAGE_QUERY", - "_parentId":"USER_MANAGE", - "label":"用户查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:user:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_COMPANY":{ - "id":"CAR_COMPANY", - "_parentId":"-1", - "label":"委托单位管理", - "sort":6, - "alwaysShow":true, - "name":"Company", - "path":"/company", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"委托单位管理", - "icon":"logininfor", - "noCache":false, - "link":null - } - }, - "PARAM_CONFIG_DELETE":{ - "id":"PARAM_CONFIG_DELETE", - "_parentId":"PARAM_CONFIG", - "label":"参数删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:config:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DEPT_MANAGE":{ - "id":"DEPT_MANAGE", - "_parentId":"SYSTEM_MANAGE", - "label":"组织单位管理", - "sort":4, - "alwaysShow":false, - "name":"Dept", - "path":"dept", - "component":"system/dept/index", - "perms":"system:dept:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"组织单位管理", - "icon":"tree", - "noCache":false, - "link":null - } - }, - "CAR_NGPART_UPDATE":{ - "id":"CAR_NGPART_UPDATE", - "_parentId":"CAR_NGPART_INDEX", - "label":"NG部位信息修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:ngPart:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ACTION_LOG":{ - "id":"ACTION_LOG", - "_parentId":"LOG_MANAGE", - "label":"操作日志", - "sort":1, - "alwaysShow":false, - "name":"Operlog", - "path":"operlog", - "component":"monitor/operlog/index", - "perms":"monitor:operlog:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"操作日志", - "icon":"form", - "noCache":false, - "link":null - } - }, - "CAR_INSPECTRECORD_INDEX_":{ - "id":"CAR_INSPECTRECORD_INDEX_", - "_parentId":"CAR_CHECK", - "label":"点检记录", - "sort":5, - "alwaysShow":false, - "name":"InspectRecord", - "path":"inspectRecord", - "component":"business/inspectRecord/index", - "perms":"business:inspectRecord:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"点检记录", - "icon":"#", - "noCache":false, - "link":null - } - }, - "NOTICE_MANAGE_QUERY":{ - "id":"NOTICE_MANAGE_QUERY", - "_parentId":"NOTICE_MANAGE", - "label":"公告查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:notice:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_PRERECORD_DETAIL_QUERY":{ - "id":"CAR_PRERECORD_DETAIL_QUERY", - "_parentId":"CAR_PRERECORD_DETAIL_INDEX", - "label":"车辆预录信息明细查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:preRecordDetail:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRESITE_DELETE":{ - "id":"CAR_INSPECTRESITE_DELETE", - "_parentId":"CAR_INSPECTRESITE_INDEX", - "label":"检查场地信息删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspectSite:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "MENU_MANAGE_UPDATE":{ - "id":"MENU_MANAGE_UPDATE", - "_parentId":"MENU_MANAGE", - "label":"菜单修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:menu:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_ORDERFORMAL_INDEX":{ - "id":"CAR_ORDERFORMAL_INDEX", - "_parentId":"CAR_CHECK", - "label":"委托单信息", - "sort":2, - "alwaysShow":false, - "name":"OrderFormal", - "path":"orderFormal", - "component":"business/orderFormal/index", - "perms":"business:orderFormal:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"委托单信息", - "icon":"#", - "noCache":false, - "link":null - } - }, - "FORM_BUILD_PREVIEW":{ - "id":"FORM_BUILD_PREVIEW", - "_parentId":"FORM_BUILD", - "label":"预览代码", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:preview", - "isBtn":true, - "redirect":null, - "meta":null - }, - "MENU_MANAGE_DELETE":{ - "id":"MENU_MANAGE_DELETE", - "_parentId":"MENU_MANAGE", - "label":"菜单删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:menu:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_NGPART_INDEX":{ - "id":"CAR_NGPART_INDEX", - "_parentId":"CAR_BASE", - "label":"NG部位信息", - "sort":1, - "alwaysShow":false, - "name":"NgPart", - "path":"ngPart", - "component":"business/ngPart/index", - "perms":"business:ngPart:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"NG部位信息", - "icon":"#", - "noCache":false, - "link":null - } - }, - "CAR_BASE":{ - "id":"CAR_BASE", - "_parentId":"-1", - "label":"基础数据管理", - "sort":7, - "alwaysShow":true, - "name":"Base", - "path":"/base", - "component":"Layout", - "perms":null, - "isBtn":false, - "redirect":"noRedirect", - "meta":{ - "title":"基础数据管理", - "icon":"excel", - "noCache":false, - "link":null - } - }, - "CAR_INSPECTOR_ADD":{ - "id":"CAR_INSPECTOR_ADD", - "_parentId":"CAR_INSPECTOR_INDEX", - "label":"检验员信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspector:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "NOTICE_MANAGE_ADD":{ - "id":"NOTICE_MANAGE_ADD", - "_parentId":"NOTICE_MANAGE", - "label":"公告新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:notice:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_QUERY":{ - "id":"CAR_POLLUTANT_QUERY", - "_parentId":"CAR_POLLUTANT_INDEX", - "label":"污染物信息查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:pollutant:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_POLLUTANT_ADD":{ - "id":"CAR_POLLUTANT_ADD", - "_parentId":"CAR_POLLUTANT_INDEX", - "label":"污染物信息新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:pollutant:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "POST_MANAGE_DELETE":{ - "id":"POST_MANAGE_DELETE", - "_parentId":"POST_MANAGE", - "label":"岗位删除", - "sort":4, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:post:remove", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_ORDERFORMAL_ADD":{ - "id":"CAR_ORDERFORMAL_ADD", - "_parentId":"CAR_ORDERFORMAL_INDEX", - "label":"新增车辆", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:orderFormal:addCar", - "isBtn":true, - "redirect":null, - "meta":null - }, - "CAR_INSPECTRESITE_INDEX":{ - "id":"CAR_INSPECTRESITE_INDEX", - "_parentId":"CAR_SITE", - "label":"检查场地信息", - "sort":1, - "alwaysShow":false, - "name":"InspectSite", - "path":"inspectSite", - "component":"business/inspectSite/index", - "perms":"business:inspectSite:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"检查场地信息", - "icon":"#", - "noCache":false, - "link":null - } - }, - "POST_MANAGE_ADD":{ - "id":"POST_MANAGE_ADD", - "_parentId":"POST_MANAGE", - "label":"岗位新增", - "sort":2, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:post:add", - "isBtn":true, - "redirect":null, - "meta":null - }, - "DEPT_MANAGE_QUERY":{ - "id":"DEPT_MANAGE_QUERY", - "_parentId":"DEPT_MANAGE", - "label":"部门查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:dept:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "NOTICE_MANAGE_UPDATE":{ - "id":"NOTICE_MANAGE_UPDATE", - "_parentId":"NOTICE_MANAGE", - "label":"公告修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:notice:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "SERVICE_MONITOR":{ - "id":"SERVICE_MONITOR", - "_parentId":"SYSTEM_MONITOR", - "label":"服务监控", - "sort":4, - "alwaysShow":false, - "name":"Server", - "path":"server", - "component":"monitor/server/index", - "perms":"monitor:server:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"服务监控", - "icon":"server", - "noCache":false, - "link":null - } - }, - "FORM_BUILD_QUERY":{ - "id":"FORM_BUILD_QUERY", - "_parentId":"FORM_BUILD", - "label":"生成查询", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"tool:gen:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "PARAM_CONFIG_EXPORT":{ - "id":"PARAM_CONFIG_EXPORT", - "_parentId":"PARAM_CONFIG", - "label":"参数导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:config:export", - "isBtn":true, - "redirect":null, - "meta":null - }, - "OUTER_COMPANY_QUERY_CAR":{ - "id":"OUTER_COMPANY_QUERY_CAR", - "_parentId":"OUTER_COMPANY_QUERY", - "label":"车辆检查信息", - "sort":2, - "alwaysShow":false, - "name":"OuterCompanyInspect", - "path":"outerCompanyInspect", - "component":"outer/company/inspect/index", - "perms":"company:inspect:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"车辆检查信息", - "icon":"#", - "noCache":false, - "link":null - } - }, - "OUTER_COMPANY_QUERY_CAR_DETAIL":{ - "id":"OUTER_COMPANY_QUERY_CAR_DETAIL", - "_parentId":"OUTER_COMPANY_QUERY_CAR", - "label":"详情", - "sort":1, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:inspect:query", - "isBtn":true, - "redirect":null, - "meta":null - }, - "PARAM_CONFIG_UPDATE":{ - "id":"PARAM_CONFIG_UPDATE", - "_parentId":"PARAM_CONFIG", - "label":"参数修改", - "sort":3, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"system:config:edit", - "isBtn":true, - "redirect":null, - "meta":null - }, - "ONLINE_USER":{ - "id":"ONLINE_USER", - "_parentId":"SYSTEM_MONITOR", - "label":"在线用户", - "sort":1, - "alwaysShow":false, - "name":"Online", - "path":"online", - "component":"monitor/online/index", - "perms":"monitor:online:list", - "isBtn":false, - "redirect":null, - "meta":{ - "title":"在线用户", - "icon":"online", - "noCache":false, - "link":null - } - }, - "CAR_PRERECORD_DETAIL_EXPORT":{ - "id":"CAR_PRERECORD_DETAIL_EXPORT", - "_parentId":"CAR_PRERECORD_DETAIL_INDEX", - "label":"车辆预录信息明细导出", - "sort":5, - "alwaysShow":false, - "name":null, - "path":null, - "component":null, - "perms":"business:preRecordDetail:export", - "isBtn":true, - "redirect":null, - "meta":null + "OUTER_COMPANY_QUERY_CAR_DETAIL": { + "id": "OUTER_COMPANY_QUERY_CAR_DETAIL", + "_parentId": "OUTER_COMPANY_QUERY_CAR", + "label": "详情", + "sort": 1, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:inspect:query", + "isBtn": true, + "redirect": null, + "meta": null + }, + "CAR_PRERECORD_DETAIL_EXPORT": { + "id": "CAR_PRERECORD_DETAIL_EXPORT", + "_parentId": "CAR_PRERECORD_DETAIL_INDEX", + "label": "车辆预录信息明细导出", + "sort": 5, + "alwaysShow": false, + "name": null, + "path": null, + "component": null, + "perms": "business:preRecordDetail:export", + "isBtn": true, + "redirect": null, + "meta": null } -} +} \ No newline at end of file diff --git a/car-check/carcheck-ui/src/views/business/inspectDetail/index.vue b/car-check/carcheck-ui/src/views/business/inspectDetail/index.vue index 6200df50..47577b69 100644 --- a/car-check/carcheck-ui/src/views/business/inspectDetail/index.vue +++ b/car-check/carcheck-ui/src/views/business/inspectDetail/index.vue @@ -2,225 +2,467 @@ * @Author: 1036896656@qq.com 1036896656@qq.com * @Date: 2023-09-18 14:02:06 * @LastEditors: 1036896656@qq.com 1036896656@qq.com - * @LastEditTime: 2023-09-22 11:11:49 + * @LastEditTime: 2024-04-02 11:02:49 * @FilePath: \carcheck-ui\src\views\business\inspectDetail\index.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> diff --git a/car-check/carcheck-ui/src/views/index.vue b/car-check/carcheck-ui/src/views/index.vue index 4b6af060..ec0d0669 100644 --- a/car-check/carcheck-ui/src/views/index.vue +++ b/car-check/carcheck-ui/src/views/index.vue @@ -5,6 +5,20 @@
更新日志
+ + +
    +
  1. 新增:管控台-->车辆预录信息功能:删除已生效的预录单,并删除对应的车辆清单、委托单及检查信息
  2. +
  3. 新增:管控台-->车辆检查信息功能:删除车辆信息
  4. +
  5. 新增:管控台-->委托单信息功能:新增批量导入车辆功能
  6. +
  7. 新增:管控台-->委托单信息功能:新增强制完成功能
  8. +
  9. 优化:管控台-->车辆检查清单功能:增加车型,涉及查询列表、详情、导出表1和表2
  10. +
  11. 优化:管控台-->车辆检查清单功能:优化导出检查图片大文件功能
  12. +
  13. 优化:APP-->新增污染物页面字体颜色调整
  14. +
+
+
+
    @@ -120,7 +134,7 @@ export default { data() { return { // 版本号 - version: "1.0.8", + version: "1.0.9", }; }, methods: {}, diff --git a/car-check/pom.xml b/car-check/pom.xml index db5c1ef2..1e865839 100644 --- a/car-check/pom.xml +++ b/car-check/pom.xml @@ -4,7 +4,7 @@ com.jiuyv carcheck-console - 1.0.2-SNAPSHOT + 1.0.5-SNAPSHOT pom 上海中检机动车整车生物安全检查系统 @@ -17,7 +17,7 @@ 1.8 1.8 3.1.1 - 1.2.11 + 1.2.23 1.21 2.3.2 2.2.2 diff --git a/carbon-dataprocess/carbon-dataprocess-api/pom.xml b/carbon-dataprocess/carbon-dataprocess-api/pom.xml index 452612cd..0856eefa 100644 --- a/carbon-dataprocess/carbon-dataprocess-api/pom.xml +++ b/carbon-dataprocess/carbon-dataprocess-api/pom.xml @@ -3,7 +3,7 @@ com.jiuyv.sptcc carbon-dataprocess - 0.5.1-SNAPSHOT + 0.5.7-SNAPSHOT carbon-dataprocess-api diff --git a/carbon-dataprocess/carbon-dataprocess-service/pom.xml b/carbon-dataprocess/carbon-dataprocess-service/pom.xml index 4205e9f2..239f5452 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/pom.xml +++ b/carbon-dataprocess/carbon-dataprocess-service/pom.xml @@ -4,7 +4,7 @@ com.jiuyv.sptcc carbon-dataprocess - 0.5.1-SNAPSHOT + 0.5.7-SNAPSHOT carbon-dataprocess-service @@ -159,7 +159,19 @@ spring-boot-starter-test test - + + com.h2database + h2 + test + + + org.springframework.boot + spring-boot-starter-cache + + + com.github.ben-manes.caffeine + caffeine + diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/DataProcessApplication.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/DataProcessApplication.java index 28143d57..e15428df 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/DataProcessApplication.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/DataProcessApplication.java @@ -2,12 +2,14 @@ package com.jiuyv.sptcc.carbon.dataprocess; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cache.annotation.EnableCaching; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; @EnableDiscoveryClient @EnableFeignClients @SpringBootApplication +@EnableCaching public class DataProcessApplication { public static void main(String[] args) { diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/config/sftp/SftpProperties.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/config/sftp/SftpProperties.java index c6ddb2c3..72393088 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/config/sftp/SftpProperties.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/config/sftp/SftpProperties.java @@ -12,6 +12,7 @@ public class SftpProperties { private String password; private String remoteDir; private String fileSuffix; + private String nfcFileSuffix; private String tempDir; /** @@ -116,4 +117,12 @@ public class SftpProperties { public void setFileSuffix(String fileSuffix) { this.fileSuffix = fileSuffix; } + + public String getNfcFileSuffix() { + return nfcFileSuffix; + } + + public void setNfcFileSuffix(String nfcFileSuffix) { + this.nfcFileSuffix = nfcFileSuffix; + } } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/Test02Controller.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/Test02Controller.java new file mode 100644 index 00000000..70f67f78 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/Test02Controller.java @@ -0,0 +1,25 @@ +package com.jiuyv.sptcc.carbon.dataprocess.controller; + +import org.springframework.web.bind.annotation.ControllerAdvice; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * @author ren_chao + * @since 2024-09-05 + */ +@ControllerAdvice +public class Test02Controller { + @ExceptionHandler(TestException.class) + @ResponseBody + public String handleException(TestException ex) { + System.out.println("捕获到TestException。。。。。。"); + // 处理异常并返回视图名 + return "error"; + } + + + static class TestException extends RuntimeException { + } +} + diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/TestController.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/TestController.java index 7d4322a6..1b93ab4a 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/TestController.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/controller/TestController.java @@ -1,42 +1,49 @@ package com.jiuyv.sptcc.carbon.dataprocess.controller; -import com.jiuyv.sptcc.carbon.dataprocess.domain.BcCalcFactor; -import com.jiuyv.sptcc.carbon.dataprocess.exception.ServiceException; +import com.jiuyv.sptcc.carbon.dataprocess.domain.BcTravelNotice; +import com.jiuyv.sptcc.carbon.dataprocess.enums.ChainStatusEnum; import com.jiuyv.sptcc.carbon.dataprocess.feign.SmsSendFeign; +import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcTravelNoticeMapper; import com.jiuyv.sptcc.carbon.dataprocess.service.ICalculateReductionService; import com.jiuyv.sptcc.carbon.dataprocess.service.IDataAuditService; import com.jiuyv.sptcc.carbon.dataprocess.service.IPushReductionService; import com.jiuyv.sptcc.carbon.dataprocess.service.IReadFileService; import com.jiuyv.sptcc.carbon.dataprocess.service.ISignResultService; +import com.jiuyv.sptcc.carbon.dataprocess.service.impl.CalculateReductionServiceImpl; +import org.apache.commons.codec.binary.Base64; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.support.DefaultSingletonBeanRegistry; -import org.springframework.boot.SpringApplicationRunListener; import org.springframework.context.ApplicationContext; -import org.springframework.core.metrics.StartupStep; +import org.springframework.core.annotation.AnnotatedElementUtils; +import org.springframework.stereotype.Controller; +import org.springframework.util.StreamUtils; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; - -import java.lang.reflect.Field; -import java.text.DecimalFormat; -import java.time.LocalDateTime; -import java.time.format.DateTimeFormatter; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.LinkedHashMap; +import org.springframework.web.util.UriComponents; +import org.springframework.web.util.UriComponentsBuilder; + +import javax.crypto.Cipher; +import java.nio.charset.StandardCharsets; +import java.security.KeyFactory; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.NoSuchAlgorithmException; +import java.security.spec.PKCS8EncodedKeySpec; +import java.security.spec.X509EncodedKeySpec; +import java.util.Arrays; import java.util.List; import java.util.Map; -import java.util.function.Consumer; +import java.util.concurrent.Callable; +import java.util.stream.Collectors; /** * @author ren_chao */ @RestController public class TestController { - private static final Logger LOGGER = LoggerFactory.getLogger(TestController.class); @Autowired private IReadFileService readFileService; @@ -52,11 +59,9 @@ public class TestController { @Autowired private IDataAuditService dataAuditService; - @Autowired - private SmsSendFeign smsSendFeign; @Autowired - private ApplicationContext applicationContext; + private BcTravelNoticeMapper travelNoticeMapper; @GetMapping("test00") public String test00(@RequestParam("date") String date) { @@ -102,23 +107,65 @@ public class TestController { } @GetMapping("/test888") - public String test888(@RequestParam("sms") String sms, @RequestParam("code") String code, @RequestParam("phoneNo") String phoneNo) { - System.out.println("================================="); - System.out.println(sms); - System.out.println(code); - System.out.println(phoneNo); - System.out.println("================================="); + public String test888(@RequestParam("date") String date) { + if ("tt".equals(date)) { + throw new Test02Controller.TestException(); + } + return "OK================================="; - return smsSendFeign.send(phoneNo, sms, code); + } + + @GetMapping("/async-callable") + public Callable asyncCallable() { + System.out.println("本来线程。。。。。::" + Thread.currentThread().getName()); + return () -> { + // 模拟长时间任务 + Thread.sleep(10000); + System.out.println("任务线程。。。。。::" + Thread.currentThread().getName()); + return "异步结果........." + Thread.currentThread().getName(); + }; } + + public static void main2(String[] args) throws Exception { + KeyFactory keyFactory = KeyFactory.getInstance("RSA"); + + // 加密 + byte[] privateKey = Base64.decodeBase64("MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJYXMNSmNOb+tbKjr9NMvFKpG5d6sseMt+TAjdj9Bk4mgbdYXGOyqyPheJWexO0Cb0v33f8rHfVnVaOnr1vphVFjblmm22Q/BKQ7reEvVaWOwfk+Hw1MAkAHLCAaaPHpqmGGgsUY1u4bmJTS5SMgkZc/++XqAOcE65kjuYg2acv5AgMBAAECgYB1SLHzud1lFGzPp3Fh4HjY7ySMfmjt3lxk+MLfaPlgYF7E8ttfXOK3Kx2bbXHc8yYdaxeiqgLDHXiiZgp1/EkcT1XtzwMcQHB4uwoP6xdPv3DglfdXVrD+x6J2Qbszml4VG0kMuIm6a1BY5ru5dX5PkvOOtlExpSWtu+A/JYqxcQJBAP8ekzRG+OrOOwqDDer7VR91qgBdPFsaeCVp57Xhy8uxJGzE9KyuPwkZAknoWw2oc5FB2vYeCRiy0v2JEANr2pcCQQCWm8/H2u0pKLVRENtHhBH5wzOX77Lq/DBLU+WNF1QUFmT7/2YUWOXVjww2EFDlTXNWaWnSMc7+mdEea9crAS/vAkBXcGVHn6Ok5rY5rh1REn9kXvG7WjlbiEDxodC2+ALfd4FifkbWAIq+VYIBTtAWaEvj10xy2myHuJK0Lwv8ADVVAkEAiQ8oyw7/zvod77UwaOfW1/39oOJhZ5mzdYnXGExHlrQ+mFn3ksLH/k5c5YJ5rAOM1/G8fK4ZWveuKEopmRhOfwJBAIUF6GNCdMagbz5w/GuDxTZyKtnRLmJ+PIoeQe1bhR6KNP7lb1rtvvxodEsVy/rfMhudiH3BxUTTM/ySYPfAx84="); + PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(privateKey); + Cipher cipher0 = Cipher.getInstance("RSA"); + cipher0.init(Cipher.ENCRYPT_MODE, keyFactory.generatePrivate(keySpec)); + + String str = "url=/checkInInfo/reviewResult&token=2bce7d71-d60b-4858-a852-15380eba6c84×tamp=" + System.currentTimeMillis(); + byte[] bytes = cipher0.doFinal(str.getBytes(StandardCharsets.UTF_8)); + System.out.println("加密串:"); + System.out.println(Base64.encodeBase64String(bytes)); + + + + // 解密 + byte[] publicKey = Base64.decodeBase64("MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCWFzDUpjTm/rWyo6/TTLxSqRuXerLHjLfkwI3Y/QZOJoG3WFxjsqsj4XiVnsTtAm9L993/Kx31Z1Wjp69b6YVRY25ZpttkPwSkO63hL1WljsH5Ph8NTAJABywgGmjx6aphhoLFGNbuG5iU0uUjIJGXP/vl6gDnBOuZI7mINmnL+QIDAQAB"); + X509EncodedKeySpec keySpec2 = new X509EncodedKeySpec(publicKey); + Cipher cipher1 = Cipher.getInstance("RSA"); + cipher1.init(Cipher.DECRYPT_MODE, keyFactory.generatePublic(keySpec2)); + + System.out.println("解密串:"); + System.out.println(new String(cipher1.doFinal(bytes), StandardCharsets.UTF_8)); + + + } + public static void main(String[] args) { - Map map = new LinkedHashMap<>(); - map.put("a", "a"); - map.put("a", "b"); - System.out.println(map); + String uri = "url=/checkInInfo/reviewResult&token=x-x-x-x-x×tamp=1574821902392"; + UriComponents components = UriComponentsBuilder.fromUriString("?"+uri).build(); + Map queryParams = components.getQueryParams().toSingleValueMap(); + + System.out.println(queryParams.get("url")); + System.out.println(queryParams.get("token")); + System.out.println(queryParams.get("timestamp")); + } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcSubwayMileage.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcSubwayMileage.java index bf9d4e3d..2a1b7757 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcSubwayMileage.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcSubwayMileage.java @@ -9,6 +9,8 @@ import java.io.Serializable; public class BcSubwayMileage implements Serializable { private static final long serialVersionUID = 1L; + private String id; + private String inStationId; private String outStationId; @@ -58,4 +60,12 @@ public class BcSubwayMileage implements Serializable { public void setOutStationName(String outStationName) { this.outStationName = outStationName; } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } } \ No newline at end of file diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcTravelNotice.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcTravelNotice.java index a3cb8c76..3c061084 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcTravelNotice.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/domain/BcTravelNotice.java @@ -14,6 +14,8 @@ public class BcTravelNotice implements Serializable { */ private String seqNo; + private String transType; + /** * 方法学版本编码 */ @@ -604,4 +606,12 @@ public class BcTravelNotice implements Serializable { public void setLstUpdTime(String lstUpdTime) { this.lstUpdTime = lstUpdTime; } + + public String getTransType() { + return transType; + } + + public void setTransType(String transType) { + this.transType = transType; + } } \ No newline at end of file diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/TransTypeEnum.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/TransTypeEnum.java new file mode 100644 index 00000000..7939e417 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/TransTypeEnum.java @@ -0,0 +1,26 @@ +package com.jiuyv.sptcc.carbon.dataprocess.enums; + +/** + * 数据状态枚举 + * + * @author ren_chao + */ +public enum TransTypeEnum { + BAR_CODE("BC_CODE", "乘车码"), + NFC_CARD("NFC_CARD", "NFC"); + private final String code; + private final String info; + + TransTypeEnum(String code, String info) { + this.code = code; + this.info = info; + } + + public String getCode() { + return code; + } + + public String getInfo() { + return info; + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/WarnTypeEnum.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/WarnTypeEnum.java new file mode 100644 index 00000000..f6801bc2 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/enums/WarnTypeEnum.java @@ -0,0 +1,23 @@ +package com.jiuyv.sptcc.carbon.dataprocess.enums; + +public enum WarnTypeEnum { + + PUSH("PUSH", "碳减排量报送"), + CHAIN("CHAIN", "碳行为上链"); + + private final String code; + private final String info; + + WarnTypeEnum(String code, String info) { + this.code = code; + this.info = info; + } + + public String getCode() { + return code; + } + + public String getInfo() { + return info; + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/feign/CarbonAuthNFCFeign.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/feign/CarbonAuthNFCFeign.java new file mode 100644 index 00000000..3c192d2a --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/feign/CarbonAuthNFCFeign.java @@ -0,0 +1,14 @@ +package com.jiuyv.sptcc.carbon.dataprocess.feign; + +import com.jiuyv.sptcc.carbon.auth.fegin.IAccountApi; +import com.jiuyv.sptcc.carbon.auth.fegin.ICardApi; +import org.springframework.cloud.openfeign.FeignClient; + +/** + * 内部授权查询接口 + * + * @author ren_chao + */ +@FeignClient(value = "${carbon-data-process.auth-serve}", contextId = "carbonAuthNFCFeign") +public interface CarbonAuthNFCFeign extends ICardApi { +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BatchExecutor.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BatchExecutor.java new file mode 100644 index 00000000..45ef8484 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BatchExecutor.java @@ -0,0 +1,114 @@ +package com.jiuyv.sptcc.carbon.dataprocess.mapper; + +import org.apache.commons.lang.StringUtils; +import org.apache.ibatis.session.ExecutorType; +import org.apache.ibatis.session.SqlSession; +import org.apache.ibatis.session.SqlSessionFactory; +import org.mybatis.spring.support.SqlSessionDaoSupport; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Scope; +import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; + +import java.util.Collection; + +/** + * The Class QueryAssistImpl. 保证此对象为单例运行 + * + * @author + * @since 2013-12-19 15:06:57 + * @version 1.0.0 + */ +@Component +@Scope("singleton") +@SuppressWarnings({ "rawtypes", "unchecked" }) +public class BatchExecutor extends SqlSessionDaoSupport { + + /** logger. */ + private static final Logger logger = LoggerFactory.getLogger(BatchExecutor.class); + + /** + * SqlSessionFactory would normally be set by SqlSessionDaoSupport + */ + @Autowired + private SqlSessionFactory extendSqlSessionFactory; + + + /** 默认提交批数量 1000 */ + private static final int DEF_BATCH_SIZE = 1000; + + + + /** + * 批量插入对象 + * + * 使用ExecutorType.BATCH需要新建SqlSession,插入的数据无法和AOP事务一起回滚 + * + * @param dao + * @param list + * @param insertStatementId + * 插入语句Id,为空时使用dao参数对应的class名+".insert" + * @return + */ + @Transactional(rollbackFor = Exception.class,propagation = Propagation.REQUIRES_NEW) + public int batchExecute(String statementId, Collection list) { + return batchExecuteTransaction(statementId, list); + } + /** + * 批量插入对象 + * + * 使用ExecutorType.BATCH需要新建SqlSession,AOP事务一起回滚 + * + * @param dao + * @param list + * @param insertStatementId + * 插入语句Id,为空时使用dao参数对应的class名+".insert" + * @return + */ + public int batchExecuteTransaction(String statementId, Collection list) { + if (StringUtils.isBlank(statementId) || list == null) { + logger.error("StatementId {} or Collection {} is invalid. ", new Object[] { statementId, list }); + return 0; + } + if (list.isEmpty()) { + return 0; + } + + if ( extendSqlSessionFactory != null) { + SqlSession session = this.extendSqlSessionFactory.openSession(ExecutorType.BATCH, false); + + logger.info("batch mode: [{}] size:[{}] start...", statementId, list.size()); + int er = 0; + + int count = 0; + for (T obj : list) { + int effect = session.update(statementId, obj); + er += effect; + if (count % DEF_BATCH_SIZE == 0 || count == list.size() - 1) { + session.flushStatements(); + session.commit(); + } + count++; + } + + logger.info("batch mode: [{}] size:[{}] end...", statementId, list.size()); + session.close(); + + return er; + + } else { + logger.error("未配置extendSqlSessionFactory"); + return 0; + } + } + + @Autowired + public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) { + super.setSqlSessionFactory(sqlSessionFactory); + } + + +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcSubwayMileageMapper.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcSubwayMileageMapper.java index 5162ee84..37df4bab 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcSubwayMileageMapper.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcSubwayMileageMapper.java @@ -21,6 +21,11 @@ public interface BcSubwayMileageMapper { */ String selectMileage(@Param("inStationId") String inStationId, @Param("outStationId") String outStationId); + /** + * 查询里程 + */ + List selectAllMileageRange(@Param("minId") String minId); + void updateMileage(@Param("list") List list); List selectSubwayMileagePage(Map paramMap); diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcTravelNoticeMapper.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcTravelNoticeMapper.java index 61a45ad9..96696736 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcTravelNoticeMapper.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/mapper/BcTravelNoticeMapper.java @@ -56,4 +56,19 @@ public interface BcTravelNoticeMapper { Set selectTravelNoListByTravelNoList(@Param("list") List list); void updateBatchBySeqNo(@Param("list") List list); + + Integer selectUpChainCount(); + + int insertIfAbsent(BcTravelNotice notice); + + List selectUpChainList(@Param("start") Integer start, + @Param("end") Integer end); + + /** + * 批读当日所有记录 + * @param stlmDate 日期 + * @param minOrderNo 最小订单号 + * @return 订单列表 + */ + List range(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("minOrderNo")String minOrderNo); } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/quartz/CarbonDataTask.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/quartz/CarbonDataTask.java index f14f9e4e..79c67b9c 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/quartz/CarbonDataTask.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/quartz/CarbonDataTask.java @@ -1,21 +1,31 @@ package com.jiuyv.sptcc.carbon.dataprocess.quartz; import com.jiuyv.sptcc.carbon.dataprocess.config.SmsProperties; +import com.jiuyv.sptcc.carbon.dataprocess.enums.CarbonDataEnum; +import com.jiuyv.sptcc.carbon.dataprocess.enums.ChainStatusEnum; +import com.jiuyv.sptcc.carbon.dataprocess.enums.WarnTypeEnum; import com.jiuyv.sptcc.carbon.dataprocess.exception.ServiceException; import com.jiuyv.sptcc.carbon.dataprocess.feign.SmsSendFeign; +import com.jiuyv.sptcc.carbon.dataprocess.mapper.SysDateMapper; import com.jiuyv.sptcc.carbon.dataprocess.service.ICalculateReductionService; import com.jiuyv.sptcc.carbon.dataprocess.service.IDataAuditService; import com.jiuyv.sptcc.carbon.dataprocess.service.IPushReductionService; import com.jiuyv.sptcc.carbon.dataprocess.service.IReadFileService; import com.jiuyv.sptcc.carbon.dataprocess.service.ISignResultService; +import com.jiuyv.sptcc.carbon.dataprocess.service.IWarnService; +import com.jiuyv.sptcc.carbon.dataprocess.util.DateUtil; import com.xxl.job.core.context.XxlJobHelper; import com.xxl.job.core.handler.annotation.XxlJob; +import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; +import java.time.LocalDate; +import java.util.ArrayList; import java.util.List; +import java.util.Map; /** * xxl任务调度入口 @@ -31,7 +41,8 @@ public class CarbonDataTask { private final IPushReductionService pushReductionService; private final ISignResultService signResultService; private final IDataAuditService dataAuditService; - + private final IWarnService warnService; + private final SysDateMapper sysDateMapper; private final SmsSendFeign smsSendFeign; private final SmsProperties smsProperties; @@ -40,6 +51,8 @@ public class CarbonDataTask { IPushReductionService pushReductionService, ISignResultService signResultService, IDataAuditService dataAuditService, + IWarnService warnService, + SysDateMapper sysDateMapper, SmsSendFeign smsSendFeign, SmsProperties smsProperties) { this.readFileService = readFileService; @@ -47,6 +60,8 @@ public class CarbonDataTask { this.pushReductionService = pushReductionService; this.signResultService = signResultService; this.dataAuditService = dataAuditService; + this.warnService = warnService; + this.sysDateMapper = sysDateMapper; this.smsSendFeign = smsSendFeign; this.smsProperties = smsProperties; } @@ -178,7 +193,115 @@ public class CarbonDataTask { LOGGER.error("短信发送失败:[{}]", res); } } + } else { + LOGGER.info("短信发送未开启,消息[{}]", sms); + } + } + + /** + * 读取文件 + */ + @XxlJob(value = "readNFCFileTask") + public void readNFCFileTask() { + try { + int count = readFileService.readNFCFileAndInsertDatabase(XxlJobHelper.getJobParam()); + smsSend("中台NFC数据读取成功,记录数:" + count); + } catch (ServiceException e) { + LOGGER.error(e.getMessage(), e); + smsSend("中台NFC数据读取异常:" + e.getMessage()); + throw e; + } catch (Exception e) { + LOGGER.error("未知异常", e); + smsSend("中台NFC数据读取异常:未知异常,请查看日志"); + throw e; + } + } + + /** + * 日终统计告警 + */ + @XxlJob(value = "dailyWarning") + public void dailyWarning() { + String param = XxlJobHelper.getJobParam(); + LOGGER.info("getJobParam is :{}",param); + XxlJobHelper.log("getJobParam is :{}",param); + List dates = new ArrayList<>(); + if (StringUtils.isNotBlank(param)) { + param = param.trim(); + if (param.contains("-")) { + // 起止日期判断 + String startDate = param.split("-")[0]; + String endDate = param.split("-")[1]; + LocalDate end = DateUtil.parseString2LocalDate(endDate, DateUtil.DATE_8); + // 起始日期要小于结束日期 + if (!DateUtil.parseString2LocalDate(startDate, DateUtil.DATE_8).isAfter(end)) { + // 加入起始日期 + dates.add(startDate); + // 起始日期 + 1 + startDate = DateUtil.dateAdd(startDate, 1); + // 主要起始日期不比结束日期后面 + // 等效于起始日期小于等于结束日期 + while (!DateUtil.parseString2LocalDate(startDate, DateUtil.DATE_8).isAfter(end)) { + // 加入起始日期 + dates.add(startDate); + // 起始日期 + 1 + startDate = DateUtil.dateAdd(startDate, 1); + } + } else { + // 否则代表时间输入有误 + XxlJobHelper.handleFail(); + return; + } + } else { + dates.add(param); + } + } else { + String today = sysDateMapper.currentTime().substring(0, 8); + dates.add(today); } + try { + // 统计当日行程的上链和上送情况 + for (String date : dates) { + Map> result = warnService.countForWarn(date); + StringBuffer content = new StringBuffer(); + content.append("【" + date + "】碳普惠日终统计。"); + // 上送情况 + if (result.containsKey(WarnTypeEnum.PUSH)) { + content.append("减排量上报情况:"); + Map pushMap = result.get(WarnTypeEnum.PUSH); + for (Map.Entry entry : pushMap.entrySet()) { + try { + content.append("【" + CarbonDataEnum.valueOf(entry.getKey()).getInfo() + "】共" + entry.getValue() + "笔。"); + } catch (Exception e) { + content.append("【未定义】共" + entry.getValue() + "笔。"); + } + } + } + // 上链情况 + if (result.containsKey(WarnTypeEnum.CHAIN)) { + content.append("碳行为上链情况:"); + Map pushMap = result.get(WarnTypeEnum.CHAIN); + for (Map.Entry entry : pushMap.entrySet()) { + try { + content.append("【" + ChainStatusEnum.valueOf(entry.getKey()).getMsg() + "】共" + entry.getValue() + "笔。"); + } catch (Exception e) { + content.append("【未定义】共" + entry.getValue() + "笔。"); + } + } + } + // 发送短信 + smsSend(content.toString()); + } + } catch (ServiceException e) { + LOGGER.error(e.getMessage(), e); + smsSend("碳普惠日终统计异常:" + e.getMessage()); + throw e; + } catch (Exception e) { + LOGGER.error("未知异常", e); + smsSend("碳普惠日终统计异常:未知异常,请查看日志"); + throw e; + } + } } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/ICacheService.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/ICacheService.java new file mode 100644 index 00000000..8ab5a126 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/ICacheService.java @@ -0,0 +1,16 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service; + + +import java.util.Map; + +/** + * 缓存service + */ +public interface ICacheService { + + /** + * 获取所有得里程信息 + * @return 里程信息Map key为进站id_出站id + */ + Map getAllMileage(); +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IFileService.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IFileService.java new file mode 100644 index 00000000..d5a261e7 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IFileService.java @@ -0,0 +1,25 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service; + +import java.io.File; + +/** + * 下载文件 + */ +public interface IFileService { + + /** + * 获取二维码行程文件 + * @param dateStr 目标日期 + * @param currentTime 当前时间 + * @return 文件 + */ + File getBcTravelFile(String dateStr, String currentTime); + + /** + * 获取NFC行程文件 + * @param dateStr 目标日期 + * @param currentTime 当前时间 + * @return 文件 + */ + File getNfcTravelFile(String dateStr, String currentTime); +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IReadFileService.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IReadFileService.java index 6926e710..2f17ac84 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IReadFileService.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IReadFileService.java @@ -11,6 +11,11 @@ public interface IReadFileService { */ int readFileAndInsertDatabase(String dateStr); + /** + * 读取文件并插入数据库 + */ + int readNFCFileAndInsertDatabase(String dateStr); + /** * 获取里程数据 */ diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IWarnService.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IWarnService.java new file mode 100644 index 00000000..7d9d6922 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/IWarnService.java @@ -0,0 +1,16 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service; + +import com.jiuyv.sptcc.carbon.dataprocess.enums.WarnTypeEnum; + +import java.util.Map; + +public interface IWarnService { + + /** + * 查询需要告警的数量 + * @param stlmDate 清算日期 + * @return 数量 + */ + Map> countForWarn(String stlmDate); + +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/CacheServiceImpl.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/CacheServiceImpl.java new file mode 100644 index 00000000..fd56f801 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/CacheServiceImpl.java @@ -0,0 +1,45 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service.impl; + +import com.jiuyv.sptcc.carbon.dataprocess.domain.BcSubwayMileage; +import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcSubwayMileageMapper; +import com.jiuyv.sptcc.carbon.dataprocess.service.ICacheService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.cache.annotation.Cacheable; +import org.springframework.stereotype.Service; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +/** + * 缓存service + */ +@Service +public class CacheServiceImpl implements ICacheService { + + private static final Logger LOGGER = LoggerFactory.getLogger(CacheServiceImpl.class); + + @Autowired + private BcSubwayMileageMapper mileageDao; + + /** + * 获取所有得里程信息 + * @return 里程信息Map key为进站id_出站id + */ + @Cacheable(value = "mileageCache", key = "'allMileage'", sync = true) + public Map getAllMileage() { + LOGGER.info("get all mileage..."); + Map result = new HashMap<>(); + String minId = "0"; + List list = mileageDao.selectAllMileageRange(minId); + while (!list.isEmpty()) { + result.putAll(list.stream().collect(Collectors.toMap(x -> x.getInStationId() + "_" + x.getOutStationId(), BcSubwayMileage::getMileage))); + minId = list.get(list.size() - 1).getId(); + list = mileageDao.selectAllMileageRange(minId); + } + return result; + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/DataAuditServiceImpl.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/DataAuditServiceImpl.java index 675a256c..03cee1e1 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/DataAuditServiceImpl.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/DataAuditServiceImpl.java @@ -45,7 +45,7 @@ public class DataAuditServiceImpl implements IDataAuditService { */ @Override public void upChain() { - Integer count = travelNoticeMapper.selectCountByStatus(null, ChainStatusEnum.INIT.toString()); + Integer count = travelNoticeMapper.selectUpChainCount(); LOGGER.info(">>>> 开始调用合约,总记录数:{}", count); if (count == 0) { return; @@ -54,8 +54,7 @@ public class DataAuditServiceImpl implements IDataAuditService { int pageCount = count / PAGE_COUNT + 1; for (int i = 1; i <= pageCount; i++) { LOGGER.info(">>>> 调用合约第{}页", i); - List bcTravelNoticeList = travelNoticeMapper - .selectPageByStatus(null, ChainStatusEnum.INIT.toString(), 1, PAGE_COUNT); + List bcTravelNoticeList = travelNoticeMapper.selectUpChainList(1, PAGE_COUNT); if (CollectionUtils.isEmpty(bcTravelNoticeList)) { break; } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/FileService.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/FileService.java new file mode 100644 index 00000000..3be6d46b --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/FileService.java @@ -0,0 +1,110 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service.impl; + +import com.jcraft.jsch.ChannelSftp; +import com.jcraft.jsch.SftpException; +import com.jiuyv.sptcc.carbon.dataprocess.config.sftp.SftpChannelPool; +import com.jiuyv.sptcc.carbon.dataprocess.config.sftp.SftpProperties; +import com.jiuyv.sptcc.carbon.dataprocess.exception.ServiceException; +import com.jiuyv.sptcc.carbon.dataprocess.service.IFileService; +import org.apache.commons.io.IOUtils; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +/** + * 下载文件 + */ +@Service +public class FileService implements IFileService { + + private static final Logger LOGGER = LoggerFactory.getLogger(FileService.class); + + private static final DateTimeFormatter SDF = DateTimeFormatter.ofPattern("yyyyMMdd"); + + private final SftpChannelPool sftpChannelPool; + private final String remoteDir; + private final String fileSuffix; + private final String tempDir; + private final String nfcFileSuffix; + + public FileService(SftpChannelPool sftpChannelPool, + SftpProperties sftpProperties) { + this.sftpChannelPool = sftpChannelPool; + this.remoteDir = sftpProperties.getRemoteDir(); + this.fileSuffix = sftpProperties.getFileSuffix(); + this.tempDir = sftpProperties.getTempDir(); + this.nfcFileSuffix = sftpProperties.getNfcFileSuffix(); + } + + /** + * 获取二维码行程文件 + * @param dateStr 目标日期 + * @param currentTime 当前时间 + * @return 文件 + */ + @Override + public File getBcTravelFile(String dateStr, String currentTime) { + if (StringUtils.isBlank(dateStr)) { + dateStr = LocalDate.parse(currentTime.substring(0, 8), SDF).minusDays(1).format(SDF); + } + String fileName = dateStr + fileSuffix; + return getFile(fileName); + } + + /** + * 获取NFC行程文件 + * @param dateStr 目标日期 + * @param currentTime 当前时间 + * @return 文件 + */ + @Override + public File getNfcTravelFile(String dateStr, String currentTime) { + if (StringUtils.isBlank(dateStr)) { + dateStr = LocalDate.parse(currentTime.substring(0, 8), SDF).minusDays(1).format(SDF); + } + String fileName = dateStr + nfcFileSuffix; + return getFile(fileName); + } + + /** + * 根据文件名获取文件 + * @param fileName 文件名 + * @return 文件 + */ + private File getFile(String fileName) { + ChannelSftp sftpChannel = sftpChannelPool.getSftpChannel(); + LOGGER.info(">>>> 获取sftpChannel成功"); + try (InputStream inputStream = sftpChannel.get(remoteDir + fileName); + ZipInputStream zipInputStream = new ZipInputStream(inputStream)) { + ZipEntry nextEntry; + while ((nextEntry = zipInputStream.getNextEntry()) != null && !nextEntry.isDirectory()) { + String filePath = tempDir + nextEntry.getName(); + LOGGER.info(">>>> 下载并解压:{}", filePath); + try (FileOutputStream fileOutputStream = new FileOutputStream(filePath)) { + IOUtils.copy(zipInputStream, fileOutputStream); + } + } + LOGGER.info(">>>> 文件下载成功"); + } catch (IOException | SftpException e) { + LOGGER.error("获取文件出错", e); + throw new ServiceException("获取文件出错"); + } finally { + sftpChannelPool.closeChannel(sftpChannel); + } + + final File file = new File(tempDir, fileName.replace("zip", "csv")); + LOGGER.info(">>>> 开始读取文件:{}", file.getAbsolutePath()); + return file; + } + +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/ReadFileServiceImpl.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/ReadFileServiceImpl.java index 590e850b..c5043588 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/ReadFileServiceImpl.java +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/ReadFileServiceImpl.java @@ -1,32 +1,35 @@ package com.jiuyv.sptcc.carbon.dataprocess.service.impl; -import com.jcraft.jsch.ChannelSftp; -import com.jcraft.jsch.SftpException; import com.jiuyv.sptcc.carbon.auth.common.enums.OrgCodeEnum; import com.jiuyv.sptcc.carbon.auth.common.enums.ScenCodeEnum; +import com.jiuyv.sptcc.carbon.auth.entity.CardBindStatusCheck; +import com.jiuyv.sptcc.carbon.auth.web.request.CardBindStatusCheckRequest; import com.jiuyv.sptcc.carbon.auth.web.request.GetUserBatchRequest; +import com.jiuyv.sptcc.carbon.auth.web.response.CardBindStatusCheckResponse; import com.jiuyv.sptcc.carbon.auth.web.response.R; import com.jiuyv.sptcc.carbon.auth.web.response.ResultCode; import com.jiuyv.sptcc.carbon.auth.web.response.UserHistoryBatchResponse; -import com.jiuyv.sptcc.carbon.dataprocess.config.sftp.SftpChannelPool; -import com.jiuyv.sptcc.carbon.dataprocess.config.sftp.SftpProperties; import com.jiuyv.sptcc.carbon.dataprocess.domain.BcCalcFactor; import com.jiuyv.sptcc.carbon.dataprocess.domain.BcSubwayMileage; import com.jiuyv.sptcc.carbon.dataprocess.domain.BcTravelNotice; import com.jiuyv.sptcc.carbon.dataprocess.enums.CarbonDataEnum; import com.jiuyv.sptcc.carbon.dataprocess.enums.IndustryCodeEnum; +import com.jiuyv.sptcc.carbon.dataprocess.enums.TransTypeEnum; import com.jiuyv.sptcc.carbon.dataprocess.exception.ServiceException; import com.jiuyv.sptcc.carbon.dataprocess.feign.CarbonAuthFeign; +import com.jiuyv.sptcc.carbon.dataprocess.feign.CarbonAuthNFCFeign; import com.jiuyv.sptcc.carbon.dataprocess.feign.CarbonDataProcessFeign; +import com.jiuyv.sptcc.carbon.dataprocess.mapper.BatchExecutor; import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcCalcFactorMapper; import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcSubwayMileageMapper; import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcTravelNoticeMapper; import com.jiuyv.sptcc.carbon.dataprocess.mapper.SysDateMapper; +import com.jiuyv.sptcc.carbon.dataprocess.service.ICacheService; +import com.jiuyv.sptcc.carbon.dataprocess.service.IFileService; import com.jiuyv.sptcc.carbon.dataprocess.service.IReadFileService; import com.jiuyv.sptcc.carbon.pushgate.dto.GResultDTO; import com.jiuyv.sptcc.carbon.pushgate.dto.reduction.DictionaryReqVo; import com.jiuyv.sptcc.carbon.pushgate.dto.reduction.ResDictionaryDTO; -import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -36,14 +39,11 @@ import org.springframework.util.CollectionUtils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; -import java.io.FileOutputStream; import java.io.IOException; -import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.text.DecimalFormat; -import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; @@ -54,8 +54,6 @@ import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; -import java.util.zip.ZipEntry; -import java.util.zip.ZipInputStream; /** * 读取文件入库 @@ -64,7 +62,7 @@ import java.util.zip.ZipInputStream; @Service public class ReadFileServiceImpl implements IReadFileService { private static final Logger LOGGER = LoggerFactory.getLogger(ReadFileServiceImpl.class); - private static final int BATCH_SIZE = 2000; + private static final int BATCH_SIZE = 1000; /** * 获取里程数据类型 @@ -83,22 +81,19 @@ public class ReadFileServiceImpl implements IReadFileService { private static final DateTimeFormatter REQ_SDF = DateTimeFormatter.ofPattern("yyyyMMddHHmmss"); private static final DecimalFormat MILEAGE_DF = new DecimalFormat("#.000"); private static final DecimalFormat STATION_ID_DF = new DecimalFormat("0000"); - + private final String BIND = "BIND"; private final Map calcFactorCache = new HashMap<>(); - private final BcTravelNoticeMapper bcTravelNoticeMapper; private final BcSubwayMileageMapper subwayMileageMapper; private final BcCalcFactorMapper bcCalcFactorMapper; private final SysDateMapper sysDateMapper; - - private final CarbonAuthFeign carbonAuthFeign; - private final CarbonDataProcessFeign carbonDataProcessFeign; - - private final SftpChannelPool sftpChannelPool; - - private final String remoteDir; - private final String fileSuffix; - private final String tempDir; + private BatchExecutor executor; + private CarbonAuthFeign carbonAuthFeign; + private CarbonDataProcessFeign carbonDataProcessFeign; + private CarbonAuthNFCFeign carbonAuthNFCFeign; + private IFileService fileService; + private ICacheService cacheService; + private Map mileageCache; public ReadFileServiceImpl(BcTravelNoticeMapper bcTravelNoticeMapper, BcSubwayMileageMapper subwayMileageMapper, @@ -106,18 +101,20 @@ public class ReadFileServiceImpl implements IReadFileService { SysDateMapper sysDateMapper, CarbonAuthFeign carbonAuthFeign, CarbonDataProcessFeign carbonDataProcessFeign, - SftpChannelPool sftpChannelPool, - SftpProperties sftpProperties) { + CarbonAuthNFCFeign carbonAuthNFCFeign, + BatchExecutor executor, + IFileService fileService, + ICacheService cacheService) { this.bcTravelNoticeMapper = bcTravelNoticeMapper; this.subwayMileageMapper = subwayMileageMapper; this.bcCalcFactorMapper = bcCalcFactorMapper; this.sysDateMapper = sysDateMapper; this.carbonAuthFeign = carbonAuthFeign; this.carbonDataProcessFeign = carbonDataProcessFeign; - this.sftpChannelPool = sftpChannelPool; - this.remoteDir = sftpProperties.getRemoteDir(); - this.fileSuffix = sftpProperties.getFileSuffix(); - this.tempDir = sftpProperties.getTempDir(); + this.carbonAuthNFCFeign = carbonAuthNFCFeign; + this.fileService = fileService; + this.executor = executor; + this.cacheService = cacheService; } /** @@ -126,10 +123,12 @@ public class ReadFileServiceImpl implements IReadFileService { @Override public synchronized int readFileAndInsertDatabase(String dateStr) { String currentTime = sysDateMapper.currentTime(); - File file = getFile(dateStr, currentTime); + File file = fileService.getBcTravelFile(dateStr, currentTime); String csvName = file.getName(); long startTime = System.currentTimeMillis(); - + // 设置里程缓存 + mileageCache = cacheService.getAllMileage(); + LOGGER.info("mileageCache count:{}", mileageCache.size()); try (FileInputStream fis = new FileInputStream(file); InputStreamReader isr = new InputStreamReader(fis, StandardCharsets.UTF_8); BufferedReader br = new BufferedReader(isr)) { @@ -139,13 +138,55 @@ public class ReadFileServiceImpl implements IReadFileService { if (CollectionUtils.isEmpty(list)) { break; } - list = filterDuplicates(list); + /*list = filterDuplicates(list); if (CollectionUtils.isEmpty(list)) { continue; - } + }*/ // 授权校验及其他信息配置 authVerify(list, currentTime); - bcTravelNoticeMapper.batchInsert(list); + batchInsertTravel(list); + count += list.size(); + } + LOGGER.info(">>>> 文件入库成功。记录数{},耗时:{}秒", count, (System.currentTimeMillis() - startTime) / 1000); + return count; + } catch (IOException e) { + LOGGER.error("读取文件出错", e); + throw new ServiceException("读取文件出错"); + } finally { + try { + Files.delete(file.toPath()); + } catch (IOException e) { + LOGGER.error("文件删除失败", e); + } + } + } + + /** + * 读取文件并插入数据库 + */ + public int readNFCFileAndInsertDatabase(String dateStr) { + String currentTime = sysDateMapper.currentTime(); + File file = fileService.getNfcTravelFile(dateStr, currentTime); + String csvName = file.getName(); + long startTime = System.currentTimeMillis(); + // 设置里程缓存 + mileageCache = cacheService.getAllMileage(); + try (FileInputStream fis = new FileInputStream(file); + InputStreamReader isr = new InputStreamReader(fis, StandardCharsets.UTF_8); + BufferedReader br = new BufferedReader(isr)) { + int count = 0; + while (true) { + List list = getNFCTravelNoticeList(br, csvName); + if (CollectionUtils.isEmpty(list)) { + break; + } + /*list = filterDuplicates(list); + if (CollectionUtils.isEmpty(list)) { + continue; + }*/ + // 授权校验及其他信息配置 + authNFCVerify(list, currentTime); + batchInsertTravel(list); count += list.size(); } LOGGER.info(">>>> 文件入库成功。记录数{},耗时:{}秒", count, (System.currentTimeMillis() - startTime) / 1000); @@ -191,42 +232,6 @@ public class ReadFileServiceImpl implements IReadFileService { } - - /** - * 下载并解压文件 - */ - private File getFile(String dateStr, String currentTime) { - if (StringUtils.isBlank(dateStr)) { - dateStr = LocalDate.parse(currentTime.substring(0, 8), SDF).minusDays(1).format(SDF); - } - String fileName = dateStr + fileSuffix; - - // 下载并解压文件 - ChannelSftp sftpChannel = sftpChannelPool.getSftpChannel(); - LOGGER.info(">>>> 获取sftpChannel成功"); - try (InputStream inputStream = sftpChannel.get(remoteDir + fileName); - ZipInputStream zipInputStream = new ZipInputStream(inputStream)) { - ZipEntry nextEntry; - while ((nextEntry = zipInputStream.getNextEntry()) != null && !nextEntry.isDirectory()) { - String filePath = tempDir + nextEntry.getName(); - LOGGER.info(">>>> 下载并解压:{}", filePath); - try (FileOutputStream fileOutputStream = new FileOutputStream(filePath)) { - IOUtils.copy(zipInputStream, fileOutputStream); - } - } - LOGGER.info(">>>> 文件下载成功"); - } catch (IOException | SftpException e) { - LOGGER.error("获取文件出错", e); - throw new ServiceException("获取文件出错"); - } finally { - sftpChannelPool.closeChannel(sftpChannel); - } - - final File file = new File(tempDir, fileName.replace("zip", "csv")); - LOGGER.info(">>>> 开始读取文件:{}", file.getAbsolutePath()); - return file; - } - private List buildSubwayMileageList(Map data) { List list = new ArrayList<>(); for (Map.Entry entry : data.entrySet()) { @@ -234,6 +239,7 @@ public class ReadFileServiceImpl implements IReadFileService { String[] split = entry.getKey().split("-"); subwayMileage.setInStationId(split[0]); subwayMileage.setOutStationId(split[1]); + subwayMileage.setId(subwayMileage.getInStationId() + "_" + subwayMileage.getOutStationId()); subwayMileage.setMileage(MILEAGE_DF.format(entry.getValue())); list.add(subwayMileage); } @@ -273,13 +279,17 @@ public class ReadFileServiceImpl implements IReadFileService { List list = new ArrayList<>(); Set set = new HashSet<>(); String line; - while ((line = br.readLine()) != null && list.size() < BATCH_SIZE) { + while ((line = br.readLine()) != null) { LOGGER.debug("获取记录:{}", line); BcTravelNotice travelNotice = getBcTravelNotice(line, fileName); - if (travelNotice != null && !set.contains(travelNotice.getTravelNo())) { + checkAbnormalData(travelNotice); + list.add(travelNotice); + /*if (travelNotice != null && !set.contains(travelNotice.getTravelNo())) { set.add(travelNotice.getTravelNo()); - checkAbnormalData(travelNotice); - list.add(travelNotice); + + }*/ + if (list.size() >= BATCH_SIZE) { + break; } } return list; @@ -296,6 +306,7 @@ public class ReadFileServiceImpl implements IReadFileService { } travelNotice.setSeqNo("CARBON" + travelNo); travelNotice.setTravelNo(travelNo); + travelNotice.setTransType(TransTypeEnum.BAR_CODE.getCode()); travelNotice.setIndustryCode(handleValue(split[1])); travelNotice.setUserId(handleValue(split[2])); travelNotice.setCcid(handleValue(split[3])); @@ -428,13 +439,11 @@ public class ReadFileServiceImpl implements IReadFileService { private void calculateMileage(BcTravelNotice travelNotice) { // 只有地铁计算里程 查不到里程,记里程异常状态 LOGGER.debug(">>>> 计算里程"); - String mileage = subwayMileageMapper.selectMileage(travelNotice.getInStationId(), travelNotice.getOutStationId()); - if (mileage == null) { - travelNotice.setStatus(CarbonDataEnum.MILEAGE_ERROR.getCode()); + if (mileageCache.containsKey(travelNotice.getInStationId()+ "_" + travelNotice.getOutStationId())) { + travelNotice.setMileage(mileageCache.get(travelNotice.getInStationId()+ "_" + travelNotice.getOutStationId())); } else { - travelNotice.setMileage(mileage); + travelNotice.setStatus(CarbonDataEnum.MILEAGE_ERROR.getCode()); } - } /** @@ -467,4 +476,129 @@ public class ReadFileServiceImpl implements IReadFileService { return STATION_ID_DF.format(Integer.parseInt(value)); } + private List getNFCTravelNoticeList(BufferedReader br, String fileName) throws IOException { + List list = new ArrayList<>(); + String line; + while ((line = br.readLine()) != null) { + LOGGER.debug("获取记录:{}", line); + BcTravelNotice travelNotice = getNFCTravelNotice(line, fileName); + checkAbnormalData(travelNotice); + list.add(travelNotice); + /*if (travelNotice != null && !set.contains(travelNotice.getTravelNo())) { + set.add(travelNotice.getTravelNo()); + checkAbnormalData(travelNotice); + list.add(travelNotice); + }*/ + if (list.size() >= BATCH_SIZE) { + break; + } + } + return list; + } + + private BcTravelNotice getNFCTravelNotice(String line, String fileName) { + String[] split = line.split(","); + BcTravelNotice travelNotice = new BcTravelNotice(); + travelNotice.setSourceFileName(fileName); + String travelNo = handleValue(split[0]); + if (StringUtils.isBlank(travelNo)) { + LOGGER.info("该条记录缺少流水号:{}", line); + return null; + } + travelNotice.setSeqNo("NFC" + travelNo); + travelNotice.setTravelNo(travelNo); + travelNotice.setTransType(TransTypeEnum.NFC_CARD.getCode()); + travelNotice.setIndustryCode(handleValue(split[1])); + travelNotice.setInStationId(handleStationId(split[2])); + travelNotice.setOutStationId(handleStationId(split[3])); + travelNotice.setIntoTransTime(handleTime(split[4])); + travelNotice.setOutTransTime(handleTime(split[5])); + travelNotice.setCardNo(handleValue(split[6])); + travelNotice.setInTransactionSerialNo(handleValue(split[7])); + travelNotice.setInStationName(handleValue(split[8])); + travelNotice.setInDeviceNo(handleValue(split[9])); + travelNotice.setInDeviceSerialNo(handleValue(split[10])); + travelNotice.setLineNo(handleValue(split[11])); + travelNotice.setLineName(handleValue(split[12])); + travelNotice.setOutTransactionSerialNo(handleValue(split[13])); + travelNotice.setOutStationName(handleValue(split[14])); + travelNotice.setOutDeviceNo(handleValue(split[15])); + travelNotice.setOutDeviceSerialNo(handleValue(split[16])); + return travelNotice; + } + + /** + * 授权校验 + */ + private void authNFCVerify(List tnList, String currentTime) { + CardBindStatusCheckRequest request = new CardBindStatusCheckRequest(); + request.setRequestId("requestId"); + request.setReqTime(currentTime); + request.setOrgCode(OrgCodeEnum.DATAPROCESS.getCode()); + + List list = tnList.stream().map(this::buildNFCAuthRequest) + .filter(Objects::nonNull).collect(Collectors.toList()); + request.setList(list); + + LOGGER.debug(">>>> 开始授权查询"); + R r = carbonAuthNFCFeign.cardBindStatusCheck(request); + LOGGER.debug(">>>> 授权查询结果:{}", r.getCode()); + if (!ResultCode.SUCCESS.getCode().equals(r.getCode())) { + throw new ServiceException("授权查询异常"); + } + + Map passSet = r.getData().getList().stream().filter( x -> (BIND.equals(x.getBindStatus()))) + .collect(Collectors.toMap(CardBindStatusCheck::getTravelNo, v -> v)); + + for (BcTravelNotice tn : tnList) { + if (tn.getStatus() != null) { + continue; + } + if (passSet.containsKey(tn.getTravelNo())) { + CardBindStatusCheck check = passSet.get(tn.getTravelNo()); + tn.setStatus(CarbonDataEnum.PROCESSING.getCode()); + tn.setCcid(check.getCcid()); + tn.setUserId(check.getUserId()); + // 其他信息(里程和因子) + appendInfo(tn); + } else { + tn.setStatus(CarbonDataEnum.UNAUTHORIZED.getCode()); + } + tn.setDataConfirmationTime(currentTime); + } + } + + private CardBindStatusCheck buildNFCAuthRequest(BcTravelNotice tn) { + if (tn.getStatus() != null) { + return null; + } + CardBindStatusCheck authRequest = new CardBindStatusCheck(); + authRequest.setCcid(tn.getCcid()); + authRequest.setTravelNo(tn.getTravelNo()); + authRequest.setExtentCardNo(tn.getCardNo()); + String industryCode = tn.getIndustryCode(); + if (IndustryCodeEnum.BUS.getCode().equals(industryCode)) { + authRequest.setScenCode(ScenCodeEnum.BUS.getCode()); + authRequest.setTime(tn.getIntoTransTime()); + return authRequest; + } + if (IndustryCodeEnum.SUBWAY.getCode().equals(industryCode)) { + authRequest.setScenCode(ScenCodeEnum.SUBLINE.getCode()); + authRequest.setTime(tn.getOutTransTime()); + return authRequest; + } + return null; + } + + /** + * 批量插入 + * @param travels 行程 + */ + private void batchInsertTravel(List travels) { + if (CollectionUtils.isEmpty(travels)) { + return; + } + executor.batchExecute("com.jiuyv.sptcc.carbon.dataprocess.mapper.BcTravelNoticeMapper.insertIfAbsent", travels); + } + } diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/WarnServiceImpl.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/WarnServiceImpl.java new file mode 100644 index 00000000..e5b8f1da --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/service/impl/WarnServiceImpl.java @@ -0,0 +1,65 @@ +package com.jiuyv.sptcc.carbon.dataprocess.service.impl; + +import com.jiuyv.sptcc.carbon.dataprocess.domain.BcTravelNotice; +import com.jiuyv.sptcc.carbon.dataprocess.enums.WarnTypeEnum; +import com.jiuyv.sptcc.carbon.dataprocess.mapper.BcTravelNoticeMapper; +import com.jiuyv.sptcc.carbon.dataprocess.service.IWarnService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * 告警Service + */ +@Service +public class WarnServiceImpl implements IWarnService { + + @Autowired + private BcTravelNoticeMapper travelNoticeMapper; + + /** + * 查询需要告警的碳减排量上报数量 + * @param stlmDate 清算日期 + * @return 数量 + */ + public Map> countForWarn(String stlmDate) { + Map> result = new HashMap<>(); + String startTime = stlmDate + "000000"; + String endTime = stlmDate + "235959"; + String minOrderNo = "0"; + List list = travelNoticeMapper.range(startTime, endTime, minOrderNo); + while(!list.isEmpty()) { + for (BcTravelNotice notice : list) { + String status = notice.getStatus(); + processMap(WarnTypeEnum.PUSH, status, result); + String chainStatus = notice.getChainStatus(); + processMap(WarnTypeEnum.CHAIN, chainStatus, result); + minOrderNo = notice.getSeqNo(); + } + list = travelNoticeMapper.range(startTime, endTime, minOrderNo); + } + return result; + } + + /** + * 合并统计结果集 + * @param warnTypeEnum 告警类型 + * @param status 目标状态 + * @param result 结果集 + * @return 结果集 + */ + private Map> processMap(WarnTypeEnum warnTypeEnum, String status, Map> result) { + if (!result.containsKey(warnTypeEnum)) { + result.put(warnTypeEnum, new HashMap<>()); + } + if (!result.get(warnTypeEnum).containsKey(status)) { + result.get(warnTypeEnum).put(status, 0L); + } + result.get(warnTypeEnum).put(status, result.get(warnTypeEnum).get(status) +1); + return result; + } + +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/util/DateUtil.java b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/util/DateUtil.java new file mode 100644 index 00000000..9a760d6c --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/java/com/jiuyv/sptcc/carbon/dataprocess/util/DateUtil.java @@ -0,0 +1,302 @@ +package com.jiuyv.sptcc.carbon.dataprocess.util; + +import org.apache.commons.lang.StringUtils; + +import java.text.DateFormat; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.time.temporal.ChronoUnit; +import java.util.Calendar; +import java.util.Date; + +public class DateUtil { + + /** + * 8位时间格式-format + */ + public static final String DATE_8 = "yyyyMMdd"; + + /** + * 14位时间格式-format + */ + public static final String DATE_14 = "yyyyMMddHHmmss"; + + /** + * 月份日期-format + */ + public static final String DATE_MMdd = "MMdd"; + + /** + * 时分秒-format + */ + public static final String DATE_HHmmss = "HHmmss"; + + + /** + * 获取yyyyMMddHHmmss格式的日期字符串 + * + * @return + */ + public static String getTime() { + LocalDateTime time = LocalDateTime.now(); + DateTimeFormatter format = DateTimeFormatter.ofPattern(DATE_14); + return format.format(time); + } + + /** + * 获取yyyyMMdd格式的日期字符串 + * + * @return + */ + public static String getDate() { + long currTime = System.currentTimeMillis(); + Date date = new Date(currTime); + SimpleDateFormat format = new SimpleDateFormat(DATE_8); + return format.format(date); + } + + /** + * 获取当前月yyyyMM + * + * @return + */ + public static String getMonth() { + + return getMonth(0); + } + + /** + * 获取指定月yyyyMM + * + * @param i + * 当前月之后的第几个月,负值表示当前月之前的日期 + * @return + */ + public static String getMonth(int i) { + Date date = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + cal.add(Calendar.MONTH, i); + SimpleDateFormat format = new SimpleDateFormat("yyyyMM"); + return format.format(cal.getTime()); + } + + /** + * 返回指定格式的日期字符串 + * + * @param date + * @param pattern + * 例如:yyyyMMddhhmmss + * @return + */ + public static String getFormatDate(Date date, String pattern) { + return new SimpleDateFormat(pattern).format(date); + } + + public static String getDateTime() { + long currTime = System.currentTimeMillis(); + Date date = new Date(currTime); + SimpleDateFormat format = new SimpleDateFormat(DATE_14); + return format.format(date); + } + + public static int compareDate(String startDay, String endDay) { + int n = 0; + DateFormat df = new SimpleDateFormat("yyyyMM"); + Calendar c1 = Calendar.getInstance(); + Calendar c2 = Calendar.getInstance(); + endDay = endDay == null ? df.format(new Date()) : endDay; + try { + c1.setTime(df.parse(startDay)); + c2.setTime(df.parse(endDay)); + } catch (Exception e) { + } + while (!c1.after(c2)) { // 循环对比,直到相等,n 就是所要的结果 + n++; + c1.add(Calendar.MONTH, 1); // 比较月份,月份+1 + } + n--; + return n; + } + + /** + * 判断两个指定时间的大小(接受的日期时间格式为 yyyyMMddHHmmss ) + * + * @param startTm + * @param endTm + * @return + */ + public static int compareTime(String startTm, String endTm) { + LocalDateTime sdt = LocalDateTime.parse(startTm, DateTimeFormatter.ofPattern(DATE_14)); + LocalDateTime edt = LocalDateTime.parse(endTm, DateTimeFormatter.ofPattern(DATE_14)); + if (sdt.isBefore(edt)) { + return -1; + } else if (sdt.isEqual(edt)) { + return 0; + } else { + return 1; + } + } + + /** + * 判断当前日期时间和指定日期时间的大小(接受的日期时间格式为 yyyyMMdd ) + * + * @param dateStr + * 日期 + * @return int 返回1则当前时间在dateStr之后,返回-1则当前时间在dateStr之前,返回0则相同 + */ + public static int compareDateWithNow(String dateStr) { + SimpleDateFormat timeFormator = new SimpleDateFormat(DATE_8); + try { + Date date = timeFormator.parse(dateStr); + Date current = new Date(); + if (current.before(date)) { + return -1; + } + if (current.after(date)) { + return 1; + } else { + return 0; + } + } catch (Exception e) { + throw new RuntimeException("解析日期时间格式出错,期望的字符串格式为[yyyyMMdd]"); + } + + } + + public static int compareDate1WithNow(String dateStr) { + SimpleDateFormat timeFormator = new SimpleDateFormat("yyyyMM"); + try { + Date date = timeFormator.parse(dateStr); + Date current = new Date(); + if (current.before(date)) { + return -1; + } + if (current.after(date)) { + return 1; + } else { + return 0; + } + } catch (Exception e) { + throw new RuntimeException("解析日期时间格式出错,期望的字符串格式为[yyyyMM]"); + } + + } + + public static String getDateByFormat(String format) { + SimpleDateFormat formatter = new SimpleDateFormat(format); + return formatter.format(new Date()); + } + + /** + * 使用预设格式将字符串转为Date + */ + public static Date parse(String strDate) throws ParseException { + return StringUtils.isBlank(strDate) ? null : parse(strDate, DATE_8); + } + + /** + * 使用参数Format将字符串转为Date + */ + public static Date parse(String strDate, String pattern) + throws ParseException { + return StringUtils.isBlank(strDate) ? null : new SimpleDateFormat( + pattern).parse(strDate); + } + + /** + * 获得两天之间相差天数 + */ + public static int getDiffDate(Date date, Date date1) { + return (int) ((date.getTime() - date1.getTime()) / (24 * 3600 * 1000)); + } + + public static String getMonthsFromDate(String begin, String end) { + + int b = Integer.parseInt(begin.substring(0, 4)); + int e = Integer.parseInt(end.substring(0, 4)); + if (e < b) { + return "0"; + } else if (e == b) { + b = Integer.parseInt(begin.substring(4, 6)); + e = Integer.parseInt(end.substring(4, 6)); + if (e < b) { + return "0"; + } else { + return String.valueOf(e - b + 1); + } + } else { + int h = (e - b) * 12; + b = Integer.parseInt(begin.substring(4, 6)); + e = Integer.parseInt(end.substring(4, 6)); + return String.valueOf(h + e - b + 1); + } + } + + public static String getDateAdd(String oldtime, long secs) { + + SimpleDateFormat format = new SimpleDateFormat(DATE_14); + + Date date1; + try { + date1 = format.parse(oldtime); + long Time = (date1.getTime() / 1000) + secs; + + date1.setTime(Time * 1000); + + String mydate1 = format.format(date1); + return mydate1; + } catch (ParseException e) { + return null; + } + + } + + public static long getdiffsecs(String time1, String time2) { + + SimpleDateFormat format = new SimpleDateFormat(DATE_14); + + Date date1; + Date date2; + try { + date1 = format.parse(time1); + date2=format.parse(time2); + long Timediff = (date1.getTime()-date2.getTime()) / 1000; + + + return Timediff; + } catch (ParseException e) { + return 0; + } + + } + + /** + * 将String类型转化为LocalDateTime + * @date 2020年11月25日 下午4:38:38 + * @param currTime + * @param pattern + * @return LocalDateTime + */ + public static LocalDate parseString2LocalDate(String currTime, String pattern){ + DateTimeFormatter dtf = DateTimeFormatter.ofPattern(pattern); + return LocalDate.parse(currTime, dtf); + } + + /** + * 时间相加 + * + * @param date 当前日期 格式必须为 yyyyMMdd + * @param day 累加的时间 单位是天 + * @return 日期 + * @throws ParseException + */ + public static String dateAdd(String date, int day) { + LocalDate time = LocalDate.parse(date,DateTimeFormatter.ofPattern(DATE_8)); + time = time.plus(day, ChronoUnit.DAYS); + return time.format(DateTimeFormatter.ofPattern(DATE_8)); + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application-default.yml b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application-default.yml new file mode 100644 index 00000000..477c3ea9 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application-default.yml @@ -0,0 +1,109 @@ +server: + compression : + enabled : true + min-response-size: 1024 + tomcat: + uri-encoding: UTF-8 + connection-timeout: 60000 + threads: + max: 200 + +eureka: + instance: + appname: ${spring.application.name} + lease-expiration-duration-in-seconds: 90 + lease-renewal-interval-in-seconds: 10 + prefer-ip-address: true + instance-id: ${spring.cloud.client.ip-address}:${server.port} + client: + enabled: true + register-with-eureka: true + fetch-registry: true + serviceUrl: + defaultZone: http://192.168.10.165:18888/eureka/ + +spring: + datasource: + type: com.zaxxer.hikari.HikariDataSource + url: jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.201)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.201)(PORT=1521)))(CONNECT_DATA=(SERVER = DEDICATED)(SID = jyorcl))) + username: tanphdev + password: tanphdev + hikari: + auto-commit: false + connection-init-sql: select 1 from dual + connection-test-query: select 1 from dual + minimum-idle: 5 # 最小空闲连接数量 + idle-timeout: 180000 # 空闲连接存活最大时间,默认600000(10分钟) + maximum-pool-size: 10 # 连接池最大连接数,默认是10 + connection-timeout: 30000 # 数据库连接超时时间,默认30秒,即30000 + max-lifetime: 1800000 # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 + security: + user: + password: markettest + name: markettest + cache: + type: caffeine + cache-names: + - mileageCache + caffeine: + spec: initialCapacity=10,maximumSize=500,expireAfterWrite=60s + jackson: + default-property-inclusion: non_null + + + +mybatis: + mapper-locations: classpath:mapper/**/*.xml + + +carbon-data-process: + enableUpChain: true + sftp: + host: 172.16.12.108 + port: 22 + username: flink + password: flink123 + # 远端目录 + remoteDir: /home/flink/zltmp/ + # 本地临时目录 + tempDir: C:\Users\RENCHAO\Desktop\temp-sss\aa\ + # 连接池最大实例数 + maxTotal: 5 + # 连接池最大空闲数 + maxIdle: 3 + # 连接池最小空闲数 + minIdle: 2 + fileSuffix: _trans.zip + nfcFileSuffix: _NFCTravel.zip + + gateway-serve: CARBON-PUSHGATE + auth-serve: CARBON-AUTH + +xxl: + enable: false + job: + admin: + addresses: http://127.0.0.1:8080/xxl-job-admin + accessToken: default_token + #分别配置执行器的名称、ip地址、端口号 + #注意:如果配置多个执行器时,防止端口冲突 + executor: + appname: carbonDataProcess + address: + ip: 127.0.0.1 + port: 9989 + + #执行器运行日志文件存储的磁盘位置,需要对该路径拥有读写权限 + logpath: C:/Users/RENCHAO/Desktop/temp-sss/xxl/xxl-job/jobhandler + #执行器Log文件定期清理功能,指定日志保存天数,日志文件过期自动删除。限制至少保持3天,否则功能不生效; + #-1表示永不删除 + logretentiondays: -1 +#logging: +# level: +# com.jiuyv.sptcc.carbon.dataprocess.mapper: debug + +sms: + enable: false + sendUrl: http://localhost:18878/smsBridge/wl/SmsServlet + phone-list: + - 13900000000 diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application.yml b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application.yml index 9caf0f4a..3b0e513a 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application.yml +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/application.yml @@ -1,112 +1,22 @@ +mybatis: + config-location: classpath:mybatis-config.xml + mapperLocations: classpath:mapper/**/*.xml server: - compression : - enabled : true + connection-timeout : 60000 + compression : + enabled : true min-response-size: 1024 tomcat: uri-encoding: UTF-8 - connection-timeout: 60000 - threads: - max: 200 -eureka: - instance: - appname: ${spring.application.name} - lease-expiration-duration-in-seconds: 90 - lease-renewal-interval-in-seconds: 10 - prefer-ip-address: true - instance-id: ${spring.cloud.client.ip-address}:${server.port} - client: - enabled: true - register-with-eureka: true - fetch-registry: true - serviceUrl: - defaultZone: http://192.168.10.165:18888/eureka/ - -spring: - datasource: - type: com.zaxxer.hikari.HikariDataSource - url: jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.201)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.201)(PORT=1521)))(CONNECT_DATA=(SERVER = DEDICATED)(SID = jyorcl))) - username: tanphdev - password: tanphdev - hikari: - auto-commit: false - connection-init-sql: select 1 from dual - connection-test-query: select 1 from dual - minimum-idle: 5 # 最小空闲连接数量 - idle-timeout: 180000 # 空闲连接存活最大时间,默认600000(10分钟) - maximum-pool-size: 10 # 连接池最大连接数,默认是10 - connection-timeout: 30000 # 数据库连接超时时间,默认30秒,即30000 - max-lifetime: 1800000 # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 - security: - user: - password: markettest - name: markettest - - jackson: - default-property-inclusion: non_null - + contextPath: feign: httpclient: enabled: false -#替换默认的http连接 + #替换默认的http连接 okhttp: enabled: true compression: request: enabled: false response: - enabled: false - -mybatis: - mapper-locations: classpath:mapper/**/*.xml - - -carbon-data-process: - enableUpChain: true - sftp: - host: 172.16.12.108 - port: 22 - username: flink - password: flink123 - # 远端目录 - remoteDir: /home/flink/zltmp/ - fileSuffix: _trans.zip - # 本地临时目录 - tempDir: C:\Users\RENCHAO\Desktop\temp-sss\aa\ - # 连接池最大实例数 - maxTotal: 5 - # 连接池最大空闲数 - maxIdle: 3 - # 连接池最小空闲数 - minIdle: 2 - - gateway-serve: CARBON-PUSHGATE - auth-serve: CARBON-AUTH - -xxl: - enable: false - job: - admin: - addresses: http://127.0.0.1:8080/xxl-job-admin - accessToken: default_token - #分别配置执行器的名称、ip地址、端口号 - #注意:如果配置多个执行器时,防止端口冲突 - executor: - appname: carbonDataProcess - address: - ip: 127.0.0.1 - port: 9989 - - #执行器运行日志文件存储的磁盘位置,需要对该路径拥有读写权限 - logpath: C:/Users/RENCHAO/Desktop/temp-sss/xxl/xxl-job/jobhandler - #执行器Log文件定期清理功能,指定日志保存天数,日志文件过期自动删除。限制至少保持3天,否则功能不生效; - #-1表示永不删除 - logretentiondays: -1 -#logging: -# level: -# com.jiuyv.sptcc.carbon.dataprocess.mapper: debug - -sms: - enable: false - sendUrl: http://localhost:18878/smsBridge/wl/SmsServlet - phone-list: - - 13900000000 + enabled: false \ No newline at end of file diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/mapper/BcSubwayMileageMapper.xml b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/mapper/BcSubwayMileageMapper.xml index 388a3be3..302e89a1 100644 --- a/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/mapper/BcSubwayMileageMapper.xml +++ b/carbon-dataprocess/carbon-dataprocess-service/src/main/resources/mapper/BcSubwayMileageMapper.xml @@ -3,8 +3,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -25,11 +25,21 @@ + + MERGE INTO TBL_BC_SUBWAY_MILEAGE target USING ( SELECT + #{m.id,jdbcType=VARCHAR} AS ID, #{m.inStationId,jdbcType=VARCHAR} AS IN_STATION_ID, #{m.outStationId,jdbcType=VARCHAR} AS OUT_STATION_ID, #{m.mileage,jdbcType=DECIMAL} AS MILEAGE, @@ -45,8 +55,8 @@ target.IN_STATION_NAME = source.IN_STATION_NAME, target.OUT_STATION_NAME = source.OUT_STATION_NAME WHEN NOT MATCHED THEN - INSERT (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME) - VALUES (source.IN_STATION_ID, source.OUT_STATION_ID, source.MILEAGE, source.IN_STATION_NAME, source.OUT_STATION_NAME) + INSERT (ID,IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME) + VALUES (source.ID, source.IN_STATION_ID,source.OUT_STATION_ID, source.MILEAGE, source.IN_STATION_NAME, source.OUT_STATION_NAME) + + + + + + merge into TBL_BC_TRAVEL_NOTICE pw + using dual on (pw.travel_No = #{travelNo}) + when not matched then + insert + ( + SEQ_NO, + TRANS_TYPE, + METHOD_ID, + BASE_FACTOR, + FACTOR, + TRAVEL_NO, + INDUSTRY_CODE, + USER_ID, + CCID, + IN_STATION_ID, + OUT_STATION_ID, + OPEN_CHANNEL, + INTO_TRANS_TIME, + OUT_TRANS_TIME, + CARD_NO, + IN_TRANSACTION_SERIAL_NO, + IN_STATION_NAME, + IN_DEVICE_NO, + IN_DEVICE_SERIAL_NO, + LINE_NO, + LINE_NAME, + OUT_TRANSACTION_SERIAL_NO, + OUT_STATION_NAME, + OUT_DEVICE_NO, + OUT_DEVICE_SERIAL_NO, + MILEAGE, + DATA_CONFIRMATION_TIME, + SOURCE_FILE_NAME, + STATUS, + REMARK, + CREATE_USER, + CREATE_TIME, + LST_UPD_USER, + LST_UPD_TIME + ) values( + #{seqNo,jdbcType=VARCHAR}, + #{transType,jdbcType=VARCHAR}, + #{methodId,jdbcType=VARCHAR}, + #{baseFactor,jdbcType=VARCHAR}, + #{factor,jdbcType=VARCHAR}, + #{travelNo,jdbcType=VARCHAR}, + #{industryCode,jdbcType=VARCHAR}, + #{userId,jdbcType=VARCHAR}, + #{ccid,jdbcType=VARCHAR}, + #{inStationId,jdbcType=VARCHAR}, + #{outStationId,jdbcType=VARCHAR}, + #{openChannel,jdbcType=VARCHAR}, + #{intoTransTime,jdbcType=CHAR}, + #{outTransTime,jdbcType=CHAR}, + #{cardNo,jdbcType=VARCHAR}, + #{inTransactionSerialNo,jdbcType=VARCHAR}, + #{inStationName,jdbcType=VARCHAR}, + #{inDeviceNo,jdbcType=VARCHAR}, + #{inDeviceSerialNo,jdbcType=VARCHAR}, + #{lineNo,jdbcType=VARCHAR}, + #{lineName,jdbcType=VARCHAR}, + #{outTransactionSerialNo,jdbcType=VARCHAR}, + #{outStationName,jdbcType=VARCHAR}, + #{outDeviceNo,jdbcType=VARCHAR}, + #{outDeviceSerialNo,jdbcType=VARCHAR}, + #{mileage,jdbcType=VARCHAR}, + #{dataConfirmationTime,jdbcType=CHAR}, + #{sourceFileName,jdbcType=VARCHAR}, + #{status,jdbcType=VARCHAR}, + #{remark,jdbcType=VARCHAR}, + 'admin', + to_char(current_timestamp,'YYYYMMDDHH24MISS'), + 'admin', + to_char(current_timestamp,'YYYYMMDDHH24MISS') + ) + + + insert into TBL_BC_TRAVEL_NOTICE ( SEQ_NO, + TRANS_TYPE, METHOD_ID, BASE_FACTOR, FACTOR, @@ -358,6 +460,7 @@ SELECT #{tn.seqNo,jdbcType=VARCHAR} AS SEQ_NO, + #{tn.transType,jdbcType=VARCHAR} AS TRANS_TYPE, #{tn.methodId,jdbcType=VARCHAR} AS METHOD_ID, #{tn.baseFactor,jdbcType=VARCHAR} AS BASE_FACTOR, #{tn.factor,jdbcType=VARCHAR} AS FACTOR, @@ -402,15 +505,19 @@ update TBL_BC_TRAVEL_NOTICE - SET CHAIN_STATUS = #{chainStatus,jdbcType=VARCHAR} - WHERE CHAIN_TX_ID = #{txId,jdbcType=VARCHAR} + SET CHAIN_STATUS = #{chainStatus,jdbcType=VARCHAR} + WHERE CHAIN_TX_ID = #{txId,jdbcType=VARCHAR} update TBL_BC_TRAVEL_NOTICE SET CHAIN_STATUS = #{chainStatus,jdbcType=VARCHAR} - ,CHAIN_TX_ID = #{txId,jdbcType=VARCHAR} + ,CHAIN_TX_ID = #{txId,jdbcType=VARCHAR}, + SEND_COUNT = SEND_COUNT + 1 + + + ,SEND_COUNT = 0 WHERE TRAVEL_NO IN @@ -442,6 +549,7 @@ #{tn.seqNo} AS SEQ_NO, #{tn.carbonFootprint} AS CARBON_FOOTPRINT, #{tn.reductionCalculateTime} AS REDUCTION_CALCULATE_TIME, + #{tn.hashData} AS HASH_DATA, #{tn.status} AS STATUS, #{tn.chainStatus} AS CHAIN_STATUS FROM dual @@ -452,9 +560,20 @@ UPDATE SET target.CARBON_FOOTPRINT = source.CARBON_FOOTPRINT, target.REDUCTION_CALCULATE_TIME = source.REDUCTION_CALCULATE_TIME, + target.HASH_DATA = source.HASH_DATA, target.STATUS = source.STATUS, target.CHAIN_STATUS = source.CHAIN_STATUS + diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthCardFeignMock.java b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthCardFeignMock.java new file mode 100644 index 00000000..a7ce8d91 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthCardFeignMock.java @@ -0,0 +1,51 @@ +package com.jiuyv.sptcc.carbon.dataprocess.api; + +import com.jiuyv.sptcc.carbon.auth.entity.CardBindStatusCheck; +import com.jiuyv.sptcc.carbon.auth.web.request.CardBindOperationRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.CardBindStatusCheckRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.CardWhiteListCheckRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.GetUserBatchRequest; +import com.jiuyv.sptcc.carbon.auth.web.response.CardBindOperationResponse; +import com.jiuyv.sptcc.carbon.auth.web.response.CardBindStatusCheckResponse; +import com.jiuyv.sptcc.carbon.auth.web.response.R; +import com.jiuyv.sptcc.carbon.auth.web.response.UserHistoryBatchResponse; +import com.jiuyv.sptcc.carbon.dataprocess.feign.CarbonAuthNFCFeign; + +import java.util.ArrayList; +import java.util.List; + +public class CarbonAuthCardFeignMock implements CarbonAuthNFCFeign { + @Override + public R cardBind(CardBindOperationRequest cardBindOperationRequest) { + return null; + } + + @Override + public R cardUnbind(CardBindOperationRequest cardBindOperationRequest) { + return null; + } + + @Override + public R cardBindStatus(CardBindOperationRequest cardBindStatusRequest) { + return null; + } + + @Override + public R cardWhiteListCheck(CardWhiteListCheckRequest cardWhiteListCheckRequest) { + return null; + } + + @Override + public R cardBindStatusCheck(CardBindStatusCheckRequest request) { + List list = new ArrayList<>(); + for (CardBindStatusCheck auth : request.getList()) { + auth.setCcid("did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG"); + auth.setUserId("0000670723"); + auth.setBindStatus("BIND"); + list.add(auth); + } + CardBindStatusCheckResponse response = new CardBindStatusCheckResponse(); + response.setList(list); + return R.ok(response); + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthFeignMock.java b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthFeignMock.java new file mode 100644 index 00000000..44e0da96 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/CarbonAuthFeignMock.java @@ -0,0 +1,53 @@ +package com.jiuyv.sptcc.carbon.dataprocess.api; + +import com.jiuyv.sptcc.carbon.auth.web.request.AccoutRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.AuthApplyRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.AuthRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.BoundRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.GetUserBatchRequest; +import com.jiuyv.sptcc.carbon.auth.web.request.GetUserRequest; +import com.jiuyv.sptcc.carbon.auth.web.response.AccountResponse; +import com.jiuyv.sptcc.carbon.auth.web.response.AuthApplyResponse; +import com.jiuyv.sptcc.carbon.auth.web.response.R; +import com.jiuyv.sptcc.carbon.auth.web.response.UserHistoryBatchResponse; +import com.jiuyv.sptcc.carbon.auth.web.response.UserHistoryResponse; +import com.jiuyv.sptcc.carbon.dataprocess.feign.CarbonAuthFeign; + +import java.util.ArrayList; +import java.util.List; + +public class CarbonAuthFeignMock implements CarbonAuthFeign { + @Override + public R getInfo(AccoutRequest request) { + return null; + } + + @Override + public R apply(AuthApplyRequest request) { + return null; + } + + @Override + public R boundCcId(BoundRequest request) { + return null; + } + + @Override + public R getUserByCid(GetUserRequest request) { + return null; + } + + @Override + public R getUserByCidBatch(GetUserBatchRequest request) { + List list = new ArrayList<>(); + for (GetUserBatchRequest.AuthRequest auth : request.getList()) { + UserHistoryBatchResponse.AuthRecord r = new UserHistoryBatchResponse.AuthRecord(); + r.setTravelNo(auth.getTravelNo()); + r.setAuthFlag(Boolean.TRUE); + list.add(r); + } + UserHistoryBatchResponse response = new UserHistoryBatchResponse(); + response.setList(list); + return R.ok(response); + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/FileServiceMock.java b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/FileServiceMock.java new file mode 100644 index 00000000..b8f60b97 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/api/FileServiceMock.java @@ -0,0 +1,67 @@ +package com.jiuyv.sptcc.carbon.dataprocess.api; + +import com.jcraft.jsch.SftpException; +import com.jiuyv.sptcc.carbon.dataprocess.controller.DataProcessControllerTest; +import com.jiuyv.sptcc.carbon.dataprocess.exception.ServiceException; +import com.jiuyv.sptcc.carbon.dataprocess.service.IFileService; +import org.apache.commons.io.IOUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.core.io.ClassPathResource; + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +public class FileServiceMock implements IFileService { + + private static final Logger LOGGER = LoggerFactory + .getLogger(DataProcessControllerTest.class); + + @Override + public File getBcTravelFile(String dateStr, String currentTime) { + try (InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("20231023_QrTravel.zip"); + ZipInputStream zipInputStream = new ZipInputStream(inputStream)) { + ZipEntry nextEntry; + while ((nextEntry = zipInputStream.getNextEntry()) != null && !nextEntry.isDirectory()) { + String filePath = System.getProperty("java.io.tmpdir") + "/" + nextEntry.getName(); + LOGGER.info(">>>> 下载并解压:{}", filePath); + try (FileOutputStream fileOutputStream = new FileOutputStream(filePath)) { + IOUtils.copy(zipInputStream, fileOutputStream); + } + } + LOGGER.info(">>>> 文件下载成功"); + } catch (IOException e) { + LOGGER.error("获取文件出错", e); + throw new ServiceException("获取文件出错"); + } + final File file = new File(System.getProperty("java.io.tmpdir"), "20231023_QrTravel.csv"); + LOGGER.info(">>>> 开始读取文件:{}", file.getAbsolutePath()); + return file; + } + + @Override + public File getNfcTravelFile(String dateStr, String currentTime) { + try (InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("20231024_NFCTravel.zip"); + ZipInputStream zipInputStream = new ZipInputStream(inputStream)) { + ZipEntry nextEntry; + while ((nextEntry = zipInputStream.getNextEntry()) != null && !nextEntry.isDirectory()) { + String filePath = System.getProperty("java.io.tmpdir") + "/" + nextEntry.getName(); + LOGGER.info(">>>> 下载并解压:{}", filePath); + try (FileOutputStream fileOutputStream = new FileOutputStream(filePath)) { + IOUtils.copy(zipInputStream, fileOutputStream); + } + } + LOGGER.info(">>>> 文件下载成功"); + } catch (IOException e) { + LOGGER.error("获取文件出错", e); + throw new ServiceException("获取文件出错"); + } + final File file = new File(System.getProperty("java.io.tmpdir"), "20231024_NFCTravel.csv"); + LOGGER.info(">>>> 开始读取文件:{}", file.getAbsolutePath()); + return file; + } +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/controller/DataProcessControllerTest.java b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/controller/DataProcessControllerTest.java new file mode 100644 index 00000000..8bc79abd --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/java/com/jiuyv/sptcc/carbon/dataprocess/controller/DataProcessControllerTest.java @@ -0,0 +1,95 @@ +package com.jiuyv.sptcc.carbon.dataprocess.controller; + +import com.jiuyv.sptcc.carbon.dataprocess.DataProcessApplication; +import com.jiuyv.sptcc.carbon.dataprocess.api.CarbonAuthCardFeignMock; +import com.jiuyv.sptcc.carbon.dataprocess.api.CarbonAuthFeignMock; +import com.jiuyv.sptcc.carbon.dataprocess.api.FileServiceMock; +import com.jiuyv.sptcc.carbon.dataprocess.quartz.CarbonDataTask; +import com.jiuyv.sptcc.carbon.dataprocess.service.impl.ReadFileServiceImpl; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.MethodOrderer; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestMethodOrder; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.MockitoAnnotations; +import org.mockito.Spy; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.ActiveProfiles; +import org.springframework.test.context.junit.jupiter.SpringExtension; + +import javax.annotation.Resource; + +/** + * 核心test + * @author jiuyv + * + */ +@ExtendWith(SpringExtension.class) +@SpringBootTest(classes = DataProcessApplication.class) +@ActiveProfiles("junit")//测试配置 +public class DataProcessControllerTest { + + /** The Constant LOGGER. */ + private static final Logger LOGGER = LoggerFactory + .getLogger(DataProcessControllerTest.class); + + @Resource + @InjectMocks + private ReadFileServiceImpl readFileService; + + @Resource + private CarbonDataTask task; + @Spy + private FileServiceMock fileServiceMock = new FileServiceMock(); + + @Spy + private CarbonAuthFeignMock carbonAuthFeignMock = new CarbonAuthFeignMock(); + + @Spy + private CarbonAuthCardFeignMock carbonAuthCardFeignMock = new CarbonAuthCardFeignMock(); + + @BeforeEach + public void initMocks() { + MockitoAnnotations.openMocks(this); + } + + @Test + public void test1() { + LOGGER.info("---------------- 二维码行程读取 开始 ----------------"); + Boolean isException = false; + try { + readFileService.readFileAndInsertDatabase("20231023"); + } catch (Exception e) { + LOGGER.error("二维码行程读取运行失败",e); + isException = true; + } + Assertions.assertEquals(Boolean.FALSE, isException); + LOGGER.info("---------------- 二维码行程读取 结束 ----------------"); + } + + @Test + public void test2() { + LOGGER.info("---------------- NFC行程读取 开始 ----------------"); + Boolean isException = false; + try { + readFileService.readNFCFileAndInsertDatabase("20231024"); + } catch (Exception e) { + LOGGER.error("NFC行程读取运行失败",e); + isException = true; + } + Assertions.assertEquals(Boolean.FALSE, isException); + LOGGER.info("----------------NFC行程读取 结束 ----------------"); + } + + @Test + public void test3() { + LOGGER.info("---------------- 碳普惠日终统计 开始 ----------------"); + task.dailyWarning(); + LOGGER.info("---------------- 碳普惠日终统计 结束 ----------------"); + } + +} diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/application-junit.yml b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/application-junit.yml new file mode 100644 index 00000000..765b4ac5 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/application-junit.yml @@ -0,0 +1,111 @@ +spring: + datasource: + type: com.zaxxer.hikari.HikariDataSource + url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=FALSE;MODE=Oracle + driver-class-name: org.h2.Driver + username: root + password: 123456 + hikari: + auto-commit: false + connection-init-sql: select 1 from dual + connection-test-query: select 1 from dual + minimum-idle: 5 + idle-timeout: 180000 + maximum-pool-size: 10 + connection-timeout: 30000 + max-lifetime: 1800000 + jpa: + hibernate: + ddl-auto: create + sql: + init: + schema-locations: classpath:db/schema.sql + data-locations: classpath:db/data.sql + mode: always + separator: ; + platform: h2 + encoding: utf-8 + cache: + type: caffeine + cache-names: + - mileageCache + caffeine: + spec: initialCapacity=10,maximumSize=500,expireAfterWrite=60s +server: + compression : + enabled : true + min-response-size: 1024 + tomcat: + uri-encoding: UTF-8 + connection-timeout: 60000 + threads: + max: 200 + cache: + type: caffeine + cache-names: + - changeStationCache + - mileageCache + - calcFactorCache + caffeine: + spec: initialCapacity=10,maximumSize=500,expireAfterWrite=60s + security: + user: + password: markettest + name: markettest + jackson: + default-property-inclusion: non_null + +eureka: + instance: + appname: ${spring.application.name} + lease-expiration-duration-in-seconds: 90 + lease-renewal-interval-in-seconds: 10 + prefer-ip-address: true + instance-id: ${spring.cloud.client.ip-address}:${server.port} + metadata-map: + user.name: ${spring.security.user.name} + user.password: ${spring.security.user.password} + client: + register-with-eureka: false + fetch-registry: false + serviceUrl: + defaultZone: http://192.168.10.165:18888/eureka/ + +feign: + httpclient: + enabled: false + #替换默认的http连接 + okhttp: + enabled: true + compression: + request: + enabled: false + response: + enabled: false + +mybatis: + mapper-locations: classpath:mapper/**/*.xml + +carbon-data-process: + sftp: + host: 192.168.10.165 + port: 22 + username: tomcat + password: tomcat123 + # 远端目录 + remoteDir: /home/tomcat/transData/ + # 本地临时目录 + tempDir: /home/tomcat/carbon/dataprocess/temp/ + # 连接池最大实例数 + maxTotal: 5 + # 连接池最大空闲数 + maxIdle: 3 + # 连接池最小空闲数 + minIdle: 2 + gateway-serve: FADEOUT + auth-serve: CARBON-AUTH +sms: + enable: false + sendUrl: http://168.10.35.161:18878/smsBridge/wl/SmsServlet + phone-list: + - 13862851173 \ No newline at end of file diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/applicationContext-test.xml b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/applicationContext-test.xml new file mode 100644 index 00000000..fb037fe2 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/applicationContext-test.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/data.sql b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/data.sql new file mode 100644 index 00000000..e51d10f3 --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/data.sql @@ -0,0 +1,72 @@ +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1050', '10242.000', '', '','0112_1050'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0113', '0744', '10751.000', '', '','0113_0744'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0113', '0743', '8570.000', '', '','0113_0743'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1056', '16550.000', '', '','0112_1056'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1055', '15891.000', '', '','0112_1055'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1054', '14987.000', '', '','0112_1054'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1053', '14134.000', '', '','0112_1053'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1059', '19061.000', '', '','0112_1059'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1058', '18146.000', '', '','0112_1058'); + +insert into tbl_bc_subway_mileage (IN_STATION_ID, OUT_STATION_ID, MILEAGE, IN_STATION_NAME, OUT_STATION_NAME,ID) +values ('0112', '1057', '17202.000', '', '', '0112_1057'); + +insert into tbl_bc_calc_factor (FACTOR_ID, VERSION, METHOD_ID, SCENE_CODE, AVERAGE_MILEAGE, BASE_FACTOR, FACTOR, START_TIME, END_TIME) +values (1, '1', 'SHCER02020012024', '77', 5544.000, '0.13', '0.064', '20230425000000', '20241025000000'); + +insert into tbl_bc_calc_factor (FACTOR_ID, VERSION, METHOD_ID, SCENE_CODE, AVERAGE_MILEAGE, BASE_FACTOR, FACTOR, START_TIME, END_TIME) +values (2, '2', 'SHCER02020022024', '21', 0.000, '0.13', '0.064', '20230425000000', '20241025000000'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905828650974172700', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905828650974172700', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0735', '1624', '', '20240905130121', '20240905195733', '52871661918', '22548', '岚皋路', '68164', '23228', '', '', '43901', '周浦东', '52877', '56833', '', '27918.000', '20240906151105', '1842', 'INIT', '', 'd8a6c156e8e7029893b8f986d541cf1710ad5213470b70c0723c1c9ae30da4c2', '20240905_NFCTravel.csv', '20240906151223', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', '20240906151126', 'admin', '20240906151126', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905489261484844794', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905489261484844794', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0334', '1629', '', '20240905085111', '20240905140433', '52871661918', '48602', '淞滨路', '69751', '66528', '', '', '64048', '惠南', '73100', '43486', '', '52576.000', '20240906151105', '3470', 'INIT', '', '6b0bb50edb891067a8aa54eb21f165f3ccc54507edcd3d7ca0e3ae6122792d12', '20240905_NFCTravel.csv', '20240906151216', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', '20240906151110', 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905712306330396145', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905712306330396145', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0837', '0510', '', '20240905025531', '20240905182843', '52871661918', '43757', '中兴路', '77677', '53318', '', '', '32670', '金平路', '25448', '30238', '', '31167.000', '20240906151105', '2057', 'INIT', '', 'e6d0239d5859b1b2126f15d2c1ec31c239a1ede1038966a611c38ffc9982faf4', '20240905_NFCTravel.csv', '20240906151221', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', '20240906151110', 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905525108757942255', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905525108757942255', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '1448', '1541', '', '20240905155921', '20240905185620', '52871661918', '46479', '云顺路', '85829', '29797', '', '', '45071', '梅岭北路', '23169', '84811', '', '22439.000', '20240906151105', '1480', 'INIT', '', 'f4a06571ed184cf22349c485f0edc2d6f6e9903f6d7d095e95ba160fdacc8d47', '20240905_NFCTravel.csv', '20240906151217', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', '20240906151110', 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905649918160344918', 'SHCER02020012024Ⅰ', '0.13', '0.064', '20240905649918160344918', '77', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '', '', '', '20240905134558', '20240905134558', '52871661918', '20', '', '', '', '589', '589路', '20', '', '', '', '', '5544.000', '20240906151105', '365', 'INIT', '', 'c7535dabc0ed4ca18934bc51961e092841aece6d19d4aad34a04f279c46acffc', '20240905_NFCTravel.csv', '20240906151219', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', '20240906151110', 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905860375345522123', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905860375345522123', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '1632', '1226', '', '20240905184917', '20240905214858', '52871661918', '45441', '临港大道', '23158', '69168', '', '', '75539', '桂林公园', '61408', '70744', '', '66635.000', '20240906151105', '4397', 'INIT', '', '73187cc5ba10b97be41e4d16f08166d92c3269f0699173591d3382ea2f42146a', '20240905_NFCTravel.csv', '20240906151223', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905222426144229754', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905222426144229754', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '1724', '1062', '', '20240905061758', '20240905182702', '52871661918', '65254', '徐盈路', '81125', '25061', '', '', '70191', '同济大学', '34529', '41019', '', '29366.000', '20240906151105', '1938', 'INIT', '', 'd819ac1819a68d561997c76c333d38b82e09ee5b1493ccb83a2d630a77bc033e', '20240905_NFCTravel.csv', '20240906151213', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905392079630446236', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905392079630446236', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0247', '0135', '', '20240905172130', '20240905203309', '52871661918', '78257', '陆家嘴', '29885', '54652', '', '', '18403', '共富新村', '48622', '27591', '', '17558.000', '20240906151105', '1158', 'INIT', '', 'a2dc6adee427f84b471fc722cdc5c78945fba38bb842d20d83cf518294634b8d', '20240905_NFCTravel.csv', '20240906151215', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905864347514967703', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905864347514967703', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '1625', '0328', '', '20240905042714', '20240905112454', '52871661918', '41545', '鹤沙航城', '39035', '72704', '', '', '63209', '大柏树', '74897', '62804', '', '30029.000', '20240906151105', '1981', 'INIT', '', '051b7ec722e3a73138dadc8e9c60c338255eba28896cc84a2f7a1436a544644d', '20240905_NFCTravel.csv', '20240906151223', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905816129875891832', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905816129875891832', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0929', '1821', '', '20240905030213', '20240905122138', '52871661918', '64512', '星中路', '56485', '34754', '', '', '19939', '航头', '88620', '69599', '', '36386.000', '20240906151105', '2401', 'INIT', '', '7e540783c14a271adc0b535ec4491073c0df44b7bd1cd2d9d6be58523936191a', '20240905_NFCTravel.csv', '20240906151222', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905148477451700702', 'SHCER02020022024Ⅰ', '0.13', '0.064', '20240905148477451700702', '21', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '0624', '0626', '', '20240905075022', '20240905201127', '52871661918', '18498', '华夏西路', '69322', '19281', '', '', '80148', '东明路', '89295', '85684', '', '2841.000', '20240906151105', '187', 'INIT', '', '5ebbe1318796bec7ee66a62d5ce25590943b30491f9b639812214ca07f898c63', '20240905_NFCTravel.csv', '20240906151212', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + +insert into tbl_bc_travel_notice (SEQ_NO, METHOD_ID, BASE_FACTOR, FACTOR, TRAVEL_NO, INDUSTRY_CODE, USER_ID, CCID, IN_STATION_ID, OUT_STATION_ID, OPEN_CHANNEL, INTO_TRANS_TIME, OUT_TRANS_TIME, CARD_NO, IN_TRANSACTION_SERIAL_NO, IN_STATION_NAME, IN_DEVICE_NO, IN_DEVICE_SERIAL_NO, LINE_NO, LINE_NAME, OUT_TRANSACTION_SERIAL_NO, OUT_STATION_NAME, OUT_DEVICE_NO, OUT_DEVICE_SERIAL_NO, BATCH_NO, MILEAGE, DATA_CONFIRMATION_TIME, CARBON_FOOTPRINT, CHAIN_STATUS, CHAIN_TX_ID, HASH_DATA, SOURCE_FILE_NAME, REDUCTION_CALCULATE_TIME, DATA_DELIVERY_TIME, STATUS, REMARK, BUSINESS_COMPLETION_TIME, NEXT_SEND_TIME, SEND_COUNT, SIGN_STATUS, SIGN_QUERY_COUNT, CREATE_USER, CREATE_TIME, LST_UPD_USER, LST_UPD_TIME, TRANS_TYPE) +values ('NFC20240905423133226986616', 'SHCER02020012024Ⅰ', '0.13', '0.064', '20240905423133226986616', '77', '0000670723', 'did:unitrust:7TYSznS7TFAPskJb3XDxbCDqZpaG', '', '', '', '20240905195215', '20240905195215', '52871661918', '48', '', '', '', '81', '81路', '48', '', '', '', '', '5544.000', '20240906151105', '365', 'INIT', '', '7ab1840b2a5231000ac9028ce3d5c4b0ff8b9ec88bd3811bfd7bda82ea29ce02', '20240905_NFCTravel.csv', '20240906151216', '', 'WAIT_FOR_SEND', '', '', '', 0, null, 0, 'admin', to_char(current_timestamp, 'YYYYMMDDHH24MISS'), 'admin', '20240906151110', 'NFC_CARD'); + diff --git a/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/schema.sql b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/schema.sql new file mode 100644 index 00000000..bce4c88b --- /dev/null +++ b/carbon-dataprocess/carbon-dataprocess-service/src/test/resources/db/schema.sql @@ -0,0 +1,200 @@ +set MODE oracle; +-- Create table +create table TBL_BC_CALC_FACTOR +( + FACTOR_ID NUMBER not null, + VERSION VARCHAR2(32 CHAR) not null, + METHOD_ID VARCHAR2(32 CHAR) not null, + SCENE_CODE VARCHAR2(16 CHAR) not null, + AVERAGE_MILEAGE NUMBER(10,3) not null, + BASE_FACTOR VARCHAR2(16 CHAR) not null, + FACTOR VARCHAR2(16 CHAR) not null, + START_TIME CHAR(14 CHAR) not null, + END_TIME CHAR(14 CHAR) not null +); +-- Add comments to the columns +comment on column TBL_BC_CALC_FACTOR.FACTOR_ID + is '主键ID'; +comment on column TBL_BC_CALC_FACTOR.METHOD_ID + is '方法学版本编码'; +comment on column TBL_BC_CALC_FACTOR.SCENE_CODE + is '场景编码【地铁subway,公交bus】'; +comment on column TBL_BC_CALC_FACTOR.AVERAGE_MILEAGE + is '平均里程,存的是M,计算时转换为KM'; +comment on column TBL_BC_CALC_FACTOR.BASE_FACTOR + is '存的是gCO2/PKM,计算时直接使用'; +comment on column TBL_BC_CALC_FACTOR.FACTOR + is '存的是gCO2/PKM,计算时直接使用'; +-- Create/Recreate primary, unique and foreign key constraints +alter table TBL_BC_CALC_FACTOR + add primary key (FACTOR_ID); + +-- Create table +create table TBL_BC_SUBWAY_MILEAGE +( + ID VARCHAR2(32 CHAR) not null, + IN_STATION_ID VARCHAR2(32 CHAR) not null, + OUT_STATION_ID VARCHAR2(32 CHAR) not null, + MILEAGE VARCHAR2(32 CHAR), + IN_STATION_NAME VARCHAR2(255 CHAR), + OUT_STATION_NAME VARCHAR2(255 CHAR), + constraint PK_TBL_BC_SUBWAY_MILEAGE primary key (ID) +); + +-- Create table +create table TBL_BC_TRAVEL_NOTICE +( + SEQ_NO VARCHAR2(64 CHAR) default '' not null, + METHOD_ID VARCHAR2(32 CHAR), + BASE_FACTOR VARCHAR2(32 CHAR), + FACTOR VARCHAR2(32 CHAR), + TRAVEL_NO VARCHAR2(32 CHAR), + INDUSTRY_CODE VARCHAR2(32 CHAR), + USER_ID VARCHAR2(32 CHAR), + CCID VARCHAR2(128 CHAR), + IN_STATION_ID VARCHAR2(32 CHAR), + OUT_STATION_ID VARCHAR2(32 CHAR), + OPEN_CHANNEL VARCHAR2(32 CHAR), + INTO_TRANS_TIME CHAR(14 CHAR), + OUT_TRANS_TIME CHAR(14 CHAR), + CARD_NO VARCHAR2(32 CHAR), + IN_TRANSACTION_SERIAL_NO VARCHAR2(64 CHAR), + IN_STATION_NAME VARCHAR2(200 CHAR), + IN_DEVICE_NO VARCHAR2(64 CHAR), + IN_DEVICE_SERIAL_NO VARCHAR2(64 CHAR), + LINE_NO VARCHAR2(10 CHAR), + LINE_NAME VARCHAR2(200 CHAR), + OUT_TRANSACTION_SERIAL_NO VARCHAR2(64 CHAR), + OUT_STATION_NAME VARCHAR2(200 CHAR), + OUT_DEVICE_NO VARCHAR2(64 CHAR), + OUT_DEVICE_SERIAL_NO VARCHAR2(64 CHAR), + BATCH_NO VARCHAR2(32 CHAR), + MILEAGE VARCHAR2(32 CHAR), + DATA_CONFIRMATION_TIME CHAR(14 CHAR), + CARBON_FOOTPRINT VARCHAR2(32 CHAR), + CHAIN_STATUS VARCHAR2(32 CHAR), + CHAIN_TX_ID VARCHAR2(255 CHAR), + HASH_DATA VARCHAR2(512 CHAR), + SOURCE_FILE_NAME VARCHAR2(64 CHAR), + REDUCTION_CALCULATE_TIME CHAR(14 CHAR), + DATA_DELIVERY_TIME CHAR(14 CHAR), + STATUS VARCHAR2(32 CHAR), + REMARK VARCHAR2(255 CHAR), + BUSINESS_COMPLETION_TIME CHAR(14 CHAR), + NEXT_SEND_TIME CHAR(14 CHAR), + SEND_COUNT NUMBER(10) default 0 not null, + SIGN_STATUS NUMBER(2), + SIGN_QUERY_COUNT NUMBER(10) default 0 not null, + CREATE_USER VARCHAR2(32 CHAR) not null, + CREATE_TIME CHAR(14 CHAR) not null, + LST_UPD_USER VARCHAR2(32 CHAR) not null, + LST_UPD_TIME CHAR(14 CHAR) not null +); +-- Add comments to the columns +comment on column TBL_BC_TRAVEL_NOTICE.SEQ_NO + is '推送序号'; +comment on column TBL_BC_TRAVEL_NOTICE.METHOD_ID + is '方法学版本编码'; +comment on column TBL_BC_TRAVEL_NOTICE.BASE_FACTOR + is '基准线场景排放因子'; +comment on column TBL_BC_TRAVEL_NOTICE.FACTOR + is '减排场景排放因子'; +comment on column TBL_BC_TRAVEL_NOTICE.TRAVEL_NO + is '业务流水号'; +comment on column TBL_BC_TRAVEL_NOTICE.INDUSTRY_CODE + is '交易类型'; +comment on column TBL_BC_TRAVEL_NOTICE.USER_ID + is '交通卡用户号'; +comment on column TBL_BC_TRAVEL_NOTICE.CCID + is '碳普惠子场景账户号'; +comment on column TBL_BC_TRAVEL_NOTICE.IN_STATION_ID + is '进站编码'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_STATION_ID + is '出站编码'; +comment on column TBL_BC_TRAVEL_NOTICE.OPEN_CHANNEL + is '拉码渠道'; +comment on column TBL_BC_TRAVEL_NOTICE.INTO_TRANS_TIME + is '进站时间'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_TRANS_TIME + is '出站时间'; +comment on column TBL_BC_TRAVEL_NOTICE.CARD_NO + is '卡号 交易卡号,明文'; +comment on column TBL_BC_TRAVEL_NOTICE.IN_TRANSACTION_SERIAL_NO + is '进站交易流水号'; +comment on column TBL_BC_TRAVEL_NOTICE.IN_STATION_NAME + is '进站名称'; +comment on column TBL_BC_TRAVEL_NOTICE.IN_DEVICE_NO + is '进站设备号'; +comment on column TBL_BC_TRAVEL_NOTICE.IN_DEVICE_SERIAL_NO + is '进站设备流水号'; +comment on column TBL_BC_TRAVEL_NOTICE.LINE_NO + is '公交线路编码 例如:01000'; +comment on column TBL_BC_TRAVEL_NOTICE.LINE_NAME + is '公交线路名称 例如:浦东32路'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_TRANSACTION_SERIAL_NO + is '出站交易流水号'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_STATION_NAME + is '出站名称'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_DEVICE_NO + is '出站设备号'; +comment on column TBL_BC_TRAVEL_NOTICE.OUT_DEVICE_SERIAL_NO + is '出站设备流水号'; +comment on column TBL_BC_TRAVEL_NOTICE.BATCH_NO + is '报送批次号'; +comment on column TBL_BC_TRAVEL_NOTICE.MILEAGE + is '里程数,【-1表示异常】'; +comment on column TBL_BC_TRAVEL_NOTICE.DATA_CONFIRMATION_TIME + is '数据确认时间'; +comment on column TBL_BC_TRAVEL_NOTICE.CARBON_FOOTPRINT + is '碳排放量'; +comment on column TBL_BC_TRAVEL_NOTICE.CHAIN_STATUS + is '上链状态 INIT:提交上链, AUDIT_FAILED:稽核规则校验失败, UP_CHAIN_FAILED:上链失败失败, SUCCESS:上链成功'; +comment on column TBL_BC_TRAVEL_NOTICE.CHAIN_TX_ID + is '上链ID'; +comment on column TBL_BC_TRAVEL_NOTICE.HASH_DATA + is '原始采集数据hash值'; +comment on column TBL_BC_TRAVEL_NOTICE.SOURCE_FILE_NAME + is '来源文件名称'; +comment on column TBL_BC_TRAVEL_NOTICE.REDUCTION_CALCULATE_TIME + is '减排量计算时间'; +comment on column TBL_BC_TRAVEL_NOTICE.DATA_DELIVERY_TIME + is '数据报送时间'; +comment on column TBL_BC_TRAVEL_NOTICE.STATUS + is '状态。INIT:初始化 +MILEAGE_ERROR:里程计算错误 +PROCESSING:处理中 +WAIT_FOR_SEND:待发送 +SUCCESS:成功 +FAILED:失败'; +comment on column TBL_BC_TRAVEL_NOTICE.REMARK + is '备注'; +comment on column TBL_BC_TRAVEL_NOTICE.BUSINESS_COMPLETION_TIME + is '业务完成时间'; +comment on column TBL_BC_TRAVEL_NOTICE.NEXT_SEND_TIME + is '下次发送时间'; +comment on column TBL_BC_TRAVEL_NOTICE.SEND_COUNT + is '发送次数'; +comment on column TBL_BC_TRAVEL_NOTICE.SIGN_STATUS + is '签发结果,-1:抽检不通过,1:已签发,2:自动签发不通过,3:人工签发不通过'; +comment on column TBL_BC_TRAVEL_NOTICE.SIGN_QUERY_COUNT + is '签发查询次数 【5次后不再查询】'; +comment on column TBL_BC_TRAVEL_NOTICE.CREATE_USER + is '创建用户'; +comment on column TBL_BC_TRAVEL_NOTICE.CREATE_TIME + is '创建时间'; +comment on column TBL_BC_TRAVEL_NOTICE.LST_UPD_USER + is '最后更新用户'; +comment on column TBL_BC_TRAVEL_NOTICE.LST_UPD_TIME + is '最后更新时间'; +-- Create/Recreate primary, unique and foreign key constraints +alter table TBL_BC_TRAVEL_NOTICE + add primary key (SEQ_NO); +-- Create/Recreate indexes +create index IDX_BC_BTN_CREATE_TIME on TBL_BC_TRAVEL_NOTICE (CREATE_TIME); +create index IDX_BC_BTN_C_STATUS on TBL_BC_TRAVEL_NOTICE (CHAIN_STATUS); +create index IDX_BC_BTN_C_TX_ID on TBL_BC_TRAVEL_NOTICE (CHAIN_TX_ID); +create unique index indx_TRAVEL_NO on TBL_BC_TRAVEL_NOTICE (TRAVEL_NO); + +alter table TBL_BC_TRAVEL_NOTICE add TRANS_TYPE VARCHAR2(32 CHAR); + +create unique index UID_MILEAGE_STATION on TBL_BC_SUBWAY_MILEAGE (IN_STATION_ID, OUT_STATION_ID); diff --git a/carbon-dataprocess/pom.xml b/carbon-dataprocess/pom.xml index dfb7a47c..0e2b5b8d 100644 --- a/carbon-dataprocess/pom.xml +++ b/carbon-dataprocess/pom.xml @@ -3,7 +3,7 @@ com.jiuyv.sptcc carbon-dataprocess - 0.5.1-SNAPSHOT + 0.5.7-SNAPSHOT pom carbon-dataprocess @@ -28,7 +28,7 @@ 1.2.11 2.6.7 0.11.0 - 0.8.0 + 0.12.0 diff --git a/carcheck-appgate - 副本/pom.xml b/carcheck-appgate - 副本/pom.xml new file mode 100644 index 00000000..b1e79d7e --- /dev/null +++ b/carcheck-appgate - 副本/pom.xml @@ -0,0 +1,247 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.3.RELEASE + + + com.jiuyv + carcheck-appgate + 1.0.1-SNAPSHOT + carcheck-appgate + carcheck-appgate + + UTF-8 + UTF-8 + 1.8 + 1.8 + 1.8 + 3.1.1 + 2.2.2 + 1.4.1 + 2.11.0 + 1.4 + 3.2.2 + 1.2.11 + + + + + nexus-releases + Internal Releases + http://172.16.12.11:8082/repository/maven-releases/ + + + + nexus-snapshots + Internal Snapshots + http://172.16.12.11:8082/repository/maven-snapshots/ + + + + + + + + + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + org.springframework.boot + spring-boot-starter-aop + + + + + org.apache.commons + commons-pool2 + + + + org.springframework.boot + spring-boot-starter-web + + + + mysql + mysql-connector-java + + + + + com.alibaba + druid-spring-boot-starter + ${druid.version} + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + ${mybatis-spring-boot.version} + + + + + com.github.pagehelper + pagehelper-spring-boot-starter + ${pagehelper.boot.version} + + + + org.springframework.boot + spring-boot-starter-validation + + + + org.bouncycastle + bcprov-jdk15on + 1.69 + + + + + commons-io + commons-io + ${commons.io.version} + + + + + commons-fileupload + commons-fileupload + ${commons.fileupload.version} + + + + + commons-collections + commons-collections + ${commons.collections.version} + + + + + org.apache.commons + commons-lang3 + + + commons-codec + commons-codec + + + + + com.fasterxml.jackson.core + jackson-databind + + + + + net.logstash.logback + logstash-logback-encoder + 6.4 + + + + + + + + + + + com.google.guava + guava + 28.1-jre + + + + com.jiuyv + smtools + 1.1.3 + + + + + com.squareup.okhttp3 + okhttp + 4.10.0 + + + + eu.bitwalker + UserAgentUtils + 1.21 + + + + com.alibaba.fastjson2 + fastjson2 + 2.0.8 + + + + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + scm:svn:http://172.16.12.10/svn/carcheck/code/carcheck-appgate/trunk/ + scm:svn:http://172.16.12.10/svn/carcheck/code/carcheck-appgate/trunk/ + + + + + + jiuyv + jiuyv + http://172.16.12.11:8082/repository/maven-public/ + + true + always + + + + + + + jiuyv + jiuyv Plugin Repository + http://172.16.12.11:8082/repository/maven-public/ + + + central + Maven Plugin Repository + http://repo1.maven.org/maven2/ + + + + diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java new file mode 100644 index 00000000..730cdd2f --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java @@ -0,0 +1,15 @@ +package com.jiuyv.appgate; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.scheduling.annotation.EnableScheduling; + +@EnableScheduling +@SpringBootApplication +public class CarcheckAppgateApplication { + + public static void main(String[] args) { + SpringApplication.run(CarcheckAppgateApplication.class, args); + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/BaseController.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/BaseController.java new file mode 100644 index 00000000..99a9458c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/BaseController.java @@ -0,0 +1,152 @@ +package com.jiuyv.appgate.api; + +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.page.PageDomain; +import com.jiuyv.appgate.common.page.TableDataInfo; +import com.jiuyv.appgate.common.page.TableSupport; +import com.jiuyv.appgate.common.utils.CarcheckDateUtils; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import com.jiuyv.appgate.common.utils.PageUtils; +import com.jiuyv.appgate.common.utils.sql.SqlUtil; +import org.springframework.http.HttpStatus; +import org.springframework.web.bind.WebDataBinder; +import org.springframework.web.bind.annotation.InitBinder; + +import java.beans.PropertyEditorSupport; +import java.util.Date; +import java.util.List; + +/** + * web层通用数据处理 + * + * @author admin + */ +public class BaseController +{ + /** + * 将前台传递过来的日期格式的字符串,自动转化为Date类型 + */ + @InitBinder + public void initBinder(WebDataBinder binder) + { + // Date 类型转换 + binder.registerCustomEditor(Date.class, new PropertyEditorSupport() + { + @Override + public void setAsText(String text) + { + setValue(CarcheckDateUtils.parseDate(text)); + } + }); + } + + /** + * 设置请求分页数据 + */ + protected void startPage() + { + PageUtils.startPage(); + } + + /** + * 设置请求排序数据 + */ + protected void startOrderBy() + { + PageDomain pageDomain = TableSupport.buildPageRequest(); + if (CarcheckStringUtils.isNotEmpty(pageDomain.getOrderBy())) + { + String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy()); + PageHelper.orderBy(orderBy); + } + } + + /** + * 清理分页的线程变量 + */ + protected void clearPage() + { + PageUtils.clearPage(); + } + + /** + * 响应请求分页数据 + */ + @SuppressWarnings({ "rawtypes", "unchecked" }) + protected TableDataInfo getDataTable(List list) + { + TableDataInfo rspData = new TableDataInfo(); + rspData.setCode(HttpStatus.OK.value()); + rspData.setMsg("查询成功"); + rspData.setRows(list); + rspData.setTotal(new PageInfo(list).getTotal()); + return rspData; + } + + /** + * 返回成功 + */ + public AjaxResult success() + { + return AjaxResult.success(); + } + + /** + * 返回失败消息 + */ + public AjaxResult error() + { + return AjaxResult.error(); + } + + /** + * 返回成功消息 + */ + public AjaxResult success(String message) + { + return AjaxResult.success(message); + } + + /** + * 返回失败消息 + */ + public AjaxResult error(String message) + { + return AjaxResult.error(message); + } + + /** + * 响应返回结果 + * + * @param rows 影响行数 + * @return 操作结果 + */ + protected AjaxResult toAjax(int rows) + { + return rows > 0 ? AjaxResult.success() : AjaxResult.error(); + } + + /** + * 响应返回结果 + * + * @param result 结果 + * @return 操作结果 + */ + protected AjaxResult toAjax(boolean result) + { + return result ? success() : error(); + } + + /** + * 页面跳转 + */ + public String redirect(String url) + { + return CarcheckStringUtils.format("redirect:{}", url); + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/FileController.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/FileController.java new file mode 100644 index 00000000..4380fefb --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/FileController.java @@ -0,0 +1,47 @@ +package com.jiuyv.appgate.api; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.service.IFileService; +import com.jiuyv.appgate.vo.file.ReqFileDeleteVO; +import com.jiuyv.appgate.vo.file.ResFileUploadVO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +@RestController +@RequestMapping("/app/img") +public class FileController { + + @Autowired + private IFileService fileService; + + /** + * 拍照上传 + * + * @param file + * @return + */ + @PostMapping("/upload") + public AjaxResult fileUpload(@RequestParam("file") MultipartFile file, + @RequestParam("orderId") String orderId, + @RequestParam("carVin") String carVin) { + ResFileUploadVO result = fileService.fileUpload(file, orderId, carVin); + return AjaxResult.success(result); + } + + /** + * 照片删除 + * + * @param req + * @return + */ + @PostMapping("/delete") + public AjaxResult fileDelete(@RequestBody ReqFileDeleteVO req) { + fileService.fileDelete(req); + return AjaxResult.success(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/IndexController.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/IndexController.java new file mode 100644 index 00000000..95e6e284 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/IndexController.java @@ -0,0 +1,46 @@ +package com.jiuyv.appgate.api; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.page.TableDataInfo; +import com.jiuyv.appgate.service.IIndexService; +import com.jiuyv.appgate.vo.index.ReqOrderDetailVO; +import com.jiuyv.appgate.vo.index.ReqQueryOrderPageVO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("/app/index") +public class IndexController extends BaseController { + + @Autowired + private IIndexService iIndexService; + + + /** + * 查询委托单位信息列表 + */ + @GetMapping("/queryOrderPage") + public TableDataInfo queryOrderPage(ReqQueryOrderPageVO req) { + TableDataInfo dataTable = iIndexService.queryOrderPageV2(req); + return dataTable; + } + + /** + * 根据委托单号查询详情 + */ + @GetMapping("/queryOrderDetailPage") + public TableDataInfo queryOrderDetailPage(ReqOrderDetailVO req) { + TableDataInfo dataTable = iIndexService.queryOrderDetailPageV2(req); + return dataTable; + } + /** + * 根据委托单号查询详情 + */ + @GetMapping("/countOrderDetailPage") + public AjaxResult countOrderDetailPage(ReqOrderDetailVO req) { + AjaxResult result = iIndexService.countOrderDetailPage(req); + return result; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/InspectController.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/InspectController.java new file mode 100644 index 00000000..c2e9482f --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/InspectController.java @@ -0,0 +1,83 @@ +package com.jiuyv.appgate.api; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.annotation.Log; +import com.jiuyv.appgate.enums.BusinessType; +import com.jiuyv.appgate.enums.OperatorType; +import com.jiuyv.appgate.service.IInspectService; +import com.jiuyv.appgate.vo.inspect.ReqDeleteResultVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectListVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectParamVO; +import com.jiuyv.appgate.vo.inspect.ReqSaveResultVO; +import com.jiuyv.appgate.vo.inspect.ReqUpdateResultVO; +import com.jiuyv.appgate.vo.inspect.ReqViewResultVO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("/app/inspect") +public class InspectController { + + @Autowired + private IInspectService iInspectService; + + /** + * 根据车架号查询检查详情 + */ + @PostMapping("/queryInspectList") + public AjaxResult queryInspectList(@RequestBody ReqQueryInspectListVO req) { + AjaxResult result = iInspectService.queryInspectListV2(req); + return result; + } + + /** + * 查询NG部位和污染物列表 + */ + @PostMapping("/queryInspectParam") + public AjaxResult queryInspectParam(@RequestBody ReqQueryInspectParamVO req) { + AjaxResult result = iInspectService.queryInspectParamV2(req); + return result; + } + + /** + * 保存检查记录 + */ + @Log(title = "app端保存污染物记录", businessType = BusinessType.INSERT, operatorType = OperatorType.MOBILE) + @PostMapping("/saveResult") + public AjaxResult saveResult(@RequestBody ReqSaveResultVO req) { + AjaxResult result = iInspectService.saveResultV2(req); + return result; + } + + /** + * 查看检查结果详情 + */ + @PostMapping("/viewResult") + public AjaxResult viewResult(@RequestBody ReqViewResultVO req) { + AjaxResult result = iInspectService.viewResultV2(req); + return result; + } + + /** + * 编辑检查记录 + */ + @Log(title = "app端修改污染物记录", businessType = BusinessType.UPDATE, operatorType = OperatorType.MOBILE) + @PostMapping("/updateResult") + public AjaxResult updateResult(@RequestBody ReqUpdateResultVO req) { + AjaxResult result = iInspectService.updateResultV2(req); + return result; + } + + /** + * 删除检查记录 + */ + @Log(title = "app端删除污染物记录", businessType = BusinessType.DELETE, operatorType = OperatorType.MOBILE) + @PostMapping("/deleteResult") + public AjaxResult deleteResult(@RequestBody ReqDeleteResultVO req) { + AjaxResult result = iInspectService.deleteResultV2(req); + return result; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/LoginController.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/LoginController.java new file mode 100644 index 00000000..98c9e845 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/LoginController.java @@ -0,0 +1,106 @@ +package com.jiuyv.appgate.api; + + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.annotation.Log; +import com.jiuyv.appgate.enums.BusinessType; +import com.jiuyv.appgate.enums.OperatorType; +import com.jiuyv.appgate.service.ILoginService; +import com.jiuyv.appgate.vo.login.ReqLoginVO; +import com.jiuyv.appgate.vo.login.ReqUpdatePwdVO; +import com.jiuyv.appgate.vo.login.ResGetLoginParamVO; +import com.jiuyv.appgate.vo.login.ResGetUserVO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 14:42 + */ +@RestController +@RequestMapping("/app") +public class LoginController { + + @Autowired + private ILoginService loginService; + + /** + * 查询登录页的部门列表 + * + * @return + */ + @GetMapping("/queryLoginParam") + public AjaxResult getOrgList() { + ResGetLoginParamVO result = loginService.getOrgList(); + return AjaxResult.success(result); + } + + /** + * 查询登录页的场地列表 + * + * @param orgId + * @return + */ + @GetMapping("/querySiteList") + public AjaxResult getSiteList(@RequestParam("orgId") String orgId) { + ResGetLoginParamVO result = loginService.getSiteList(orgId); + return AjaxResult.success(result); + } + + /** + * 登录 + * + * @param + * @return + */ + @PostMapping("/login") + public AjaxResult login(@RequestBody @Valid ReqLoginVO req) { + AjaxResult result = loginService.login(req); + return result; + } + + /** + * 修改密码 + * + * @param + * @return + */ + @Log(title = "app端修改登录密码", businessType = BusinessType.UPDATE, operatorType = OperatorType.MOBILE) + @PostMapping("/updatePwd") + public AjaxResult updatePwd(@RequestBody @Valid ReqUpdatePwdVO req) { + loginService.updatePwd(req); + return AjaxResult.success(); + } + + /** + * 登出 + * + * @param + * @return + */ + @PostMapping("/logout") + public AjaxResult logout() { + loginService.logout(); + return AjaxResult.success(); + } + + /** + * 查询当前用户信息 + * + * @param + * @return + */ + @GetMapping("/getUserInfo") + public AjaxResult getUserInfo() { + ResGetUserVO userInfo = loginService.getUserInfo(); + return AjaxResult.success(userInfo); + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/ScheduledTasks.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/ScheduledTasks.java new file mode 100644 index 00000000..e3e590b4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/api/ScheduledTasks.java @@ -0,0 +1,33 @@ +package com.jiuyv.appgate.api; + +import com.jiuyv.appgate.service.IFileService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Component; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-08-21 17:29 + */ +@Component +public class ScheduledTasks { + + private static final Logger LOGGER = LoggerFactory.getLogger(ScheduledTasks.class); + @Autowired + private IFileService fileService; + + @Value("${carcheck.app.task.cron}") // 从配置文件中读取定时任务的 cron 表达式 + private String taskCron; + + @Scheduled(cron = "${carcheck.app.task.cron}") // 使用配置文件中的 cron 表达式 + //@Scheduled(cron = "0 0 3 * * ?") // 每天凌晨 3 点执行 + public void performTask() { + // 在这里编写你要执行的任务逻辑 + LOGGER.info(">>>>>>>>>>>>开始执行删除无用照片定时任务"); + fileService.deleteUnUsedImgs(); + LOGGER.info(">>>>>>>>>>>>结束执行删除无用照片定时任务"); + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/AppLogAspect.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/AppLogAspect.java new file mode 100644 index 00000000..ff705ece --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/AppLogAspect.java @@ -0,0 +1,85 @@ +package com.jiuyv.appgate.aspect; + +/** + * @Author + * @Create 2023-06-01 15:28 + * @Version 1.0 + */ + + +import com.jiuyv.appgate.common.utils.JsonUtil; +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.AfterReturning; +import org.aspectj.lang.annotation.AfterThrowing; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Pointcut; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; + + +/** + * @author YuWenJing + * @Title: LogAspect + * @date 2019-03-27 17:06 + */ +@Aspect +@Component +public class AppLogAspect { + + @Pointcut("(execution(public * com.jiuyv.appgate.api.*Controller.*(..)))") + public void controllerReqResAspect() { + // 切点 + } + + // 不能使用before,会出现数据无法脱敏 + @Around(value = "controllerReqResAspect()") + public Object printReq(ProceedingJoinPoint proceedingJoinPoint) throws Throwable { + Object[] args = proceedingJoinPoint.getArgs(); + + String name = proceedingJoinPoint.getSignature().getName(); + if ("fileUpload".equals(name) || "initBinder".equals(name)) { + Object returnValue = proceedingJoinPoint.proceed(); // 执行连接点方法,object:方法返回值 + return returnValue; + } + + if (args.length > 0) { + LoggerFactory.getLogger(proceedingJoinPoint.getTarget().getClass()).info("method:{},req:{}", + proceedingJoinPoint.getSignature().getName(), JsonUtil.toJSONString(proceedingJoinPoint.getArgs()[0])); + } else { + LoggerFactory.getLogger(proceedingJoinPoint.getTarget().getClass()).info("method:{},req:{}", + proceedingJoinPoint.getSignature().getName()); + } + + Object returnValue = proceedingJoinPoint.proceed(); // 执行连接点方法,object:方法返回值 + return returnValue; + } + + @AfterReturning(value = "controllerReqResAspect()", returning = "res") + public void printRes(JoinPoint joinPoint, Object res) { + + String name = joinPoint.getSignature().getName(); + if ("orgList".equals(name) || "lockOrg".equals(name)) { + return; + } + + // 过滤指定接口,不打印消息体 + LoggerFactory.getLogger(joinPoint.getTarget().getClass()).info("method:{},res:{}", + joinPoint.getSignature().getName(), JsonUtil.toJSONString(res)); + } + + @AfterThrowing(pointcut = "controllerReqResAspect()", throwing = "e") // 切点在webpointCut() + public void handleThrowing(JoinPoint joinPoint, Exception e) {// controller类抛出的异常在这边捕获 + Object[] args = joinPoint.getArgs(); + if (args.length > 0) { + LoggerFactory.getLogger(joinPoint.getTarget().getClass()).info("method:{},res:{}", + joinPoint.getSignature().getName(), JsonUtil.toJSONString(joinPoint.getArgs()[0])); + } else { + LoggerFactory.getLogger(joinPoint.getTarget().getClass()).info("method:{},res:{}", + joinPoint.getSignature().getName()); + } + + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/LogAspect.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/LogAspect.java new file mode 100644 index 00000000..aa1139b3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/aspect/LogAspect.java @@ -0,0 +1,184 @@ +package com.jiuyv.appgate.aspect; + + +import com.alibaba.fastjson2.JSON; +import com.jiuyv.appgate.common.annotation.Log; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import com.jiuyv.appgate.common.utils.ServletUtils; +import com.jiuyv.appgate.common.utils.ip.IpUtils; +import com.jiuyv.appgate.domain.SysOperLog; +import com.jiuyv.appgate.dto.RedisUserDTO; +import com.jiuyv.appgate.enums.BusinessStatus; +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import com.jiuyv.appgate.thread.AsyncManager; +import com.jiuyv.appgate.thread.factory.AsyncFactory; +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.annotation.AfterReturning; +import org.aspectj.lang.annotation.AfterThrowing; +import org.aspectj.lang.annotation.Aspect; +import org.springframework.http.HttpMethod; +import org.springframework.stereotype.Component; +import org.springframework.validation.BindingResult; +import org.springframework.web.multipart.MultipartFile; +import org.springframework.web.servlet.HandlerMapping; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.Collection; +import java.util.Map; + +/** + * 操作日志记录处理 + * + * @author admin + */ +@Aspect +@Component +public class LogAspect { + + /** + * 处理完请求后执行 + * + * @param joinPoint 切点 + */ + @AfterReturning(pointcut = "@annotation(controllerLog)", returning = "jsonResult") + public void doAfterReturning(JoinPoint joinPoint, Log controllerLog, Object jsonResult) { + handleLog(joinPoint, controllerLog, null, jsonResult); + } + + /** + * 拦截异常操作 + * + * @param joinPoint 切点 + * @param e 异常 + */ + @AfterThrowing(value = "@annotation(controllerLog)", throwing = "e") + public void doAfterThrowing(JoinPoint joinPoint, Log controllerLog, Exception e) { + handleLog(joinPoint, controllerLog, e, null); + } + + protected void handleLog(final JoinPoint joinPoint, Log controllerLog, final Exception e, Object jsonResult) { + // 获取当前的用户 + // LoginUser loginUser = SecurityUtils.getLoginUser(); + RedisUserDTO loginUser = LoginInterceptor.threadLocalOuter.get(); + + // *========数据库日志=========*// + SysOperLog operLog = new SysOperLog(); + operLog.setStatus(BusinessStatus.SUCCESS.ordinal()); + // 请求的地址 + String ip = IpUtils.getIpAddr(ServletUtils.getRequest()); + operLog.setOperIp(ip); + operLog.setOperUrl(ServletUtils.getRequest().getRequestURI()); + if (loginUser != null) { + operLog.setOperName(loginUser.getUsername()); + } + + if (e != null) { + operLog.setStatus(BusinessStatus.FAIL.ordinal()); + operLog.setErrorMsg(CarcheckStringUtils.substring(e.getMessage(), 0, 2000)); + } + // 设置方法名称 + String className = joinPoint.getTarget().getClass().getName(); + String methodName = joinPoint.getSignature().getName(); + operLog.setMethod(className + "." + methodName + "()"); + // 设置请求方式 + operLog.setRequestMethod(ServletUtils.getRequest().getMethod()); + // 处理设置注解上的参数 + getControllerMethodDescription(joinPoint, controllerLog, operLog, jsonResult); + // 保存数据库 + AsyncManager.me().execute(AsyncFactory.recordOper(operLog)); + } + + /** + * 获取注解中对方法的描述信息 用于Controller层注解 + * + * @param log 日志 + * @param operLog 操作日志 + * @throws Exception + */ + public void getControllerMethodDescription(JoinPoint joinPoint, Log log, SysOperLog operLog, Object jsonResult) { + // 设置action动作 + operLog.setBusinessType(log.businessType().ordinal()); + // 设置标题 + operLog.setTitle(log.title()); + // 设置操作人类别 + operLog.setOperatorType(log.operatorType().ordinal()); + // 是否需要保存request,参数和值 + if (log.isSaveRequestData()) { + // 获取参数的信息,传入到数据库中。 + setRequestValue(joinPoint, operLog); + } + // 是否需要保存response,参数和值 + if (log.isSaveResponseData() && CarcheckStringUtils.isNotNull(jsonResult)) { + operLog.setJsonResult(CarcheckStringUtils.substring(JSON.toJSONString(jsonResult), 0, 2000)); + } + } + + /** + * 获取请求的参数,放到log中 + * + * @param operLog 操作日志 + * @throws Exception 异常 + */ + private void setRequestValue(JoinPoint joinPoint, SysOperLog operLog) { + String requestMethod = operLog.getRequestMethod(); + if (HttpMethod.PUT.name().equals(requestMethod) || HttpMethod.POST.name().equals(requestMethod)) { + String params = argsArrayToString(joinPoint.getArgs()); + operLog.setOperParam(CarcheckStringUtils.substring(params, 0, 2000)); + } else { + Map paramsMap = (Map) ServletUtils.getRequest().getAttribute(HandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTE); + operLog.setOperParam(CarcheckStringUtils.substring(paramsMap.toString(), 0, 2000)); + } + } + + /** + * 参数拼装 + */ + private String argsArrayToString(Object[] paramsArray) { + StringBuilder params = new StringBuilder(); + if (paramsArray != null && paramsArray.length > 0) { + for (Object o : paramsArray) { + if (CarcheckStringUtils.isNotNull(o) && !isFilterObject(o)) { + Object jsonObj = JSON.toJSON(o); + params.append(jsonObj.toString()).append(" "); + } + } + } + return params.toString().trim(); + } + + /** + * 判断是否需要过滤的对象。 + * + * @param o 对象信息。 + * @return 如果是需要过滤的对象,则返回true;否则返回false。 + */ + @SuppressWarnings("rawtypes") + public boolean isFilterObject(final Object o) { + Class clazz = o.getClass(); + if (clazz.isArray()) { + return clazz.getComponentType().isAssignableFrom(MultipartFile.class); + } + if (Collection.class.isAssignableFrom(clazz)) { + Collection collection = (Collection) o; + for (Object value : collection) { + if (value instanceof MultipartFile) { + return true; + } + } + return false; + } + if (Map.class.isAssignableFrom(clazz)) { + Map map = (Map) o; + for (Object value : map.entrySet()) { + Map.Entry entry = (Map.Entry) value; + if (entry.getValue() instanceof MultipartFile) { + return true; + } + } + return false; + } + return o instanceof MultipartFile || o instanceof HttpServletRequest || o instanceof HttpServletResponse + || o instanceof BindingResult; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/AjaxResult.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/AjaxResult.java new file mode 100644 index 00000000..d6e34f29 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/AjaxResult.java @@ -0,0 +1,216 @@ +package com.jiuyv.appgate.common; + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import com.jiuyv.appgate.common.utils.JsonUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.http.HttpStatus; + +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.util.HashMap; + +/** + * 操作消息提醒 + * + * @author admin + */ +public class AjaxResult extends HashMap { + private static final Logger LOGGER = LoggerFactory.getLogger(AjaxResult.class); + + private static final long serialVersionUID = 1L; + + /** + * 状态码 + */ + public static final String CODE_TAG = "code"; + + /** + * 返回内容 + */ + public static final String MSG_TAG = "msg"; + + /** + * 数据对象 + */ + public static final String DATA_TAG = "data"; + + /** + * 初始化一个新创建的 AjaxResult 对象,使其表示一个空消息。 + */ + public AjaxResult() { + } + + /** + * 初始化一个新创建的 AjaxResult 对象 + * + * @param code 状态码 + * @param msg 返回内容 + */ + public AjaxResult(int code, String msg) { + super.put(CODE_TAG, code); + super.put(MSG_TAG, msg); + } + + /** + * 初始化一个新创建的 AjaxResult 对象 + * + * @param code 状态码 + * @param msg 返回内容 + * @param data 数据对象 + */ + public AjaxResult(int code, String msg, Object data) { + super.put(CODE_TAG, code); + super.put(MSG_TAG, msg); + if (CarcheckStringUtils.isNotNull(data)) { + super.put(DATA_TAG, data); + } + } + + /** + * 返回成功消息 + * + * @return 成功消息 + */ + public static AjaxResult success() { + return AjaxResult.success("操作成功"); + } + + /** + * 返回成功数据 + * + * @return 成功消息 + */ + public static AjaxResult success(Object data) { + return AjaxResult.success("操作成功", data); + } + + /** + * 返回成功消息 + * + * @param msg 返回内容 + * @return 成功消息 + */ + public static AjaxResult success(String msg) { + return AjaxResult.success(msg, null); + } + + /** + * 返回成功消息 + * + * @param msg 返回内容 + * @param data 数据对象 + * @return 成功消息 + */ + public static AjaxResult success(String msg, Object data) { + return new AjaxResult(HttpStatus.OK.value(), msg, data); + } + + + /** + * 通过 HttpServletResponse 返回success结果 + * + */ + public static void success(HttpServletResponse response, String message) throws IOException { + responseResult(response, success(message)); + } + + /** + * 通过 HttpServletResponse 返回success结果 + * + */ + public static void success(HttpServletResponse response) throws IOException { + responseResult(response, success()); + } + + /** + * 返回错误消息 + * + * @return + */ + public static AjaxResult error() { + return AjaxResult.error("操作失败"); + } + + /** + * 返回错误消息 + * + * @param msg 返回内容 + * @return 警告消息 + */ + public static AjaxResult error(String msg) { + return AjaxResult.error(msg, null); + } + + /** + * 返回错误消息 + * + * @param msg 返回内容 + * @param data 数据对象 + * @return 警告消息 + */ + public static AjaxResult error(String msg, Object data) { + LOGGER.error("服务报错:{}", msg); + if (msg.contains("Exception")) { + return new AjaxResult(HttpStatus.INTERNAL_SERVER_ERROR.value(), "系统内部错误", data); + } + + if (msg.contains("script")) { + return new AjaxResult(HttpStatus.INTERNAL_SERVER_ERROR.value(), "系统参数错误", data); + } + return new AjaxResult(HttpStatus.INTERNAL_SERVER_ERROR.value(), msg, data); + } + + /** + * 返回错误消息 + * + * @param code 状态码 + * @param msg 返回内容 + * @return 警告消息 + */ + public static AjaxResult error(int code, String msg) { + return new AjaxResult(code, msg, null); + } + + /** + * 通过 HttpServletResponse 返回error结果 + * + */ + public static void error(HttpServletResponse response, String message) throws IOException { + responseResult(response, error(message)); + } + + /** + * 通过 HttpServletResponse 返回error结果 + * + */ + public static void error(HttpServletResponse response, int code, String msg) throws IOException { + responseResult(response, error(code, msg)); + } + + + + /** + * 通过 HttpServletResponse 返回结果 + * + */ + public static void responseResult(HttpServletResponse response, AjaxResult result) throws IOException { + response.setContentType("application/json;charset=utf-8"); + String responseJson = JsonUtil.toJSONString(result); + response.getWriter().print(responseJson); + } + + /** + * 方便链式调用 + * + * @param key 键 + * @param value 值 + * @return 数据对象 + */ + @Override + public AjaxResult put(String key, Object value) { + super.put(key, value); + return this; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/CarcheckConfig.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/CarcheckConfig.java new file mode 100644 index 00000000..7f677238 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/CarcheckConfig.java @@ -0,0 +1,159 @@ +package com.jiuyv.appgate.common; + +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +/** + * 读取项目相关配置 + * + * @author admin + */ +@Component +@ConfigurationProperties(prefix = "carcheck") +public class CarcheckConfig { + /** + * 项目名称 + */ + private String name; + + /** + * 版本 + */ + private String version; + + /** + * 版权年份 + */ + private String copyrightYear; + + /** + * 实例演示开关 + */ + private boolean demoEnabled; + + /** + * 上传路径 + */ + private static String profile; + + /** + * 获取地址开关 + */ + private static boolean addressEnabled; + + /** + * 验证码类型 + */ + private static String captchaType; + + // db存储密钥 + private static String dbEncryptKey; + + public static String getDbEncryptKey() { + return dbEncryptKey; + } + + public void setDbEncryptKey(String dbEncryptKey) { + setDbEncryptKey2(dbEncryptKey); + } + + public static void setDbEncryptKey2(String dbEncryptKey) { + CarcheckConfig.dbEncryptKey = dbEncryptKey; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getCopyrightYear() { + return copyrightYear; + } + + public void setCopyrightYear(String copyrightYear) { + this.copyrightYear = copyrightYear; + } + + public boolean isDemoEnabled() { + return demoEnabled; + } + + public void setDemoEnabled(boolean demoEnabled) { + this.demoEnabled = demoEnabled; + } + + public static String getProfile() { + return profile; + } + + public void setProfile(String profile) { + setProfile2(profile); + } + + private static void setProfile2(String profile) { + CarcheckConfig.profile = profile; + } + + public static boolean isAddressEnabled() { + return addressEnabled; + } + + public void setAddressEnabled(boolean addressEnabled) { + setAddressEnabled2(addressEnabled); + } + + private static void setAddressEnabled2(boolean addressEnabled) { + CarcheckConfig.addressEnabled = addressEnabled; + } + + public static String getCaptchaType() { + return captchaType; + } + + public void setCaptchaType(String captchaType) { + setCaptchaType2(captchaType); + } + + private static void setCaptchaType2(String captchaType) { + CarcheckConfig.captchaType = captchaType; + } + + /** + * 获取导入上传路径 + */ + public static String getImportPath() { + return getProfile() + "/import"; + } + + /** + * 获取头像上传路径 + */ + public static String getAvatarPath() { + return getProfile() + "/avatar"; + } + + /** + * 获取下载路径 + */ + public static String getDownloadPath() { + return getProfile() + "/download/"; + } + + /** + * 获取上传路径 + */ + public static String getUploadPath() { + return getProfile() + "/upload"; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/annotation/Log.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/annotation/Log.java new file mode 100644 index 00000000..49aa86c1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/annotation/Log.java @@ -0,0 +1,47 @@ +package com.jiuyv.appgate.common.annotation; + + +import com.jiuyv.appgate.enums.BusinessType; +import com.jiuyv.appgate.enums.OperatorType; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * 自定义操作日志记录注解 + * + * @author admin + */ +@Target({ElementType.PARAMETER, ElementType.METHOD}) +@Retention(RetentionPolicy.RUNTIME) +@Documented +public @interface Log +{ + /** + * 模块 + */ + public String title() default ""; + + /** + * 功能 + */ + public BusinessType businessType() default BusinessType.OTHER; + + /** + * 操作人类别 + */ + public OperatorType operatorType() default OperatorType.MANAGE; + + /** + * 是否保存请求的参数 + */ + public boolean isSaveRequestData() default true; + + /** + * 是否保存响应的参数 + */ + public boolean isSaveResponseData() default true; +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/constant/Constants.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/constant/Constants.java new file mode 100644 index 00000000..6cce2b53 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/constant/Constants.java @@ -0,0 +1,173 @@ +package com.jiuyv.appgate.common.constant; + + +/** + * 通用常量信息 + * + * @author admin + */ +public final class Constants { + private Constants() { + } + + /** + * UTF-8 字符集 + */ + public static final String UTF8 = "UTF-8"; + + /** + * GBK 字符集 + */ + public static final String GBK = "GBK"; + + /** + * http请求 + */ + public static final String HTTP = "http://"; + + /** + * https请求 + */ + public static final String HTTPS = "https://"; + + /** + * 通用成功标识 + */ + public static final String SUCCESS = "0"; + + /** + * 通用失败标识 + */ + public static final String FAIL = "1"; + + /** + * 登录成功 + */ + public static final String LOGIN_SUCCESS = "Success"; + + /** + * 注销 + */ + public static final String LOGOUT = "Logout"; + + /** + * 注册 + */ + public static final String REGISTER = "Register"; + + /** + * 登录失败 + */ + public static final String LOGIN_FAIL = "Error"; + + /** + * 验证码有效期(分钟) + */ + public static final Integer CAPTCHA_EXPIRATION = 2; + + /** + * 令牌 + */ + public static final String TOKEN = "token"; + + /** + * 令牌前缀 + */ + public static final String TOKEN_PREFIX = "Bearer "; + + /** + * 令牌前缀 + */ + public static final String LOGIN_USER_KEY = "login_user_key"; + + /** + * 用户ID + */ + public static final String JWT_USERID = "userid"; + + + /** + * 用户头像 + */ + public static final String JWT_AVATAR = "avatar"; + + /** + * 创建时间 + */ + public static final String JWT_CREATED = "created"; + + /** + * 用户权限 + */ + public static final String JWT_AUTHORITIES = "authorities"; + + /** + * 资源映射路径 前缀 + */ + public static final String RESOURCE_PREFIX = "/profile"; + + /** + * RMI 远程方法调用 + */ + public static final String LOOKUP_RMI = "rmi:"; + + /** + * LDAP 远程方法调用 + */ + public static final String LOOKUP_LDAP = "ldap:"; + + /** + * LDAPS 远程方法调用 + */ + public static final String LOOKUP_LDAPS = "ldaps:"; + + /** + * 密码登录错误最大次数 + */ + public static final int PASSWORD_ERROR_MAX_COUNT = 5; + + /** + * 用户登录缓存前缀 + */ + public static final String LOGIN_USER_CACHE_PREFIX = "app:user:"; + + /** + * token 时效 + */ + public static final int TOKEN_EXPIRE_MINIUTE = 60 * 24; + + /** + * header token value + */ + public static final String HEADER_TOKEN = "appToken"; + + /** + * header token value + */ + public static final String HEADER_FINGERPRINT = "fingerprint"; + + /** + * ng部位缓存 + */ + public static final String NG_PART_CACHE_PREFIX = "ngPart:"; + + /** + * 污染物缓存 + */ + public static final String POLLUTANT_CACHE_PREFIX = "pollutant"; + + /** + * 照片格式 + */ + public static final String IMG_TYPE = "jpg,jpeg,png,bmp"; + + /** + * 照片最大不超过10M + */ + public static final long APP_IMG_MAX_SIZE = 1024 * 1024 * 10L; + + /** + * 初始版本号 + */ + public static final int INIT_VERSION = 1; +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/GlobalExceptionHandler.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/GlobalExceptionHandler.java new file mode 100644 index 00000000..8ebb3007 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/GlobalExceptionHandler.java @@ -0,0 +1,144 @@ +package com.jiuyv.appgate.common.exception; + + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.http.HttpStatus; +import org.springframework.validation.BindException; +import org.springframework.web.HttpRequestMethodNotSupportedException; +import org.springframework.web.bind.MethodArgumentNotValidException; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.RestControllerAdvice; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.Objects; + +/** + * 全局异常处理器 + * + * @author admin + */ +@RestControllerAdvice +public class GlobalExceptionHandler +{ + private static final Logger LOGGER = LoggerFactory.getLogger(GlobalExceptionHandler.class); + + + /** + * + * 处理token 异常 + * @param e + * @param request + * @param response + * @return + */ + @ExceptionHandler(TokenException.class) + public AjaxResult handleTokenException(TokenException e, HttpServletRequest request, HttpServletResponse response) + { + + //response.setStatus(HttpStatus.MOVED_PERMANENTLY.value()); + + LOGGER.error(e.getMessage(), e); + Integer code = e.getCode(); + + return AjaxResult.error(HttpStatus.FORBIDDEN.value(), e.getMessage()); + + //return CarcheckStringUtils.isNotNull(code) ? AjaxResult.error(code, e.getMessage()) : AjaxResult.error(e.getMessage()); + } + @ExceptionHandler(SqlInjectException.class) + public AjaxResult handleSqlInjectException(SqlInjectException e, HttpServletRequest request, HttpServletResponse response) + { + + response.setStatus(HttpStatus.MOVED_PERMANENTLY.value()); + + LOGGER.error(e.getMessage(), e); + Integer code = e.getCode(); + + return AjaxResult.error(HttpStatus.FORBIDDEN.value(), e.getMessage()); + + //return CarcheckStringUtils.isNotNull(code) ? AjaxResult.error(code, e.getMessage()) : AjaxResult.error(e.getMessage()); + } + + /** + * 请求方式不支持 + */ + @ExceptionHandler(HttpRequestMethodNotSupportedException.class) + public AjaxResult handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException e, + HttpServletRequest request, HttpServletResponse response) + { + //response.setStatus(HttpStatus.MOVED_PERMANENTLY.value()); + + String requestURI = request.getRequestURI(); + LOGGER.error("请求地址'{}',不支持'{}'请求", requestURI, e.getMethod()); + return AjaxResult.error(e.getMessage()); + } + + + + + /** + * 业务异常 + */ + @ExceptionHandler(ServiceException.class) + public AjaxResult handleServiceException(ServiceException e, HttpServletRequest request, HttpServletResponse response) + { + + LOGGER.error(e.getMessage(), e); + Integer code = e.getCode(); + + return CarcheckStringUtils.isNotNull(code) ? AjaxResult.error(code, e.getMessage()) : AjaxResult.error(e.getMessage()); + } + + /** + * 拦截未知的运行时异常 + */ + @ExceptionHandler(RuntimeException.class) + public AjaxResult handleRuntimeException(RuntimeException e, HttpServletRequest request, HttpServletResponse response) + { + + String requestURI = request.getRequestURI(); + LOGGER.error("请求地址'{}',发生未知异常.", requestURI, e); + + return AjaxResult.error(e.getMessage()); + } + + /** + * 系统异常 + */ + @ExceptionHandler(Exception.class) + public AjaxResult handleException(Exception e, HttpServletRequest request, HttpServletResponse response) + { + //response.setStatus(HttpStatus.MOVED_PERMANENTLY.value()); + + String requestURI = request.getRequestURI(); + LOGGER.error("请求地址'{}',发生系统异常.", requestURI, e); + return AjaxResult.error(e.getMessage()); + } + + /** + * 自定义验证异常 + */ + @ExceptionHandler(BindException.class) + public AjaxResult handleBindException(BindException e) + { + LOGGER.error(e.getMessage(), e); + String message = e.getAllErrors().get(0).getDefaultMessage(); + return AjaxResult.error(message); + } + + /** + * 自定义验证异常 + */ + @ExceptionHandler(MethodArgumentNotValidException.class) + public Object handleMethodArgumentNotValidException(MethodArgumentNotValidException e) + { + LOGGER.error(e.getMessage(), e); + String message = Objects.requireNonNull(e.getBindingResult().getFieldError()).getDefaultMessage(); + return AjaxResult.error(message); + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/ServiceException.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/ServiceException.java new file mode 100644 index 00000000..a2c7da61 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/ServiceException.java @@ -0,0 +1,73 @@ +package com.jiuyv.appgate.common.exception; + +/** + * 业务异常 + * + * @author admin + */ +public final class ServiceException extends RuntimeException +{ + private static final long serialVersionUID = 1L; + + /** + * 错误码 + */ + private Integer code; + + /** + * 错误提示 + */ + private String message; + + /** + * 错误明细,内部调试错误 + * + * 和 {@link CommonResult#getDetailMessage()} 一致的设计 + */ + private String detailMessage; + + /** + * 空构造方法,避免反序列化问题 + */ + public ServiceException() + { + } + + public ServiceException(String message) + { + this.message = message; + } + + public ServiceException(String message, Integer code) + { + this.message = message; + this.code = code; + } + + public String getDetailMessage() + { + return detailMessage; + } + + public String getMessage() + { + return message; + } + + public Integer getCode() + { + return code; + } + + public ServiceException setMessage(String message) + { + this.message = message; + return this; + } + + public ServiceException setDetailMessage(String detailMessage) + { + this.detailMessage = detailMessage; + return this; + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/SqlInjectException.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/SqlInjectException.java new file mode 100644 index 00000000..c8e05be2 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/SqlInjectException.java @@ -0,0 +1,73 @@ +package com.jiuyv.appgate.common.exception; + +/** + * 业务异常 + * + * @author admin + */ +public final class SqlInjectException extends RuntimeException +{ + private static final long serialVersionUID = 1L; + + /** + * 错误码 + */ + private Integer code; + + /** + * 错误提示 + */ + private String message; + + /** + * 错误明细,内部调试错误 + * + * 和 {@link CommonResult#getDetailMessage()} 一致的设计 + */ + private String detailMessage; + + /** + * 空构造方法,避免反序列化问题 + */ + public SqlInjectException() + { + } + + public SqlInjectException(String message) + { + this.message = message; + } + + public SqlInjectException(String message, Integer code) + { + this.message = message; + this.code = code; + } + + public String getDetailMessage() + { + return detailMessage; + } + + public String getMessage() + { + return message; + } + + public Integer getCode() + { + return code; + } + + public SqlInjectException setMessage(String message) + { + this.message = message; + return this; + } + + public SqlInjectException setDetailMessage(String detailMessage) + { + this.detailMessage = detailMessage; + return this; + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/TokenException.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/TokenException.java new file mode 100644 index 00000000..84569322 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/TokenException.java @@ -0,0 +1,73 @@ +package com.jiuyv.appgate.common.exception; + +/** + * 业务异常 + * + * @author admin + */ +public final class TokenException extends RuntimeException +{ + private static final long serialVersionUID = 1L; + + /** + * 错误码 + */ + private Integer code; + + /** + * 错误提示 + */ + private String message; + + /** + * 错误明细,内部调试错误 + * + * 和 {@link CommonResult#getDetailMessage()} 一致的设计 + */ + private String detailMessage; + + /** + * 空构造方法,避免反序列化问题 + */ + public TokenException() + { + } + + public TokenException(String message) + { + this.message = message; + } + + public TokenException(String message, Integer code) + { + this.message = message; + this.code = code; + } + + public String getDetailMessage() + { + return detailMessage; + } + + public String getMessage() + { + return message; + } + + public Integer getCode() + { + return code; + } + + public TokenException setMessage(String message) + { + this.message = message; + return this; + } + + public TokenException setDetailMessage(String detailMessage) + { + this.detailMessage = detailMessage; + return this; + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/UtilException.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/UtilException.java new file mode 100644 index 00000000..f0c6e1cc --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/exception/UtilException.java @@ -0,0 +1,26 @@ +package com.jiuyv.appgate.common.exception; + +/** + * 工具类异常 + * + * @author admin + */ +public class UtilException extends RuntimeException +{ + private static final long serialVersionUID = 8247610319171014183L; + + public UtilException(Throwable e) + { + super(e.getMessage(), e); + } + + public UtilException(String message) + { + super(message); + } + + public UtilException(String message, Throwable throwable) + { + super(message, throwable); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/PageDomain.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/PageDomain.java new file mode 100644 index 00000000..f7a55107 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/PageDomain.java @@ -0,0 +1,104 @@ +package com.jiuyv.appgate.common.page; + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; + +/** + * 分页数据 + * + * @author admin + */ +public class PageDomain +{ + /** 当前记录起始索引 */ + private Integer pageNum; + + /** 每页显示记录数 */ + private Integer pageSize; + + /** 排序列 */ + private String orderByColumn; + + /** 排序的方向desc或者asc */ + private String isAsc = "asc"; + + /** 分页参数合理化 */ + private Boolean reasonable = true; + + //public PageDomain() {} + + public String getOrderBy() + { + if (CarcheckStringUtils.isEmpty(orderByColumn)) + { + return ""; + } + return CarcheckStringUtils.toUnderScoreCase(orderByColumn) + " " + isAsc; + } + + public Integer getPageNum() + { + return pageNum; + } + + public void setPageNum(Integer pageNum) + { + this.pageNum = pageNum; + } + + public Integer getPageSize() + { + return pageSize; + } + + public void setPageSize(Integer pageSize) + { + this.pageSize = pageSize; + } + + public String getOrderByColumn() + { + return orderByColumn; + } + + public void setOrderByColumn(String orderByColumn) + { + this.orderByColumn = orderByColumn; + } + + public String getIsAsc() + { + return isAsc; + } + + public void setIsAsc(String isAsc) + { + if (CarcheckStringUtils.isNotEmpty(isAsc)) + { + // 兼容前端排序类型 + if ("ascending".equals(isAsc)) + { + isAsc = "asc"; + } + if ("descending".equals(isAsc)) + { + isAsc = "desc"; + } + this.isAsc = isAsc; + } + } + + public Boolean getReasonable() + { + if (CarcheckStringUtils.isNull(reasonable)) + { + return Boolean.TRUE; + } + return reasonable; + } + + public void setReasonable(Boolean reasonable) + { + this.reasonable = reasonable; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableDataInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableDataInfo.java new file mode 100644 index 00000000..39c916ec --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableDataInfo.java @@ -0,0 +1,85 @@ +package com.jiuyv.appgate.common.page; + +import java.io.Serializable; +import java.util.List; + +/** + * 表格分页数据对象 + * + * @author admin + */ +public class TableDataInfo implements Serializable +{ + private static final long serialVersionUID = 1L; + + /** 总记录数 */ + private long total; + + /** 列表数据 */ + private List rows; + + /** 消息状态码 */ + private int code; + + /** 消息内容 */ + private String msg; + + /** + * 表格数据对象 + */ + public TableDataInfo() + { + } + + /** + * 分页 + * + * @param list 列表数据 + * @param total 总记录数 + */ + public TableDataInfo(List list, int total) + { + this.rows = list; + this.total = total; + } + + public long getTotal() + { + return total; + } + + public void setTotal(long total) + { + this.total = total; + } + + public List getRows() + { + return rows; + } + + public void setRows(List rows) + { + this.rows = rows; + } + + public int getCode() + { + return code; + } + + public void setCode(int code) + { + this.code = code; + } + + public String getMsg() + { + return msg; + } + + public void setMsg(String msg) + { + this.msg = msg; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableSupport.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableSupport.java new file mode 100644 index 00000000..22538db3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/page/TableSupport.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.common.page; + + +import com.jiuyv.appgate.common.text.Convert; +import com.jiuyv.appgate.common.utils.ServletUtils; + +/** + * 表格数据处理 + * + * @author admin + */ +public final class TableSupport +{ + /** + * 当前记录起始索引 + */ + public static final String PAGE_NUM = "pageNum"; + + /** + * 每页显示记录数 + */ + public static final String PAGE_SIZE = "pageSize"; + + /** + * 排序列 + */ + public static final String ORDER_BY_COLUMN = "orderByColumn"; + + /** + * 排序的方向 "desc" 或者 "asc". + */ + public static final String IS_ASC = "isAsc"; + + /** + * 分页参数合理化 + */ + public static final String REASONABLE = "reasonable"; + + private TableSupport() {} + + /** + * 封装分页对象 + */ + public static PageDomain getPageDomain() + { + PageDomain pageDomain = new PageDomain(); + pageDomain.setPageNum(Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1)); + pageDomain.setPageSize(Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10)); + pageDomain.setOrderByColumn(ServletUtils.getParameter(ORDER_BY_COLUMN)); + pageDomain.setIsAsc(ServletUtils.getParameter(IS_ASC)); + pageDomain.setReasonable(ServletUtils.getParameterToBool(REASONABLE)); + return pageDomain; + } + + public static PageDomain buildPageRequest() + { + return getPageDomain(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/CharsetKit.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/CharsetKit.java new file mode 100644 index 00000000..ab525a7b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/CharsetKit.java @@ -0,0 +1,91 @@ +package com.jiuyv.appgate.common.text; + + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; + +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; + +/** + * 字符集工具类 + * + * @author admin + */ +public final class CharsetKit +{ + /** ISO-8859-1 */ + public static final String ISO_8859_1 = "ISO-8859-1"; + /** UTF-8 */ + public static final String UTF_8 = "UTF-8"; + /** GBK */ + public static final String GBK = "GBK"; + + /** ISO-8859-1 */ + public static final Charset CHARSET_ISO_8859_1 = Charset.forName(ISO_8859_1); + /** UTF-8 */ + public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8); + /** GBK */ + public static final Charset CHARSET_GBK = Charset.forName(GBK); + + private CharsetKit() {} + + /** + * 转换为Charset对象 + * + * @param charset 字符集,为空则返回默认字符集 + * @return Charset + */ + public static Charset charset(String charset) + { + return CarcheckStringUtils.isEmpty(charset) ? Charset.defaultCharset() : Charset.forName(charset); + } + + /** + * 转换字符串的字符集编码 + * + * @param source 字符串 + * @param srcCharset 源字符集,默认ISO-8859-1 + * @param destCharset 目标字符集,默认UTF-8 + * @return 转换后的字符集 + */ + public static String convert(String source, String srcCharset, String destCharset) + { + return convert(source, Charset.forName(srcCharset), Charset.forName(destCharset)); + } + + /** + * 转换字符串的字符集编码 + * + * @param source 字符串 + * @param srcCharset 源字符集,默认ISO-8859-1 + * @param destCharset 目标字符集,默认UTF-8 + * @return 转换后的字符集 + */ + public static String convert(String source, Charset srcCharset, Charset destCharset) + { + if (null == srcCharset) + { + srcCharset = StandardCharsets.ISO_8859_1; + } + + if (null == destCharset) + { + destCharset = StandardCharsets.UTF_8; + } + + if (CarcheckStringUtils.isEmpty(source) || srcCharset.equals(destCharset)) + { + return source; + } + return new String(source.getBytes(srcCharset), destCharset); + } + + /** + * @return 系统字符集编码 + */ + public static String systemCharset() + { + return Charset.defaultCharset().name(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/Convert.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/Convert.java new file mode 100644 index 00000000..48db1054 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/Convert.java @@ -0,0 +1,1031 @@ +package com.jiuyv.appgate.common.text; + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import org.apache.commons.lang3.ArrayUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.math.BigDecimal; +import java.math.BigInteger; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.text.NumberFormat; +import java.text.ParseException; +import java.util.Set; +import java.util.regex.Pattern; + +/** + * 类型转换器 + * + * @author admin + */ +public final class Convert +{ + private static final Logger LOGGER = LoggerFactory.getLogger(Convert.class); + private static final Pattern P0 = Pattern.compile("(零.)*零$"); + private static final Pattern P1 = Pattern.compile("^$"); + + private static final Pattern P2 = Pattern.compile("(零.)*零元"); + private static final Pattern P3 = Pattern.compile("(零.)+"); + private static final Pattern P4 = Pattern.compile("^整$"); + private Convert() {} + + /** + * 转换为字符串
    + * 如果给定的值为null,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static String toStr(Object value, String defaultValue) + { + if (null == value) + { + return defaultValue; + } + if (value instanceof String) + { + return (String) value; + } + return value.toString(); + } + + /** + * 转换为字符串
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static String toStr(Object value) + { + return toStr(value, null); + } + + /** + * 转换为字符
    + * 如果给定的值为null,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Character toChar(Object value, Character defaultValue) + { + if (null == value) + { + return defaultValue; + } + if (value instanceof Character) + { + return (Character) value; + } + + final String valueStr = toStr(value, null); + return CarcheckStringUtils.isEmpty(valueStr) ? defaultValue : valueStr.charAt(0); + } + + /** + * 转换为字符
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Character toChar(Object value) + { + return toChar(value, null); + } + + /** + * 转换为byte
    + * 如果给定的值为null,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Byte toByte(Object value, Byte defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Byte) + { + return (Byte) value; + } + if (value instanceof Number) + { + return ((Number) value).byteValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return Byte.parseByte(valueStr); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为byte
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Byte toByte(Object value) + { + return toByte(value, null); + } + + /** + * 转换为Short
    + * 如果给定的值为null,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Short toShort(Object value, Short defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Short) + { + return (Short) value; + } + if (value instanceof Number) + { + return ((Number) value).shortValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return Short.parseShort(valueStr.trim()); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为Short
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Short toShort(Object value) + { + return toShort(value, null); + } + + /** + * 转换为Number
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Number toNumber(Object value, Number defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Number) + { + return (Number) value; + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return NumberFormat.getInstance().parse(valueStr); + } + catch (ParseException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为Number
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Number toNumber(Object value) + { + return toNumber(value, null); + } + + /** + * 转换为int
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Integer toInt(Object value, Integer defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Integer) + { + return (Integer) value; + } + if (value instanceof Number) + { + return ((Number) value).intValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return Integer.parseInt(valueStr.trim()); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为int
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Integer toInt(Object value) + { + return toInt(value, null); + } + + /** + * 转换为Integer数组
    + * + * @param str 被转换的值 + * @return 结果 + */ + public static Integer[] toIntArray(String str) + { + return toIntArray(",", str); + } + + /** + * 转换为Long数组
    + * + * @param str 被转换的值 + * @return 结果 + */ + public static Long[] toLongArray(String str) + { + return toLongArray(",", str); + } + + /** + * 转换为Integer数组
    + * + * @param split 分隔符 + * @param split 被转换的值 + * @return 结果 + */ + public static Integer[] toIntArray(String split, String str) + { + if (CarcheckStringUtils.isEmpty(str)) + { + return new Integer[] {}; + } + String[] arr = str.split(split); + final Integer[] ints = new Integer[arr.length]; + for (int i = 0; i < arr.length; i++) + { + final Integer v = toInt(arr[i], 0); + ints[i] = v; + } + return ints; + } + + /** + * 转换为Long数组
    + * + * @param split 分隔符 + * @param str 被转换的值 + * @return 结果 + */ + public static Long[] toLongArray(String split, String str) + { + if (CarcheckStringUtils.isEmpty(str)) + { + return new Long[] {}; + } + String[] arr = str.split(split); + final Long[] longs = new Long[arr.length]; + for (int i = 0; i < arr.length; i++) + { + final Long v = toLong(arr[i], null); + longs[i] = v; + } + return longs; + } + + /** + * 转换为String数组
    + * + * @param str 被转换的值 + * @return 结果 + */ + public static String[] toStrArray(String str) + { + return toStrArray(",", str); + } + + /** + * 转换为String数组
    + * + * @param split 分隔符 + * @param split 被转换的值 + * @return 结果 + */ + public static String[] toStrArray(String split, String str) + { + return str.split(split); + } + + /** + * 转换为long
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Long toLong(Object value, Long defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Long) + { + return (Long) value; + } + if (value instanceof Number) + { + return ((Number) value).longValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + // 支持科学计数法 + return new BigDecimal(valueStr.trim()).longValue(); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为long
    + * 如果给定的值为null,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Long toLong(Object value) + { + return toLong(value, null); + } + + /** + * 转换为double
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Double toDouble(Object value, Double defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Double) + { + return (Double) value; + } + if (value instanceof Number) + { + return ((Number) value).doubleValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + // 支持科学计数法 + return new BigDecimal(valueStr.trim()).doubleValue(); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为double
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Double toDouble(Object value) + { + return toDouble(value, null); + } + + /** + * 转换为Float
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Float toFloat(Object value, Float defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Float) + { + return (Float) value; + } + if (value instanceof Number) + { + return ((Number) value).floatValue(); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return Float.parseFloat(valueStr.trim()); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为Float
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Float toFloat(Object value) + { + return toFloat(value, null); + } + + /** + * 转换为boolean
    + * String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static Boolean toBool(Object value, Boolean defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof Boolean) + { + return (Boolean) value; + } + String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + valueStr = valueStr.trim().toLowerCase(); + switch (valueStr) + { + case "true": + case "yes": + case "ok": + case "1": + return true; + case "false": + case "no": + case "0": + return false; + default: + return defaultValue; + } + } + + /** + * 转换为boolean
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static Boolean toBool(Object value) + { + return toBool(value, null); + } + + /** + * 转换为Enum对象
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * + * @param clazz Enum的Class + * @param value 值 + * @param defaultValue 默认值 + * @return Enum + */ + public static > E toEnum(Class clazz, Object value, E defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (clazz.isAssignableFrom(value.getClass())) + { + @SuppressWarnings("unchecked") + E myE = (E) value; + return myE; + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return Enum.valueOf(clazz, valueStr); + } + catch (IllegalArgumentException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为Enum对象
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * + * @param clazz Enum的Class + * @param value 值 + * @return Enum + */ + public static > E toEnum(Class clazz, Object value) + { + return toEnum(clazz, value, null); + } + + /** + * 转换为BigInteger
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static BigInteger toBigInteger(Object value, BigInteger defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof BigInteger) + { + return (BigInteger) value; + } + if (value instanceof Long) + { + return BigInteger.valueOf((Long) value); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return new BigInteger(valueStr); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为BigInteger
    + * 如果给定的值为空,或者转换失败,返回默认值null
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static BigInteger toBigInteger(Object value) + { + return toBigInteger(value, null); + } + + /** + * 转换为BigDecimal
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @param defaultValue 转换错误时的默认值 + * @return 结果 + */ + public static BigDecimal toBigDecimal(Object value, BigDecimal defaultValue) + { + if (value == null) + { + return defaultValue; + } + if (value instanceof BigDecimal) + { + return (BigDecimal) value; + } + if (value instanceof Long) + { + return new BigDecimal((Long) value); + } + if (value instanceof Double) + { + return BigDecimal.valueOf((Double)value); + } + if (value instanceof Integer) + { + return new BigDecimal((Integer) value); + } + final String valueStr = toStr(value, null); + if (CarcheckStringUtils.isEmpty(valueStr)) + { + return defaultValue; + } + try + { + return new BigDecimal(valueStr); + } + catch (NumberFormatException e) + { + LOGGER.error(defaultValue.toString(), e); + return defaultValue; + } + } + + /** + * 转换为BigDecimal
    + * 如果给定的值为空,或者转换失败,返回默认值
    + * 转换失败不会报错 + * + * @param value 被转换的值 + * @return 结果 + */ + public static BigDecimal toBigDecimal(Object value) + { + return toBigDecimal(value, null); + } + + /** + * 将对象转为字符串
    + * 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法 + * + * @param obj 对象 + * @return 字符串 + */ + public static String utf8Str(Object obj) + { + return str(obj, CharsetKit.CHARSET_UTF_8); + } + + /** + * 将对象转为字符串
    + * 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法 + * + * @param obj 对象 + * @param charsetName 字符集 + * @return 字符串 + */ + public static String str(Object obj, String charsetName) + { + return str(obj, Charset.forName(charsetName)); + } + + /** + * 将对象转为字符串
    + * 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法 + * + * @param obj 对象 + * @param charset 字符集 + * @return 字符串 + */ + public static String str(Object obj, Charset charset) + { + if (null == obj) + { + return null; + } + + if (obj instanceof String) + { + return (String) obj; + } + if (obj instanceof byte[]) + { + return str((byte[]) obj, charset); + } + if (obj instanceof Byte[]) + { + byte[] bytes = ArrayUtils.toPrimitive((Byte[]) obj); + return str(bytes, charset); + } + if (obj instanceof ByteBuffer) + { + return str((ByteBuffer) obj, charset); + } + return obj.toString(); + } + + /** + * 将byte数组转为字符串 + * + * @param bytes byte数组 + * @param charset 字符集 + * @return 字符串 + */ + public static String str(byte[] bytes, String charset) + { + return str(bytes, CarcheckStringUtils.isEmpty(charset) ? Charset.defaultCharset() : Charset.forName(charset)); + } + + /** + * 解码字节码 + * + * @param data 字符串 + * @param charset 字符集,如果此字段为空,则解码的结果取决于平台 + * @return 解码后的字符串 + */ + public static String str(byte[] data, Charset charset) + { + if (data == null) + { + return null; + } + + if (null == charset) + { + return new String(data, StandardCharsets.UTF_8); + } + return new String(data, charset); + } + + /** + * 将编码的byteBuffer数据转换为字符串 + * + * @param data 数据 + * @param charset 字符集,如果为空使用当前系统字符集 + * @return 字符串 + */ + public static String str(ByteBuffer data, String charset) + { + if (data == null) + { + return null; + } + + return str(data, Charset.forName(charset)); + } + + /** + * 将编码的byteBuffer数据转换为字符串 + * + * @param data 数据 + * @param charset 字符集,如果为空使用当前系统字符集 + * @return 字符串 + */ + public static String str(ByteBuffer data, Charset charset) + { + if (null == charset) + { + charset = Charset.defaultCharset(); + } + return charset.decode(data).toString(); + } + + // ----------------------------------------------------------------------- 全角半角转换 + /** + * 半角转全角 + * + * @param input String. + * @return 全角字符串. + */ + public static String toSBC(String input) + { + return toSBC(input, null); + } + + /** + * 半角转全角 + * + * @param input String + * @param notConvertSet 不替换的字符集合 + * @return 全角字符串. + */ + public static String toSBC(String input, Set notConvertSet) + { + char c[] = input.toCharArray(); + for (int i = 0; i < c.length; i++) + { + if (null != notConvertSet && notConvertSet.contains(c[i])) + { + // 跳过不替换的字符 + continue; + } + + if (c[i] == ' ') + { + c[i] = '\u3000'; + } + if (c[i] < '\177') + { + c[i] = (char) (c[i] + 65248); + + } + } + return new String(c); + } + + /** + * 全角转半角 + * + * @param input String. + * @return 半角字符串 + */ + public static String toDBC(String input) + { + return toDBC(input, null); + } + + /** + * 替换全角为半角 + * + * @param text 文本 + * @param notConvertSet 不替换的字符集合 + * @return 替换后的字符 + */ + public static String toDBC(String text, Set notConvertSet) + { + char c[] = text.toCharArray(); + for (int i = 0; i < c.length; i++) + { + if (null != notConvertSet && notConvertSet.contains(c[i])) + { + // 跳过不替换的字符 + continue; + } + + if (c[i] == '\u3000') + { + c[i] = ' '; + } + if (c[i] > '\uFF00' && c[i] < '\uFF5F') + { + c[i] = (char) (c[i] - 65248); + } + } + + return new String(c); + } + + /** + * 数字金额大写转换 先写个完整的然后将如零拾替换成零 + * + * @param n 数字 + * @return 中文大写数字 + */ + public static String digitUppercase(double n) + { + String[] fraction = { "角", "分" }; + String[] digit = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" }; + String[][] unit = { { "元", "万", "亿" }, { "", "拾", "佰", "仟" } }; + + String head = n < 0 ? "负" : ""; + n = Math.abs(n); + + StringBuilder s = new StringBuilder(); + for (int i = 0; i < fraction.length; i++) + { + s.append(P3.matcher(digit[(int) (Math.floor(n * 10 * Math.pow(10, i)) % 10)] + fraction[i]).replaceAll("")); + } + if (s.length() < 1) + { + s = new StringBuilder("整"); + } + int integerPart = (int) Math.floor(n); + + for (int i = 0; i < unit[0].length && integerPart > 0; i++) + { + StringBuilder p = new StringBuilder(); + for (int j = 0; j < unit[1].length && n > 0; j++) + { + p.insert(0, digit[integerPart % 10] + unit[1][j]); + integerPart = integerPart / 10; + } + String s1 = P0.matcher(p).replaceAll(""); + String s2 = P1.matcher(s1).replaceAll("零"); + s.insert(0, s2 + unit[0][i]); + } + // 替换 + String s1 = P2.matcher(s).replaceAll("元"); + String s2 = P3.matcher(s1).replaceFirst(""); + String s3 = P3.matcher(s2).replaceAll("零"); + return head + P4.matcher(s3).replaceAll("零元整"); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/StrFormatter.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/StrFormatter.java new file mode 100644 index 00000000..175a5162 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/text/StrFormatter.java @@ -0,0 +1,96 @@ +package com.jiuyv.appgate.common.text; + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; + +/** + * 字符串格式化 + * + * @author admin + */ +public final class StrFormatter +{ + public static final String EMPTY_JSON = "{}"; + public static final char C_BACKSLASH = '\\'; + public static final char C_DELIM_START = '{'; + public static final char C_DELIM_END = '}'; + + private StrFormatter() {} + + /** + * 格式化字符串
    + * 此方法只是简单将占位符 {} 按照顺序替换为参数
    + * 如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
    + * 例:
    + * 通常使用:format("this is {} for {}", "a", "b") -> this is a for b
    + * 转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
    + * 转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
    + * + * @param strPattern 字符串模板 + * @param argArray 参数列表 + * @return 结果 + */ + public static String format(final String strPattern, final Object... argArray) + { + if (CarcheckStringUtils.isEmpty(strPattern) || CarcheckStringUtils.isEmpty(argArray)) + { + return strPattern; + } + final int strPatternLength = strPattern.length(); + + // 初始化定义好的长度以获得更好的性能 + StringBuilder sbuf = new StringBuilder(strPatternLength + 50); + + int handledPosition = 0; + int delimIndex;// 占位符所在位置 + int argIndex = 0; + while (argIndex < argArray.length) { + delimIndex = strPattern.indexOf(EMPTY_JSON, handledPosition); + if (delimIndex == -1) + { + if (handledPosition == 0) + { + return strPattern; + } + else + { // 字符串模板剩余部分不再包含占位符,加入剩余部分后返回结果 + sbuf.append(strPattern, handledPosition, strPatternLength); + return sbuf.toString(); + } + } + else + { + if (delimIndex > 0 && strPattern.charAt(delimIndex - 1) == C_BACKSLASH) + { + if (delimIndex > 1 && strPattern.charAt(delimIndex - 2) == C_BACKSLASH) + { + // 转义符之前还有一个转义符,占位符依旧有效 + sbuf.append(strPattern, handledPosition, delimIndex - 1); + sbuf.append(Convert.utf8Str(argArray[argIndex])); + handledPosition = delimIndex + 2; + } + else + { + // 占位符被转义 + argIndex--; + sbuf.append(strPattern, handledPosition, delimIndex - 1); + sbuf.append(C_DELIM_START); + handledPosition = delimIndex + 1; + } + } + else + { + // 正常占位符 + sbuf.append(strPattern, handledPosition, delimIndex); + sbuf.append(Convert.utf8Str(argArray[argIndex])); + handledPosition = delimIndex + 2; + } + } + argIndex++; + } + // 加入最后一个占位符后所有的字符 + sbuf.append(strPattern, handledPosition, strPattern.length()); + + return sbuf.toString(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckDateUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckDateUtils.java new file mode 100644 index 00000000..ec3ac664 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckDateUtils.java @@ -0,0 +1,193 @@ +package com.jiuyv.appgate.common.utils; + +import org.apache.commons.lang3.time.DateFormatUtils; +import org.apache.commons.lang3.time.DateUtils; + +import java.lang.management.ManagementFactory; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.ZoneId; +import java.time.ZoneOffset; +import java.time.ZonedDateTime; +import java.util.Date; + +/** + * 时间工具类 + * + * @author admin + */ +public class CarcheckDateUtils extends DateUtils +{ + public static final String YYYY = "yyyy"; + + public static final String YYYY_MM = "yyyy-MM"; + + public static final String YYYY_MM_DD = "yyyy-MM-dd"; + + public static final String YYYYMMDDHHMMSS = "yyyyMMddHHmmss"; + + public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss"; + + // private static final String[] parsePatterns = { + // "yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd HH:mm", "yyyy-MM", + // "yyyy/MM/dd", "yyyy/MM/dd HH:mm:ss", "yyyy/MM/dd HH:mm", "yyyy/MM", + // "yyyy.MM.dd", "yyyy.MM.dd HH:mm:ss", "yyyy.MM.dd HH:mm", "yyyy.MM"}; + + private static final String[] parsePatterns = { + YYYY_MM_DD, YYYY_MM_DD_HH_MM_SS, "yyyy-MM-dd HH:mm", YYYY_MM, + "yyyy/MM/dd", "yyyy/MM/dd HH:mm:ss", "yyyy/MM/dd HH:mm", "yyyy/MM", + "yyyy.MM.dd", "yyyy.MM.dd HH:mm:ss", "yyyy.MM.dd HH:mm", "yyyy.MM"}; + + /** + * 获取当前Date型日期 + * + * @return Date() 当前日期 + */ + public static Date getNowDate() + { + return Date.from(LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant()); + } + + /** + * 获取当前日期, 默认格式为yyyy-MM-dd + * + * @return String + */ + public static String getDate() + { + return dateTimeNow(YYYY_MM_DD); + } + + public static final String getTime() + { + return dateTimeNow(YYYY_MM_DD_HH_MM_SS); + } + + public static final String dateTimeNow() + { + return dateTimeNow(YYYYMMDDHHMMSS); + } + + public static final String dateTimeNow(final String format) + { + return parseDateToStr(format, getNowDate()); + } + + public static final String dateTime(final Date date) + { + return parseDateToStr(YYYY_MM_DD, date); + } + + public static final String parseDateToStr(final String format, final Date date) + { + return new SimpleDateFormat(format).format(date); + } + + public static final Date dateTime(final String format, final String ts) + { + try + { + return new SimpleDateFormat(format).parse(ts); + } + catch (ParseException e) + { + throw new RuntimeException(e); + } + } + + /** + * 日期路径 即年/月/日 如2018/08/08 + */ + public static String datePath() + { + return DateFormatUtils.format(getNowDate(), "yyyy/MM/dd"); + } + + /** + * 日期路径 即年/月/日 如20180808 + */ + public static String dateTime() + { + return DateFormatUtils.format(getNowDate(), "yyyyMMdd"); + } + + /** + * 日期型字符串转化为日期 格式 + */ + public static Date parseDate(Object str) + { + if (str == null) + { + return null; + } + try + { + return parseDate(str.toString(), parsePatterns); + } + catch (ParseException e) + { + return null; + } + } + + /** + * 获取服务器启动时间 + */ + public static Date getServerStartDate() + { + long time = ManagementFactory.getRuntimeMXBean().getStartTime(); + LocalDateTime localDateTime = LocalDateTime.ofEpochSecond(time/1000, 0, ZoneOffset.ofHours(8)); + return Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant()); + } + + /** + * 计算相差天数 + */ + public static int differentDaysByMillisecond(Date date1, Date date2) + { + return Math.abs((int) ((date2.getTime() - date1.getTime()) / (1000 * 3600 * 24))); + } + + /** + * 计算两个时间差 + */ + public static String getDatePoor(Date endDate, Date nowDate) + { + long nd = 1000L * 24 * 60 * 60; + long nh = 1000L * 60 * 60; + long nm = 1000L * 60; + // 获得两个时间的毫秒时间差异 + long diff = endDate.getTime() - nowDate.getTime(); + // 计算差多少天 + long day = diff / nd; + // 计算差多少小时 + long hour = diff % nd / nh; + // 计算差多少分钟 + long min = diff % nd % nh / nm; + // 计算差多少秒//输出结果 + return day + "天" + hour + "小时" + min + "分钟"; + } + + /** + * 增加 LocalDateTime ==> Date + */ + public static Date toDate(LocalDateTime temporalAccessor) + { + ZonedDateTime zdt = temporalAccessor.atZone(ZoneId.systemDefault()); + return Date.from(zdt.toInstant()); + } + + /** + * 增加 LocalDate ==> Date + */ + public static Date toDate(LocalDate temporalAccessor) + { + LocalDateTime localDateTime = LocalDateTime.of(temporalAccessor, LocalTime.of(0, 0, 0)); + ZonedDateTime zdt = localDateTime.atZone(ZoneId.systemDefault()); + return Date.from(zdt.toInstant()); + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckStringUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckStringUtils.java new file mode 100644 index 00000000..88fa2cb7 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/CarcheckStringUtils.java @@ -0,0 +1,616 @@ +package com.jiuyv.appgate.common.utils; + + +import com.jiuyv.appgate.common.constant.Constants; + +import com.jiuyv.appgate.common.text.StrFormatter; +import org.apache.commons.lang3.StringUtils; +import org.springframework.util.AntPathMatcher; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Date; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * 字符串工具类 + * + * @author admin + */ +public final class CarcheckStringUtils extends StringUtils +{ + /** 空字符串 */ + private static final String NULLSTR = ""; + + /** 下划线 */ + private static final char SEPARATOR = '_'; + + private CarcheckStringUtils() { + } + + /** + * 获取参数不为空值 + * + * @param value defaultValue 要判断的value + * @return value 返回值 + */ + public static T nvl(T value, T defaultValue) + { + return value != null ? value : defaultValue; + } + + /** + * * 判断一个Collection是否为空, 包含List,Set,Queue + * + * @param coll 要判断的Collection + * @return true:为空 false:非空 + */ + public static boolean isEmpty(Collection coll) + { + return isNull(coll) || coll.isEmpty(); + } + + /** + * * 判断一个Collection是否非空,包含List,Set,Queue + * + * @param coll 要判断的Collection + * @return true:非空 false:空 + */ + public static boolean isNotEmpty(Collection coll) + { + return !isEmpty(coll); + } + + /** + * * 判断一个对象数组是否为空 + * + * @param objects 要判断的对象数组 + ** @return true:为空 false:非空 + */ + public static boolean isEmpty(Object[] objects) + { + return isNull(objects) || (objects.length == 0); + } + + /** + * * 判断一个对象数组是否非空 + * + * @param objects 要判断的对象数组 + * @return true:非空 false:空 + */ + public static boolean isNotEmpty(Object[] objects) + { + return !isEmpty(objects); + } + + /** + * * 判断一个Map是否为空 + * + * @param map 要判断的Map + * @return true:为空 false:非空 + */ + public static boolean isEmpty(Map map) + { + return isNull(map) || map.isEmpty(); + } + + /** + * * 判断一个Map是否为空 + * + * @param map 要判断的Map + * @return true:非空 false:空 + */ + public static boolean isNotEmpty(Map map) + { + return !isEmpty(map); + } + + /** + * * 判断一个字符串是否为空串 + * + * @param str String + * @return true:为空 false:非空 + */ + public static boolean isEmpty(String str) + { + return isNull(str) || NULLSTR.equals(str.trim()); + } + + /** + * * 判断一个字符串是否为非空串 + * + * @param str String + * @return true:非空串 false:空串 + */ + public static boolean isNotEmpty(String str) + { + return !isEmpty(str); + } + + /** + * * 判断一个对象是否为空 + * + * @param object Object + * @return true:为空 false:非空 + */ + public static boolean isNull(Object object) + { + return object == null; + } + + /** + * * 判断一个对象是否非空 + * + * @param object Object + * @return true:非空 false:空 + */ + public static boolean isNotNull(Object object) + { + return !isNull(object); + } + + /** + * * 判断一个对象是否是数组类型(Java基本型别的数组) + * + * @param object 对象 + * @return true:是数组 false:不是数组 + */ + public static boolean isArray(Object object) + { + return isNotNull(object) && object.getClass().isArray(); + } + + /** + * 去空格 + */ + public static String trim(String str) + { + return (str == null ? "" : str.trim()); + } + + /** + * 截取字符串 + * + * @param str 字符串 + * @param start 开始 + * @return 结果 + */ + public static String substring(final String str, int start) + { + if (str == null) + { + return NULLSTR; + } + + if (start < 0) + { + start = str.length() + start; + } + + if (start < 0) + { + start = 0; + } + if (start > str.length()) + { + return NULLSTR; + } + + return str.substring(start); + } + + /** + * 截取字符串 + * + * @param str 字符串 + * @param start 开始 + * @param end 结束 + * @return 结果 + */ + public static String substring(final String str, int start, int end) + { + if (str == null) + { + return NULLSTR; + } + + if (end < 0) + { + end = str.length() + end; + } + if (start < 0) + { + start = str.length() + start; + } + + if (end > str.length()) + { + end = str.length(); + } + + if (start > end) + { + return NULLSTR; + } + + if (start < 0) + { + start = 0; + } + if (end < 0) + { + end = 0; + } + + return str.substring(start, end); + } + + /** + * 格式化文本, {} 表示占位符
    + * 此方法只是简单将占位符 {} 按照顺序替换为参数
    + * 如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
    + * 例:
    + * 通常使用:format("this is {} for {}", "a", "b") -> this is a for b
    + * 转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
    + * 转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
    + * + * @param template 文本模板,被替换的部分用 {} 表示 + * @param params 参数值 + * @return 格式化后的文本 + */ + public static String format(String template, Object... params) + { + if (isEmpty(params) || isEmpty(template)) + { + return template; + } + return StrFormatter.format(template, params); + } + + /** + * 是否为http(s)://开头 + * + * @param link 链接 + * @return 结果 + */ + public static boolean ishttp(String link) + { + return CarcheckStringUtils.startsWithAny(link, Constants.HTTP, Constants.HTTPS); + } + + /** + * 字符串转set + * + * @param str 字符串 + * @param sep 分隔符 + * @return set集合 + */ + public static Set str2Set(String str, String sep) + { + return new HashSet(str2List(str, sep, true, false)); + } + + /** + * 字符串转list + * + * @param str 字符串 + * @param sep 分隔符 + * @param filterBlank 过滤纯空白 + * @param trim 去掉首尾空白 + * @return list集合 + */ + public static List str2List(String str, String sep, boolean filterBlank, boolean trim) + { + List list = new ArrayList(); + if (CarcheckStringUtils.isEmpty(str)) + { + return list; + } + + // 过滤空白字符串 + if (filterBlank && CarcheckStringUtils.isBlank(str)) + { + return list; + } + String[] split = str.split(sep); + for (String string : split) + { + if (filterBlank && CarcheckStringUtils.isBlank(string)) + { + continue; + } + if (trim) + { + string = string.trim(); + } + list.add(string); + } + + return list; + } + + /** + * 查找指定字符串是否包含指定字符串列表中的任意一个字符串同时串忽略大小写 + * + * @param cs 指定字符串 + * @param searchCharSequences 需要检查的字符串数组 + * @return 是否包含任意一个字符串 + */ + public static boolean containsAnyIgnoreCase(CharSequence cs, CharSequence... searchCharSequences) + { + if (isEmpty(cs) || isEmpty(searchCharSequences)) + { + return false; + } + for (CharSequence testStr : searchCharSequences) + { + if (containsIgnoreCase(cs, testStr)) + { + return true; + } + } + return false; + } + + /** + * 驼峰转下划线命名 + */ + public static String toUnderScoreCase(String str) + { + if (str == null) + { + return null; + } + StringBuilder sb = new StringBuilder(); + // 前置字符是否大写 + boolean preCharIsUpperCase = true; + // 当前字符是否大写 + boolean curreCharIsUpperCase = true; + // 下一字符是否大写 + boolean nexteCharIsUpperCase = true; + for (int i = 0; i < str.length(); i++) + { + char c = str.charAt(i); + if (i > 0) + { + preCharIsUpperCase = Character.isUpperCase(str.charAt(i - 1)); + } + else + { + preCharIsUpperCase = false; + } + + curreCharIsUpperCase = Character.isUpperCase(c); + + if (i < (str.length() - 1)) + { + nexteCharIsUpperCase = Character.isUpperCase(str.charAt(i + 1)); + } + + if (preCharIsUpperCase && curreCharIsUpperCase && !nexteCharIsUpperCase) + { + sb.append(SEPARATOR); + } + if ((i != 0 && !preCharIsUpperCase) && curreCharIsUpperCase) + { + sb.append(SEPARATOR); + } + sb.append(Character.toLowerCase(c)); + } + + return sb.toString(); + } + + /** + * 是否包含字符串 + * + * @param str 验证字符串 + * @param strs 字符串组 + * @return 包含返回true + */ + public static boolean inStringIgnoreCase(String str, String... strs) + { + if (str != null && strs != null) + { + for (String s : strs) + { + if (str.equalsIgnoreCase(trim(s))) + { + return true; + } + } + } + return false; + } + + /** + * 将下划线大写方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。 例如:HELLO_WORLD->HelloWorld + * + * @param name 转换前的下划线大写方式命名的字符串 + * @return 转换后的驼峰式命名的字符串 + */ + public static String convertToCamelCase(String name) + { + StringBuilder result = new StringBuilder(); + // 快速检查 + if (name == null || name.isEmpty()) + { + // 没必要转换 + return ""; + } + if (!name.contains("_")) + { + // 不含下划线,仅将首字母大写 + return name.substring(0, 1).toUpperCase() + name.substring(1); + } + // 用下划线将原始字符串分割 + String[] camels = name.split("_"); + for (String camel : camels) + { + // 跳过原始字符串中开头、结尾的下换线或双重下划线 + if (camel.isEmpty()) + { + continue; + } + // 首字母大写 + result.append(camel.substring(0, 1).toUpperCase()); + result.append(camel.substring(1).toLowerCase()); + } + return result.toString(); + } + + /** + * 驼峰式命名法 例如:user_name->userName + */ + public static String toCamelCase(String s) + { + if (s == null) + { + return null; + } + s = s.toLowerCase(); + StringBuilder sb = new StringBuilder(s.length()); + boolean upperCase = false; + for (int i = 0; i < s.length(); i++) + { + char c = s.charAt(i); + + if (c == SEPARATOR) + { + upperCase = true; + } + else if (upperCase) + { + sb.append(Character.toUpperCase(c)); + upperCase = false; + } + else + { + sb.append(c); + } + } + return sb.toString(); + } + + /** + * 查找指定字符串是否匹配指定字符串列表中的任意一个字符串 + * + * @param str 指定字符串 + * @param strs 需要检查的字符串数组 + * @return 是否匹配 + */ + public static boolean matches(String str, List strs) + { + if (isEmpty(str) || isEmpty(strs)) + { + return false; + } + for (String pattern : strs) + { + if (isMatch(pattern, str)) + { + return true; + } + } + return false; + } + + /** + * 判断url是否与规则配置: + * ? 表示单个字符; + * * 表示一层路径内的任意字符串,不可跨层级; + * ** 表示任意层路径; + * + * @param pattern 匹配规则 + * @param url 需要匹配的url + * @return + */ + public static boolean isMatch(String pattern, String url) + { + AntPathMatcher matcher = new AntPathMatcher(); + return matcher.match(pattern, url); + } + + @SuppressWarnings("unchecked") + public static T cast(Object obj) + { + return (T) obj; + } + + /** + * 数字左边补齐0,使之达到指定长度。注意,如果数字转换为字符串后,长度大于size,则只保留 最后size个字符。 + * + * @param num 数字对象 + * @param size 字符串指定长度 + * @return 返回数字的字符串格式,该字符串为指定长度。 + */ + public static String padl(final Number num, final int size) + { + return padl(num.toString(), size, '0'); + } + + /** + * 字符串左补齐。如果原始字符串s长度大于size,则只保留最后size个字符。 + * + * @param s 原始字符串 + * @param size 字符串指定长度 + * @param c 用于补齐的字符 + * @return 返回指定长度的字符串,由原字符串左补齐或截取得到。 + */ + public static String padl(final String s, final int size, final char c) + { + final StringBuilder sb = new StringBuilder(size); + if (s != null) + { + final int len = s.length(); + if (s.length() <= size) + { + for (int i = size - len; i > 0; i--) + { + sb.append(c); + } + sb.append(s); + } + else + { + return s.substring(len - size, len); + } + } + else + { + for (int i = size; i > 0; i--) + { + sb.append(c); + } + } + return sb.toString(); + } + /** + * 判断是否为数字开头 + * @param str + * @return + */ + public static boolean isNumStart(String str) { + int chr = str.charAt(0); + return chr >= 48 && chr <= 57; + } + /** + * string 转 date + */ + public static Date toDate(String str) { + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); + String dateStr = str.replace("年","-").replace("月","-").replace("日",""); + Date date = null; + try { + date = simpleDateFormat.parse(dateStr); + } catch (ParseException e) { + e.printStackTrace(); + } + return date; + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/EncryptorSoftService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/EncryptorSoftService.java new file mode 100644 index 00000000..e14f9332 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/EncryptorSoftService.java @@ -0,0 +1,114 @@ +// package com.jiuyv.appgate.common.utils; +// +// import java.io.ByteArrayOutputStream; +// import java.io.IOException; +// +// import javax.annotation.PostConstruct; +// +// import org.slf4j.Logger; +// import org.slf4j.LoggerFactory; +// import org.springframework.beans.factory.annotation.Value; +// import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; +// import org.springframework.stereotype.Service; +// +// import com.jiuyv.smhelper.SM4Util; +// +// +// @ConditionalOnProperty(value = "ciper.soft.enabled", havingValue="true",matchIfMissing = true) +// @Service +// public class EncryptorSoftService implements IEncryptor{ +// private static final Logger LOG = LoggerFactory.getLogger(EncryptorSoftService.class); +// +// @Value("${local.dbKey}") +// private String dbKey; +// +// private byte[] dbKeyBytes; +// +// @PostConstruct +// private void init() { +// dbKeyBytes=ByteTools.hexStringToByte(dbKey); +// } +// +// @Override +// public byte[] encrypt_ECB_Padding(byte[] value, byte[] encryptKey) throws Exception { +// return SM4Util.encrypt_ECB_Padding(encryptKey, value); +// } +// +// @Override +// public byte[] decrypt_ECB_Padding(byte[] value, byte[] encryptKey) throws Exception{ +// return SM4Util.decrypt_ECB_Padding(encryptKey, value); +// } +// +// @Override +// public byte[] encrypt_ECB_NoPadding(byte[] value, byte[] encryptKey) throws Exception{ +// return SM4Util.encrypt_ECB_NoPadding(encryptKey, value); +// } +// +// @Override +// public byte[] decrypt_ECB_NoPadding(byte[] value, byte[] encryptKey) throws Exception{ +// return SM4Util.decrypt_ECB_NoPadding(encryptKey, value); +// } +// +// @Override +// public WKDto generateKey(WKDto wkDto, byte[] tmk,byte[] dbkey) throws Exception{ +// byte[] pik= SM4Util.generateKey(); +// byte[] mak= SM4Util.generateKey(); +// byte[] tdk= SM4Util.generateKey(); +// byte[] pikCheckvalueTotle= SM4Util.encrypt_ECB_NoPadding(pik, AppCode.getCHKVALSRC()); +// byte[] makCheckvalueTotle= SM4Util.encrypt_ECB_NoPadding(mak, AppCode.getCHKVALSRC()); +// byte[] tdkCheckvalueTotle= SM4Util.encrypt_ECB_NoPadding(tdk, AppCode.getCHKVALSRC()); +// byte[] pikCheckvalue = new byte[4]; +// System.arraycopy(pikCheckvalueTotle, 0, pikCheckvalue, 0, 4); +// byte[] makCheckvalue = new byte[4]; +// System.arraycopy(makCheckvalueTotle, 0, makCheckvalue, 0, 4); +// byte[] tdkCheckvalue = new byte[4]; +// System.arraycopy(tdkCheckvalueTotle, 0, tdkCheckvalue, 0, 4); +// wkDto.setPik(pik); +// wkDto.setMak(mak); +// wkDto.setTdk(tdk); +// wkDto.setPikCheckvalue(pikCheckvalue); +// wkDto.setMakCheckvalue(makCheckvalue); +// wkDto.setTdkCheckvalue(tdkCheckvalue); +// wkDto.setPikEncryptedByDbkey(pikCheckvalue); +// wkDto.setPikEncryptedByTmk(SM4Util.encrypt_ECB_NoPadding(tmk, pik)); +// wkDto.setPikEncryptedByDbkey(SM4Util.encrypt_ECB_NoPadding(dbkey, pik)); +// wkDto.setMakEncryptedByTmk(SM4Util.encrypt_ECB_NoPadding(tmk, mak)); +// wkDto.setMakEncryptedByDbkey(SM4Util.encrypt_ECB_NoPadding(dbkey, mak)); +// wkDto.setTdkEncryptedByTmk(SM4Util.encrypt_ECB_NoPadding(tmk, tdk)); +// wkDto.setTdkEncryptedByDbkey(SM4Util.encrypt_ECB_NoPadding(dbkey, tdk)); +// +// //F62 +// try (ByteArrayOutputStream bos = new ByteArrayOutputStream()) { +// bos.write(wkDto.getPikEncryptedByTmk()); +// bos.write(wkDto.getPikCheckvalue()); +// +// bos.write(wkDto.getMakEncryptedByTmk()); +// bos.write(wkDto.getMakCheckvalue()); +// +// bos.write(wkDto.getTdkEncryptedByTmk()); +// bos.write(wkDto.getTdkCheckvalue()); +// +// wkDto.setTotalF62Data(bos.toByteArray()); +// +// } catch (IOException e) { +// throw new BaseException("generateKey error", e); +// } +// +// wkDto.setRespCode(RespCode.T_RSP_00); +// wkDto.setRespMsg(RespCode.getErrorCodeString(RespCode.T_RSP_00)); +// return wkDto; +// +// } +// +// @Override +// public byte[] getCupWorkKeyDecode(byte[] workKeyEncryptedByCupMainKey,byte[] tmkEncryptedByDbkey) throws BaseException { +// try { +// byte[] tmk = this.decrypt_ECB_NoPadding(tmkEncryptedByDbkey, dbKeyBytes); +// return this.decrypt_ECB_NoPadding(workKeyEncryptedByCupMainKey, tmk); +// } catch (Exception e) { +// LOG.error("getCupWorkKeyEncryptedByDbkey error", e); +// throw new BaseException(RespCode.T_RSP_A7,RespCode.getErrorCodeString(RespCode.T_RSP_A7)); +// } +// } +// +// } diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/HttpUtil.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/HttpUtil.java new file mode 100644 index 00000000..775df4db --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/HttpUtil.java @@ -0,0 +1,137 @@ +package com.jiuyv.appgate.common.utils; + + +import com.jiuyv.appgate.common.constant.Constants; +import okhttp3.HttpUrl; +import okhttp3.MediaType; +import okhttp3.OkHttpClient; +import okhttp3.Request; +import okhttp3.RequestBody; +import okhttp3.Response; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.net.ConnectException; +import java.net.SocketTimeoutException; +import java.net.URL; +import java.net.URLConnection; +import java.util.Map; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-08-15 15:49 + */ +@Component +public class HttpUtil { + + private static final Logger LOGGER = LoggerFactory.getLogger(HttpUtil.class); + + + private OkHttpClient client; + + public HttpUtil() { + this.client = new OkHttpClient(); + } + + public String sendGetRequest(String url) throws IOException { + Request request = new Request.Builder() + .url(url) + .build(); + + try (Response response = client.newCall(request).execute()) { + return response.body().string(); + } + } + + public String sendGetRequestWithBeanParams(String url, Map params) throws IOException { + //Map params = BeanUtils.convertBeanToMap(bean); + HttpUrl.Builder urlBuilder = HttpUrl.parse(url).newBuilder(); + + for (Map.Entry entry : params.entrySet()) { + if(StringUtils.isNotBlank( entry.getValue().toString())){ + urlBuilder.addQueryParameter(entry.getKey(),entry.getValue().toString()); + } + + } + + String fullUrl = urlBuilder.build().toString(); + Request request = new Request.Builder() + .url(fullUrl) + .build(); + + try (Response response = client.newCall(request).execute()) { + return response.body().string(); + } + } + + + public String sendPostRequest(String url, String jsonBody) throws IOException { + MediaType JSON = MediaType.parse("application/json; charset=utf-8"); + RequestBody requestBody = RequestBody.create(JSON, jsonBody); + + Request request = new Request.Builder() + .url(url) + .post(requestBody) + .build(); + + try (Response response = client.newCall(request).execute()) { + return response.body().string(); + } + } + + public static String sendGet(String url, String param) + { + return sendGet(url, param, Constants.UTF8); + } + + /** + * 向指定 URL 发送GET方法的请求 + * + * @param url 发送请求的 URL + * @param param 请求参数,请求参数应该是 name1=value1&name2=value2 的形式。 + * @param contentType 编码类型 + * @return 所代表远程资源的响应结果 + */ + public static String sendGet(String url, String param, String contentType) + { + StringBuilder result = new StringBuilder(); + try + { + String urlNameString = CarcheckStringUtils.isNotBlank(param) ? (url + "?" + param) : url; + LOGGER.info("sendGet - {}", urlNameString); + URL realUrl = new URL(urlNameString); + URLConnection connection = realUrl.openConnection(); + connection.setRequestProperty("accept", "*/*"); + connection.setRequestProperty("connection", "Keep-Alive"); + connection.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)"); + connection.connect(); + try(BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream(), contentType))) { + String line; + while ((line = in.readLine()) != null) + { + result.append(line); + } + LOGGER.info("recv - {}", result); + } + } + catch (ConnectException e) + { + LOGGER.error("调用HttpUtils.sendGet ConnectException, url=" + url + ",param=" + param, e); + } + catch (SocketTimeoutException e) + { + LOGGER.error("调用HttpUtils.sendGet SocketTimeoutException, url=" + url + ",param=" + param, e); + } + catch (IOException e) + { + LOGGER.error("调用HttpUtils.sendGet IOException, url=" + url + ",param=" + param, e); + } + return result.toString(); + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/JsonUtil.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/JsonUtil.java new file mode 100644 index 00000000..e698dcca --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/JsonUtil.java @@ -0,0 +1,223 @@ +package com.jiuyv.appgate.common.utils; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.core.JsonGenerator.Feature; +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.JavaType; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.ObjectNode; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.lang.reflect.Field; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * + * @author zhouliang + * + */ +public abstract class JsonUtil { + + /** + * The Constant LOGGER. + */ + private static final Logger LOGGER = LoggerFactory.getLogger(JsonUtil.class); + + private JsonUtil() { + throw new IllegalStateException("Utility class"); + } + + /** + * The object mapper. + */ + private static final ObjectMapper objectMapper = new ObjectMapper(); + + static { + objectMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES); + objectMapper.setSerializationInclusion(Include.NON_NULL); + objectMapper.configure(Feature.WRITE_BIGDECIMAL_AS_PLAIN, true); + objectMapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")); + } + public static ObjectMapper JsonMapper(){ + return objectMapper; + } + + /** + * 转为json字符串 + * + * @param object the object + * @return the string + */ + public static String toJSONString(Object object) { + try { + return objectMapper.writeValueAsString(object); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return ""; + } + } + + /** + * json字符串转为对象 + * @param + * @param json + * @param clz + * @return + */ + public static T json2Bean(String json, Class clz) { + try { + return objectMapper.readValue(json, clz); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return null; + } + } + /** + * json字符串转为对象 + * @param + * @param json + * @param clz + * @return + */ + public static T json2Bean(String json, JavaType clz) { + try { + return objectMapper.readValue(json, clz); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return null; + } + } + + /** + * 转为对象集合 + * @param + * @param json + * @param clz + * @return + */ + public static List json2List(String json, Class clz) { + try { + JavaType javaType = getCollectionType(ArrayList.class, clz); + return objectMapper.readValue(json, javaType); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return new ArrayList<>(); + } + } + + /** + * 获取泛型的Collection Type + * + * @param collectionClass 泛型的Collection + * @param elementClasses 元素类 + * @return JavaType Java类型 + * @since 1.0 + */ + public static JavaType getCollectionType(Class collectionClass, Class... elementClasses) { + return objectMapper.getTypeFactory().constructParametricType(collectionClass, elementClasses); + } + + /** + * json字符转ArrayNode + * @param json + * @return + */ + public static ArrayNode parseArray(String json) { + try { + return (ArrayNode) objectMapper.readTree(json); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return null; + } + } + /** + * json字符转ObjectNode + * @param json + * @return + */ + public static ObjectNode parseObject(String json) { + try { + return (ObjectNode) objectMapper.readTree(json); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return null; + } + } + /** + * 创建ArrayNode + * @param json + * @return + */ + public static ArrayNode createArray() { + return objectMapper.createArrayNode(); + } + /** + * 创建ObjectNode + * @param json + * @return + */ + public static ObjectNode createObject() { + return objectMapper.createObjectNode(); + } + /** + * 集合实体对象转ArrayNode + * @param json + * @return + */ + public static ArrayNode toArray(Object obj) { + try { + return objectMapper.valueToTree(obj); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return createArray(); + } + } + /** + * 实体对象转ObjectNode + * @param json + * @return + */ + public static ObjectNode toObject(Object obj) { + try { + return objectMapper.valueToTree(obj); + } catch (Exception e) { + LOGGER.error("convert failed", e); + return createObject(); + } + } + /** 拷贝对象 + * 主要还是是用于Node拷贝 + * */ + public static void copyProperties(K source, V target) { + try { + objectMapper.updateValue(target,source); + } catch (Exception e) { + LOGGER.error("convert failed", e); + } + } + + public static Map convertBeanToMap(Object bean) { + Map map = new HashMap<>(); + Class clazz = bean.getClass(); + + for (Field field : clazz.getDeclaredFields()) { + field.setAccessible(true); + try { + Object value = field.get(bean); + if (value != null) { + map.put(field.getName(), value); + } + } catch (IllegalAccessException e) { + e.printStackTrace(); + } + } + + return map; + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/LogUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/LogUtils.java new file mode 100644 index 00000000..29f3868d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/LogUtils.java @@ -0,0 +1,20 @@ +package com.jiuyv.appgate.common.utils; + +/** + * 处理并记录日志文件 + * + * @author admin + */ +public final class LogUtils +{ + private LogUtils() {} + + public static String getBlock(Object msg) + { + if (msg == null) + { + msg = ""; + } + return "[" + msg.toString() + "]"; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/PageUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/PageUtils.java new file mode 100644 index 00000000..c6661354 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/PageUtils.java @@ -0,0 +1,40 @@ +package com.jiuyv.appgate.common.utils; + +import com.github.pagehelper.PageHelper; +import com.jiuyv.appgate.common.page.PageDomain; +import com.jiuyv.appgate.common.page.TableSupport; +import com.jiuyv.appgate.common.utils.sql.SqlUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + + +/** + * 分页工具类 + * + * @author admin + */ +public class PageUtils extends PageHelper { + + private static final Logger LOGGER = LoggerFactory.getLogger(PageUtils.class); + /** + * 设置请求分页数据 + */ + public static void startPage() + { + PageDomain pageDomain = TableSupport.buildPageRequest(); + Integer pageNum = pageDomain.getPageNum(); + Integer pageSize = pageDomain.getPageSize(); + LOGGER.info("页码:>>{},每页大小:>>{}",pageNum,pageSize); + String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy()); + Boolean reasonable = pageDomain.getReasonable(); + PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable); + } + + /** + * 清理分页的线程变量 + */ + public static void clearPage() + { + PageHelper.clearPage(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ServletUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ServletUtils.java new file mode 100644 index 00000000..1dfa7b5d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ServletUtils.java @@ -0,0 +1,176 @@ +package com.jiuyv.appgate.common.utils; + + +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.text.Convert; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.http.HttpStatus; +import org.springframework.web.context.request.RequestAttributes; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URLDecoder; +import java.net.URLEncoder; + +/** + * 客户端工具类 + * + * @author admin + */ +public final class ServletUtils { + private static final Logger LOGGER = LoggerFactory.getLogger(ServletUtils.class); + + private ServletUtils() { + } + + /** + * 获取String参数 + */ + public static String getParameter(String name) { + return getRequest().getParameter(name); + } + + /** + * 获取String参数 + */ + public static String getParameter(String name, String defaultValue) { + return Convert.toStr(getRequest().getParameter(name), defaultValue); + } + + /** + * 获取Integer参数 + */ + public static Integer getParameterToInt(String name) { + return Convert.toInt(getRequest().getParameter(name)); + } + + /** + * 获取Integer参数 + */ + public static Integer getParameterToInt(String name, Integer defaultValue) { + return Convert.toInt(getRequest().getParameter(name), defaultValue); + } + + /** + * 获取Boolean参数 + */ + public static Boolean getParameterToBool(String name) { + return Convert.toBool(getRequest().getParameter(name)); + } + + /** + * 获取Boolean参数 + */ + public static Boolean getParameterToBool(String name, Boolean defaultValue) { + return Convert.toBool(getRequest().getParameter(name), defaultValue); + } + + /** + * 获取request + */ + public static HttpServletRequest getRequest() { + return getRequestAttributes().getRequest(); + } + + /** + * 获取response + */ + public static HttpServletResponse getResponse() { + return getRequestAttributes().getResponse(); + } + + /** + * 获取session + */ + public static HttpSession getSession() { + return getRequest().getSession(); + } + + public static ServletRequestAttributes getRequestAttributes() { + RequestAttributes attributes = RequestContextHolder.getRequestAttributes(); + if (attributes == null) { + throw new ServiceException("获取Session失败"); + } + return (ServletRequestAttributes) attributes; + } + + /** + * 将字符串渲染到客户端 + * + * @param response 渲染对象 + * @param string 待渲染的字符串 + */ + public static void renderString(HttpServletResponse response, String string) { + try { + response.setStatus(HttpStatus.OK.value()); + response.setContentType("application/json"); + response.setCharacterEncoding("utf-8"); + response.getWriter().print(string); + } catch (IOException e) { + LOGGER.error("将字符串渲染到客户端错误", e); + e.printStackTrace(); + } + } + + /** + * 是否是Ajax异步请求 + * + * @param request + */ + public static boolean isAjaxRequest(HttpServletRequest request) { + String accept = request.getHeader("accept"); + if (accept != null && accept.contains("application/json")) { + return true; + } + + String xRequestedWith = request.getHeader("X-Requested-With"); + if (xRequestedWith != null && xRequestedWith.contains("XMLHttpRequest")) { + return true; + } + + String uri = request.getRequestURI(); + if (CarcheckStringUtils.inStringIgnoreCase(uri, ".json", ".xml")) { + return true; + } + + String ajax = request.getParameter("__ajax"); + return CarcheckStringUtils.inStringIgnoreCase(ajax, "json", "xml"); + } + + /** + * 内容编码 + * + * @param str 内容 + * @return 编码后的内容 + */ + public static String urlEncode(String str) { + try { + return URLEncoder.encode(str, Constants.UTF8); + } catch (UnsupportedEncodingException e) { + LOGGER.error("内容编码异常", e); + return CarcheckStringUtils.EMPTY; + } + } + + /** + * 内容解码 + * + * @param str 内容 + * @return 解码后的内容 + */ + public static String urlDecode(String str) { + try { + return URLDecoder.decode(str, Constants.UTF8); + } catch (UnsupportedEncodingException e) { + LOGGER.error("内容解码异常", e); + return CarcheckStringUtils.EMPTY; + } + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/SpringUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/SpringUtils.java new file mode 100644 index 00000000..5af18c7b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/SpringUtils.java @@ -0,0 +1,148 @@ +package com.jiuyv.appgate.common.utils; + +import org.springframework.aop.framework.AopContext; +import org.springframework.beans.BeansException; +import org.springframework.beans.factory.NoSuchBeanDefinitionException; +import org.springframework.beans.factory.config.BeanFactoryPostProcessor; +import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; +import org.springframework.context.ApplicationContext; +import org.springframework.context.ApplicationContextAware; +import org.springframework.stereotype.Component; + +/** + * spring工具类 方便在非spring管理环境中获取bean + * + * @author admin + */ +@Component +public final class SpringUtils implements BeanFactoryPostProcessor, ApplicationContextAware { + /** + * Spring应用上下文环境 + */ + private static ConfigurableListableBeanFactory beanFactory; + + private static ApplicationContext applicationContext; + + @Override + public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException { + postProcessBeanFactory2(beanFactory); + } + + public static void postProcessBeanFactory2(ConfigurableListableBeanFactory beanFactory) throws BeansException { + SpringUtils.beanFactory = beanFactory; + } + + @Override + public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { + setApplicationContext2(applicationContext); + } + + public static void setApplicationContext2(ApplicationContext applicationContext) throws BeansException { + SpringUtils.applicationContext = applicationContext; + } + + /** + * 获取对象 + * + * @param name + * @return Object 一个以所给名字注册的bean的实例 + * @throws BeansException + */ + @SuppressWarnings("unchecked") + public static T getBean(String name) throws BeansException { + return (T) beanFactory.getBean(name); + } + + /** + * 获取类型为requiredType的对象 + * + * @param clz + * @return + * @throws BeansException + */ + public static T getBean(Class clz) throws BeansException { + T result = (T) beanFactory.getBean(clz); + return result; + } + + /** + * 如果BeanFactory包含一个与所给名称匹配的bean定义,则返回true + * + * @param name + * @return boolean + */ + public static boolean containsBean(String name) { + return beanFactory.containsBean(name); + } + + /** + * 判断以给定名字注册的bean定义是一个singleton还是一个prototype。 如果与给定名字相应的bean定义没有被找到,将会抛出一个异常(NoSuchBeanDefinitionException) + * + * @param name + * @return boolean + * @throws NoSuchBeanDefinitionException + */ + public static boolean isSingleton(String name) throws NoSuchBeanDefinitionException { + return beanFactory.isSingleton(name); + } + + /** + * @param name + * @return Class 注册对象的类型 + * @throws NoSuchBeanDefinitionException + */ + public static Class getType(String name) throws NoSuchBeanDefinitionException { + return beanFactory.getType(name); + } + + /** + * 如果给定的bean名字在bean定义中有别名,则返回这些别名 + * + * @param name + * @return + * @throws NoSuchBeanDefinitionException + */ + public static String[] getAliases(String name) throws NoSuchBeanDefinitionException { + return beanFactory.getAliases(name); + } + + /** + * 获取aop代理对象 + * + * @param invoker + * @return + */ + @SuppressWarnings("unchecked") + public static T getAopProxy(T invoker) { + return (T) AopContext.currentProxy(); + } + + /** + * 获取当前的环境配置,无配置返回null + * + * @return 当前的环境配置 + */ + public static String[] getActiveProfiles() { + return applicationContext.getEnvironment().getActiveProfiles(); + } + + /** + * 获取当前的环境配置,当有多个环境配置时,只获取第一个 + * + * @return 当前的环境配置 + */ + public static String getActiveProfile() { + final String[] activeProfiles = getActiveProfiles(); + return CarcheckStringUtils.isNotEmpty(activeProfiles) ? activeProfiles[0] : null; + } + + /** + * 获取配置文件中的值 + * + * @param key 配置文件的key + * @return 当前的配置文件的值 + */ + public static String getRequiredProperty(String key) { + return applicationContext.getEnvironment().getRequiredProperty(key); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/AddressUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/AddressUtils.java new file mode 100644 index 00000000..ec6d5365 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/AddressUtils.java @@ -0,0 +1,54 @@ +package com.jiuyv.appgate.common.utils.ip; + + +import com.alibaba.fastjson2.JSON; +import com.alibaba.fastjson2.JSONObject; +import com.jiuyv.appgate.common.CarcheckConfig; +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import com.jiuyv.appgate.common.utils.HttpUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.IllegalFormatException; + +/** + * 获取地址类 + * + * @author admin + */ +public final class AddressUtils { + private static final Logger LOGGER = LoggerFactory.getLogger(AddressUtils.class); + + // IP地址查询 + public static final String IP_URL = "http://whois.pconline.com.cn/ipJson.jsp"; + + // 未知地址 + public static final String UNKNOWN = "XX XX"; + + private AddressUtils() { + } + + public static String getRealAddressByIP(String ip) { + // 内网不查询 + if (IpUtils.internalIp(ip)) { + return "内网IP"; + } + if (CarcheckConfig.isAddressEnabled()) { + try { + String rspStr = HttpUtil.sendGet(IP_URL, "ip=" + ip + "&json=true", Constants.GBK); + if (CarcheckStringUtils.isEmpty(rspStr)) { + LOGGER.error("获取地理位置异常 {}", ip); + return UNKNOWN; + } + JSONObject obj = JSON.parseObject(rspStr); + String region = obj.getString("pro"); + String city = obj.getString("city"); + return String.format("%s %s", region, city); + } catch (IllegalFormatException e) { + LOGGER.error("获取地理位置异常 {}", ip, e); + } + } + return UNKNOWN; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/IpUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/IpUtils.java new file mode 100644 index 00000000..587eca97 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/ip/IpUtils.java @@ -0,0 +1,228 @@ +package com.jiuyv.appgate.common.utils.ip; + +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import javax.servlet.http.HttpServletRequest; +import java.net.InetAddress; +import java.net.UnknownHostException; + +/** + * 获取IP方法 + * + * @author admin + */ +public final class IpUtils { + private static final Logger LOGGER = LoggerFactory.getLogger(IpUtils.class); + + private IpUtils() { + } + + /** + * 获取客户端IP + * + * @param request 请求对象 + * @return IP地址 + */ + public static String getIpAddr(HttpServletRequest request) { + if (request == null) { + return "unknown"; + } + String ip = request.getHeader("x-forwarded-for"); + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("X-Forwarded-For"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("X-Real-IP"); + } + + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + + return "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : getMultistageReverseProxyIp(ip); + } + + /** + * 检查是否为内部IP地址 + * + * @param ip IP地址 + * @return 结果 + */ + public static boolean internalIp(String ip) { + byte[] addr = textToNumericFormatV4(ip); + return internalIp(addr) || "127.0.0.1".equals(ip); + } + + /** + * 检查是否为内部IP地址 + * + * @param addr byte地址 + * @return 结果 + */ + private static boolean internalIp(byte[] addr) { + if (StringUtils.isBlank(new String(addr)) || addr.length < 2) { + return true; + } + final byte b0 = addr[0]; + final byte b1 = addr[1]; + // 10.x.x.x/8 + final byte SECTION_1 = 0x0A; + // 172.16.x.x/12 + final byte SECTION_2 = (byte) 0xAC; + final byte SECTION_3 = (byte) 0x10; + final byte SECTION_4 = (byte) 0x1F; + // 192.168.x.x/16 + final byte SECTION_5 = (byte) 0xC0; + final byte SECTION_6 = (byte) 0xA8; + switch (b0) { + case SECTION_1: + return true; + case SECTION_2: + return b1 >= SECTION_3 && b1 <= SECTION_4; + case SECTION_5: + return b1 == SECTION_6; + default: + return false; + } + } + + /** + * 将IPv4地址转换成字节 + * + * @param text IPv4地址 + * @return byte 字节 + */ + public static byte[] textToNumericFormatV4(String text) { + if (text.length() == 0) { + return new byte[0]; + } + + byte[] bytes = new byte[4]; + String[] elements = text.split("\\.", -1); + try { + long l; + int i; + switch (elements.length) { + case 1: + l = Long.parseLong(elements[0]); + if ((l < 0L) || (l > 4294967295L)) { + return new byte[0]; + } + bytes[0] = (byte) (int) ((l >> 24) & 0xFF); + bytes[1] = (byte) (int) (((l & 0xFFFFFF) >> 16) & 0xFF); + bytes[2] = (byte) (int) (((l & 0xFFFF) >> 8) & 0xFF); + bytes[3] = (byte) (int) (l & 0xFF); + break; + case 2: + l = Integer.parseInt(elements[0]); + if ((l < 0L) || (l > 255L)) { + return new byte[0]; + } + bytes[0] = (byte) (int) (l & 0xFF); + l = Integer.parseInt(elements[1]); + if ((l < 0L) || (l > 16777215L)) { + return new byte[0]; + } + bytes[1] = (byte) (int) ((l >> 16) & 0xFF); + bytes[2] = (byte) (int) (((l & 0xFFFF) >> 8) & 0xFF); + bytes[3] = (byte) (int) (l & 0xFF); + break; + case 3: + for (i = 0; i < 2; ++i) { + l = Integer.parseInt(elements[i]); + if ((l < 0L) || (l > 255L)) { + return new byte[0]; + } + bytes[i] = (byte) (int) (l & 0xFF); + } + l = Integer.parseInt(elements[2]); + if ((l < 0L) || (l > 65535L)) { + return new byte[0]; + } + bytes[2] = (byte) (int) ((l >> 8) & 0xFF); + bytes[3] = (byte) (int) (l & 0xFF); + break; + case 4: + for (i = 0; i < 4; ++i) { + l = Integer.parseInt(elements[i]); + if ((l < 0L) || (l > 255L)) { + return new byte[0]; + } + bytes[i] = (byte) (int) (l & 0xFF); + } + break; + default: + return new byte[0]; + } + } catch (NumberFormatException e) { + return new byte[0]; + } + return bytes; + } + + /** + * 获取IP地址 + * + * @return 本地IP地址 + */ + public static String getHostIp() { + try { + return InetAddress.getLocalHost().getHostAddress(); + } catch (UnknownHostException e) { + LOGGER.error(e.getMessage(), e); + } + return "127.0.0.1"; + } + + /** + * 获取主机名 + * + * @return 本地主机名 + */ + public static String getHostName() { + try { + return InetAddress.getLocalHost().getHostName(); + } catch (UnknownHostException e) { + LOGGER.error(e.getMessage(), e); + } + return "未知"; + } + + /** + * 从多级反向代理中获得第一个非unknown IP地址 + * + * @param ip 获得的IP地址 + * @return 第一个非unknown IP地址 + */ + public static String getMultistageReverseProxyIp(String ip) { + // 多级反向代理检测 + if (ip != null && ip.contains(",")) { + final String[] ips = ip.trim().split(","); + for (String subIp : ips) { + if (!isUnknown(subIp)) { + ip = subIp; + break; + } + } + } + return ip; + } + + /** + * 检测给定字符串是否为未知,多用于检测HTTP请求相关 + * + * @param checkString 被检测的字符串 + * @return 是否未知 + */ + public static boolean isUnknown(String checkString) { + return StringUtils.isBlank(checkString) || "unknown".equalsIgnoreCase(checkString); + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/sql/SqlUtil.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/sql/SqlUtil.java new file mode 100644 index 00000000..31cac863 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/utils/sql/SqlUtil.java @@ -0,0 +1,68 @@ +package com.jiuyv.appgate.common.utils.sql; + + + +import com.jiuyv.appgate.common.exception.UtilException; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; + +import java.util.regex.Pattern; + +/** + * sql操作工具类 + * + * @author admin + */ +public final class SqlUtil +{ + /** + * 定义常用的 sql关键字 + */ + public static final String SQL_REGEX = "select |insert |delete |update |drop |count |exec |chr |mid |master |truncate |char |and |declare "; + + /** + * 仅支持字母、数字、下划线、空格、逗号、小数点(支持多个字段排序) + */ + public static final Pattern SQL_PATTERN = Pattern.compile("[a-zA-Z0-9_\\ \\,\\.]+"); + + private SqlUtil() { + } + + /** + * 检查字符,防止注入绕过 + */ + public static String escapeOrderBySql(String value) + { + if (CarcheckStringUtils.isNotEmpty(value) && !isValidOrderBySql(value)) + { + throw new UtilException("参数不符合规范,不能进行查询"); + } + return value; + } + + /** + * 验证 order by 语法是否符合规范 + */ + public static boolean isValidOrderBySql(String value) + { + return SQL_PATTERN.matcher(value).matches(); + } + + /** + * SQL关键字检查 + */ + public static void filterKeyword(String value) + { + if (CarcheckStringUtils.isEmpty(value)) + { + return; + } + String[] sqlKeywords = CarcheckStringUtils.split(SQL_REGEX, "\\|"); + for (String sqlKeyword : sqlKeywords) + { + if (CarcheckStringUtils.indexOfIgnoreCase(value, sqlKeyword) > -1) + { + throw new UtilException("参数存在SQL注入风险"); + } + } + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/IdUtils.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/IdUtils.java new file mode 100644 index 00000000..19d67d73 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/IdUtils.java @@ -0,0 +1,52 @@ +package com.jiuyv.appgate.common.uuid; + +/** + * ID生成器工具类 + * + * @author admin + */ +public final class IdUtils +{ + private IdUtils() { + } + + /** + * 获取随机UUID + * + * @return 随机UUID + */ + public static String randomUUID() + { + return UUID.randomUUID().toString(); + } + + /** + * 简化的UUID,去掉了横线 + * + * @return 简化的UUID,去掉了横线 + */ + public static String simpleUUID() + { + return UUID.randomUUID().toString(true); + } + + /** + * 获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID + * + * @return 随机UUID + */ + public static String fastUUID() + { + return UUID.fastUUID().toString(); + } + + /** + * 简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID + * + * @return 简化的UUID,去掉了横线 + */ + public static String fastSimpleUUID() + { + return UUID.fastUUID().toString(true); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/Seq.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/Seq.java new file mode 100644 index 00000000..a0bb5591 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/Seq.java @@ -0,0 +1,91 @@ +package com.jiuyv.appgate.common.uuid; + + + +import com.jiuyv.appgate.common.utils.CarcheckDateUtils; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; + +import java.util.concurrent.atomic.AtomicInteger; + +/** + * @author admin 序列生成类 + */ +public final class Seq { + // 通用序列类型 + public static final String COMM_SEQ_TYPE = "COMMON"; + + // 上传序列类型 + public static final String UPLOAD_SEQ_TYPE = "UPLOAD"; + + // 通用接口序列数 + private static final AtomicInteger COMM_SEQ = new AtomicInteger(1); + + // 上传接口序列数 + private static final AtomicInteger UPLOAD_SEQ = new AtomicInteger(1); + + // 机器标识 + private static final String MACHINE_CODE = "A"; + + private Seq() { + } + + /** + * 获取通用序列号 + * + * @return 序列值 + */ + public static String getId() + { + return getId(COMM_SEQ_TYPE); + } + + /** + * 默认16位序列号 yyMMddHHmmss + 一位机器标识 + 3长度循环递增字符串 + * + * @return 序列值 + */ + public static String getId(String type) + { + AtomicInteger atomicInt = COMM_SEQ; + if (UPLOAD_SEQ_TYPE.equals(type)) + { + atomicInt = UPLOAD_SEQ; + } + return getId(atomicInt, 3); + } + + /** + * 通用接口序列号 yyMMddHHmmss + 一位机器标识 + length长度循环递增字符串 + * + * @param atomicInt 序列数 + * @param length 数值长度 + * @return 序列值 + */ + public static String getId(AtomicInteger atomicInt, int length) + { + String result = CarcheckDateUtils.dateTimeNow(); + result += MACHINE_CODE; + result += getSeq(atomicInt, length); + return result; + } + + /** + * 序列循环递增字符串[1, 10 的 (length)幂次方), 用0左补齐length位数 + * + * @return 序列值 + */ + private static synchronized String getSeq(AtomicInteger atomicInt, int length) + { + // 先取值再+1 + int value = atomicInt.getAndIncrement(); + + // 如果更新后值>=10 的 (length)幂次方则重置为1 + int maxSeq = (int) Math.pow(10, length); + if (atomicInt.get() >= maxSeq) + { + atomicInt.set(1); + } + // 转字符串,用0左补齐 + return CarcheckStringUtils.padl(value, length); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/UUID.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/UUID.java new file mode 100644 index 00000000..f22f783a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/common/uuid/UUID.java @@ -0,0 +1,498 @@ +package com.jiuyv.appgate.common.uuid; + + +import com.jiuyv.appgate.common.exception.UtilException; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.util.Random; +import java.util.concurrent.ThreadLocalRandom; + +/** + * 提供通用唯一识别码(universally unique identifier)(UUID)实现 + * + * @author admin + */ +public final class UUID implements java.io.Serializable, Comparable +{ + private static final long serialVersionUID = -1185015143654744140L; + private static final Logger LOGGER = LoggerFactory.getLogger(UUID.class); + + /** + * SecureRandom 的单例 + * + */ + private static class Holder + { + static final SecureRandom numberGenerator = getSecureRandom(); + } + + /** 此UUID的最高64有效位 */ + private final long mostSigBits; + + /** 此UUID的最低64有效位 */ + private final long leastSigBits; + + /** + * 私有构造 + * + * @param data 数据 + */ + private UUID(byte[] data) + { + long msb = 0; + long lsb = 0; + assert data.length == 16 : "data must be 16 bytes in length"; + for (int i = 0; i < 8; i++) + { + msb = (msb << 8) | (data[i] & 0xff); + } + for (int i = 8; i < 16; i++) + { + lsb = (lsb << 8) | (data[i] & 0xff); + } + this.mostSigBits = msb; + this.leastSigBits = lsb; + } + + /** + * 使用指定的数据构造新的 UUID。 + * + * @param mostSigBits 用于 {@code UUID} 的最高有效 64 位 + * @param leastSigBits 用于 {@code UUID} 的最低有效 64 位 + */ + public UUID(long mostSigBits, long leastSigBits) + { + this.mostSigBits = mostSigBits; + this.leastSigBits = leastSigBits; + } + + /** + * 获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的本地线程伪随机数生成器生成该 UUID。 + * + * @return 随机生成的 {@code UUID} + */ + public static UUID fastUUID() + { + return randomUUID(false); + } + + /** + * 获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。 + * + * @return 随机生成的 {@code UUID} + */ + public static UUID randomUUID() + { + return randomUUID(true); + } + + /** + * 获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。 + * + * @param isSecure 是否使用{@link SecureRandom}如果是可以获得更安全的随机码,否则可以得到更好的性能 + * @return 随机生成的 {@code UUID} + */ + public static UUID randomUUID(boolean isSecure) + { + final Random ng = isSecure ? Holder.numberGenerator : getRandom(); + + byte[] randomBytes = new byte[16]; + ng.nextBytes(randomBytes); + randomBytes[6] &= 0x0f; /* clear version */ + randomBytes[6] |= 0x40; /* set to version 4 */ + randomBytes[8] &= 0x3f; /* clear variant */ + randomBytes[8] |= 0x80; /* set to IETF variant */ + return new UUID(randomBytes); + } + + /** + * 根据指定的字节数组获取类型 3(基于名称的)UUID 的静态工厂。 + * + * @param name 用于构造 UUID 的字节数组。 + * + * @return 根据指定数组生成的 {@code UUID} + */ + public static UUID nameUUIDFromBytes(byte[] name) + { + MessageDigest md; + try + { + md = MessageDigest.getInstance("MD5"); + } + catch (NoSuchAlgorithmException nsae) + { + LOGGER.error(nsae.getMessage(), nsae); + throw new InternalError("MD5 not supported"); + } + byte[] md5Bytes = md.digest(name); + md5Bytes[6] &= 0x0f; /* clear version */ + md5Bytes[6] |= 0x30; /* set to version 3 */ + md5Bytes[8] &= 0x3f; /* clear variant */ + md5Bytes[8] |= 0x80; /* set to IETF variant */ + return new UUID(md5Bytes); + } + + /** + * 根据 {@link #toString()} 方法中描述的字符串标准表示形式创建{@code UUID}。 + * + * @param name 指定 {@code UUID} 字符串 + * @return 具有指定值的 {@code UUID} + * @throws IllegalArgumentException 如果 name 与 {@link #toString} 中描述的字符串表示形式不符抛出此异常 + * + */ + public static UUID fromString(String name) + { + String[] components = name.split("-"); + if (components.length != 5) + { + throw new IllegalArgumentException("Invalid UUID string: " + name); + } + for (int i = 0; i < 5; i++) + { + components[i] = "0x" + components[i]; + } + + long mostSigBits = Long.decode(components[0]).longValue(); + mostSigBits <<= 16; + mostSigBits |= Long.decode(components[1]).longValue(); + mostSigBits <<= 16; + mostSigBits |= Long.decode(components[2]).longValue(); + + long leastSigBits = Long.decode(components[3]).longValue(); + leastSigBits <<= 48; + leastSigBits |= Long.decode(components[4]).longValue(); + + return new UUID(mostSigBits, leastSigBits); + } + + /** + * 返回此 UUID 的 128 位值中的最低有效 64 位。 + * + * @return 此 UUID 的 128 位值中的最低有效 64 位。 + */ + public long getLeastSignificantBits() + { + return leastSigBits; + } + + /** + * 返回此 UUID 的 128 位值中的最高有效 64 位。 + * + * @return 此 UUID 的 128 位值中最高有效 64 位。 + */ + public long getMostSignificantBits() + { + return mostSigBits; + } + + /** + * 与此 {@code UUID} 相关联的版本号. 版本号描述此 {@code UUID} 是如何生成的。 + *

    + * 版本号具有以下含意: + *

      + *
    • 1 基于时间的 UUID + *
    • 2 DCE 安全 UUID + *
    • 3 基于名称的 UUID + *
    • 4 随机生成的 UUID + *
    + * + * @return 此 {@code UUID} 的版本号 + */ + public int version() + { + // Version is bits masked by 0x000000000000F000 in MS long + return (int) ((mostSigBits >> 12) & 0x0f); + } + + /** + * 与此 {@code UUID} 相关联的变体号。变体号描述 {@code UUID} 的布局。 + *

    + * 变体号具有以下含意: + *

      + *
    • 0 为 NCS 向后兼容保留 + *
    • 2 IETF RFC 4122(Leach-Salz), 用于此类 + *
    • 6 保留,微软向后兼容 + *
    • 7 保留供以后定义使用 + *
    + * + * @return 此 {@code UUID} 相关联的变体号 + */ + public int variant() + { + // This field is composed of a varying number of bits. + // 0 - - Reserved for NCS backward compatibility + // 1 0 - The IETF aka Leach-Salz variant (used by this class) + // 1 1 0 Reserved, Microsoft backward compatibility + // 1 1 1 Reserved for future definition. + return (int) ((leastSigBits >>> (64 - (leastSigBits >>> 62))) & (leastSigBits >> 63)); + } + + /** + * 与此 UUID 相关联的时间戳值。 + * + *

    + * 60 位的时间戳值根据此 {@code UUID} 的 time_low、time_mid 和 time_hi 字段构造。
    + * 所得到的时间戳以 100 毫微秒为单位,从 UTC(通用协调时间) 1582 年 10 月 15 日零时开始。 + * + *

    + * 时间戳值仅在在基于时间的 UUID(其 version 类型为 1)中才有意义。
    + * 如果此 {@code UUID} 不是基于时间的 UUID,则此方法抛出 UnsupportedOperationException。 + * + * @throws UnsupportedOperationException 如果此 {@code UUID} 不是 version 为 1 的 UUID。 + */ + public long timestamp() throws UnsupportedOperationException + { + checkTimeBase(); + return ((mostSigBits & 0x0FFFL) << 48) + | (((mostSigBits >> 16) & 0x0FFFFL) << 32) + | (mostSigBits >>> 32); + } + + /** + * 与此 UUID 相关联的时钟序列值。 + * + *

    + * 14 位的时钟序列值根据此 UUID 的 clock_seq 字段构造。clock_seq 字段用于保证在基于时间的 UUID 中的时间唯一性。 + *

    + * {@code clockSequence} 值仅在基于时间的 UUID(其 version 类型为 1)中才有意义。 如果此 UUID 不是基于时间的 UUID,则此方法抛出 + * UnsupportedOperationException。 + * + * @return 此 {@code UUID} 的时钟序列 + * + * @throws UnsupportedOperationException 如果此 UUID 的 version 不为 1 + */ + public int clockSequence() throws UnsupportedOperationException + { + checkTimeBase(); + return (int) ((leastSigBits & 0x3FFF000000000000L) >>> 48); + } + + /** + * 与此 UUID 相关的节点值。 + * + *

    + * 48 位的节点值根据此 UUID 的 node 字段构造。此字段旨在用于保存机器的 IEEE 802 地址,该地址用于生成此 UUID 以保证空间唯一性。 + *

    + * 节点值仅在基于时间的 UUID(其 version 类型为 1)中才有意义。
    + * 如果此 UUID 不是基于时间的 UUID,则此方法抛出 UnsupportedOperationException。 + * + * @return 此 {@code UUID} 的节点值 + * + * @throws UnsupportedOperationException 如果此 UUID 的 version 不为 1 + */ + public long node() throws UnsupportedOperationException + { + checkTimeBase(); + return leastSigBits & 0x0000FFFFFFFFFFFFL; + } + + /** + * 返回此{@code UUID} 的字符串表现形式。 + * + *

    + * UUID 的字符串表示形式由此 BNF 描述: + * + *

    +     * {@code
    +     * UUID                   = ----
    +     * time_low               = 4*
    +     * time_mid               = 2*
    +     * time_high_and_version  = 2*
    +     * variant_and_sequence   = 2*
    +     * node                   = 6*
    +     * hexOctet               = 
    +     * hexDigit               = [0-9a-fA-F]
    +     * }
    +     * 
    + * + * + * + * @return 此{@code UUID} 的字符串表现形式 + * @see #toString(boolean) + */ + @Override + public String toString() + { + return toString(false); + } + + /** + * 返回此{@code UUID} 的字符串表现形式。 + * + *

    + * UUID 的字符串表示形式由此 BNF 描述: + * + *

    +     * {@code
    +     * UUID                   = ----
    +     * time_low               = 4*
    +     * time_mid               = 2*
    +     * time_high_and_version  = 2*
    +     * variant_and_sequence   = 2*
    +     * node                   = 6*
    +     * hexOctet               = 
    +     * hexDigit               = [0-9a-fA-F]
    +     * }
    +     * 
    + * + * + * + * @param isSimple 是否简单模式,简单模式为不带'-'的UUID字符串 + * @return 此{@code UUID} 的字符串表现形式 + */ + public String toString(boolean isSimple) + { + final StringBuilder builder = new StringBuilder(isSimple ? 32 : 36); + // time_low + builder.append(digits(mostSigBits >> 32, 8)); + if (!isSimple) + { + builder.append('-'); + } + // time_mid + builder.append(digits(mostSigBits >> 16, 4)); + if (!isSimple) + { + builder.append('-'); + } + // time_high_and_version + builder.append(digits(mostSigBits, 4)); + if (!isSimple) + { + builder.append('-'); + } + // variant_and_sequence + builder.append(digits(leastSigBits >> 48, 4)); + if (!isSimple) + { + builder.append('-'); + } + // node + builder.append(digits(leastSigBits, 12)); + + return builder.toString(); + } + + /** + * 返回此 UUID 的哈希码。 + * + * @return UUID 的哈希码值。 + */ + @Override + public int hashCode() + { + long hilo = mostSigBits ^ leastSigBits; + return ((int) (hilo >> 32)) ^ (int) hilo; + } + + /** + * 将此对象与指定对象比较。 + *

    + * 当且仅当参数不为 {@code null}、而是一个 UUID 对象、具有与此 UUID 相同的 varriant、包含相同的值(每一位均相同)时,结果才为 {@code true}。 + * + * @param obj 要与之比较的对象 + * + * @return 如果对象相同,则返回 {@code true};否则返回 {@code false} + */ + @Override + public boolean equals(Object obj) + { + if ((null == obj) || (obj.getClass() != UUID.class)) + { + return false; + } + UUID id = (UUID) obj; + return (mostSigBits == id.mostSigBits && leastSigBits == id.leastSigBits); + } + + // Comparison Operations + + /** + * 将此 UUID 与指定的 UUID 比较。 + * + *

    + * 如果两个 UUID 不同,且第一个 UUID 的最高有效字段大于第二个 UUID 的对应字段,则第一个 UUID 大于第二个 UUID。 + * + * @param val 与此 UUID 比较的 UUID + * + * @return 在此 UUID 小于、等于或大于 val 时,分别返回 -1、0 或 1。 + * + */ + @Override + public int compareTo(UUID val) + { + // The ordering is intentionally set up so that the UUIDs + // can simply be numerically compared as two numbers + if (this.mostSigBits < val.mostSigBits) { + return -1; + } + if (this.mostSigBits > val.mostSigBits) { + return 1; + } + if (this.leastSigBits < val.leastSigBits) { + return -1; + } + if (this.leastSigBits > val.leastSigBits) { + return 1; + } + return 0; + } + + // ------------------------------------------------------------------------------------------------------------------- + // Private method start + /** + * 返回指定数字对应的hex值 + * + * @param val 值 + * @param digits 位 + * @return 值 + */ + private static String digits(long val, int digits) + { + long hi = 1L << (digits * 4); + return Long.toHexString(hi | (val & (hi - 1))).substring(1); + } + + /** + * 检查是否为time-based版本UUID + */ + private void checkTimeBase() + { + if (version() != 1) + { + throw new UnsupportedOperationException("Not a time-based UUID"); + } + } + + /** + * 获取{@link SecureRandom},类提供加密的强随机数生成器 (RNG) + * + * @return {@link SecureRandom} + */ + public static SecureRandom getSecureRandom() + { + try + { + return SecureRandom.getInstance("SHA1PRNG"); + } + catch (NoSuchAlgorithmException e) + { + throw new UtilException(e); + } + } + + /** + * 获取随机数生成器对象
    + * ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。 + * + * @return {@link ThreadLocalRandom} + */ + public static ThreadLocalRandom getRandom() + { + return ThreadLocalRandom.current(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/MyBatisConfig.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/MyBatisConfig.java new file mode 100644 index 00000000..b8f0c71a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/MyBatisConfig.java @@ -0,0 +1,110 @@ +package com.jiuyv.appgate.config; + + +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import org.apache.ibatis.io.VFS; +import org.apache.ibatis.session.SqlSessionFactory; +import org.mybatis.spring.SqlSessionFactoryBean; +import org.mybatis.spring.boot.autoconfigure.SpringBootVFS; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.env.Environment; +import org.springframework.core.io.DefaultResourceLoader; +import org.springframework.core.io.Resource; +import org.springframework.core.io.support.PathMatchingResourcePatternResolver; +import org.springframework.core.io.support.ResourcePatternResolver; +import org.springframework.core.type.classreading.CachingMetadataReaderFactory; +import org.springframework.core.type.classreading.MetadataReader; +import org.springframework.core.type.classreading.MetadataReaderFactory; +import org.springframework.util.ClassUtils; + +import javax.sql.DataSource; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashSet; +import java.util.List; + +/** + * Mybatis支持*匹配扫描包 + * + * @author admin + */ +@Configuration +public class MyBatisConfig { + private static final Logger LOGGER = LoggerFactory.getLogger(MyBatisConfig.class); + + static final String DEFAULT_RESOURCE_PATTERN = "**/*.class"; + + public static String setTypeAliasesPackage(String typeAliasesPackage) { + ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(); + MetadataReaderFactory metadataReaderFactory = new CachingMetadataReaderFactory(resolver); + List allResult = new ArrayList(); + try { + for (String aliasesPackage : typeAliasesPackage.split(",")) { + List result = new ArrayList(); + aliasesPackage = ResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX + + ClassUtils.convertClassNameToResourcePath(aliasesPackage.trim()) + "/" + DEFAULT_RESOURCE_PATTERN; + Resource[] resources = resolver.getResources(aliasesPackage); + if (resources != null && resources.length > 0) { + MetadataReader metadataReader = null; + for (Resource resource : resources) { + if (resource.isReadable()) { + metadataReader = metadataReaderFactory.getMetadataReader(resource); + result.add(Class.forName(metadataReader.getClassMetadata().getClassName()).getPackage().getName()); + + } + } + } + if (!result.isEmpty()) { + HashSet hashResult = new HashSet(result); + allResult.addAll(hashResult); + } + } + if (!allResult.isEmpty()) { + typeAliasesPackage = String.join(",", allResult.toArray(new String[0])); + } else { + throw new RuntimeException("mybatis typeAliasesPackage 路径扫描错误,参数typeAliasesPackage:" + typeAliasesPackage + "未找到任何包"); + } + } catch (IOException | ClassNotFoundException e) { + LOGGER.error(e.getMessage(), e); + } + return typeAliasesPackage; + } + + public Resource[] resolveMapperLocations(String[] mapperLocations) { + ResourcePatternResolver resourceResolver = new PathMatchingResourcePatternResolver(); + List resources = new ArrayList(); + if (mapperLocations != null) { + for (String mapperLocation : mapperLocations) { + try { + Resource[] mappers = resourceResolver.getResources(mapperLocation); + resources.addAll(Arrays.asList(mappers)); + } catch (IOException e) { + LOGGER.error(e.getMessage(), e); + // ignore + } + } + } + return resources.toArray(new Resource[resources.size()]); + } + + @Bean + public SqlSessionFactory sqlSessionFactory(DataSource dataSource, Environment env) throws Exception { + String typeAliasesPackage = env.getProperty("mybatis.typeAliasesPackage"); + String mapperLocations = env.getProperty("mybatis.mapperLocations"); + String configLocation = env.getProperty("mybatis.configLocation"); + typeAliasesPackage = setTypeAliasesPackage(typeAliasesPackage); + VFS.addImplClass(SpringBootVFS.class); + + final SqlSessionFactoryBean sessionFactory = new SqlSessionFactoryBean(); + sessionFactory.setDataSource(dataSource); + sessionFactory.setTypeAliasesPackage(typeAliasesPackage); + sessionFactory.setMapperLocations(resolveMapperLocations(CarcheckStringUtils.split(mapperLocations, ","))); + assert configLocation != null; + sessionFactory.setConfigLocation(new DefaultResourceLoader().getResource(configLocation)); + return sessionFactory.getObject(); + } +} \ No newline at end of file diff --git a/carcheck-appgate/src/main/java/com/jiuyv/appgate/config/RedisConfig.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/RedisConfig.java similarity index 100% rename from carcheck-appgate/src/main/java/com/jiuyv/appgate/config/RedisConfig.java rename to carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/RedisConfig.java diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/ThreadPoolConfig.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/ThreadPoolConfig.java new file mode 100644 index 00000000..aff392b7 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/ThreadPoolConfig.java @@ -0,0 +1,60 @@ +package com.jiuyv.appgate.config; + + +import com.jiuyv.appgate.thread.Threads; +import org.apache.commons.lang3.concurrent.BasicThreadFactory; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; + +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledThreadPoolExecutor; +import java.util.concurrent.ThreadPoolExecutor; + +/** + * 线程池配置 + * + * @author admin + **/ +@Configuration +public class ThreadPoolConfig { + // 核心线程池大小 + private int corePoolSize = 50; + + // 最大可创建的线程数 + private int maxPoolSize = 200; + + // 队列最大长度 + private int queueCapacity = 1000; + + // 线程池维护线程所允许的空闲时间 + private int keepAliveSeconds = 300; + + @Bean(name = "threadPoolTaskExecutor") + public ThreadPoolTaskExecutor threadPoolTaskExecutor() { + ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor(); + executor.setMaxPoolSize(maxPoolSize); + executor.setCorePoolSize(corePoolSize); + executor.setQueueCapacity(queueCapacity); + executor.setKeepAliveSeconds(keepAliveSeconds); + // 线程池对拒绝任务(无线程可用)的处理策略 + executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy()); + return executor; + } + + /** + * 执行周期性或定时任务 + */ + @Bean(name = "scheduledExecutorService") + protected ScheduledExecutorService scheduledExecutorService() { + return new ScheduledThreadPoolExecutor(corePoolSize, + new BasicThreadFactory.Builder().namingPattern("schedule-pool-%d").daemon(true).build(), + new ThreadPoolExecutor.CallerRunsPolicy()) { + @Override + protected void afterExecute(Runnable r, Throwable t) { + super.afterExecute(r, t); + Threads.printException(r, t); + } + }; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/WebMvcConfig.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/WebMvcConfig.java new file mode 100644 index 00000000..b6a34c08 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/config/WebMvcConfig.java @@ -0,0 +1,85 @@ +package com.jiuyv.appgate.config; + + +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.web.client.RestTemplateBuilder; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.client.RestTemplate; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +import java.util.List; + + +/** + *

    + * Title: WebMvcConfig + *

    + *

    + * Description: + *

    + * + * @author he_jiebing@jiuyv.com + * @date 2021年7月6日 下午5:32:38 + */ +@Configuration +public class WebMvcConfig implements WebMvcConfigurer { + + @Value("${carcheck.app.ignoreTokenVerifyUrlList}") + private List ignoreVerifyUrlList; + + @Override + public void addResourceHandlers(ResourceHandlerRegistry registry) { + registry.addResourceHandler("/**").addResourceLocations("classpath:/META-INF/resources/") + .addResourceLocations("file:/workspaces/images/"); + } + + @Bean + public LoginInterceptor loginInterceptor() { + return new LoginInterceptor(); + } + + // @Bean + // public SqlInjectionInterceptor sqlInjectionInterceptor() { + // return new SqlInjectionInterceptor(); + // } + + @Bean + public RestTemplate restTemplate(RestTemplateBuilder builder) { + return builder.build(); + } + + @Override + public void addInterceptors(InterceptorRegistry registry) { + registry.addInterceptor(loginInterceptor()).addPathPatterns("/app/**").excludePathPatterns(ignoreVerifyUrlList).order(2); + //registry.addInterceptor(sqlInjectionInterceptor()).addPathPatterns("/app/**").excludePathPatterns(ignoreVerifyUrlList).order(1); + } + + /** + * 跨域配置 + */ + // @Bean + // public CorsFilter corsFilter() + // { + // CorsConfiguration config = new CorsConfiguration(); + // config.setAllowCredentials(true); + // // 设置访问源地址 + // //config.addAllowedOriginPattern("*"); + // config.addAllowedOrigin("*"); + // // 设置访问源请求头 + // config.addAllowedHeader("*"); + // // 设置访问源请求方法 + // config.addAllowedMethod("*"); + // // 有效期 1800秒 + // config.setMaxAge(1800L*2*24); + // // 添加映射路径,拦截一切请求 + // UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); + // source.registerCorsConfiguration("/**", config); + // // 返回新的CorsFilter + // return new CorsFilter(source); + // } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/BaseEntity.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/BaseEntity.java new file mode 100644 index 00000000..bdbe2ca1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/BaseEntity.java @@ -0,0 +1,194 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + + +import java.io.Serializable; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +/** + * Entity基类 + * + * @author admin + */ +public abstract class BaseEntity implements Serializable +{ + + /** + * id + */ + private Long id; + + /** 搜索值 */ + private String searchValue; + + /** 创建者 */ + private String createBy; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createTime; + + /** 更新者 */ + private String updateBy; + + /** 更新时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date updateTime; + + /** 备注 */ + private String remark; + + /** 请求参数 */ + private Map params; + + /** 创建者 */ + private String createId; + + /** 修改者 */ + private String updateId; + + /** 版本号 */ + private Long version; + + /** 保留域1 */ + private String rsv1; + + /** 保留域2 */ + private String rsv2; + + /** 保留域3 */ + private String rsv3; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getSearchValue() + { + return searchValue == null ? "" : searchValue; + } + + public void setSearchValue(String searchValue) + { + this.searchValue = searchValue; + } + + public String getCreateBy() + { + return createBy == null ? "" : createBy; + } + + public void setCreateBy(String createBy) + { + this.createBy = createBy; + } + + public Date getCreateTime() + { + return createTime; + } + + public void setCreateTime(Date createTime) + { + this.createTime = createTime; + } + + public String getUpdateBy() + { + return updateBy == null ? "" : updateBy; + } + + public void setUpdateBy(String updateBy) + { + this.updateBy = updateBy; + } + + public Date getUpdateTime() + { + return updateTime; + } + + public void setUpdateTime(Date updateTime) + { + this.updateTime = updateTime; + } + + public String getRemark() + { + return remark == null ? "" : remark; + } + + public void setRemark(String remark) + { + this.remark = remark; + } + + public Map getParams() + { + if (params == null) + { + params = new HashMap<>(); + } + return params; + } + + public void setParams(Map params) + { + this.params = params; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getUpdateId() { + return updateId; + } + + public void setUpdateId(String updateId) { + this.updateId = updateId; + } + + public Long getVersion() { + return version; + } + + public void setVersion(Long version) { + this.version = version; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysDept.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysDept.java new file mode 100644 index 00000000..083c8192 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysDept.java @@ -0,0 +1,191 @@ +package com.jiuyv.appgate.domain; + + + +import com.fasterxml.jackson.annotation.JsonFormat; + +import javax.validation.constraints.Email; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * 部门表 sys_dept + * + * @author admin + */ +public class SysDept extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 部门ID */ + private Long deptId; + + /** 父部门ID */ + private Long parentId; + + /** 祖级列表 */ + private String ancestors; + + /** 部门名称 */ + private String deptName; + + /** 显示顺序 */ + private Integer orderNum; + + /** 负责人 */ + private String leader; + + /** 联系电话 */ + private String phone; + + /** 邮箱 */ + private String email; + + /** 部门状态:0正常,1停用 */ + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + /** 父部门名称 */ + private String parentName; + + /** 子部门 */ + private List children = new ArrayList(); + + + + + + public Long getDeptId() + { + return deptId; + } + + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getParentId() + { + return parentId; + } + + public void setParentId(Long parentId) + { + this.parentId = parentId; + } + + public String getAncestors() + { + return ancestors; + } + + public void setAncestors(String ancestors) + { + this.ancestors = ancestors; + } + + @NotBlank(message = "部门名称不能为空") + @Size(min = 0, max = 30, message = "部门名称长度不能超过30个字符") + public String getDeptName() + { + return deptName; + } + + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + @NotNull(message = "显示顺序不能为空") + public Integer getOrderNum() + { + return orderNum; + } + + public void setOrderNum(Integer orderNum) + { + this.orderNum = orderNum; + } + + public String getLeader() + { + return leader; + } + + public void setLeader(String leader) + { + this.leader = leader; + } + + @Size(min = 0, max = 11, message = "联系电话长度不能超过11个字符") + public String getPhone() + { + return phone; + } + + public void setPhone(String phone) + { + this.phone = phone; + } + + @Email(message = "邮箱格式不正确") + @Size(min = 0, max = 50, message = "邮箱长度不能超过50个字符") + public String getEmail() + { + return email; + } + + public void setEmail(String email) + { + this.email = email; + } + + public String getStatus() + { + return status; + } + + public void setStatus(String status) + { + this.status = status; + } + + public String getDelFlag() + { + return delFlag; + } + + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getParentName() + { + return parentName; + } + + public void setParentName(String parentName) + { + this.parentName = parentName; + } + + public List getChildren() + { + return children; + } + + public void setChildren(List children) + { + this.children = children; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysLogininfor.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysLogininfor.java new file mode 100644 index 00000000..2ffc5447 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysLogininfor.java @@ -0,0 +1,149 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.Date; + +/** + * 系统访问记录表 sys_logininfor + * + * @author admin + */ +public class SysLogininfor extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** ID */ + private Long infoId; + + /** 用户账号 */ + private String userName; + + /** 登录状态 0成功 1失败 */ + + private String status; + + /** 登录IP地址 */ + + private String ipaddr; + + /** 登录地点 */ + + private String loginLocation; + + /** 浏览器类型 */ + + private String browser; + + /** 操作系统 */ + + private String os; + + /** 提示消息 */ + + private String msg; + + /** 访问时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date loginTime; + + /** 操作类别(0其它 1后台用户 2手机端用户) */ + private Integer operatorType; + + public Integer getOperatorType() { + return operatorType; + } + + public void setOperatorType(Integer operatorType) { + this.operatorType = operatorType; + } + + public Long getInfoId() + { + return infoId; + } + + public void setInfoId(Long infoId) + { + this.infoId = infoId; + } + + public String getUserName() + { + return userName; + } + + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getStatus() + { + return status; + } + + public void setStatus(String status) + { + this.status = status; + } + + public String getIpaddr() + { + return ipaddr; + } + + public void setIpaddr(String ipaddr) + { + this.ipaddr = ipaddr; + } + + public String getLoginLocation() + { + return loginLocation; + } + + public void setLoginLocation(String loginLocation) + { + this.loginLocation = loginLocation; + } + + public String getBrowser() + { + return browser; + } + + public void setBrowser(String browser) + { + this.browser = browser; + } + + public String getOs() + { + return os; + } + + public void setOs(String os) + { + this.os = os; + } + + public String getMsg() + { + return msg; + } + + public void setMsg(String msg) + { + this.msg = msg; + } + + public Date getLoginTime() + { + return loginTime; + } + + public void setLoginTime(Date loginTime) + { + this.loginTime = loginTime; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysOperLog.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysOperLog.java new file mode 100644 index 00000000..f8aeec3c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/SysOperLog.java @@ -0,0 +1,240 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.Date; + +/** + * 操作日志记录表 oper_log + * + * @author admin + */ +public class SysOperLog extends BaseEntity { + private static final long serialVersionUID = 1L; + + /** 日志主键 */ + + private Long operId; + + /** 操作模块 */ + + private String title; + + /** 业务类型(0其它 1新增 2修改 3删除) */ + private Integer businessType; + + /** 业务类型数组 */ + private Integer[] businessTypes; + + /** 请求方法 */ + + private String method; + + /** 请求方式 */ + + private String requestMethod; + + /** 操作类别(0其它 1后台用户 2手机端用户) */ + private Integer operatorType; + + /** 操作人员 */ + private String operName; + + /** 部门名称 */ + private String deptName; + + /** 请求url */ + private String operUrl; + + /** 操作地址 */ + private String operIp; + + /** 操作地点 */ + private String operLocation; + + /** 请求参数 */ + private String operParam; + + /** 返回参数 */ + private String jsonResult; + + /** 操作状态(0正常 1异常) */ + private Integer status; + + /** 错误消息 */ + private String errorMsg; + + /** 操作时间 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date operTime; + + public Long getOperId() + { + return operId; + } + + public void setOperId(Long operId) + { + this.operId = operId; + } + + public String getTitle() + { + return title; + } + + public void setTitle(String title) + { + this.title = title; + } + + public Integer getBusinessType() + { + return businessType; + } + + public void setBusinessType(Integer businessType) + { + this.businessType = businessType; + } + + public Integer[] getBusinessTypes() + { + return businessTypes; + } + + public void setBusinessTypes(Integer[] businessTypes) + { + this.businessTypes = businessTypes; + } + + public String getMethod() + { + return method; + } + + public void setMethod(String method) + { + this.method = method; + } + + public String getRequestMethod() + { + return requestMethod; + } + + public void setRequestMethod(String requestMethod) + { + this.requestMethod = requestMethod; + } + + public Integer getOperatorType() + { + return operatorType; + } + + public void setOperatorType(Integer operatorType) + { + this.operatorType = operatorType; + } + + public String getOperName() + { + return operName; + } + + public void setOperName(String operName) + { + this.operName = operName; + } + + public String getDeptName() + { + return deptName; + } + + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getOperUrl() + { + return operUrl; + } + + public void setOperUrl(String operUrl) + { + this.operUrl = operUrl; + } + + public String getOperIp() + { + return operIp; + } + + public void setOperIp(String operIp) + { + this.operIp = operIp; + } + + public String getOperLocation() + { + return operLocation; + } + + public void setOperLocation(String operLocation) + { + this.operLocation = operLocation; + } + + public String getOperParam() + { + return operParam; + } + + public void setOperParam(String operParam) + { + this.operParam = operParam; + } + + public String getJsonResult() + { + return jsonResult; + } + + public void setJsonResult(String jsonResult) + { + this.jsonResult = jsonResult; + } + + public Integer getStatus() + { + return status; + } + + public void setStatus(Integer status) + { + this.status = status; + } + + public String getErrorMsg() + { + return errorMsg; + } + + public void setErrorMsg(String errorMsg) + { + this.errorMsg = errorMsg; + } + + public Date getOperTime() + { + return operTime; + } + + public void setOperTime(Date operTime) + { + this.operTime = operTime; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailHisInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailHisInfo.java new file mode 100644 index 00000000..c55ac17e --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailHisInfo.java @@ -0,0 +1,440 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + + +import java.util.Date; + +/** + * 车辆检查信息明细历史对象 tbl_car_inspect_detail_his_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarInspectDetailHisInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * version + */ + private Integer version; + + /** + * 车辆检查主表id + */ + + private String mainId; + + /** + * 所属单位id + */ + private String orgId; + + /** + * 检验单位id + */ + private String inspectOrgId; + + /** + * 委托单号 + */ + private String orderId; + + /** + * 委托单位 + */ + private String companyId; + + /** + * 船名航次 + */ + private String shipName; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 检查类型 00 底盘 01 车身 + */ + + private String checkType; + + /** + * 检查部位 + */ + + private String inspectPartFirst; + + /** + * 检查部位二级 + */ + + private String inspectPartSecond; + + /** + * 检查场地 + */ + + private String inspectSite; + + /** + * 污染物种类 + */ + + private String pollutantType; + + /** + * 污染物具体种类 + */ + + private String pollutantDetailType; + + /** + * 污染物具体描述 + */ + + private String pollutantDetailDesc; + + /** + * 污染物图片:图片文件id list json + */ + + private String checkImg; + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + /** + * 检查时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + private Date inspectTime; + + /** + * 检查人id + */ + + private String inspectUserId; + + /** + * 创建人 + */ + + private String createUserId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + /** + * 数据状态 00 正常 99 删除 + */ + private String dataStatus; + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getMainId() { + return mainId; + } + + public void setMainId(String mainId) { + this.mainId = mainId; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public String getInspectPartFirst() { + return inspectPartFirst; + } + + public void setInspectPartFirst(String inspectPartFirst) { + this.inspectPartFirst = inspectPartFirst; + } + + public String getInspectPartSecond() { + return inspectPartSecond; + } + + public void setInspectPartSecond(String inspectPartSecond) { + this.inspectPartSecond = inspectPartSecond; + } + + public String getInspectSite() { + return inspectSite; + } + + public void setInspectSite(String inspectSite) { + this.inspectSite = inspectSite; + } + + public String getPollutantType() { + return pollutantType; + } + + public void setPollutantType(String pollutantType) { + this.pollutantType = pollutantType; + } + + public String getPollutantDetailType() { + return pollutantDetailType; + } + + public void setPollutantDetailType(String pollutantDetailType) { + this.pollutantDetailType = pollutantDetailType; + } + + public String getPollutantDetailDesc() { + return pollutantDetailDesc; + } + + public void setPollutantDetailDesc(String pollutantDetailDesc) { + this.pollutantDetailDesc = pollutantDetailDesc; + } + + public String getCheckImg() { + return checkImg; + } + + public void setCheckImg(String checkImg) { + this.checkImg = checkImg; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public Date getInspectTime() { + return inspectTime; + } + + public void setInspectTime(Date inspectTime) { + this.inspectTime = inspectTime; + } + + public String getInspectUserId() { + return inspectUserId; + } + + public void setInspectUserId(String inspectUserId) { + this.inspectUserId = inspectUserId; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailInfo.java new file mode 100644 index 00000000..2294be82 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectDetailInfo.java @@ -0,0 +1,447 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.Date; + +/** + * 车辆检查信息明细对象 tbl_car_inspect_detail_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarInspectDetailInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * version + */ + + private Integer version; + + /** + * 车辆检查主表id + */ + + private String mainId; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 检查类型 00 底盘 01 车身 + */ + + private String checkType; + + /** + * 检查部位 + */ + + private String inspectPartFirst; + + /** + * 检查部位二级 + */ + + private String inspectPartSecond; + + /** + * 检查场地 + */ + + private String inspectSite; + + /** + * 污染物种类 + */ + + private String pollutantType; + + /** + * 污染物具体种类 + */ + + private String pollutantDetailType; + + /** + * 污染物具体描述 + */ + + private String pollutantDetailDesc; + + /** + * 污染物图片:图片文件id list json + */ + + private String checkImg; + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + /** + * 检查时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + + private Date inspectTime; + + /** + * 检查人id + */ + + private String inspectUserId; + + /** + * 创建人 + */ + + private String createUserId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + /** + * 数据状态 00 正常 99 删除 + */ + private String dataStatus; + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getMainId() { + return mainId; + } + + public void setMainId(String mainId) { + this.mainId = mainId; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public String getInspectPartFirst() { + return inspectPartFirst; + } + + public void setInspectPartFirst(String inspectPartFirst) { + this.inspectPartFirst = inspectPartFirst; + } + + public String getInspectPartSecond() { + return inspectPartSecond; + } + + public void setInspectPartSecond(String inspectPartSecond) { + this.inspectPartSecond = inspectPartSecond; + } + + public String getInspectSite() { + return inspectSite; + } + + public void setInspectSite(String inspectSite) { + this.inspectSite = inspectSite; + } + + public String getPollutantType() { + return pollutantType; + } + + public void setPollutantType(String pollutantType) { + this.pollutantType = pollutantType; + } + + public String getPollutantDetailType() { + return pollutantDetailType; + } + + public void setPollutantDetailType(String pollutantDetailType) { + this.pollutantDetailType = pollutantDetailType; + } + + public String getPollutantDetailDesc() { + return pollutantDetailDesc; + } + + public void setPollutantDetailDesc(String pollutantDetailDesc) { + this.pollutantDetailDesc = pollutantDetailDesc; + } + + public String getCheckImg() { + return checkImg; + } + + public void setCheckImg(String checkImg) { + this.checkImg = checkImg; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public Date getInspectTime() { + return inspectTime; + } + + public void setInspectTime(Date inspectTime) { + this.inspectTime = inspectTime; + } + + public String getInspectUserId() { + return inspectUserId; + } + + public void setInspectUserId(String inspectUserId) { + this.inspectUserId = inspectUserId; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectHisInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectHisInfo.java new file mode 100644 index 00000000..03ffe1a2 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectHisInfo.java @@ -0,0 +1,349 @@ +package com.jiuyv.appgate.domain; + + + +import java.util.Date; + +/** + * 车辆检查信息主历史对象 tbl_car_inspect_his_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarInspectHisInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * version + */ + + private Integer version; + + /** + * 所属单位d + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 底盘检查状态 + */ + + private String chassisInspectStatus; + + /** + * 车身检查状态 + */ + + private String carBodyInspectStatus; + + /** + * 车型 + */ + + private String carModel; + + /** + * 数量 + */ + + private Integer carNumber; + + /** + * 状态 00 待检查 01 已检查 + */ + + private String status; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + /** + * 车身检查时间 + */ + private Date carBodyInspectTime; + + /** + * 底盘检查时间 + */ + private Date chassisInspectTime; + + public Date getCarBodyInspectTime() { + return carBodyInspectTime; + } + + public void setCarBodyInspectTime(Date carBodyInspectTime) { + this.carBodyInspectTime = carBodyInspectTime; + } + + public Date getChassisInspectTime() { + return chassisInspectTime; + } + + public void setChassisInspectTime(Date chassisInspectTime) { + this.chassisInspectTime = chassisInspectTime; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getChassisInspectStatus() { + return chassisInspectStatus; + } + + public void setChassisInspectStatus(String chassisInspectStatus) { + this.chassisInspectStatus = chassisInspectStatus; + } + + public String getCarBodyInspectStatus() { + return carBodyInspectStatus; + } + + public void setCarBodyInspectStatus(String carBodyInspectStatus) { + this.carBodyInspectStatus = carBodyInspectStatus; + } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } + + public Integer getCarNumber() { + return carNumber; + } + + public void setCarNumber(Integer carNumber) { + this.carNumber = carNumber; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectInfo.java new file mode 100644 index 00000000..22b50a33 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarInspectInfo.java @@ -0,0 +1,364 @@ +package com.jiuyv.appgate.domain; + + + +import java.util.Date; +/** + * 车辆检查信息对象 tbl_car_inspect_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarInspectInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * version + */ + private Integer version; + + /** + * 所属单位d + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 底盘检查状态 + */ + + private String chassisInspectStatus; + + /** + * 车身检查状态 + */ + + private String carBodyInspectStatus; + + /** + * 车型 + */ + + private String carModel; + + /** + * 数量 + */ + + private Integer carNumber; + + /** + * 状态 00 待检查 01 已检查 + */ + + private String status; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + private String updateUserId; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + /** + * 车身检查时间 + */ + private Date carBodyInspectTime; + + /** + * 底盘检查时间 + */ + private Date chassisInspectTime; + + private String checkType; + + /** + * 来源类型 00 excel导入 01 app手工录入 + */ + private String srcType; + + public String getSrcType() { + return srcType; + } + + public void setSrcType(String srcType) { + this.srcType = srcType; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public Date getCarBodyInspectTime() { + return carBodyInspectTime; + } + + public void setCarBodyInspectTime(Date carBodyInspectTime) { + this.carBodyInspectTime = carBodyInspectTime; + } + + public Date getChassisInspectTime() { + return chassisInspectTime; + } + + public void setChassisInspectTime(Date chassisInspectTime) { + this.chassisInspectTime = chassisInspectTime; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getChassisInspectStatus() { + return chassisInspectStatus; + } + + public void setChassisInspectStatus(String chassisInspectStatus) { + this.chassisInspectStatus = chassisInspectStatus; + } + + public String getCarBodyInspectStatus() { + return carBodyInspectStatus; + } + + public void setCarBodyInspectStatus(String carBodyInspectStatus) { + this.carBodyInspectStatus = carBodyInspectStatus; + } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } + + public Integer getCarNumber() { + return carNumber; + } + + public void setCarNumber(Integer carNumber) { + this.carNumber = carNumber; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailHisInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailHisInfo.java new file mode 100644 index 00000000..b16fffc3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailHisInfo.java @@ -0,0 +1,378 @@ +package com.jiuyv.appgate.domain; + + + +import java.util.Date; +/** + * 车辆正式委托单信息明细历史对象 tbl_car_order_formal_detail_his_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarOrderFormalDetailHisInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 版本号 + */ + + private Integer version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 发运单号 + */ + + private String waybillNumber; + + /** + * 来源类型 00 excel导入 01 手工录入 + */ + + private String srcType; + + /** + * 启运港 + */ + + private String departPort; + + /** + * 数量 + */ + + private Integer carNumber; + + /** + * 车型 + */ + + private String carModel; + + /** + * 目的港 + */ + + private String destinationPort; + + /** + * 目的国 + */ + + private String destinationCountry; + + /** + * 状态 00 正常 01 删除 + */ + + private String status; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getWaybillNumber() { + return waybillNumber; + } + + public void setWaybillNumber(String waybillNumber) { + this.waybillNumber = waybillNumber; + } + + public String getSrcType() { + return srcType; + } + + public void setSrcType(String srcType) { + this.srcType = srcType; + } + + public String getDepartPort() { + return departPort; + } + + public void setDepartPort(String departPort) { + this.departPort = departPort; + } + + public Integer getCarNumber() { + return carNumber; + } + + public void setCarNumber(Integer carNumber) { + this.carNumber = carNumber; + } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } + + public String getDestinationPort() { + return destinationPort; + } + + public void setDestinationPort(String destinationPort) { + this.destinationPort = destinationPort; + } + + public String getDestinationCountry() { + return destinationCountry; + } + + public void setDestinationCountry(String destinationCountry) { + this.destinationCountry = destinationCountry; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailInfo.java new file mode 100644 index 00000000..e78e3b89 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalDetailInfo.java @@ -0,0 +1,377 @@ +package com.jiuyv.appgate.domain; + + + +import java.util.Date; + +/** + * 车辆正式委托单信息明细对象 tbl_car_order_formal_detail_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarOrderFormalDetailInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 版本号 + */ + private Integer version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 发运单号 + */ + + private String waybillNumber; + + /** + * 来源类型 00 excel导入 01 手工录入 + */ + + private String srcType; + + /** + * 启运港 + */ + + private String departPort; + + /** + * 数量 + */ + + private Integer carNumber; + + /** + * 车型 + */ + + private String carModel; + + /** + * 目的港 + */ + + private String destinationPort; + + /** + * 目的国 + */ + + private String destinationCountry; + + /** + * 状态 00 正常 01 删除 + */ + + private String status; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getWaybillNumber() { + return waybillNumber; + } + + public void setWaybillNumber(String waybillNumber) { + this.waybillNumber = waybillNumber; + } + + public String getSrcType() { + return srcType; + } + + public void setSrcType(String srcType) { + this.srcType = srcType; + } + + public String getDepartPort() { + return departPort; + } + + public void setDepartPort(String departPort) { + this.departPort = departPort; + } + + public Integer getCarNumber() { + return carNumber; + } + + public void setCarNumber(Integer carNumber) { + this.carNumber = carNumber; + } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } + + public String getDestinationPort() { + return destinationPort; + } + + public void setDestinationPort(String destinationPort) { + this.destinationPort = destinationPort; + } + + public String getDestinationCountry() { + return destinationCountry; + } + + public void setDestinationCountry(String destinationCountry) { + this.destinationCountry = destinationCountry; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalHisInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalHisInfo.java new file mode 100644 index 00000000..f2bcfeca --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalHisInfo.java @@ -0,0 +1,278 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; +/** + * 车辆正式委托单信息历史对象 tbl_car_order_formal_his_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarOrderFormalHisInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 版本号 + */ + + private Integer version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 00 未完成 01 已完成 + */ + + private String status; + + /** + * 文件id + */ + + private String fileId; + + /** + * 文件名称 + */ + + private String fileName; + + /** + * 车辆总数 + */ + + private Integer carCount; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public Integer getCarCount() { + return carCount; + } + + public void setCarCount(Integer carCount) { + this.carCount = carCount; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalInfo.java new file mode 100644 index 00000000..14d5576a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarOrderFormalInfo.java @@ -0,0 +1,288 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; +/** + * 车辆正式委托单信息对象 tbl_car_order_formal_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarOrderFormalInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 版本号 + */ + + private Integer version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 00 未完成 01 已完成 + */ + + private String status; + + /** + * 文件id + */ + + private String fileId; + + /** + * 文件名称 + */ + + private String fileName; + + /** + * 车辆总数 + */ + + private Integer carCount; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + private String companyName; + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public Integer getCarCount() { + return carCount; + } + + public void setCarCount(Integer carCount) { + this.carCount = carCount; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordDetailInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordDetailInfo.java new file mode 100644 index 00000000..2b607ab2 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordDetailInfo.java @@ -0,0 +1,321 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 车辆预录信息明细对象 tbl_car_pre_record_detail_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarPreRecordDetailInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 版本号 + */ + + private String version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 发运单号 + */ + + private String waybillNumber; + + /** + * 启运港 + */ + + private String departPort; + + /** + * 数量 + */ + + private String carNumber; + + /** + * 车型 + */ + + private String carModel; + + /** + * 目的港 + */ + + private String destinationPort; + + /** + * 目的国 + */ + + private String destinationCountry; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getWaybillNumber() { + return waybillNumber; + } + + public void setWaybillNumber(String waybillNumber) { + this.waybillNumber = waybillNumber; + } + + public String getDepartPort() { + return departPort; + } + + public void setDepartPort(String departPort) { + this.departPort = departPort; + } + + public String getCarNumber() { + return carNumber; + } + + public void setCarNumber(String carNumber) { + this.carNumber = carNumber; + } + + public String getCarModel() { + return carModel; + } + + public void setCarModel(String carModel) { + this.carModel = carModel; + } + + public String getDestinationPort() { + return destinationPort; + } + + public void setDestinationPort(String destinationPort) { + this.destinationPort = destinationPort; + } + + public String getDestinationCountry() { + return destinationCountry; + } + + public void setDestinationCountry(String destinationCountry) { + this.destinationCountry = destinationCountry; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordInfo.java new file mode 100644 index 00000000..0731e1df --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCarPreRecordInfo.java @@ -0,0 +1,251 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 车辆预录信息对象 tbl_car_pre_record_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCarPreRecordInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 版本号 + */ + + private String version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 预录单号 + */ + + private String preOrderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 00 未生效 01 已生效 + */ + + private String status; + + /** + * 文件id + */ + + private String fileId; + + /** + * 文件名称 + */ + + private String fileName; + + /** + * 车辆总数 + */ + + private String carCount; + + /** + * 导入时间 + */ + private Date createTime; + + /** + * 导入人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getPreOrderId() { + return preOrderId; + } + + public void setPreOrderId(String preOrderId) { + this.preOrderId = preOrderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getCarCount() { + return carCount; + } + + public void setCarCount(String carCount) { + this.carCount = carCount; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCompanyInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCompanyInfo.java new file mode 100644 index 00000000..89f94d6b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblCompanyInfo.java @@ -0,0 +1,205 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.Date; + +/** + * 委托单位信息对象 tbl_company_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblCompanyInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 单位名称 + */ + + private String companyName; + + /** + * 所属单位id + */ + private String orgId; + + /** + * 联系人 + */ + + private String contactName; + + /** + * 手机号 + */ + + private String contactPhone; + + /** + * 创建时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + + private Date createTime; + + /** + * 创建人 + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + private String updateUserId; + + /** + * 00 正常 01 停用 + */ + private String status; + + /** + * 00 正常 99 删除 + */ + + private String dataStatus; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getContactName() { + return contactName; + } + + public void setContactName(String contactName) { + this.contactName = contactName; + } + + public String getContactPhone() { + return contactPhone; + } + + public void setContactPhone(String contactPhone) { + this.contactPhone = contactPhone; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblFileInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblFileInfo.java new file mode 100644 index 00000000..eac7dee0 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblFileInfo.java @@ -0,0 +1,209 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 文件信息对象 tbl_file_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblFileInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 业务主键 + */ + + private String businessId; + + /** + * 文件类型 00 excel表 01图片 + */ + + private String fileType; + + /** + * 文件名称 + */ + + private String fileName; + + /** + * 文件路径 + */ + + private String filePath; + + /** + * 文件访问地址:相对路径 + */ + + private String fileUrl; + + /** + * 00 正常 99 删除 + */ + + private String status; + + /** + * 创建人id + */ + + private String createUserId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人id + */ + + private String updateUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getBusinessId() { + return businessId; + } + + public void setBusinessId(String businessId) { + this.businessId = businessId; + } + + public String getFileType() { + return fileType; + } + + public void setFileType(String fileType) { + this.fileType = fileType; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getFilePath() { + return filePath; + } + + public void setFilePath(String filePath) { + this.filePath = filePath; + } + + public String getFileUrl() { + return fileUrl; + } + + public void setFileUrl(String fileUrl) { + this.fileUrl = fileUrl; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectRecordInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectRecordInfo.java new file mode 100644 index 00000000..5a21278c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectRecordInfo.java @@ -0,0 +1,362 @@ +package com.jiuyv.appgate.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.Date; + +/** + * 点检记录信息对象 tbl_inspect_record_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblInspectRecordInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * version + */ + private Integer version; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 船名航次 + */ + + private String shipName; + + /** + * 车架号 + */ + + private String carVin; + + /** + * 底盘检查场地 + */ + + private String chassisInspectSite; + + /** + * 车身检查场地 + */ + + private String carBodyInspectSite; + + /** + * 底盘检查状态 + */ + + private String chassisInspectStatus; + + /** + * 车身检查状态 + */ + + private String carBodyInspectStatus; + + /** + * 车身检查员 + */ + + private String carBodyInspectUserId; + + /** + * 底盘检查员 + */ + + private String chassisInspectUserId; + + /** + * 车身检查开始时间 + */ + //@JsonFormat(pattern = "yyyy-MM-dd") + + private Date carBodyInspectStartTime; + + /** + * 车身检查完成时间 + */ + //@JsonFormat(pattern = "yyyy-MM-dd") + + private Date carBodyInspectFinishTime; + + /** + * 底盘检查开始时间 + */ + //@JsonFormat(pattern = "yyyy-MM-dd") + + private Date chassisInspectStartTime; + + /** + * 底盘检查完成时间 + */ + //@JsonFormat(pattern = "yyyy-MM-dd") + + private Date chassisInspectFinishTime; + + /** + * 创建人 + */ + private String createUserId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + private String updateUserId; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getChassisInspectSite() { + return chassisInspectSite; + } + + public void setChassisInspectSite(String chassisInspectSite) { + this.chassisInspectSite = chassisInspectSite; + } + + public String getCarBodyInspectSite() { + return carBodyInspectSite; + } + + public void setCarBodyInspectSite(String carBodyInspectSite) { + this.carBodyInspectSite = carBodyInspectSite; + } + + public String getChassisInspectStatus() { + return chassisInspectStatus; + } + + public void setChassisInspectStatus(String chassisInspectStatus) { + this.chassisInspectStatus = chassisInspectStatus; + } + + public String getCarBodyInspectStatus() { + return carBodyInspectStatus; + } + + public void setCarBodyInspectStatus(String carBodyInspectStatus) { + this.carBodyInspectStatus = carBodyInspectStatus; + } + + public String getCarBodyInspectUserId() { + return carBodyInspectUserId; + } + + public void setCarBodyInspectUserId(String carBodyInspectUserId) { + this.carBodyInspectUserId = carBodyInspectUserId; + } + + public String getChassisInspectUserId() { + return chassisInspectUserId; + } + + public void setChassisInspectUserId(String chassisInspectUserId) { + this.chassisInspectUserId = chassisInspectUserId; + } + + public Date getCarBodyInspectStartTime() { + return carBodyInspectStartTime; + } + + public void setCarBodyInspectStartTime(Date carBodyInspectStartTime) { + this.carBodyInspectStartTime = carBodyInspectStartTime; + } + + public Date getCarBodyInspectFinishTime() { + return carBodyInspectFinishTime; + } + + public void setCarBodyInspectFinishTime(Date carBodyInspectFinishTime) { + this.carBodyInspectFinishTime = carBodyInspectFinishTime; + } + + public Date getChassisInspectStartTime() { + return chassisInspectStartTime; + } + + public void setChassisInspectStartTime(Date chassisInspectStartTime) { + this.chassisInspectStartTime = chassisInspectStartTime; + } + + public Date getChassisInspectFinishTime() { + return chassisInspectFinishTime; + } + + public void setChassisInspectFinishTime(Date chassisInspectFinishTime) { + this.chassisInspectFinishTime = chassisInspectFinishTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteHisInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteHisInfo.java new file mode 100644 index 00000000..8891f5b4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteHisInfo.java @@ -0,0 +1,201 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 检查场地信息历史对象 tbl_inspect_site_his_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblInspectSiteHisInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 版本号 + */ + private String version; + + /** + * 场地名称 + */ + + private String siteName; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 备注 + */ + + private String remarks; + + /** + * 00 正常 01停用 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + private String updateUserId; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getSiteName() { + return siteName; + } + + public void setSiteName(String siteName) { + this.siteName = siteName; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getRemarks() { + return remarks; + } + + public void setRemarks(String remarks) { + this.remarks = remarks; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteInfo.java new file mode 100644 index 00000000..bd177da9 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectSiteInfo.java @@ -0,0 +1,201 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 检查场地信息对象 tbl_inspect_site_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblInspectSiteInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 版本号 + */ + private String version; + + /** + * 场地名称 + */ + + private String siteName; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 备注 + */ + + private String remarks; + + /** + * 00 正常 01停用 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + private String updateUserId; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getSiteName() { + return siteName; + } + + public void setSiteName(String siteName) { + this.siteName = siteName; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getRemarks() { + return remarks; + } + + public void setRemarks(String remarks) { + this.remarks = remarks; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectorInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectorInfo.java new file mode 100644 index 00000000..be3be18b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblInspectorInfo.java @@ -0,0 +1,264 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * 检验员信息对象 tbl_inspector_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblInspectorInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 用户名 + */ + + private String username; + + /** + * 姓名 + */ + + private String realname; + + /** + * 密码:加密码 + */ + private String password; + + /** + * 手机号 + */ + + private String phone; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 00 正常 01 停用 02 锁定 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人id + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人id + */ + private String updateUserId; + + /** + * 是否首次登录 00 是 01 否 + */ + private String firstLoginFlag; + + /** + * 密码错次 5次 + */ + private Integer pwdErrCnt; + + /** + * 最后一次登录时间 + */ + private Date lastLoginTime; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + private String deptName; + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getRealname() { + return realname; + } + + public void setRealname(String realname) { + this.realname = realname; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getFirstLoginFlag() { + return firstLoginFlag; + } + + public void setFirstLoginFlag(String firstLoginFlag) { + this.firstLoginFlag = firstLoginFlag; + } + + public Integer getPwdErrCnt() { + return pwdErrCnt; + } + + public void setPwdErrCnt(Integer pwdErrCnt) { + this.pwdErrCnt = pwdErrCnt; + } + + public Date getLastLoginTime() { + return lastLoginTime; + } + + public void setLastLoginTime(Date lastLoginTime) { + this.lastLoginTime = lastLoginTime; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblNgPartInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblNgPartInfo.java new file mode 100644 index 00000000..307dfe09 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblNgPartInfo.java @@ -0,0 +1,242 @@ +package com.jiuyv.appgate.domain; + +import java.util.Date; + +/** + * NG部位信息对象 tbl_ng_part_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblNgPartInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * NG部位名称 + */ + + private String ngPartName; + + /** + * NG部位英文名称 + */ + + private String ngPartEnName; + + /** + * NG部位类型 + */ + + private String ngPartType; + + /** + * 父级id + */ + + private String parentId; + + /** + * 排序 + */ + + private String sort; + + /** + * 00 正常 01停用 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + private String partType; + + private String handFill; + + public String getHandFill() { + return handFill; + } + + public void setHandFill(String handFill) { + this.handFill = handFill; + } + + public String getPartType() { + return partType; + } + + public void setPartType(String partType) { + this.partType = partType; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getNgPartName() { + return ngPartName; + } + + public void setNgPartName(String ngPartName) { + this.ngPartName = ngPartName; + } + + public String getNgPartEnName() { + return ngPartEnName; + } + + public void setNgPartEnName(String ngPartEnName) { + this.ngPartEnName = ngPartEnName; + } + + public String getNgPartType() { + return ngPartType; + } + + public void setNgPartType(String ngPartType) { + this.ngPartType = ngPartType; + } + + public String getParentId() { + return parentId; + } + + public void setParentId(String parentId) { + this.parentId = parentId; + } + + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblPollutantInfo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblPollutantInfo.java new file mode 100644 index 00000000..f20cf208 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/domain/TblPollutantInfo.java @@ -0,0 +1,238 @@ +package com.jiuyv.appgate.domain; + + + +import java.util.Date; + +/** + * 污染物信息对象 tbl_pollutant_info + * + * @author jiuyv + * @date 2023-07-18 + */ +public class TblPollutantInfo { + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + + private String id; + + /** + * 污染物名称 + */ + + private String pollutantName; + + /** + * 污染物英文名称 + */ + + private String pollutantEnName; + + /** + * 污染物类型 + */ + + private String pollutantType; + + /** + * 父级id + */ + + private String parentId; + + /** + * 排序 + */ + + private String sort; + + /** + * 00 正常 01 停用 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人 + */ + + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人 + */ + + private String updateUserId; + + /** + * 保留域1 + */ + + private String rsv1; + + /** + * 保留域2 + */ + + private String rsv2; + + /** + * 保留域3 + */ + + private String rsv3; + + /** + * 是否手填 00 否 01 是 + */ + private String handFill; + + public String getHandFill() { + return handFill; + } + + public void setHandFill(String handFill) { + this.handFill = handFill; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getPollutantName() { + return pollutantName; + } + + public void setPollutantName(String pollutantName) { + this.pollutantName = pollutantName; + } + + public String getPollutantEnName() { + return pollutantEnName; + } + + public void setPollutantEnName(String pollutantEnName) { + this.pollutantEnName = pollutantEnName; + } + + public String getPollutantType() { + return pollutantType; + } + + public void setPollutantType(String pollutantType) { + this.pollutantType = pollutantType; + } + + public String getParentId() { + return parentId; + } + + public void setParentId(String parentId) { + this.parentId = parentId; + } + + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/NgPartDTO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/NgPartDTO.java new file mode 100644 index 00000000..50e6c8e2 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/NgPartDTO.java @@ -0,0 +1,51 @@ +package com.jiuyv.appgate.dto; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-26 17:20 + */ +public class NgPartDTO implements Serializable { + + private static final long serialVersionUID = -587293547402781609L; + private String level1Id; + + private String level1Name; + + private String level2Id; + + private String level2Name; + + public String getLevel1Id() { + return level1Id; + } + + public void setLevel1Id(String level1Id) { + this.level1Id = level1Id; + } + + public String getLevel1Name() { + return level1Name; + } + + public void setLevel1Name(String level1Name) { + this.level1Name = level1Name; + } + + public String getLevel2Id() { + return level2Id; + } + + public void setLevel2Id(String level2Id) { + this.level2Id = level2Id; + } + + public String getLevel2Name() { + return level2Name; + } + + public void setLevel2Name(String level2Name) { + this.level2Name = level2Name; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/PollutantDTO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/PollutantDTO.java new file mode 100644 index 00000000..aebeb40a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/PollutantDTO.java @@ -0,0 +1,71 @@ +package com.jiuyv.appgate.dto; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-26 17:25 + */ +public class PollutantDTO implements Serializable { + private static final long serialVersionUID = 1534453080125002859L; + + private String level1Id; + + private String level1Name; + + private String level2Id; + + private String level2Name; + + private String level3Id; + + private String level3Name; + + public String getLevel1Id() { + return level1Id; + } + + public void setLevel1Id(String level1Id) { + this.level1Id = level1Id; + } + + public String getLevel1Name() { + return level1Name; + } + + public void setLevel1Name(String level1Name) { + this.level1Name = level1Name; + } + + public String getLevel2Id() { + return level2Id; + } + + public void setLevel2Id(String level2Id) { + this.level2Id = level2Id; + } + + public String getLevel2Name() { + return level2Name; + } + + public void setLevel2Name(String level2Name) { + this.level2Name = level2Name; + } + + public String getLevel3Id() { + return level3Id; + } + + public void setLevel3Id(String level3Id) { + this.level3Id = level3Id; + } + + public String getLevel3Name() { + return level3Name; + } + + public void setLevel3Name(String level3Name) { + this.level3Name = level3Name; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/RedisUserDTO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/RedisUserDTO.java new file mode 100644 index 00000000..d14db968 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/dto/RedisUserDTO.java @@ -0,0 +1,285 @@ +package com.jiuyv.appgate.dto; + +import java.io.Serializable; +import java.util.Date; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-20 10:24 + */ +public class RedisUserDTO implements Serializable { + private static final long serialVersionUID = -1333175617103590029L; + + /** + * 主键 + */ + private String id; + + /** + * 用户名 + */ + + private String username; + + /** + * 姓名 + */ + + private String realname; + + /** + * 密码:加密码 + */ + private String password; + + /** + * 手机号 + */ + + private String phone; + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 00 正常 01 停用 02 锁定 + */ + + private String status; + + /** + * 00 正常 99 删除 + */ + private String dataStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 创建人id + */ + private String createUserId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 修改人id + */ + private String updateUserId; + + /** + * 是否首次登录 00 是 01 否 + */ + private String firstLoginFlag; + + /** + * 密码错次 5次 + */ + private Integer pwdErrCnt; + + /** + * 最后一次登录时间 + */ + private Date lastLoginTime; + + /** + * 保留域1 + */ + private String rsv1; + + /** + * 保留域2 + */ + private String rsv2; + + /** + * 保留域3 + */ + private String rsv3; + + private String deptName; + + private String token; + + private String fingerprint; + + + + + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getFingerprint() { + return fingerprint; + } + + public void setFingerprint(String fingerprint) { + this.fingerprint = fingerprint; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getRealname() { + return realname; + } + + public void setRealname(String realname) { + this.realname = realname; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus) { + this.dataStatus = dataStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateUserId() { + return createUserId; + } + + public void setCreateUserId(String createUserId) { + this.createUserId = createUserId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateUserId() { + return updateUserId; + } + + public void setUpdateUserId(String updateUserId) { + this.updateUserId = updateUserId; + } + + public String getFirstLoginFlag() { + return firstLoginFlag; + } + + public void setFirstLoginFlag(String firstLoginFlag) { + this.firstLoginFlag = firstLoginFlag; + } + + public Integer getPwdErrCnt() { + return pwdErrCnt; + } + + public void setPwdErrCnt(Integer pwdErrCnt) { + this.pwdErrCnt = pwdErrCnt; + } + + public Date getLastLoginTime() { + return lastLoginTime; + } + + public void setLastLoginTime(Date lastLoginTime) { + this.lastLoginTime = lastLoginTime; + } + + public String getRsv1() { + return rsv1; + } + + public void setRsv1(String rsv1) { + this.rsv1 = rsv1; + } + + public String getRsv2() { + return rsv2; + } + + public void setRsv2(String rsv2) { + this.rsv2 = rsv2; + } + + public String getRsv3() { + return rsv3; + } + + public void setRsv3(String rsv3) { + this.rsv3 = rsv3; + } + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessStatus.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessStatus.java new file mode 100644 index 00000000..fa11eb32 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessStatus.java @@ -0,0 +1,20 @@ +package com.jiuyv.appgate.enums; + +/** + * 操作状态 + * + * @author admin + * + */ +public enum BusinessStatus +{ + /** + * 成功 + */ + SUCCESS, + + /** + * 失败 + */ + FAIL, +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessType.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessType.java new file mode 100644 index 00000000..5e2c34c1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/BusinessType.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.enums; + +/** + * 业务操作类型 + * + * @author admin + */ +public enum BusinessType +{ + /** + * 其它 + */ + OTHER, + + /** + * 新增 + */ + INSERT, + + /** + * 修改 + */ + UPDATE, + + /** + * 删除 + */ + DELETE, + + /** + * 授权 + */ + GRANT, + + /** + * 导出 + */ + EXPORT, + + /** + * 导入 + */ + IMPORT, + + /** + * 强退 + */ + FORCE, + + /** + * 生成代码 + */ + GENCODE, + + /** + * 清空数据 + */ + CLEAN, +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckStatusEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckStatusEnum.java new file mode 100644 index 00000000..b8e1e8d4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckStatusEnum.java @@ -0,0 +1,30 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum CheckStatusEnum { + + UN_CHECK("00","未检查"), + CHECKED_UNCLEAN("02","已检查未清理"), + CHECKED_CLEANED("01","已检查已清理"), + + SELF_CHECK("03","当前用户检查"); + private String code; + + private String desc; + + private CheckStatusEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckTypeEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckTypeEnum.java new file mode 100644 index 00000000..9517c80c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CheckTypeEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum CheckTypeEnum { + + DIPAN("00","底盘"),BODY("01","车身"); + + + private String code; + + private String desc; + + private CheckTypeEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CleanFlagEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CleanFlagEnum.java new file mode 100644 index 00000000..40d8c16b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/CleanFlagEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum CleanFlagEnum { + + CLEANED("00","已清理"),UN_CLEAN("01","未清理"); + + + private String code; + + private String desc; + + private CleanFlagEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/DataStatusEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/DataStatusEnum.java new file mode 100644 index 00000000..0b9cdafe --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/DataStatusEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum DataStatusEnum { + + NORMAL("00","正常"),DELETE("99","删除"); + + + private String code; + + private String desc; + + private DataStatusEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OperatorType.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OperatorType.java new file mode 100644 index 00000000..074a12f8 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OperatorType.java @@ -0,0 +1,24 @@ +package com.jiuyv.appgate.enums; + +/** + * 操作人类别 + * + * @author admin + */ +public enum OperatorType +{ + /** + * 其它 + */ + OTHER, + + /** + * 后台用户 + */ + MANAGE, + + /** + * 手机端用户 + */ + MOBILE +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OrderStatusEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OrderStatusEnum.java new file mode 100644 index 00000000..f1028492 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/OrderStatusEnum.java @@ -0,0 +1,30 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum OrderStatusEnum { + + UN_FINISH("00","委托单未完成"), + FINISHED("01","委托单已完成"); + + + + private String code; + + private String desc; + + private OrderStatusEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/PollutantFlagEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/PollutantFlagEnum.java new file mode 100644 index 00000000..9655cbe9 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/PollutantFlagEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum PollutantFlagEnum { + + HAS_POLLUTANT("00","有污染物"),NO_POLLUTANT("01","没有污染物"); + + + private String code; + + private String desc; + + private PollutantFlagEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/RespCodeEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/RespCodeEnum.java new file mode 100644 index 00000000..a614dc66 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/RespCodeEnum.java @@ -0,0 +1,33 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-20 17:19 + */ +public enum RespCodeEnum { + + USER_NOT_EXIST(10000,"用户不存在"), + USER_DISABLED(10001,"用户已停用"), + USER_LOCKED(10002,"用户已锁定"), + + OLD_PWD_ERROR(10003,"密码不正确"), + + SYSTEM_ERROR(99999,"系统繁忙,请稍后再试"); + + private int code; + + private String msg; + + private RespCodeEnum(int code,String msg){ + this.code = code; + this.msg = msg; + } + + public int getCode() { + return code; + } + + public String getMsg() { + return msg; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/SrcTypeEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/SrcTypeEnum.java new file mode 100644 index 00000000..960c05d9 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/SrcTypeEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum SrcTypeEnum { + + EXCEL_IMPORT("00","excel导入"),APP_ADD("01","app扫码添加"); + + + private String code; + + private String desc; + + private SrcTypeEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/UserStatusEnum.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/UserStatusEnum.java new file mode 100644 index 00000000..bcdcc642 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/enums/UserStatusEnum.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.enums; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:32 + */ +public enum UserStatusEnum { + + NORMAL("00","正常"),DISABLED("01","停用"),LOCKED("02","锁定"); + + + private String code; + + private String desc; + + private UserStatusEnum(String code, String desc){ + this.code = code; + this.desc = desc; + } + + public String getCode() { + return code; + } + + public String getDesc() { + return desc; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java new file mode 100644 index 00000000..af83a9c4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java @@ -0,0 +1,70 @@ +package com.jiuyv.appgate.interceptor; + + +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.exception.TokenException; +import com.jiuyv.appgate.common.utils.JsonUtil; +import com.jiuyv.appgate.dto.RedisUserDTO; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.web.servlet.HandlerInterceptor; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + + +public class LoginInterceptor implements HandlerInterceptor { + + private static final Logger LOGGER = LoggerFactory.getLogger(LoginInterceptor.class); + + @Autowired + private StringRedisTemplate redisTemplate; + + public static ThreadLocal threadLocalOuter = new ThreadLocal(); + + @Override + public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) + throws Exception { + + String token = request.getHeader(Constants.HEADER_TOKEN); + String fingerprint = request.getHeader(Constants.HEADER_FINGERPRINT); + + //SQL关键字检查 + com.jiuyv.appgate.common.utils.sql.SqlUtil.filterKeyword(token); + com.jiuyv.appgate.common.utils.sql.SqlUtil.filterKeyword(fingerprint); + + LOGGER.info("获取前端传过来的header 头里面的token值是:>>{},fingerprint:>>{}", token,fingerprint); + // 边界检查和数据类型验证 + if (!isValidInput(token) || !isValidInput(fingerprint)) { + // 用户会话已过期,请重新登录 + LOGGER.error("用户会话已过期或已在其他设备登录,请重新登录"); + throw new TokenException("用户会话已过期或已在其他设备登录,请重新登录"); + + } else { + String s = redisTemplate.opsForValue().get(Constants.LOGIN_USER_CACHE_PREFIX+fingerprint+":"+token); + if(StringUtils.isBlank(s)){ + throw new TokenException("用户会话已过期或已在其他设备登录,请重新登录"); + } + RedisUserDTO redisUserDTO = JsonUtil.json2Bean(s, RedisUserDTO.class); + String firstLoginFlag = redisUserDTO.getFirstLoginFlag(); + String requestURI = request.getRequestURI(); + LOGGER.info("requestURI>>>>{}",requestURI); + if("00".equals(firstLoginFlag)&&(!"/app/updatePwd".equals(requestURI))){ + throw new ServiceException("请先进行修改密码操作"); + } + threadLocalOuter.set(redisUserDTO); + return true; + } + + } + + // 边界检查和数据类型验证,您可以根据实际需要修改验证规则 + private boolean isValidInput(String input) { + return input != null && !input.isEmpty() && input.matches("^[a-zA-Z0-9_-]+$"); + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/SqlInjectionInterceptor.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/SqlInjectionInterceptor.java new file mode 100644 index 00000000..04b2ebbf --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/interceptor/SqlInjectionInterceptor.java @@ -0,0 +1,83 @@ +// package com.jiuyv.appgate.interceptor; +// +// /** +// * @author he_jiebing@jiuyv.com +// * @create 2023-09-18 17:14 +// */ +// +// import com.jiuyv.appgate.common.exception.SqlInjectException; +// import org.slf4j.Logger; +// import org.slf4j.LoggerFactory; +// import org.springframework.web.servlet.HandlerInterceptor; +// +// import javax.servlet.http.HttpServletRequest; +// import javax.servlet.http.HttpServletResponse; +// import java.util.Enumeration; +// import java.util.Map; +// +// +// +// public class SqlInjectionInterceptor implements HandlerInterceptor { +// +// private static final Logger LOGGER = LoggerFactory.getLogger(SqlInjectionInterceptor.class); +// +// @Override +// public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { +// +// Enumeration headerNames = request.getHeaderNames(); +// while (headerNames.hasMoreElements()) { +// String headerName = headerNames.nextElement(); +// // 在这里对每个头部名称进行处理 +// LOGGER.info(">>>>>>>>>>>>>>Header Name: >>>{}" ,headerName); +// String headerValue = request.getHeader(headerName); +// LOGGER.info(">>>>>>>>>>Header Value: >>{}" , headerValue); +// if (containsSqlInjection(headerValue)) { +// // 发现 SQL 注入,可以根据需要进行处理,例如记录日志、拒绝请求等 +// //response.setStatus(HttpServletResponse.SC_BAD_REQUEST); +// //response.getWriter().write("Invalid input detected."); +// //return false; +// throw new SqlInjectException("Invalid input detected."); +// } +// } +// +// // 获取请求参数 +// Map paramMap = request.getParameterMap(); +// +// +// // 检查参数中是否存在潜在的 SQL 注入内容 +// for (String[] paramValues : paramMap.values()) { +// for (String paramValue : paramValues) { +// if (containsSqlInjection(paramValue)) { +// // 发现 SQL 注入,可以根据需要进行处理,例如记录日志、拒绝请求等 +// //response.setStatus(HttpServletResponse.SC_BAD_REQUEST); +// //response.getWriter().write("Invalid input detected."); +// //return false; +// throw new SqlInjectException("Invalid input detected."); +// } +// } +// } +// +// +// +// // 没有检测到 SQL 注入,继续处理请求 +// return true; +// } +// +// private boolean containsSqlInjection(String value) { +// // 常见的 SQL 注入关键词,你可以根据需要扩展这个列表 +// String[] sqlKeywords = {"select", "insert", "update", "delete", "drop", +// "truncate", "union", "join", "alter", "create","where","order"}; +// +// // 将参数值转换为小写,以便不区分大小写进行匹配 +// String lowerCaseValue = value.toLowerCase(); +// +// // 检查参数值是否包含 SQL 注入关键词 +// for (String keyword : sqlKeywords) { +// if (lowerCaseValue.contains(keyword)) { +// return true; // 包含 SQL 注入关键词 +// } +// } +// +// return false; // 未发现 SQL 注入关键词 +// } +// } diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysDeptMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysDeptMapper.java new file mode 100644 index 00000000..b8b926a4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysDeptMapper.java @@ -0,0 +1,122 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.SysDept; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 部门管理 数据层 + * + * @author admin + */ +@Mapper +public interface SysDeptMapper +{ + /** + * 查询部门管理数据 + * + * @param dept 部门信息 + * @return 部门信息集合 + */ + public List selectDeptList(SysDept dept); + + /** + * 根据角色ID查询部门树信息 + * + * @param roleId 角色ID + * @param deptCheckStrictly 部门树选择项是否关联显示 + * @return 选中部门列表 + */ + public List selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly); + + /** + * 根据部门ID查询信息 + * + * @param deptId 部门ID + * @return 部门信息 + */ + public SysDept selectDeptById(Long deptId); + + /** + * 根据ID查询所有子部门 + * + * @param deptId 部门ID + * @return 部门列表 + */ + public List selectChildrenDeptById(Long deptId); + + /** + * 根据ID查询所有子部门(正常状态) + * + * @param deptId 部门ID + * @return 子部门数 + */ + public int selectNormalChildrenDeptById(Long deptId); + + /** + * 是否存在子节点 + * + * @param deptId 部门ID + * @return 结果 + */ + public int hasChildByDeptId(Long deptId); + + /** + * 查询部门是否存在用户 + * + * @param deptId 部门ID + * @return 结果 + */ + public int checkDeptExistUser(Long deptId); + + /** + * 校验部门名称是否唯一 + * + * @param deptName 部门名称 + * @param parentId 父部门ID + * @return 结果 + */ + public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId); + + /** + * 新增部门信息 + * + * @param dept 部门信息 + * @return 结果 + */ + public int insertDept(SysDept dept); + + /** + * 修改部门信息 + * + * @param dept 部门信息 + * @return 结果 + */ + public int updateDept(SysDept dept); + + /** + * 修改所在部门正常状态 + * + * @param deptIds 部门ID组 + */ + public void updateDeptStatusNormal(Long[] deptIds); + + /** + * 修改子元素关系 + * + * @param depts 子元素 + * @return 结果 + */ + public int updateDeptChildren(@Param("depts") List depts); + + /** + * 删除部门管理信息 + * + * @param deptId 部门ID + * @return 结果 + */ + public int deleteDeptById(Long deptId); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.java new file mode 100644 index 00000000..91b2e4f3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.java @@ -0,0 +1,45 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.SysLogininfor; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 系统访问日志情况信息 数据层 + * + * @author admin + */ +@Mapper +public interface SysLogininforMapper { + /** + * 新增系统登录日志 + * + * @param logininfor 访问日志对象 + */ + public void insertLogininfor(SysLogininfor logininfor); + + /** + * 查询系统登录日志集合 + * + * @param logininfor 访问日志对象 + * @return 登录记录集合 + */ + public List selectLogininforList(SysLogininfor logininfor); + + /** + * 批量删除系统登录日志 + * + * @param infoIds 需要删除的登录日志ID + * @return 结果 + */ + public int deleteLogininforByIds(Long[] infoIds); + + /** + * 清空系统登录日志 + * + * @return 结果 + */ + public int cleanLogininfor(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.xml b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.xml new file mode 100644 index 00000000..b658583d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysLogininforMapper.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + insert into sys_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time) + values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate()) + + + + + + delete from sys_logininfor where info_id in + + #{infoId} + + + + + truncate table sys_logininfor + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysOperLogMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysOperLogMapper.java new file mode 100644 index 00000000..6e0ee6a0 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/SysOperLogMapper.java @@ -0,0 +1,51 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.SysOperLog; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 操作日志 数据层 + * + * @author admin + */ +@Mapper +public interface SysOperLogMapper { + /** + * 新增操作日志 + * + * @param operLog 操作日志对象 + */ + public void insertOperlog(SysOperLog operLog); + + /** + * 查询系统操作日志集合 + * + * @param operLog 操作日志对象 + * @return 操作日志集合 + */ + public List selectOperLogList(SysOperLog operLog); + + /** + * 批量删除系统操作日志 + * + * @param operIds 需要删除的操作日志ID + * @return 结果 + */ + public int deleteOperLogByIds(Long[] operIds); + + /** + * 查询操作日志详细 + * + * @param operId 操作ID + * @return 操作日志对象 + */ + public SysOperLog selectOperLogById(Long operId); + + /** + * 清空操作日志 + */ + public void cleanOperLog(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailHisInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailHisInfoMapper.java new file mode 100644 index 00000000..eeb834a8 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailHisInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarInspectDetailHisInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆检查信息明细历史Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarInspectDetailHisInfoMapper { + /** + * 查询车辆检查信息明细历史 + * + * @param id 车辆检查信息明细历史主键 + * @return 车辆检查信息明细历史 + */ + TblCarInspectDetailHisInfo selectTblCarInspectDetailHisInfoById(String id); + + /** + * 查询车辆检查信息明细历史列表 + * + * @param tblCarInspectDetailHisInfo 车辆检查信息明细历史 + * @return 车辆检查信息明细历史集合 + */ + List selectTblCarInspectDetailHisInfoList(TblCarInspectDetailHisInfo tblCarInspectDetailHisInfo); + + /** + * 新增车辆检查信息明细历史 + * + * @param tblCarInspectDetailHisInfo 车辆检查信息明细历史 + * @return 结果 + */ + int insertTblCarInspectDetailHisInfo(TblCarInspectDetailHisInfo tblCarInspectDetailHisInfo); + + /** + * 修改车辆检查信息明细历史 + * + * @param tblCarInspectDetailHisInfo 车辆检查信息明细历史 + * @return 结果 + */ + int updateTblCarInspectDetailHisInfo(TblCarInspectDetailHisInfo tblCarInspectDetailHisInfo); + + /** + * 删除车辆检查信息明细历史 + * + * @param id 车辆检查信息明细历史主键 + * @return 结果 + */ + int deleteTblCarInspectDetailHisInfoById(String id); + + /** + * 批量删除车辆检查信息明细历史 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarInspectDetailHisInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailInfoMapper.java new file mode 100644 index 00000000..c9c25d0b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectDetailInfoMapper.java @@ -0,0 +1,67 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarInspectDetailInfo; +import com.jiuyv.appgate.vo.inspect.ResQueryInspectDetailVO; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆检查信息明细Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarInspectDetailInfoMapper { + /** + * 查询车辆检查信息明细 + * + * @param id 车辆检查信息明细主键 + * @return 车辆检查信息明细 + */ + TblCarInspectDetailInfo selectTblCarInspectDetailInfoById(String id); + + /** + * 查询车辆检查信息明细列表 + * + * @param tblCarInspectDetailInfo 车辆检查信息明细 + * @return 车辆检查信息明细集合 + */ + List selectTblCarInspectDetailInfoList(TblCarInspectDetailInfo tblCarInspectDetailInfo); + + /** + * 新增车辆检查信息明细 + * + * @param tblCarInspectDetailInfo 车辆检查信息明细 + * @return 结果 + */ + int insertTblCarInspectDetailInfo(TblCarInspectDetailInfo tblCarInspectDetailInfo); + + /** + * 修改车辆检查信息明细 + * + * @param tblCarInspectDetailInfo 车辆检查信息明细 + * @return 结果 + */ + int updateTblCarInspectDetailInfo(TblCarInspectDetailInfo tblCarInspectDetailInfo); + + /** + * 删除车辆检查信息明细 + * + * @param id 车辆检查信息明细主键 + * @return 结果 + */ + int deleteTblCarInspectDetailInfoById(String id); + + /** + * 批量删除车辆检查信息明细 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarInspectDetailInfoByIds(String[] ids); + + List queryInspectDetailList(TblCarInspectDetailInfo detailCond); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectHisInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectHisInfoMapper.java new file mode 100644 index 00000000..8ca38da3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectHisInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarInspectHisInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆检查信息主历史Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarInspectHisInfoMapper { + /** + * 查询车辆检查信息主历史 + * + * @param id 车辆检查信息主历史主键 + * @return 车辆检查信息主历史 + */ + TblCarInspectHisInfo selectTblCarInspectHisInfoById(String id); + + /** + * 查询车辆检查信息主历史列表 + * + * @param tblCarInspectHisInfo 车辆检查信息主历史 + * @return 车辆检查信息主历史集合 + */ + List selectTblCarInspectHisInfoList(TblCarInspectHisInfo tblCarInspectHisInfo); + + /** + * 新增车辆检查信息主历史 + * + * @param tblCarInspectHisInfo 车辆检查信息主历史 + * @return 结果 + */ + int insertTblCarInspectHisInfo(TblCarInspectHisInfo tblCarInspectHisInfo); + + /** + * 修改车辆检查信息主历史 + * + * @param tblCarInspectHisInfo 车辆检查信息主历史 + * @return 结果 + */ + int updateTblCarInspectHisInfo(TblCarInspectHisInfo tblCarInspectHisInfo); + + /** + * 删除车辆检查信息主历史 + * + * @param id 车辆检查信息主历史主键 + * @return 结果 + */ + int deleteTblCarInspectHisInfoById(String id); + + /** + * 批量删除车辆检查信息主历史 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarInspectHisInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectInfoMapper.java new file mode 100644 index 00000000..94033670 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarInspectInfoMapper.java @@ -0,0 +1,79 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarInspectInfo; +import com.jiuyv.appgate.vo.index.ResInspectDetailVO; +import com.jiuyv.appgate.vo.inspect.ResQueryInspectOrderVO; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆检查信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarInspectInfoMapper { + /** + * 查询车辆检查信息 + * + * @param id 车辆检查信息主键 + * @return 车辆检查信息 + */ + TblCarInspectInfo selectTblCarInspectInfoById(String id); + + /** + * 查询车辆检查信息列表 + * + * @param tblCarInspectInfo 车辆检查信息 + * @return 车辆检查信息集合 + */ + List selectTblCarInspectInfoList(TblCarInspectInfo tblCarInspectInfo); + + /** + * 新增车辆检查信息 + * + * @param tblCarInspectInfo 车辆检查信息 + * @return 结果 + */ + int insertTblCarInspectInfo(TblCarInspectInfo tblCarInspectInfo); + + /** + * 修改车辆检查信息 + * + * @param tblCarInspectInfo 车辆检查信息 + * @return 结果 + */ + int updateTblCarInspectInfo(TblCarInspectInfo tblCarInspectInfo); + + /** + * 删除车辆检查信息 + * + * @param id 车辆检查信息主键 + * @return 结果 + */ + int deleteTblCarInspectInfoById(String id); + + /** + * 批量删除车辆检查信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarInspectInfoByIds(String[] ids); + + + + ResQueryInspectOrderVO selectTblCarInspectInfo(TblCarInspectInfo condition); + + /** + * 根据车架号查询车辆是否存在 + * @param carVin + * @return + */ + TblCarInspectInfo selectTblCarInspectInfoByCarVin(String carVin); + + List queryOrderDetailPage(TblCarInspectInfo cond); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailHisInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailHisInfoMapper.java new file mode 100644 index 00000000..6ff33275 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailHisInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarOrderFormalDetailHisInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆正式委托单信息明细历史Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarOrderFormalDetailHisInfoMapper { + /** + * 查询车辆正式委托单信息明细历史 + * + * @param id 车辆正式委托单信息明细历史主键 + * @return 车辆正式委托单信息明细历史 + */ + TblCarOrderFormalDetailHisInfo selectTblCarOrderFormalDetailHisInfoById(String id); + + /** + * 查询车辆正式委托单信息明细历史列表 + * + * @param tblCarOrderFormalDetailHisInfo 车辆正式委托单信息明细历史 + * @return 车辆正式委托单信息明细历史集合 + */ + List selectTblCarOrderFormalDetailHisInfoList(TblCarOrderFormalDetailHisInfo tblCarOrderFormalDetailHisInfo); + + /** + * 新增车辆正式委托单信息明细历史 + * + * @param tblCarOrderFormalDetailHisInfo 车辆正式委托单信息明细历史 + * @return 结果 + */ + int insertTblCarOrderFormalDetailHisInfo(TblCarOrderFormalDetailHisInfo tblCarOrderFormalDetailHisInfo); + + /** + * 修改车辆正式委托单信息明细历史 + * + * @param tblCarOrderFormalDetailHisInfo 车辆正式委托单信息明细历史 + * @return 结果 + */ + int updateTblCarOrderFormalDetailHisInfo(TblCarOrderFormalDetailHisInfo tblCarOrderFormalDetailHisInfo); + + /** + * 删除车辆正式委托单信息明细历史 + * + * @param id 车辆正式委托单信息明细历史主键 + * @return 结果 + */ + int deleteTblCarOrderFormalDetailHisInfoById(String id); + + /** + * 批量删除车辆正式委托单信息明细历史 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarOrderFormalDetailHisInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailInfoMapper.java new file mode 100644 index 00000000..0b9d4601 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalDetailInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarOrderFormalDetailInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆正式委托单信息明细Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarOrderFormalDetailInfoMapper { + /** + * 查询车辆正式委托单信息明细 + * + * @param id 车辆正式委托单信息明细主键 + * @return 车辆正式委托单信息明细 + */ + TblCarOrderFormalDetailInfo selectTblCarOrderFormalDetailInfoById(String id); + + /** + * 查询车辆正式委托单信息明细列表 + * + * @param tblCarOrderFormalDetailInfo 车辆正式委托单信息明细 + * @return 车辆正式委托单信息明细集合 + */ + List selectTblCarOrderFormalDetailInfoList(TblCarOrderFormalDetailInfo tblCarOrderFormalDetailInfo); + + /** + * 新增车辆正式委托单信息明细 + * + * @param tblCarOrderFormalDetailInfo 车辆正式委托单信息明细 + * @return 结果 + */ + int insertTblCarOrderFormalDetailInfo(TblCarOrderFormalDetailInfo tblCarOrderFormalDetailInfo); + + /** + * 修改车辆正式委托单信息明细 + * + * @param tblCarOrderFormalDetailInfo 车辆正式委托单信息明细 + * @return 结果 + */ + int updateTblCarOrderFormalDetailInfo(TblCarOrderFormalDetailInfo tblCarOrderFormalDetailInfo); + + /** + * 删除车辆正式委托单信息明细 + * + * @param id 车辆正式委托单信息明细主键 + * @return 结果 + */ + int deleteTblCarOrderFormalDetailInfoById(String id); + + /** + * 批量删除车辆正式委托单信息明细 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarOrderFormalDetailInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalHisInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalHisInfoMapper.java new file mode 100644 index 00000000..8b8834eb --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalHisInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarOrderFormalHisInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆正式委托单信息历史Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarOrderFormalHisInfoMapper { + /** + * 查询车辆正式委托单信息历史 + * + * @param id 车辆正式委托单信息历史主键 + * @return 车辆正式委托单信息历史 + */ + TblCarOrderFormalHisInfo selectTblCarOrderFormalHisInfoById(String id); + + /** + * 查询车辆正式委托单信息历史列表 + * + * @param tblCarOrderFormalHisInfo 车辆正式委托单信息历史 + * @return 车辆正式委托单信息历史集合 + */ + List selectTblCarOrderFormalHisInfoList(TblCarOrderFormalHisInfo tblCarOrderFormalHisInfo); + + /** + * 新增车辆正式委托单信息历史 + * + * @param tblCarOrderFormalHisInfo 车辆正式委托单信息历史 + * @return 结果 + */ + int insertTblCarOrderFormalHisInfo(TblCarOrderFormalHisInfo tblCarOrderFormalHisInfo); + + /** + * 修改车辆正式委托单信息历史 + * + * @param tblCarOrderFormalHisInfo 车辆正式委托单信息历史 + * @return 结果 + */ + int updateTblCarOrderFormalHisInfo(TblCarOrderFormalHisInfo tblCarOrderFormalHisInfo); + + /** + * 删除车辆正式委托单信息历史 + * + * @param id 车辆正式委托单信息历史主键 + * @return 结果 + */ + int deleteTblCarOrderFormalHisInfoById(String id); + + /** + * 批量删除车辆正式委托单信息历史 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarOrderFormalHisInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalInfoMapper.java new file mode 100644 index 00000000..8cde2fc9 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarOrderFormalInfoMapper.java @@ -0,0 +1,66 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarOrderFormalInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆正式委托单信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarOrderFormalInfoMapper { + /** + * 查询车辆正式委托单信息 + * + * @param id 车辆正式委托单信息主键 + * @return 车辆正式委托单信息 + */ + TblCarOrderFormalInfo selectTblCarOrderFormalInfoById(String id); + + /** + * 查询车辆正式委托单信息列表 + * + * @param tblCarOrderFormalInfo 车辆正式委托单信息 + * @return 车辆正式委托单信息集合 + */ + List selectTblCarOrderFormalInfoList(TblCarOrderFormalInfo tblCarOrderFormalInfo); + + /** + * 新增车辆正式委托单信息 + * + * @param tblCarOrderFormalInfo 车辆正式委托单信息 + * @return 结果 + */ + int insertTblCarOrderFormalInfo(TblCarOrderFormalInfo tblCarOrderFormalInfo); + + /** + * 修改车辆正式委托单信息 + * + * @param tblCarOrderFormalInfo 车辆正式委托单信息 + * @return 结果 + */ + int updateTblCarOrderFormalInfo(TblCarOrderFormalInfo tblCarOrderFormalInfo); + + /** + * 删除车辆正式委托单信息 + * + * @param id 车辆正式委托单信息主键 + * @return 结果 + */ + int deleteTblCarOrderFormalInfoById(String id); + + /** + * 批量删除车辆正式委托单信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarOrderFormalInfoByIds(String[] ids); + + TblCarOrderFormalInfo selectTblCarOrderFormalInfoByOrderId( String orderId); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordDetailInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordDetailInfoMapper.java new file mode 100644 index 00000000..7f5f19c5 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordDetailInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarPreRecordDetailInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆预录信息明细Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarPreRecordDetailInfoMapper { + /** + * 查询车辆预录信息明细 + * + * @param id 车辆预录信息明细主键 + * @return 车辆预录信息明细 + */ + TblCarPreRecordDetailInfo selectTblCarPreRecordDetailInfoById(String id); + + /** + * 查询车辆预录信息明细列表 + * + * @param tblCarPreRecordDetailInfo 车辆预录信息明细 + * @return 车辆预录信息明细集合 + */ + List selectTblCarPreRecordDetailInfoList(TblCarPreRecordDetailInfo tblCarPreRecordDetailInfo); + + /** + * 新增车辆预录信息明细 + * + * @param tblCarPreRecordDetailInfo 车辆预录信息明细 + * @return 结果 + */ + int insertTblCarPreRecordDetailInfo(TblCarPreRecordDetailInfo tblCarPreRecordDetailInfo); + + /** + * 修改车辆预录信息明细 + * + * @param tblCarPreRecordDetailInfo 车辆预录信息明细 + * @return 结果 + */ + int updateTblCarPreRecordDetailInfo(TblCarPreRecordDetailInfo tblCarPreRecordDetailInfo); + + /** + * 删除车辆预录信息明细 + * + * @param id 车辆预录信息明细主键 + * @return 结果 + */ + int deleteTblCarPreRecordDetailInfoById(String id); + + /** + * 批量删除车辆预录信息明细 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarPreRecordDetailInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordInfoMapper.java new file mode 100644 index 00000000..4ec6890c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCarPreRecordInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCarPreRecordInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 车辆预录信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCarPreRecordInfoMapper { + /** + * 查询车辆预录信息 + * + * @param id 车辆预录信息主键 + * @return 车辆预录信息 + */ + TblCarPreRecordInfo selectTblCarPreRecordInfoById(String id); + + /** + * 查询车辆预录信息列表 + * + * @param tblCarPreRecordInfo 车辆预录信息 + * @return 车辆预录信息集合 + */ + List selectTblCarPreRecordInfoList(TblCarPreRecordInfo tblCarPreRecordInfo); + + /** + * 新增车辆预录信息 + * + * @param tblCarPreRecordInfo 车辆预录信息 + * @return 结果 + */ + int insertTblCarPreRecordInfo(TblCarPreRecordInfo tblCarPreRecordInfo); + + /** + * 修改车辆预录信息 + * + * @param tblCarPreRecordInfo 车辆预录信息 + * @return 结果 + */ + int updateTblCarPreRecordInfo(TblCarPreRecordInfo tblCarPreRecordInfo); + + /** + * 删除车辆预录信息 + * + * @param id 车辆预录信息主键 + * @return 结果 + */ + int deleteTblCarPreRecordInfoById(String id); + + /** + * 批量删除车辆预录信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCarPreRecordInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCompanyInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCompanyInfoMapper.java new file mode 100644 index 00000000..aa9bd9f1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblCompanyInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblCompanyInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 委托单位信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblCompanyInfoMapper { + /** + * 查询委托单位信息 + * + * @param id 委托单位信息主键 + * @return 委托单位信息 + */ + TblCompanyInfo selectTblCompanyInfoById(String id); + + /** + * 查询委托单位信息列表 + * + * @param tblCompanyInfo 委托单位信息 + * @return 委托单位信息集合 + */ + List selectTblCompanyInfoList(TblCompanyInfo tblCompanyInfo); + + /** + * 新增委托单位信息 + * + * @param tblCompanyInfo 委托单位信息 + * @return 结果 + */ + int insertTblCompanyInfo(TblCompanyInfo tblCompanyInfo); + + /** + * 修改委托单位信息 + * + * @param tblCompanyInfo 委托单位信息 + * @return 结果 + */ + int updateTblCompanyInfo(TblCompanyInfo tblCompanyInfo); + + /** + * 删除委托单位信息 + * + * @param id 委托单位信息主键 + * @return 结果 + */ + int deleteTblCompanyInfoById(String id); + + /** + * 批量删除委托单位信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblCompanyInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblFileInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblFileInfoMapper.java new file mode 100644 index 00000000..d5ce57fb --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblFileInfoMapper.java @@ -0,0 +1,66 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblFileInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 文件信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblFileInfoMapper { + /** + * 查询文件信息 + * + * @param id 文件信息主键 + * @return 文件信息 + */ + TblFileInfo selectTblFileInfoById(String id); + + /** + * 查询文件信息列表 + * + * @param tblFileInfo 文件信息 + * @return 文件信息集合 + */ + List selectTblFileInfoList(TblFileInfo tblFileInfo); + + /** + * 新增文件信息 + * + * @param tblFileInfo 文件信息 + * @return 结果 + */ + int insertTblFileInfo(TblFileInfo tblFileInfo); + + /** + * 修改文件信息 + * + * @param tblFileInfo 文件信息 + * @return 结果 + */ + int updateTblFileInfo(TblFileInfo tblFileInfo); + + /** + * 删除文件信息 + * + * @param id 文件信息主键 + * @return 结果 + */ + int deleteTblFileInfoById(String id); + + /** + * 批量删除文件信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblFileInfoByIds(String[] ids); + + List selectUnUsedImgs(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectRecordInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectRecordInfoMapper.java new file mode 100644 index 00000000..8f3040ef --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectRecordInfoMapper.java @@ -0,0 +1,67 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblInspectRecordInfo; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 点检记录信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblInspectRecordInfoMapper { + /** + * 查询点检记录信息 + * + * @param id 点检记录信息主键 + * @return 点检记录信息 + */ + TblInspectRecordInfo selectTblInspectRecordInfoById(String id); + + /** + * 查询点检记录信息列表 + * + * @param tblInspectRecordInfo 点检记录信息 + * @return 点检记录信息集合 + */ + List selectTblInspectRecordInfoList(TblInspectRecordInfo tblInspectRecordInfo); + + /** + * 新增点检记录信息 + * + * @param tblInspectRecordInfo 点检记录信息 + * @return 结果 + */ + int insertTblInspectRecordInfo(TblInspectRecordInfo tblInspectRecordInfo); + + /** + * 修改点检记录信息 + * + * @param tblInspectRecordInfo 点检记录信息 + * @return 结果 + */ + int updateTblInspectRecordInfo(TblInspectRecordInfo tblInspectRecordInfo); + + /** + * 删除点检记录信息 + * + * @param id 点检记录信息主键 + * @return 结果 + */ + int deleteTblInspectRecordInfoById(String id); + + /** + * 批量删除点检记录信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblInspectRecordInfoByIds(String[] ids); + + TblInspectRecordInfo selectTblInspectRecordInfoByCarVin(@Param(value = "carVin") String carVin); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteHisInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteHisInfoMapper.java new file mode 100644 index 00000000..5719ffb3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteHisInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblInspectSiteHisInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 检查场地信息历史Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblInspectSiteHisInfoMapper { + /** + * 查询检查场地信息历史 + * + * @param id 检查场地信息历史主键 + * @return 检查场地信息历史 + */ + TblInspectSiteHisInfo selectTblInspectSiteHisInfoById(String id); + + /** + * 查询检查场地信息历史列表 + * + * @param tblInspectSiteHisInfo 检查场地信息历史 + * @return 检查场地信息历史集合 + */ + List selectTblInspectSiteHisInfoList(TblInspectSiteHisInfo tblInspectSiteHisInfo); + + /** + * 新增检查场地信息历史 + * + * @param tblInspectSiteHisInfo 检查场地信息历史 + * @return 结果 + */ + int insertTblInspectSiteHisInfo(TblInspectSiteHisInfo tblInspectSiteHisInfo); + + /** + * 修改检查场地信息历史 + * + * @param tblInspectSiteHisInfo 检查场地信息历史 + * @return 结果 + */ + int updateTblInspectSiteHisInfo(TblInspectSiteHisInfo tblInspectSiteHisInfo); + + /** + * 删除检查场地信息历史 + * + * @param id 检查场地信息历史主键 + * @return 结果 + */ + int deleteTblInspectSiteHisInfoById(String id); + + /** + * 批量删除检查场地信息历史 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblInspectSiteHisInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteInfoMapper.java new file mode 100644 index 00000000..a96f3160 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectSiteInfoMapper.java @@ -0,0 +1,64 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblInspectSiteInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 检查场地信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblInspectSiteInfoMapper { + /** + * 查询检查场地信息 + * + * @param id 检查场地信息主键 + * @return 检查场地信息 + */ + TblInspectSiteInfo selectTblInspectSiteInfoById(String id); + + /** + * 查询检查场地信息列表 + * + * @param tblInspectSiteInfo 检查场地信息 + * @return 检查场地信息集合 + */ + List selectTblInspectSiteInfoList(TblInspectSiteInfo tblInspectSiteInfo); + + /** + * 新增检查场地信息 + * + * @param tblInspectSiteInfo 检查场地信息 + * @return 结果 + */ + int insertTblInspectSiteInfo(TblInspectSiteInfo tblInspectSiteInfo); + + /** + * 修改检查场地信息 + * + * @param tblInspectSiteInfo 检查场地信息 + * @return 结果 + */ + int updateTblInspectSiteInfo(TblInspectSiteInfo tblInspectSiteInfo); + + /** + * 删除检查场地信息 + * + * @param id 检查场地信息主键 + * @return 结果 + */ + int deleteTblInspectSiteInfoById(String id); + + /** + * 批量删除检查场地信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblInspectSiteInfoByIds(String[] ids); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectorInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectorInfoMapper.java new file mode 100644 index 00000000..40efcde6 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblInspectorInfoMapper.java @@ -0,0 +1,74 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblInspectorInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 检验员信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblInspectorInfoMapper { + /** + * 查询检验员信息 + * + * @param id 检验员信息主键 + * @return 检验员信息 + */ + TblInspectorInfo selectTblInspectorInfoById(String id); + + /** + * 查询检验员信息列表 + * + * @param tblInspectorInfo 检验员信息 + * @return 检验员信息集合 + */ + List selectTblInspectorInfoList(TblInspectorInfo tblInspectorInfo); + + /** + * 校验用户名称是否唯一 + * + * @param userName 用户名称 + * @return 结果 + */ + public TblInspectorInfo checkUserNameUnique(String userName); + + /** + * 新增检验员信息 + * + * @param tblInspectorInfo 检验员信息 + * @return 结果 + */ + int insertTblInspectorInfo(TblInspectorInfo tblInspectorInfo); + + /** + * 重置检验员密码 + * + * @return 结果 + */ + public int resetUserPwd(TblInspectorInfo tblInspectorInfo); + + /** + * 修改检验员信息 + * + * @param tblInspectorInfo 检验员信息 + * @return 结果 + */ + int updateTblInspectorInfo(TblInspectorInfo tblInspectorInfo); + + + + /** + * 删除检验员信息 + * + * @return 结果 + */ + int deleteTblInspectorInfoById(TblInspectorInfo tblInspectorInfo); + + TblInspectorInfo selectInspectInfo(TblInspectorInfo condition); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblNgPartInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblNgPartInfoMapper.java new file mode 100644 index 00000000..d55e4cff --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblNgPartInfoMapper.java @@ -0,0 +1,68 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblNgPartInfo; +import com.jiuyv.appgate.dto.NgPartDTO; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * NG部位信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblNgPartInfoMapper { + /** + * 查询NG部位信息 + * + * @param id NG部位信息主键 + * @return NG部位信息 + */ + TblNgPartInfo selectTblNgPartInfoById(String id); + + /** + * 查询NG部位信息列表 + * + * @param tblNgPartInfo NG部位信息 + * @return NG部位信息集合 + */ + List selectTblNgPartInfoList(TblNgPartInfo tblNgPartInfo); + + /** + * 新增NG部位信息 + * + * @param tblNgPartInfo NG部位信息 + * @return 结果 + */ + int insertTblNgPartInfo(TblNgPartInfo tblNgPartInfo); + + /** + * 修改NG部位信息 + * + * @param tblNgPartInfo NG部位信息 + * @return 结果 + */ + int updateTblNgPartInfo(TblNgPartInfo tblNgPartInfo); + + /** + * 删除NG部位信息 + * + * @param id NG部位信息主键 + * @return 结果 + */ + int deleteTblNgPartInfoById(String id); + + /** + * 批量删除NG部位信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblNgPartInfoByIds(String[] ids); + + NgPartDTO selectById(@Param("ngPartId") String ngPartId); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblPollutantInfoMapper.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblPollutantInfoMapper.java new file mode 100644 index 00000000..e33413d6 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/mapper/TblPollutantInfoMapper.java @@ -0,0 +1,68 @@ +package com.jiuyv.appgate.mapper; + + +import com.jiuyv.appgate.domain.TblPollutantInfo; +import com.jiuyv.appgate.dto.PollutantDTO; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 污染物信息Mapper接口 + * + * @author jiuyv + * @date 2023-07-18 + */ +@Mapper +public interface TblPollutantInfoMapper { + /** + * 查询污染物信息 + * + * @param id 污染物信息主键 + * @return 污染物信息 + */ + TblPollutantInfo selectTblPollutantInfoById(String id); + + /** + * 查询污染物信息列表 + * + * @param tblPollutantInfo 污染物信息 + * @return 污染物信息集合 + */ + List selectTblPollutantInfoList(TblPollutantInfo tblPollutantInfo); + + /** + * 新增污染物信息 + * + * @param tblPollutantInfo 污染物信息 + * @return 结果 + */ + int insertTblPollutantInfo(TblPollutantInfo tblPollutantInfo); + + /** + * 修改污染物信息 + * + * @param tblPollutantInfo 污染物信息 + * @return 结果 + */ + int updateTblPollutantInfo(TblPollutantInfo tblPollutantInfo); + + /** + * 删除污染物信息 + * + * @param id 污染物信息主键 + * @return 结果 + */ + int deleteTblPollutantInfoById(String id); + + /** + * 批量删除污染物信息 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + int deleteTblPollutantInfoByIds(String[] ids); + + PollutantDTO selectById(@Param("pollutantId") String pollutantId); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IFileService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IFileService.java new file mode 100644 index 00000000..20b17ffa --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IFileService.java @@ -0,0 +1,29 @@ +package com.jiuyv.appgate.service; + +import com.jiuyv.appgate.vo.file.ReqFileDeleteVO; +import com.jiuyv.appgate.vo.file.ResFileUploadVO; +import org.springframework.web.multipart.MultipartFile; + +public interface IFileService { + + /** + * 文件上传 + * + * @param file + * @return + */ + ResFileUploadVO fileUpload(MultipartFile file, String orderId, String carVin); + + /** + * 文件删除 + * + * @param req + * @return + */ + void fileDelete(ReqFileDeleteVO req); + + /** + * 删除未被使用的照片 + */ + void deleteUnUsedImgs(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IIndexService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IIndexService.java new file mode 100644 index 00000000..f3e40245 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IIndexService.java @@ -0,0 +1,29 @@ +package com.jiuyv.appgate.service; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.page.TableDataInfo; +import com.jiuyv.appgate.vo.index.ReqOrderDetailVO; +import com.jiuyv.appgate.vo.index.ReqQueryOrderPageVO; + +public interface IIndexService { + /** + * 查询首页委托单信息 + * @param req + * @return + */ + TableDataInfo queryOrderPageV2(ReqQueryOrderPageVO req); + + /** + * 查询每个tab页的车辆信息 + * @param req + * @return + */ + TableDataInfo queryOrderDetailPageV2(ReqOrderDetailVO req); + + /** + * 查询 已检/本账户已经检 NG 总数 + * @param req + * @return + */ + AjaxResult countOrderDetailPage(ReqOrderDetailVO req); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IInspectService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IInspectService.java new file mode 100644 index 00000000..0544eafc --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/IInspectService.java @@ -0,0 +1,50 @@ +package com.jiuyv.appgate.service; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.vo.inspect.ReqDeleteResultVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectListVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectParamVO; +import com.jiuyv.appgate.vo.inspect.ReqSaveResultVO; +import com.jiuyv.appgate.vo.inspect.ReqUpdateResultVO; +import com.jiuyv.appgate.vo.inspect.ReqViewResultVO; + +public interface IInspectService { + /** + * 根据车架号查询检查详情 + */ + AjaxResult queryInspectListV2(ReqQueryInspectListVO req); + + /** + * 查询NG部位和污染物列表 + */ + AjaxResult queryInspectParamV2(ReqQueryInspectParamVO req); + + /** + * 保存检查记录 + * + * @param req + */ + AjaxResult saveResultV2(ReqSaveResultVO req); + + /** + * 查看检查记录详情 + * + * @param req + * @return + */ + AjaxResult viewResultV2(ReqViewResultVO req); + + /** + * 修改检查记录详情 + * + * @param req + */ + AjaxResult updateResultV2(ReqUpdateResultVO req); + + /** + * 删除检查记录 + * + * @param req + */ + AjaxResult deleteResultV2(ReqDeleteResultVO req); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ILoginService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ILoginService.java new file mode 100644 index 00000000..545c479b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ILoginService.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.service; + + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.vo.login.ReqLoginVO; +import com.jiuyv.appgate.vo.login.ReqUpdatePwdVO; +import com.jiuyv.appgate.vo.login.ResGetLoginParamVO; +import com.jiuyv.appgate.vo.login.ResGetUserVO; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 14:50 + */ +public interface ILoginService { + + /** + * 查询登录页部门列表 + * + * @return + */ + ResGetLoginParamVO getOrgList(); + + /** + * 根据部门id查询场地列表 + * + * @param orgId + * @return + */ + ResGetLoginParamVO getSiteList(String orgId); + + /** + * 登录 + * + * @param req + * @return + */ + AjaxResult login(ReqLoginVO req); + + /** + * 修改密码 + * + * @param req + */ + void updatePwd(ReqUpdatePwdVO req); + + /** + * 登出 + */ + void logout(); + + /** + * 查询当前用户信息 + * + * @return + */ + ResGetUserVO getUserInfo(); + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysLogininforService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysLogininforService.java new file mode 100644 index 00000000..4fbf4857 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysLogininforService.java @@ -0,0 +1,41 @@ +package com.jiuyv.appgate.service; + + +import com.jiuyv.appgate.domain.SysLogininfor; + +import java.util.List; + +/** + * 系统访问日志情况信息 服务层 + * + * @author admin + */ +public interface ISysLogininforService { + /** + * 新增系统登录日志 + * + * @param logininfor 访问日志对象 + */ + public void insertLogininfor(SysLogininfor logininfor); + + /** + * 查询系统登录日志集合 + * + * @param logininfor 访问日志对象 + * @return 登录记录集合 + */ + public List selectLogininforList(SysLogininfor logininfor); + + /** + * 批量删除系统登录日志 + * + * @param infoIds 需要删除的登录日志ID + * @return 结果 + */ + public int deleteLogininforByIds(Long[] infoIds); + + /** + * 清空系统登录日志 + */ + public void cleanLogininfor(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysOperLogService.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysOperLogService.java new file mode 100644 index 00000000..3fe0648b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/ISysOperLogService.java @@ -0,0 +1,49 @@ +package com.jiuyv.appgate.service; + + +import com.jiuyv.appgate.domain.SysOperLog; + +import java.util.List; + +/** + * 操作日志 服务层 + * + * @author admin + */ +public interface ISysOperLogService { + /** + * 新增操作日志 + * + * @param operLog 操作日志对象 + */ + public void insertOperlog(SysOperLog operLog); + + /** + * 查询系统操作日志集合 + * + * @param operLog 操作日志对象 + * @return 操作日志集合 + */ + public List selectOperLogList(SysOperLog operLog); + + /** + * 批量删除系统操作日志 + * + * @param operIds 需要删除的操作日志ID + * @return 结果 + */ + public int deleteOperLogByIds(Long[] operIds); + + /** + * 查询操作日志详细 + * + * @param operId 操作ID + * @return 操作日志对象 + */ + public SysOperLog selectOperLogById(Long operId); + + /** + * 清空操作日志 + */ + public void cleanOperLog(); +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/FileServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/FileServiceImpl.java new file mode 100644 index 00000000..6d714f9b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/FileServiceImpl.java @@ -0,0 +1,135 @@ +package com.jiuyv.appgate.service.impl; + + +import com.google.common.io.Files; +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.utils.CarcheckDateUtils; +import com.jiuyv.appgate.common.uuid.IdUtils; +import com.jiuyv.appgate.domain.TblFileInfo; +import com.jiuyv.appgate.dto.RedisUserDTO; +import com.jiuyv.appgate.enums.DataStatusEnum; +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import com.jiuyv.appgate.mapper.TblFileInfoMapper; +import com.jiuyv.appgate.service.IFileService; +import com.jiuyv.appgate.vo.file.ReqFileDeleteVO; +import com.jiuyv.appgate.vo.file.ResFileUploadVO; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.multipart.MultipartFile; + +import java.io.File; +import java.io.IOException; +import java.util.Date; +import java.util.List; + + +@Service +public class FileServiceImpl implements IFileService { + + private static final Logger LOGGER = LoggerFactory.getLogger(FileServiceImpl.class); + + @Autowired + private TblFileInfoMapper fileInfoMapper; + + @Value("${carcheck.app.fileUploadPath}") + private String fileUploadPath; + + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public ResFileUploadVO fileUpload(MultipartFile file, String orderId, String carVin) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + Date now = new Date(); + String userId = redisUserDTO.getId(); + + String newFileName = IdUtils.fastSimpleUUID(); + String dateStr = CarcheckDateUtils.dateTimeNow(); + String suffix = Files.getFileExtension(file.getOriginalFilename()); + long fileSize = file.getSize(); + + // 检查文件类型 + if (!Constants.IMG_TYPE.contains(suffix.toLowerCase())) { + throw new ServiceException("图片格式不正确"); + } + // 检查文件大小 + if (fileSize > Constants.APP_IMG_MAX_SIZE) { + throw new ServiceException("照片过大,最大不能超过10M"); + } + + String fileName = dateStr + "_" + newFileName + "." + suffix; + // 写文件到目录 + // String fullFilePath = fileUploadPath+fileName; + String dateDir = CarcheckDateUtils.dateTime() + "/" + orderId + "/" + carVin; + String fileUrl = "/" + dateDir + "/" + fileName; + String dir = fileUploadPath + "/" + dateDir; + File dirFile = new File(dir); + String fullFilePath = dir + "/" + fileName; + try { + if (!dirFile.exists() && !dirFile.isDirectory()) { + dirFile.mkdirs(); + } + + Files.write(file.getBytes(), new File(fullFilePath)); + } catch (IOException e) { + LOGGER.error("FileServiceImpl.fileUpload occur exception,>>{}", e.getMessage()); + // Add more logging to understand the directory and file path + LOGGER.error("Directory: {}", dir); + LOGGER.error("Full File Path: {}", fullFilePath); + throw new ServiceException("上传照片失败"); + } + TblFileInfo fileInfo = new TblFileInfo(); + fileInfo.setId(IdUtils.fastSimpleUUID()); + // fileInfo.setBusinessId(""); + fileInfo.setFileType("01"); + fileInfo.setFileName(fileName); + fileInfo.setFilePath(fullFilePath); + fileInfo.setFileUrl(fileUrl); + fileInfo.setStatus(DataStatusEnum.NORMAL.getCode()); + fileInfo.setCreateUserId(userId); + fileInfo.setCreateTime(now); + fileInfo.setUpdateUserId(userId); + fileInfo.setUpdateTime(now); + fileInfoMapper.insertTblFileInfo(fileInfo); + ResFileUploadVO resFileUploadVO = new ResFileUploadVO(); + resFileUploadVO.setFileId(fileInfo.getId()); + return resFileUploadVO; + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public void fileDelete(ReqFileDeleteVO req) { + String fileId = req.getFileId(); + TblFileInfo dbFile = fileInfoMapper.selectTblFileInfoById(fileId); + String filePath1 = dbFile.getFilePath(); + File file1 = new File(filePath1); + if (file1.exists()) { + //file1.delete(); + if(file1.delete()){ + fileInfoMapper.deleteTblFileInfoById(fileId); + } + } + + } + + @Override + public void deleteUnUsedImgs() { + List list = fileInfoMapper.selectUnUsedImgs(); + for (TblFileInfo dbFile : list) { + String filePath1 = dbFile.getFilePath(); + File file1 = new File(filePath1); + if (file1.exists()) { + //file1.delete(); + if(file1.delete()){ + fileInfoMapper.deleteTblFileInfoById(dbFile.getId()); + } + } + + } + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/IndexServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/IndexServiceImpl.java new file mode 100644 index 00000000..4df5f112 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/IndexServiceImpl.java @@ -0,0 +1,131 @@ +package com.jiuyv.appgate.service.impl; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.page.TableDataInfo; +import com.jiuyv.appgate.common.text.Convert; +import com.jiuyv.appgate.common.utils.HttpUtil; +import com.jiuyv.appgate.common.utils.JsonUtil; +import com.jiuyv.appgate.common.utils.ServletUtils; +import com.jiuyv.appgate.dto.RedisUserDTO; +import com.jiuyv.appgate.enums.CheckStatusEnum; +import com.jiuyv.appgate.enums.RespCodeEnum; +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import com.jiuyv.appgate.service.IIndexService; +import com.jiuyv.appgate.vo.index.ReqOrderDetailVO; +import com.jiuyv.appgate.vo.index.ReqQueryOrderPageVO; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; + +import java.io.IOException; +import java.util.Map; + + +@Service +public class IndexServiceImpl implements IIndexService { + + private static final Logger LOGGER = LoggerFactory.getLogger(InspectServiceImpl.class); + + + @Autowired + private HttpUtil httpUtil; + + @Value("${carcheck.app.httpRequestUrl}") + private String requestUrl; + + /** + * 当前记录起始索引 + */ + public static final String PAGE_NUM = "pageNum"; + + /** + * 每页显示记录数 + */ + public static final String PAGE_SIZE = "pageSize"; + + @Override + public TableDataInfo queryOrderPageV2(ReqQueryOrderPageVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String url = requestUrl + "/app/api/index/queryOrderPage"; + req.setOrgId(redisUserDTO.getOrgId()); + Map params = JsonUtil.convertBeanToMap(req); + Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); + Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); + params.put(PAGE_NUM, pageNum); + params.put(PAGE_SIZE, pageSize); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, JsonUtil.toJSONString(params)); + String response = httpUtil.sendGetRequestWithBeanParams(url, params); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + TableDataInfo dataInfo = JsonUtil.json2Bean(response, TableDataInfo.class); + return dataInfo; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Override + public TableDataInfo queryOrderDetailPageV2(ReqOrderDetailVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String url = requestUrl + "/app/api/index/queryOrderDetailPage"; + req.setOrgId(redisUserDTO.getOrgId()); + req.setUserId(redisUserDTO.getId()); + Map params = JsonUtil.convertBeanToMap(req); + Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); + Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); + params.put(PAGE_NUM, pageNum); + params.put(PAGE_SIZE, pageSize); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, JsonUtil.toJSONString(params)); + String response = httpUtil.sendGetRequestWithBeanParams(url, params); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + TableDataInfo dataInfo = JsonUtil.json2Bean(response, TableDataInfo.class); + return dataInfo; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Override + public AjaxResult countOrderDetailPage(ReqOrderDetailVO req) { + String status = req.getStatus(); + if (CheckStatusEnum.CHECKED_CLEANED.getCode().equals(status) || CheckStatusEnum.SELF_CHECK.getCode().equals(status)) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String url = requestUrl + "/app/api/index/countOrderDetailPage"; + req.setOrgId(redisUserDTO.getOrgId()); + req.setUserId(redisUserDTO.getId()); + Map params = JsonUtil.convertBeanToMap(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, JsonUtil.toJSONString(params)); + String response = httpUtil.sendGetRequestWithBeanParams(url, params); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult resCountOrderDetailPageVo = JsonUtil.json2Bean(response, AjaxResult.class); + return resCountOrderDetailPageVo; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } else { + throw new ServiceException("查询参数不正确,status>>>" + status); + } + + } +} \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/InspectServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/InspectServiceImpl.java new file mode 100644 index 00000000..64fc51b3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/InspectServiceImpl.java @@ -0,0 +1,200 @@ +package com.jiuyv.appgate.service.impl; + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.utils.HttpUtil; +import com.jiuyv.appgate.common.utils.JsonUtil; +import com.jiuyv.appgate.dto.RedisUserDTO; +import com.jiuyv.appgate.enums.RespCodeEnum; +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import com.jiuyv.appgate.service.IInspectService; +import com.jiuyv.appgate.vo.inspect.ReqDeleteResultVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectListVO; +import com.jiuyv.appgate.vo.inspect.ReqQueryInspectParamVO; +import com.jiuyv.appgate.vo.inspect.ReqSaveResultDetailVO; +import com.jiuyv.appgate.vo.inspect.ReqSaveResultVO; +import com.jiuyv.appgate.vo.inspect.ReqUpdateResultVO; +import com.jiuyv.appgate.vo.inspect.ReqViewResultVO; +import org.apache.commons.lang3.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; + +import java.io.IOException; +import java.util.List; + + +@Service +public class InspectServiceImpl implements IInspectService { + + private static final Logger LOGGER = LoggerFactory.getLogger(InspectServiceImpl.class); + + @Autowired + private HttpUtil httpUtil; + + @Value("${carcheck.app.httpRequestUrl}") + private String requestUrl; + + /** + * 当前记录起始索引 + */ + public static final String PAGE_NUM = "pageNum"; + + /** + * 每页显示记录数 + */ + public static final String PAGE_SIZE = "pageSize"; + + @Override + public AjaxResult queryInspectListV2(ReqQueryInspectListVO req) { + String url = requestUrl + "/app/api/inspect/queryInspectList"; + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Override + public AjaxResult queryInspectParamV2(ReqQueryInspectParamVO req) { + String url = requestUrl + "/app/api/inspect/queryInspectParam"; + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public AjaxResult saveResultV2(ReqSaveResultVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + List detailList = req.getDetailList(); + if(detailList.isEmpty()){ + throw new ServiceException("无污染物数据,无法保存"); + } + // 修复app端上送时间24:59:00问题 + req.setInspectFinishTime(repair00(req.getInspectFinishTime())); + req.setInspectStartTime(repair00(req.getInspectStartTime())); + + String url = requestUrl + "/app/api/inspect/saveResult"; + req.setUserId(redisUserDTO.getId()); + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Override + public AjaxResult viewResultV2(ReqViewResultVO req) { + String url = requestUrl + "/app/api/inspect/viewResult"; + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public AjaxResult updateResultV2(ReqUpdateResultVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String url = requestUrl + "/app/api/inspect/updateResult"; + req.setUserId(redisUserDTO.getId()); + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public AjaxResult deleteResultV2(ReqDeleteResultVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String url = requestUrl + "/app/api/inspect/deleteResult"; + req.setUserId(redisUserDTO.getId()); + String jsonStr = JsonUtil.toJSONString(req); + try { + LOGGER.info(">>>>>>>>>>>>>请求http调用服务接口url>>{},请求参数为:>>{}", url, jsonStr); + String response = httpUtil.sendPostRequest(url, jsonStr); + LOGGER.info(">>>>>>>>>>>>>响应http调用服务接口response>>{}", response); + if (StringUtils.isNotBlank(response)) { + AjaxResult result = JsonUtil.json2Bean(response, AjaxResult.class); + return result; + } + } catch (IOException e) { + throw new ServiceException(RespCodeEnum.SYSTEM_ERROR.getMsg()); + } catch (ServiceException e1) { + throw new ServiceException(e1.getMessage()); + } + return null; + } + + /** + * 修复24点为00点 如:2024-02-28 24:59:06 > 2024-02-28 00:59:06 + * + */ + private String repair00(String dateTime) { + if (dateTime.charAt(11) == '2' && dateTime.charAt(12) == '4') { + return dateTime.substring(0, 11) + "00" + dateTime.substring(13); + } + return dateTime; + } + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java new file mode 100644 index 00000000..30c80a4a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java @@ -0,0 +1,337 @@ +package com.jiuyv.appgate.service.impl; + + +import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.exception.ServiceException; +import com.jiuyv.appgate.common.utils.JsonUtil; +import com.jiuyv.appgate.common.uuid.IdUtils; +import com.jiuyv.appgate.domain.SysDept; +import com.jiuyv.appgate.domain.TblInspectSiteInfo; +import com.jiuyv.appgate.domain.TblInspectorInfo; +import com.jiuyv.appgate.dto.RedisUserDTO; +import com.jiuyv.appgate.enums.DataStatusEnum; +import com.jiuyv.appgate.enums.RespCodeEnum; +import com.jiuyv.appgate.enums.UserStatusEnum; +import com.jiuyv.appgate.interceptor.LoginInterceptor; +import com.jiuyv.appgate.mapper.SysDeptMapper; +import com.jiuyv.appgate.mapper.TblInspectSiteInfoMapper; +import com.jiuyv.appgate.mapper.TblInspectorInfoMapper; +import com.jiuyv.appgate.service.ILoginService; +import com.jiuyv.appgate.thread.AsyncManager; +import com.jiuyv.appgate.thread.factory.AsyncFactory; +import com.jiuyv.appgate.vo.login.ReqLoginVO; +import com.jiuyv.appgate.vo.login.ReqUpdatePwdVO; +import com.jiuyv.appgate.vo.login.ResGetLoginParamVO; +import com.jiuyv.appgate.vo.login.ResGetUserVO; +import com.jiuyv.appgate.vo.login.ResInspectSiteVO; +import com.jiuyv.appgate.vo.login.ResLoginVO; +import com.jiuyv.appgate.vo.login.ResOrgVO; +import com.jiuyv.smhelper.SM4Util; +import org.bouncycastle.pqc.math.linearalgebra.ByteUtils; +import org.springframework.beans.BeanUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Propagation; +import org.springframework.transaction.annotation.Transactional; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import java.util.Date; +import java.util.List; +import java.util.Set; +import java.util.concurrent.TimeUnit; +import java.util.stream.Collectors; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 14:51 + */ +@Service +public class LoginServiceImpl implements ILoginService { + + @Value("${carcheck.app.appEncryptKey}") + private String appEncryptKey; + + @Value("${carcheck.app.dbEncryptKey}") + private String dbEncryptKey; + + @Autowired + private SysDeptMapper sysDeptMapper; + + @Autowired + private TblInspectSiteInfoMapper inspectSiteInfoMapper; + + @Autowired + private TblInspectorInfoMapper inspectorInfoMapper; + + @Autowired + private StringRedisTemplate redisTemplate; + + @Value("${carcheck.app.enableMultiLogin}") + private Boolean enableMultiLogin; + + + @Override + public ResGetLoginParamVO getOrgList() { + ResGetLoginParamVO result = new ResGetLoginParamVO(); + SysDept sysDept = new SysDept(); + List sysDepts = sysDeptMapper.selectDeptList(sysDept); + List orgList = sysDepts.stream().map(item -> { + ResOrgVO resOrgVO = new ResOrgVO(); + resOrgVO.setOrgName(item.getDeptName()); + resOrgVO.setOrgId(item.getDeptId() + ""); + return resOrgVO; + }).collect(Collectors.toList()); + result.setOrgList(orgList); + return result; + } + + @Override + public ResGetLoginParamVO getSiteList(String orgId) { + ResGetLoginParamVO result = new ResGetLoginParamVO(); + TblInspectSiteInfo site = new TblInspectSiteInfo(); + site.setDataStatus(DataStatusEnum.NORMAL.getCode()); + site.setStatus(DataStatusEnum.NORMAL.getCode()); + site.setOrgId(orgId); + List siteInfos = inspectSiteInfoMapper.selectTblInspectSiteInfoList(site); + List siteList = siteInfos.stream().map(item -> { + ResInspectSiteVO resInspectSiteVO = new ResInspectSiteVO(); + resInspectSiteVO.setSiteId(item.getId()); + resInspectSiteVO.setSiteName(item.getSiteName()); + return resInspectSiteVO; + }).collect(Collectors.toList()); + result.setSiteList(siteList); + return result; + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public AjaxResult login(ReqLoginVO req) { + Date now = new Date(); + String orgId = req.getOrgId(); + String username = req.getUsername(); + String password = req.getPassword(); + TblInspectorInfo condition = new TblInspectorInfo(); + condition.setOrgId(orgId); + condition.setUsername(username); + condition.setDataStatus(DataStatusEnum.NORMAL.getCode()); + TblInspectorInfo dbUser = inspectorInfoMapper.selectInspectInfo(condition); + if (null == dbUser) { + // 用户不存在 + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, RespCodeEnum.USER_NOT_EXIST.getMsg())); + throw new ServiceException(RespCodeEnum.USER_NOT_EXIST.getMsg(), RespCodeEnum.USER_NOT_EXIST.getCode()); + } + // TblInspectorInfo dbUser = dbUserList.get(0); + // 先判断用户状态 + String status = dbUser.getStatus(); + if (UserStatusEnum.DISABLED.getCode().equals(status)) { + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, RespCodeEnum.USER_DISABLED.getMsg())); + throw new ServiceException(RespCodeEnum.USER_DISABLED.getMsg(), RespCodeEnum.USER_DISABLED.getCode()); + } + if (UserStatusEnum.LOCKED.getCode().equals(status)) { + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, RespCodeEnum.USER_LOCKED.getMsg())); + throw new ServiceException(RespCodeEnum.USER_LOCKED.getMsg(), RespCodeEnum.USER_LOCKED.getCode()); + } + String dbPwd = dbUser.getPassword(); + Integer pwdErrCnt = dbUser.getPwdErrCnt(); + + // 先将前端传过来的密码进行解密 + String plainPwd = ""; + String encryPwd = ""; + try { + // plainPwd = SM4Utils.decryptUseSm4Ecb(password, appEncryptKey.getBytes("UTF-8")); + byte[] bytes = SM4Util.decrypt_ECB_Padding(ByteUtils.fromHexString(appEncryptKey), ByteUtils.fromHexString(password)); + plainPwd = new String(bytes); + byte[] bytes1 = SM4Util.encrypt_ECB_Padding(ByteUtils.fromHexString(dbEncryptKey), plainPwd.getBytes("UTF-8")); + encryPwd = ByteUtils.toHexString(bytes1); + } catch (Exception e) { + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, RespCodeEnum.SYSTEM_ERROR.getMsg())); + throw new RuntimeException(e); + } + // String encryPwd = SM4Utils.encryptUseSm4Ecb(plainPwd, dbEncryptKey); + + if (!dbPwd.equals(encryPwd)) { + // 密码不正确 + // 判断锁定次数是否超过5次,如果超过5次则锁定,没有则累加1 + pwdErrCnt += 1; + if (pwdErrCnt >= Constants.PASSWORD_ERROR_MAX_COUNT) { + TblInspectorInfo update = new TblInspectorInfo(); + update.setId(dbUser.getId()); + update.setStatus(UserStatusEnum.LOCKED.getCode()); + update.setPwdErrCnt(Constants.PASSWORD_ERROR_MAX_COUNT); + update.setUpdateTime(now); + inspectorInfoMapper.updateTblInspectorInfo(update); + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, "密码错误次数已超过5次,用户已锁定,请联系管理员进行解锁")); + return AjaxResult.error("密码错误次数已超过5次,用户已锁定,请联系管理员进行解锁"); + + } else { + TblInspectorInfo update = new TblInspectorInfo(); + // update.setLastLoginTime(now); + update.setId(dbUser.getId()); + update.setPwdErrCnt(pwdErrCnt); + update.setUpdateTime(now); + inspectorInfoMapper.updateTblInspectorInfo(update); + String errorMsg = "密码已错误" + pwdErrCnt + "次,还可尝试登录" + (Constants.PASSWORD_ERROR_MAX_COUNT - pwdErrCnt) + "次"; + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, errorMsg)); + return AjaxResult.error(errorMsg); + } + } + + ResLoginVO resLoginVO = new ResLoginVO(); + String fingerprint = req.getFingerprint(); + BeanUtils.copyProperties(dbUser, resLoginVO); + RedisUserDTO redisUserDTO = new RedisUserDTO(); + // 生成token 存储到redis ,30分钟有效期 + String token = IdUtils.fastSimpleUUID(); + BeanUtils.copyProperties(dbUser, redisUserDTO); + redisUserDTO.setToken(token); + redisUserDTO.setFingerprint(fingerprint); + + + if(!enableMultiLogin){ + // 先查询redis 所有的用户token进行遍历,如果存在,则删除key + Set keys = redisTemplate.keys(Constants.LOGIN_USER_CACHE_PREFIX + "*"); + for(String key : keys){ + String s = redisTemplate.opsForValue().get(key); + RedisUserDTO redisUser = JsonUtil.json2Bean(s, RedisUserDTO.class); + if(redisUserDTO.getId().equals(redisUser.getId())){ + redisTemplate.delete(key); + } + } + } + + + + redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token, JsonUtil.toJSONString(redisUserDTO), + Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); + resLoginVO.setToken(token); + + TblInspectorInfo update = new TblInspectorInfo(); + update.setLastLoginTime(now); + update.setId(dbUser.getId()); + inspectorInfoMapper.updateTblInspectorInfo(update); + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_SUCCESS, "APP端登录成功")); + return AjaxResult.success(resLoginVO); + } + + @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) + @Override + public void updatePwd(ReqUpdatePwdVO req) { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String oldPwd = req.getOldPwd(); + String newPwd = req.getNewPwd(); + TblInspectorInfo dbUser = inspectorInfoMapper.selectTblInspectorInfoById(redisUserDTO.getId()); + if (null == dbUser) { + // 用户不存在 + throw new ServiceException(RespCodeEnum.USER_NOT_EXIST.getMsg(), RespCodeEnum.USER_NOT_EXIST.getCode()); + } + // 先判断用户状态 + String status = dbUser.getStatus(); + if (UserStatusEnum.DISABLED.getCode().equals(status)) { + throw new ServiceException(RespCodeEnum.USER_DISABLED.getMsg(), RespCodeEnum.USER_DISABLED.getCode()); + } + if (UserStatusEnum.LOCKED.getCode().equals(status)) { + throw new ServiceException(RespCodeEnum.USER_LOCKED.getMsg(), RespCodeEnum.USER_LOCKED.getCode()); + } + + // 先将前端传过来的密码进行解密 + String plainPwd = ""; + String newPlainPwd = ""; + String encryPwd = ""; + String encryNewPwd = ""; + try { + // plainPwd = SM4Utils.decryptUseSm4Ecb(oldPwd, appEncryptKey.getBytes("UTF-8")); + byte[] bytes = SM4Util.decrypt_ECB_Padding(ByteUtils.fromHexString(appEncryptKey), ByteUtils.fromHexString(oldPwd)); + plainPwd = new String(bytes); + + byte[] bytes1 = SM4Util.encrypt_ECB_Padding(ByteUtils.fromHexString(dbEncryptKey), plainPwd.getBytes("UTF-8")); + encryPwd = ByteUtils.toHexString(bytes1); + + + // newPlainPwd = SM4Utils.decryptUseSm4Ecb(newPwd, appEncryptKey.getBytes("UTF-8")); + byte[] newPwdBytes = SM4Util.decrypt_ECB_Padding(ByteUtils.fromHexString(appEncryptKey), ByteUtils.fromHexString(newPwd)); + newPlainPwd = new String(newPwdBytes); + byte[] newPwdBytes1 = SM4Util.encrypt_ECB_Padding(ByteUtils.fromHexString(dbEncryptKey), newPlainPwd.getBytes("UTF-8")); + encryNewPwd = ByteUtils.toHexString(newPwdBytes1); + + } catch (Exception e) { + throw new RuntimeException(e); + } + + if (!dbUser.getPassword().equals(encryPwd)) { + // 密码不正确 + throw new ServiceException(RespCodeEnum.OLD_PWD_ERROR.getMsg(), RespCodeEnum.OLD_PWD_ERROR.getCode()); + } + + TblInspectorInfo update = new TblInspectorInfo(); + update.setPassword(encryNewPwd); + update.setUpdateUserId(redisUserDTO.getId()); + update.setUpdateTime(new Date()); + update.setFirstLoginFlag("01"); + update.setId(dbUser.getId()); + inspectorInfoMapper.updateTblInspectorInfo(update); + redisUserDTO.setFirstLoginFlag("01"); + redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + redisUserDTO.getFingerprint() + ":" + redisUserDTO.getToken(), JsonUtil.toJSONString(redisUserDTO), + Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); + + } + + @Override + public void logout() { + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + String username = redisUserDTO.getUsername(); + //HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + ServletRequestAttributes requestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); + + if(null != requestAttributes){ + HttpServletRequest request = requestAttributes.getRequest(); + if(null != request){ + String token = request.getHeader(Constants.HEADER_TOKEN); + String fingerprint = request.getHeader(Constants.HEADER_FINGERPRINT); + redisTemplate.delete(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token); + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGOUT, "APP端登出成功")); + + } + } + + + + } + + @Override + public ResGetUserVO getUserInfo() { + ResGetUserVO result = new ResGetUserVO(); + RedisUserDTO redisUserDTO = LoginInterceptor.threadLocalOuter.get(); + + // 重新生成新的token + //HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + ServletRequestAttributes requestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); + if(null != requestAttributes){ + HttpServletRequest request = requestAttributes.getRequest(); + if(null != request){ + String token = request.getHeader(Constants.HEADER_TOKEN); + String fingerprint = request.getHeader(Constants.HEADER_FINGERPRINT); + + // 生成新token 存储到redis ,30分钟有效期 + String newToken = IdUtils.fastSimpleUUID(); + redisUserDTO.setToken(newToken); + redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + newToken, JsonUtil.toJSONString(redisUserDTO), + Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); + // 删除旧token + redisTemplate.delete(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token); + BeanUtils.copyProperties(redisUserDTO, result); + result.setToken(newToken); + return result; + } + } + + return null; + + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysLogininforServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysLogininforServiceImpl.java new file mode 100644 index 00000000..634fc47c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysLogininforServiceImpl.java @@ -0,0 +1,65 @@ +package com.jiuyv.appgate.service.impl; + + +import com.jiuyv.appgate.domain.SysLogininfor; +import com.jiuyv.appgate.mapper.SysLogininforMapper; +import com.jiuyv.appgate.service.ISysLogininforService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 系统访问日志情况信息 服务层处理 + * + * @author admin + */ +@Service +public class SysLogininforServiceImpl implements ISysLogininforService { + private final SysLogininforMapper logininforMapper; + + @Autowired + public SysLogininforServiceImpl(SysLogininforMapper logininforMapper) { + this.logininforMapper = logininforMapper; + } + + /** + * 新增系统登录日志 + * + * @param logininfor 访问日志对象 + */ + @Override + public void insertLogininfor(SysLogininfor logininfor) { + logininforMapper.insertLogininfor(logininfor); + } + + /** + * 查询系统登录日志集合 + * + * @param logininfor 访问日志对象 + * @return 登录记录集合 + */ + @Override + public List selectLogininforList(SysLogininfor logininfor) { + return logininforMapper.selectLogininforList(logininfor); + } + + /** + * 批量删除系统登录日志 + * + * @param infoIds 需要删除的登录日志ID + * @return 结果 + */ + @Override + public int deleteLogininforByIds(Long[] infoIds) { + return logininforMapper.deleteLogininforByIds(infoIds); + } + + /** + * 清空系统登录日志 + */ + @Override + public void cleanLogininfor() { + logininforMapper.cleanLogininfor(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysOperLogServiceImpl.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysOperLogServiceImpl.java new file mode 100644 index 00000000..c445de7d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/service/impl/SysOperLogServiceImpl.java @@ -0,0 +1,76 @@ +package com.jiuyv.appgate.service.impl; + + +import com.jiuyv.appgate.domain.SysOperLog; +import com.jiuyv.appgate.mapper.SysOperLogMapper; +import com.jiuyv.appgate.service.ISysOperLogService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 操作日志 服务层处理 + * + * @author admin + */ +@Service +public class SysOperLogServiceImpl implements ISysOperLogService { + private final SysOperLogMapper operLogMapper; + + @Autowired + public SysOperLogServiceImpl(SysOperLogMapper operLogMapper) { + this.operLogMapper = operLogMapper; + } + + /** + * 新增操作日志 + * + * @param operLog 操作日志对象 + */ + @Override + public void insertOperlog(SysOperLog operLog) { + operLogMapper.insertOperlog(operLog); + } + + /** + * 查询系统操作日志集合 + * + * @param operLog 操作日志对象 + * @return 操作日志集合 + */ + @Override + public List selectOperLogList(SysOperLog operLog) { + return operLogMapper.selectOperLogList(operLog); + } + + /** + * 批量删除系统操作日志 + * + * @param operIds 需要删除的操作日志ID + * @return 结果 + */ + @Override + public int deleteOperLogByIds(Long[] operIds) { + return operLogMapper.deleteOperLogByIds(operIds); + } + + /** + * 查询操作日志详细 + * + * @param operId 操作ID + * @return 操作日志对象 + */ + @Override + public SysOperLog selectOperLogById(Long operId) { + return operLogMapper.selectOperLogById(operId); + } + + /** + * 清空操作日志 + */ + @Override + public void cleanOperLog() { + operLogMapper.cleanOperLog(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/AsyncManager.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/AsyncManager.java new file mode 100644 index 00000000..7f6369cd --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/AsyncManager.java @@ -0,0 +1,53 @@ +package com.jiuyv.appgate.thread; + + +import com.jiuyv.appgate.common.utils.SpringUtils; + +import java.util.TimerTask; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; + +/** + * 异步任务管理器 + * + * @author admin + */ +public final class AsyncManager { + /** + * 操作延迟10毫秒 + */ + private static final int OPERATE_DELAY_TIME = 10; + + /** + * 异步操作任务调度线程池 + */ + private ScheduledExecutorService executor = SpringUtils.getBean("scheduledExecutorService"); + + /** + * 单例模式 + */ + private AsyncManager() { + } + + private static AsyncManager me = new AsyncManager(); + + public static AsyncManager me() { + return me; + } + + /** + * 执行任务 + * + * @param task 任务 + */ + public void execute(TimerTask task) { + executor.schedule(task, OPERATE_DELAY_TIME, TimeUnit.MILLISECONDS); + } + + /** + * 停止任务线程池 + */ + public void shutdown() { + Threads.shutdownAndAwaitTermination(executor); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/ShutdownManager.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/ShutdownManager.java new file mode 100644 index 00000000..6a7ddaca --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/ShutdownManager.java @@ -0,0 +1,30 @@ +package com.jiuyv.appgate.thread; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; + +import javax.annotation.PreDestroy; + +/** + * 确保应用退出时能关闭后台线程 + * + * @author admin + */ +@Component +public class ShutdownManager { + private static final Logger LOGGER = LoggerFactory.getLogger("sys-user"); + + @PreDestroy + public void destroy() { + shutdownAsyncManager(); + } + + /** + * 停止异步执行任务 + */ + private void shutdownAsyncManager() { + LOGGER.info("====关闭后台任务任务线程池===="); + AsyncManager.me().shutdown(); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/Threads.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/Threads.java new file mode 100644 index 00000000..48bd7187 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/Threads.java @@ -0,0 +1,81 @@ +package com.jiuyv.appgate.thread; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.concurrent.CancellationException; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Future; +import java.util.concurrent.TimeUnit; + +/** + * 线程相关工具类. + * + * @author admin + */ +public final class Threads { + private static final Logger LOGGER = LoggerFactory.getLogger(Threads.class); + + private Threads() { + } + + /** + * sleep等待,单位为毫秒 + */ + public static void sleep(long milliseconds) { + try { + Thread.sleep(milliseconds); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + } + } + + /** + * 停止线程池 + * 先使用shutdown, 停止接收新任务并尝试完成所有已存在任务. + * 如果超时, 则调用shutdownNow, 取消在workQueue中Pending的任务,并中断所有阻塞函数. + * 如果仍然超時,則強制退出. + * 另对在shutdown时线程本身被调用中断做了处理. + */ + public static void shutdownAndAwaitTermination(ExecutorService pool) { + if (pool != null && !pool.isShutdown()) { + pool.shutdown(); + try { + if (!pool.awaitTermination(120, TimeUnit.SECONDS)) { + pool.shutdownNow(); + if (!pool.awaitTermination(120, TimeUnit.SECONDS)) { + LOGGER.info("Pool did not terminate"); + } + } + } catch (InterruptedException ie) { + pool.shutdownNow(); + Thread.currentThread().interrupt(); + } + } + } + + /** + * 打印线程异常信息 + */ + public static void printException(Runnable r, Throwable t) { + if (t == null && r instanceof Future) { + try { + Future future = (Future) r; + if (future.isDone()) { + future.get(); + } + } catch (CancellationException ce) { + t = ce; + } catch (ExecutionException ee) { + LOGGER.error(ee.getMessage(), ee); + t = ee.getCause(); + } catch (InterruptedException ie) { + Thread.currentThread().interrupt(); + } + } + if (t != null) { + LOGGER.error(t.getMessage(), t); + } + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/AsyncFactory.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/AsyncFactory.java new file mode 100644 index 00000000..8617dc3c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/AsyncFactory.java @@ -0,0 +1,54 @@ +package com.jiuyv.appgate.thread.factory; + + +import com.jiuyv.appgate.common.utils.ServletUtils; +import com.jiuyv.appgate.common.utils.SpringUtils; +import com.jiuyv.appgate.common.utils.ip.AddressUtils; +import com.jiuyv.appgate.common.utils.ip.IpUtils; +import com.jiuyv.appgate.domain.SysOperLog; +import com.jiuyv.appgate.service.ISysOperLogService; + +import java.util.TimerTask; + +/** + * 异步工厂(产生任务用) + * + * @author admin + */ +public final class AsyncFactory { + + private AsyncFactory() { + } + + /** + * 记录登录信息 + * + * @param username 用户名 + * @param status 状态 + * @param message 消息 + * @param args 列表 + * @return 任务task + */ + public static TimerTask recordLogininfor(final String username, final String status, final String message, + final Object... args) { + final String ip = IpUtils.getIpAddr(ServletUtils.getRequest()); + return new MyTimerTask(ip, username, status, message, args); + } + + /** + * 操作日志记录 + * + * @param operLog 操作日志信息 + * @return 任务task + */ + public static TimerTask recordOper(final SysOperLog operLog) { + return new TimerTask() { + @Override + public void run() { + // 远程查询操作地点 + operLog.setOperLocation(AddressUtils.getRealAddressByIP(operLog.getOperIp())); + SpringUtils.getBean(ISysOperLogService.class).insertOperlog(operLog); + } + }; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/MyTimerTask.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/MyTimerTask.java new file mode 100644 index 00000000..4c466aa8 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/thread/factory/MyTimerTask.java @@ -0,0 +1,71 @@ +package com.jiuyv.appgate.thread.factory; + + +import com.jiuyv.appgate.common.constant.Constants; +import com.jiuyv.appgate.common.utils.CarcheckStringUtils; +import com.jiuyv.appgate.common.utils.LogUtils; +import com.jiuyv.appgate.common.utils.ServletUtils; +import com.jiuyv.appgate.common.utils.SpringUtils; +import com.jiuyv.appgate.common.utils.ip.AddressUtils; +import com.jiuyv.appgate.domain.SysLogininfor; +import com.jiuyv.appgate.service.ISysLogininforService; +import eu.bitwalker.useragentutils.UserAgent; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.TimerTask; + +public class MyTimerTask extends TimerTask { + private static final Logger LOGGER = LoggerFactory.getLogger("sys-user"); + private final UserAgent userAgent = UserAgent.parseUserAgentString(ServletUtils.getRequest().getHeader("User-Agent")); + private final String ip; + private final String username; + private final String status; + private final String message; + private final Object[] args; + + public MyTimerTask(String ip, String username, String status, String message, Object[] args) { + this.ip = ip; + this.username = username; + this.status = status; + this.message = message; + this.args = args; + } + + @Override + public void run() { + String address = AddressUtils.getRealAddressByIP(ip); + StringBuilder s = new StringBuilder(); + s.append(LogUtils.getBlock(ip)); + s.append(address); + s.append(LogUtils.getBlock(username)); + s.append(LogUtils.getBlock(status)); + s.append(LogUtils.getBlock(message)); + // 打印信息到日志 + LOGGER.info(s.toString(), args); + // 获取客户端操作系统 + String os = userAgent.getOperatingSystem().getName(); + // 获取客户端浏览器 + String browser = userAgent.getBrowser().getName(); + // 封装对象 + SysLogininfor logininfor = new SysLogininfor(); + logininfor.setUserName(username); + logininfor.setIpaddr(ip); + logininfor.setLoginLocation(address); + logininfor.setBrowser(browser); + logininfor.setOs(os); + logininfor.setMsg(message); + // app端用户 + logininfor.setOperatorType(2); + // 日志状态 + if (CarcheckStringUtils.equalsAny(status, Constants.LOGIN_SUCCESS, Constants.LOGOUT, Constants.REGISTER)) { + logininfor.setStatus(Constants.SUCCESS); + } else if (Constants.LOGIN_FAIL.equals(status)) { + logininfor.setStatus(Constants.FAIL); + } else { + LOGGER.error("日志状态错误"); + } + // 插入数据 + SpringUtils.getBean(ISysLogininforService.class).insertLogininfor(logininfor); + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ReqFileDeleteVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ReqFileDeleteVO.java new file mode 100644 index 00000000..83f72dfd --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ReqFileDeleteVO.java @@ -0,0 +1,32 @@ +package com.jiuyv.appgate.vo.file; + + + +import java.io.Serializable; + +/** + *

    Title: ReqDeleteFile

    + *

    Description:

    + * @author he_jiebing@jiuyv.com + @date 2020年9月7日 上午10:15:43 + */ + +public class ReqFileDeleteVO implements Serializable{ + + /** + * serialVersionUID + */ + private static final long serialVersionUID = 6716320877532617565L; + + + private String fileId; + public String getFileId() { + return fileId; + } + public void setFileId(String fileId) { + this.fileId = fileId; + } + + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ResFileUploadVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ResFileUploadVO.java new file mode 100644 index 00000000..9fde93b4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/file/ResFileUploadVO.java @@ -0,0 +1,21 @@ +package com.jiuyv.appgate.vo.file; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-26 14:24 + */ +public class ResFileUploadVO implements Serializable { + private static final long serialVersionUID = 2076707900673956750L; + + private String fileId; + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqOrderDetailVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqOrderDetailVO.java new file mode 100644 index 00000000..0193faf1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqOrderDetailVO.java @@ -0,0 +1,90 @@ +package com.jiuyv.appgate.vo.index; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +public class ReqOrderDetailVO implements Serializable { + private static final long serialVersionUID = 7164931986376338800L; + /** + * 委托单号 + */ + @NotBlank(message = "委托单号不能为空") + private String orderId; + + /** + * 检查类型 00:底盘 01:车身 + */ + @NotBlank(message = "检查类型不能为空") + private String checkType; + + /** + * 场地id + */ + @NotBlank(message = "检查场地不能为空") + private String siteId; + + @NotBlank(message = "状态不能为空") + private String status; + + private String orgId; + + private String userId; + + private String carVin; + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public String getSiteId() { + return siteId; + } + + public void setSiteId(String siteId) { + this.siteId = siteId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqQueryOrderPageVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqQueryOrderPageVO.java new file mode 100644 index 00000000..cc2fcb90 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ReqQueryOrderPageVO.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.vo.index; + +import java.io.Serializable; + +public class ReqQueryOrderPageVO implements Serializable { + + private static final long serialVersionUID = 1166863817308272475L; + /** + * 委托单号 + */ + private String orderId; + + /** + * 船名航次 + */ + private String shipName; + + /** + * 委托单位名称 + */ + private String companyName; + + /** + * 检查员的部门id + */ + private String orgId; + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResCountOrderDetailPageVo.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResCountOrderDetailPageVo.java new file mode 100644 index 00000000..a73d61d1 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResCountOrderDetailPageVo.java @@ -0,0 +1,31 @@ +package com.jiuyv.appgate.vo.index; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-09-07 10:49 + */ +public class ResCountOrderDetailPageVo implements Serializable { + + private static final long serialVersionUID = 4515401741159814772L; + private Integer totalCount; + + private Integer ngCount; + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getNgCount() { + return ngCount; + } + + public void setNgCount(Integer ngCount) { + this.ngCount = ngCount; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResInspectDetailVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResInspectDetailVO.java new file mode 100644 index 00000000..f6869a96 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResInspectDetailVO.java @@ -0,0 +1,71 @@ +package com.jiuyv.appgate.vo.index; + +import java.io.Serializable; +import java.util.Date; + +public class ResInspectDetailVO implements Serializable { + + private static final long serialVersionUID = -8567214729081663750L; + /** + * 车架号 + */ + + private String carVin; + + /** + * 检查时间 + */ + private Date inspectTime; + + /** + * 车身检查时间 + */ + private Date carBodyInspectTime; + + /** + * 底盘检查时间 + */ + private Date chassisInspectTime; + + private String srcType; + + public String getSrcType() { + return srcType; + } + + public void setSrcType(String srcType) { + this.srcType = srcType; + } + + public Date getCarBodyInspectTime() { + return carBodyInspectTime; + } + + public void setCarBodyInspectTime(Date carBodyInspectTime) { + this.carBodyInspectTime = carBodyInspectTime; + } + + public Date getChassisInspectTime() { + return chassisInspectTime; + } + + public void setChassisInspectTime(Date chassisInspectTime) { + this.chassisInspectTime = chassisInspectTime; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public Date getInspectTime() { + return inspectTime; + } + + public void setInspectTime(Date inspectTime) { + this.inspectTime = inspectTime; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResOrderDetailVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResOrderDetailVO.java new file mode 100644 index 00000000..63a49bc6 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/index/ResOrderDetailVO.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.vo.index; + +import com.jiuyv.appgate.vo.inspect.ResInspectVO; + +import java.io.Serializable; +import java.util.List; + +public class ResOrderDetailVO implements Serializable { + + private static final long serialVersionUID = 8761766762972459626L; + private ResInspectVO order; + + /** + * 未检查 + */ + private List unInspectCarList; + + /** + * 已检查已清理 + */ + private List inspectedCarList; + + /** + * 已检查未清理 + */ + private List inspectedUncleanCarList; + + public List getInspectedUncleanCarList() { + return inspectedUncleanCarList; + } + + public void setInspectedUncleanCarList(List inspectedUncleanCarList) { + this.inspectedUncleanCarList = inspectedUncleanCarList; + } + + public ResInspectVO getOrder() { + return order; + } + + public void setOrder(ResInspectVO order) { + this.order = order; + } + + public List getUnInspectCarList() { + return unInspectCarList; + } + + public void setUnInspectCarList(List unInspectCarList) { + this.unInspectCarList = unInspectCarList; + } + + public List getInspectedCarList() { + return inspectedCarList; + } + + public void setInspectedCarList(List inspectedCarList) { + this.inspectedCarList = inspectedCarList; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqDeleteResultVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqDeleteResultVO.java new file mode 100644 index 00000000..a298d24f --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqDeleteResultVO.java @@ -0,0 +1,31 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-27 13:21 + */ +public class ReqDeleteResultVO implements Serializable { + private static final long serialVersionUID = -7358518645635796418L; + + private String id; + + private String userId; + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectListVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectListVO.java new file mode 100644 index 00000000..91605731 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectListVO.java @@ -0,0 +1,59 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +public class ReqQueryInspectListVO implements Serializable { + + private static final long serialVersionUID = -3789083486404856445L; + /** + * 车架号 + */ + private String carVin; + + /** + * 委托单号 + */ + private String orderId; + + /** + * 检查场地 + */ + private String siteId; + + /** + * 检查类型 00:底盘 01:车身 + */ + private String checkType; + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getSiteId() { + return siteId; + } + + public void setSiteId(String siteId) { + this.siteId = siteId; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectParamVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectParamVO.java new file mode 100644 index 00000000..28643c32 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqQueryInspectParamVO.java @@ -0,0 +1,21 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +public class ReqQueryInspectParamVO implements Serializable { + private static final long serialVersionUID = -8686647085821171813L; + + /** + * 检查类型 00 底盘 01 车身 + */ + + private String checkType; + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultDetailVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultDetailVO.java new file mode 100644 index 00000000..21ce66c8 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultDetailVO.java @@ -0,0 +1,110 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 14:30 + */ +public class ReqSaveResultDetailVO implements Serializable { + + private static final long serialVersionUID = 8214105760962707525L; + + + + /** + * 检查部位id + */ + + private String ngPartId; + + /** + * 污染物种类id + */ + + private String pollutantId; + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + /** + * 图片id list + */ + private List fileIds; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } + + public String getNgPartId() { + return ngPartId; + } + + public void setNgPartId(String ngPartId) { + this.ngPartId = ngPartId; + } + + public String getPollutantId() { + return pollutantId; + } + + public void setPollutantId(String pollutantId) { + this.pollutantId = pollutantId; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public List getFileIds() { + return fileIds; + } + + public void setFileIds(List fileIds) { + this.fileIds = fileIds; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultVO.java new file mode 100644 index 00000000..afc86ba4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqSaveResultVO.java @@ -0,0 +1,110 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 14:24 + */ +public class ReqSaveResultVO implements Serializable { + private static final long serialVersionUID = -7483820321060116441L; + + private String userId; + + /** + * 委托单号 + */ + private String orderId; + + /** + * 车架号 + */ + private String carVin; + + /** + * 检查开始时间 + */ + private String inspectStartTime; + + /** + * 车身检查完成时间 + */ + private String inspectFinishTime; + + /** + * 检查类型 00 底盘 01 车身 + */ + private String checkType; + + /** + * 场地id + */ + private String siteId; + + private List detailList; + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getInspectStartTime() { + return inspectStartTime; + } + + public void setInspectStartTime(String inspectStartTime) { + this.inspectStartTime = inspectStartTime; + } + + public String getInspectFinishTime() { + return inspectFinishTime; + } + + public void setInspectFinishTime(String inspectFinishTime) { + this.inspectFinishTime = inspectFinishTime; + } + + public String getCheckType() { + return checkType; + } + + public void setCheckType(String checkType) { + this.checkType = checkType; + } + + public String getSiteId() { + return siteId; + } + + public void setSiteId(String siteId) { + this.siteId = siteId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + public List getDetailList() { + return detailList; + } + + public void setDetailList(List detailList) { + this.detailList = detailList; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqUpdateResultVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqUpdateResultVO.java new file mode 100644 index 00000000..1a80ab88 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqUpdateResultVO.java @@ -0,0 +1,127 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-27 13:21 + */ +public class ReqUpdateResultVO implements Serializable { + private static final long serialVersionUID = -1000155570008880943L; + + private String id; + + /** + * 检查部位id + */ + + private String ngPartId; + + /** + * 污染物种类id + */ + + private String pollutantId; + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + /** + * 图片id list + */ + private List fileIds; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + private String userId; + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getNgPartId() { + return ngPartId; + } + + public void setNgPartId(String ngPartId) { + this.ngPartId = ngPartId; + } + + public String getPollutantId() { + return pollutantId; + } + + public void setPollutantId(String pollutantId) { + this.pollutantId = pollutantId; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public List getFileIds() { + return fileIds; + } + + public void setFileIds(List fileIds) { + this.fileIds = fileIds; + } + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqViewResultVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqViewResultVO.java new file mode 100644 index 00000000..b0fdb340 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ReqViewResultVO.java @@ -0,0 +1,21 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-27 13:13 + */ +public class ReqViewResultVO implements Serializable { + private static final long serialVersionUID = -7966079284270060298L; + + private String id; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectImgVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectImgVO.java new file mode 100644 index 00000000..fc47cc4c --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectImgVO.java @@ -0,0 +1,31 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-27 13:36 + */ +public class ResInspectImgVO implements Serializable { + + private static final long serialVersionUID = -1404187635721070763L; + private String fileId; + + private String fileUrl; + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileUrl() { + return fileUrl; + } + + public void setFileUrl(String fileUrl) { + this.fileUrl = fileUrl; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectVO.java new file mode 100644 index 00000000..c39c9975 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResInspectVO.java @@ -0,0 +1,139 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + + +public class ResInspectVO implements Serializable { + private static final long serialVersionUID = -1381854341281426629L; + /** + * 主键 + */ + private String id; + + /** + * 所属单位d + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + private String companyName; + /** + * 船名航次 + */ + + private String shipName; + + /** + * 数量 + */ + + private Integer carCount; + + /** + * 车身待检车辆 + */ + private Integer carBodyCheckCount; + + /** + * 底盘待检车辆 + */ + private Integer chassisCheckCount; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public Integer getCarCount() { + return carCount; + } + + public void setCarCount(Integer carCount) { + this.carCount = carCount; + } + + public Integer getCarBodyCheckCount() { + return carBodyCheckCount; + } + + public void setCarBodyCheckCount(Integer carBodyCheckCount) { + this.carBodyCheckCount = carBodyCheckCount; + } + + public Integer getChassisCheckCount() { + return chassisCheckCount; + } + + public void setChassisCheckCount(Integer chassisCheckCount) { + this.chassisCheckCount = chassisCheckCount; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResNgPartVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResNgPartVO.java new file mode 100644 index 00000000..863e208d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResNgPartVO.java @@ -0,0 +1,48 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 13:32 + */ +public class ResNgPartVO implements Serializable { + private static final long serialVersionUID = 7760113015246404622L; + + /** + * 主键 + */ + private String ngPartId; + + /** + * NG部位名称 + */ + + private String ngPartName; + + private String handFill; + + public String getHandFill() { + return handFill; + } + + public void setHandFill(String handFill) { + this.handFill = handFill; + } + + public String getNgPartId() { + return ngPartId; + } + + public void setNgPartId(String ngPartId) { + this.ngPartId = ngPartId; + } + + public String getNgPartName() { + return ngPartName; + } + + public void setNgPartName(String ngPartName) { + this.ngPartName = ngPartName; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResPollutantVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResPollutantVO.java new file mode 100644 index 00000000..d5bbcbb3 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResPollutantVO.java @@ -0,0 +1,49 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 13:33 + */ +public class ResPollutantVO implements Serializable { + private static final long serialVersionUID = -3382606244728666583L; + + /** + * 主键 + */ + + private String pollutantId; + + /** + * 污染物名称 + */ + + private String pollutantName; + + private String handFill; + + public String getHandFill() { + return handFill; + } + + public void setHandFill(String handFill) { + this.handFill = handFill; + } + + public String getPollutantId() { + return pollutantId; + } + + public void setPollutantId(String pollutantId) { + this.pollutantId = pollutantId; + } + + public String getPollutantName() { + return pollutantName; + } + + public void setPollutantName(String pollutantName) { + this.pollutantName = pollutantName; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectDetailVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectDetailVO.java new file mode 100644 index 00000000..18a87880 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectDetailVO.java @@ -0,0 +1,283 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 11:25 + */ +public class ResQueryInspectDetailVO implements Serializable { + private static final long serialVersionUID = -1847764689047476572L; + + /** + * 主键 + */ + + private String id; + + + /** + * 检查部位 + */ + + private String inspectPartFirst; + + /** + * 检查部位二级 + */ + + private String inspectPartSecond; + + /** + * 二级部位id + */ + private String ngPartId; + + /** + * 二级部分名称 + */ + private String ngPartName; + + /** + * 污染物三级id + */ + private String pollutantId; + + /** + * 污染物三级名称 + */ + private String pollutantName; + + + + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + + /** + * 污染物种类 + */ + + private String pollutantType; + + /** + * 污染物具体种类 + */ + + private String pollutantDetailType; + + /** + * 污染物具体描述 + */ + + private String pollutantDetailDesc; + + /** + * 检查时间 + */ + + + private Date inspectTime; + + /** + * 检查人id + */ + + private String inspectUserId; + + /** + * 是否可编辑 + */ + private Boolean editFlag; + + /** + * 图片地址 + */ + private List imgUrlList; + + private String checkImg; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + private String realname; + + public String getRealname() { + return realname; + } + + public void setRealname(String realname) { + this.realname = realname; + } + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } + + public String getCheckImg() { + return checkImg; + } + + public void setCheckImg(String checkImg) { + this.checkImg = checkImg; + } + + public List getImgUrlList() { + return imgUrlList; + } + + public void setImgUrlList(List imgUrlList) { + this.imgUrlList = imgUrlList; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public String getNgPartId() { + return ngPartId; + } + + public void setNgPartId(String ngPartId) { + this.ngPartId = ngPartId; + } + + public String getNgPartName() { + return ngPartName; + } + + public void setNgPartName(String ngPartName) { + this.ngPartName = ngPartName; + } + + public String getPollutantId() { + return pollutantId; + } + + public void setPollutantId(String pollutantId) { + this.pollutantId = pollutantId; + } + + public String getPollutantName() { + return pollutantName; + } + + public void setPollutantName(String pollutantName) { + this.pollutantName = pollutantName; + } + + public Boolean getEditFlag() { + return editFlag; + } + + public void setEditFlag(Boolean editFlag) { + this.editFlag = editFlag; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getInspectPartFirst() { + return inspectPartFirst; + } + + public void setInspectPartFirst(String inspectPartFirst) { + this.inspectPartFirst = inspectPartFirst; + } + + public String getInspectPartSecond() { + return inspectPartSecond; + } + + public void setInspectPartSecond(String inspectPartSecond) { + this.inspectPartSecond = inspectPartSecond; + } + + public String getPollutantType() { + return pollutantType; + } + + public void setPollutantType(String pollutantType) { + this.pollutantType = pollutantType; + } + + public String getPollutantDetailType() { + return pollutantDetailType; + } + + public void setPollutantDetailType(String pollutantDetailType) { + this.pollutantDetailType = pollutantDetailType; + } + + public String getPollutantDetailDesc() { + return pollutantDetailDesc; + } + + public void setPollutantDetailDesc(String pollutantDetailDesc) { + this.pollutantDetailDesc = pollutantDetailDesc; + } + + public Date getInspectTime() { + return inspectTime; + } + + public void setInspectTime(Date inspectTime) { + this.inspectTime = inspectTime; + } + + public String getInspectUserId() { + return inspectUserId; + } + + public void setInspectUserId(String inspectUserId) { + this.inspectUserId = inspectUserId; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectListVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectListVO.java new file mode 100644 index 00000000..ac172d66 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectListVO.java @@ -0,0 +1,51 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +public class ResQueryInspectListVO implements Serializable { + private static final long serialVersionUID = 5393525562716937287L; + + private Boolean carExistFlag; + + private ResQueryInspectOrderVO inspectOrder; + + /** + * 委托单状态 00 未完成 01 已完成 + */ + private String orderFlag; + + private List inspectDetailList; + + public String getOrderFlag() { + return orderFlag; + } + + public void setOrderFlag(String orderFlag) { + this.orderFlag = orderFlag; + } + + public Boolean getCarExistFlag() { + return carExistFlag; + } + + public void setCarExistFlag(Boolean carExistFlag) { + this.carExistFlag = carExistFlag; + } + + public ResQueryInspectOrderVO getInspectOrder() { + return inspectOrder; + } + + public void setInspectOrder(ResQueryInspectOrderVO inspectOrder) { + this.inspectOrder = inspectOrder; + } + + public List getInspectDetailList() { + return inspectDetailList; + } + + public void setInspectDetailList(List inspectDetailList) { + this.inspectDetailList = inspectDetailList; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectOrderVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectOrderVO.java new file mode 100644 index 00000000..ced44f79 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectOrderVO.java @@ -0,0 +1,151 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-21 10:33 + */ +public class ResQueryInspectOrderVO implements Serializable { + private static final long serialVersionUID = -7345712065732498037L; + + /** + * 主键 + */ + + private String id; + + + /** + * 所属单位id + */ + + private String orgId; + + /** + * 检验单位id + */ + + private String inspectOrgId; + + /** + * 委托单号 + */ + + private String orderId; + + /** + * 委托单位 + */ + + private String companyId; + + /** + * 委托单位名称 + */ + private String companyName; + + /** + * 船名航次 + */ + + private String shipName; + + + /** + * 车架号 + */ + + private String carVin; + + /** + * 相反检查部位描述 + */ + private String otherCheckTypeDesc; + + private String srcType; + + public String getSrcType() { + return srcType; + } + + public void setSrcType(String srcType) { + this.srcType = srcType; + } + + public String getOtherCheckTypeDesc() { + return otherCheckTypeDesc; + } + + public void setOtherCheckTypeDesc(String otherCheckTypeDesc) { + this.otherCheckTypeDesc = otherCheckTypeDesc; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getInspectOrgId() { + return inspectOrgId; + } + + public void setInspectOrgId(String inspectOrgId) { + this.inspectOrgId = inspectOrgId; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getCompanyId() { + return companyId; + } + + public void setCompanyId(String companyId) { + this.companyId = companyId; + } + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getShipName() { + return shipName; + } + + public void setShipName(String shipName) { + this.shipName = shipName; + } + + public String getCarVin() { + return carVin; + } + + public void setCarVin(String carVin) { + this.carVin = carVin; + } + + +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectParamVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectParamVO.java new file mode 100644 index 00000000..2f784da7 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResQueryInspectParamVO.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +public class ResQueryInspectParamVO implements Serializable { + + private static final long serialVersionUID = -6786478102875110237L; + private List pollutantList; + + private List ngPartList; + + public List getPollutantList() { + return pollutantList; + } + + public void setPollutantList(List pollutantList) { + this.pollutantList = pollutantList; + } + + public List getNgPartList() { + return ngPartList; + } + + public void setNgPartList(List ngPartList) { + this.ngPartList = ngPartList; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResViewResultVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResViewResultVO.java new file mode 100644 index 00000000..05445bd4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/inspect/ResViewResultVO.java @@ -0,0 +1,107 @@ +package com.jiuyv.appgate.vo.inspect; + +import java.io.Serializable; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-27 13:13 + */ +public class ResViewResultVO implements Serializable { + private static final long serialVersionUID = -7966079284270060298L; + + /** + * 检查部位id + */ + + private String ngPartId; + + /** + * 污染物种类id + */ + + private String pollutantId; + + /** + * 是否发现污染物 00 是 01 否 + */ + + private String pollutantFlag; + + /** + * 清理与否 00 是 01 否 + */ + + private String cleanFlag; + + /** + * 图片id list + */ + private List imgs; + + /** + * 部位其他内容备注 + */ + private String partComment; + + /** + * 污染物其他内容 + */ + private String pollutantComment; + + public String getNgPartId() { + return ngPartId; + } + + public void setNgPartId(String ngPartId) { + this.ngPartId = ngPartId; + } + + public String getPollutantId() { + return pollutantId; + } + + public void setPollutantId(String pollutantId) { + this.pollutantId = pollutantId; + } + + public String getPollutantFlag() { + return pollutantFlag; + } + + public void setPollutantFlag(String pollutantFlag) { + this.pollutantFlag = pollutantFlag; + } + + public String getCleanFlag() { + return cleanFlag; + } + + public void setCleanFlag(String cleanFlag) { + this.cleanFlag = cleanFlag; + } + + public List getImgs() { + return imgs; + } + + public void setImgs(List imgs) { + this.imgs = imgs; + } + + public String getPartComment() { + return partComment; + } + + public void setPartComment(String partComment) { + this.partComment = partComment; + } + + public String getPollutantComment() { + return pollutantComment; + } + + public void setPollutantComment(String pollutantComment) { + this.pollutantComment = pollutantComment; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqGetUserVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqGetUserVO.java new file mode 100644 index 00000000..6e5e5cc4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqGetUserVO.java @@ -0,0 +1,11 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 17:08 + */ +public class ReqGetUserVO implements Serializable { + private static final long serialVersionUID = -8396250962692945550L; +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLoginVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLoginVO.java new file mode 100644 index 00000000..4a116eff --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLoginVO.java @@ -0,0 +1,67 @@ +package com.jiuyv.appgate.vo.login; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 14:52 + */ +public class ReqLoginVO implements Serializable { + + private static final long serialVersionUID = 3368507953380847076L; + /** + * 用户名 + */ + @NotBlank(message = "用户名不能为空") + private String username; + + /** + * 密码 :sm4加密 + */ + @NotBlank(message = "密码不能为空") + private String password; + + /** + * 部门id + */ + @NotBlank(message = "部门不能为空") + private String orgId; + + /** + * app端设备指纹 + */ + private String fingerprint; + + public String getFingerprint() { + return fingerprint; + } + + public void setFingerprint(String fingerprint) { + this.fingerprint = fingerprint; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLogoutVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLogoutVO.java new file mode 100644 index 00000000..bd2f5937 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqLogoutVO.java @@ -0,0 +1,16 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 17:07 + */ +public class ReqLogoutVO implements Serializable { + private static final long serialVersionUID = -6881377908168655770L; + + /** + * 用户token + */ + private String token; +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqUpdatePwdVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqUpdatePwdVO.java new file mode 100644 index 00000000..53fbfd4f --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ReqUpdatePwdVO.java @@ -0,0 +1,34 @@ +package com.jiuyv.appgate.vo.login; + +import javax.validation.constraints.NotBlank; +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 17:06 + */ +public class ReqUpdatePwdVO implements Serializable { + private static final long serialVersionUID = -8772059497320459636L; + + @NotBlank(message = "原密码不能为空") + private String oldPwd; + + @NotBlank(message = "新密码不能为空") + private String newPwd; + + public String getOldPwd() { + return oldPwd; + } + + public void setOldPwd(String oldPwd) { + this.oldPwd = oldPwd; + } + + public String getNewPwd() { + return newPwd; + } + + public void setNewPwd(String newPwd) { + this.newPwd = newPwd; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetLoginParamVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetLoginParamVO.java new file mode 100644 index 00000000..181cf6b6 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetLoginParamVO.java @@ -0,0 +1,32 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; +import java.util.List; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-19 14:12 + */ +public class ResGetLoginParamVO implements Serializable { + + private static final long serialVersionUID = -7782526025498015141L; + private List orgList; + + private List siteList; + + public List getOrgList() { + return orgList; + } + + public void setOrgList(List orgList) { + this.orgList = orgList; + } + + public List getSiteList() { + return siteList; + } + + public void setSiteList(List siteList) { + this.siteList = siteList; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetUserVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetUserVO.java new file mode 100644 index 00000000..70cfe86a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResGetUserVO.java @@ -0,0 +1,95 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 17:07 + */ +public class ResGetUserVO implements Serializable { + private static final long serialVersionUID = -8502135064344590372L; + private String token; + + /** + * 用户名 + */ + private String username; + + /** + * 姓名 + */ + private String realname; + + /** + * 手机号 + */ + private String phone; + + /** + * 所属单位id + */ + private String orgId; + + /** + * 是否首次登录 00 是 01 否 + */ + private String firstLoginFlag; + + private String deptName; + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName; + } + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getRealname() { + return realname; + } + + public void setRealname(String realname) { + this.realname = realname; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getFirstLoginFlag() { + return firstLoginFlag; + } + + public void setFirstLoginFlag(String firstLoginFlag) { + this.firstLoginFlag = firstLoginFlag; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResInspectSiteVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResInspectSiteVO.java new file mode 100644 index 00000000..3b8a58b2 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResInspectSiteVO.java @@ -0,0 +1,37 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 16:24 + */ +public class ResInspectSiteVO implements Serializable { + + private static final long serialVersionUID = 1407881316737649722L; + /** + * 场地id + */ + private String siteId; + + /** + * 场地名称 + */ + private String siteName; + + public String getSiteId() { + return siteId; + } + + public void setSiteId(String siteId) { + this.siteId = siteId; + } + + public String getSiteName() { + return siteName; + } + + public void setSiteName(String siteName) { + this.siteName = siteName; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResLoginVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResLoginVO.java new file mode 100644 index 00000000..e680a66a --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResLoginVO.java @@ -0,0 +1,97 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 14:52 + */ +public class ResLoginVO implements Serializable { + + private static final long serialVersionUID = -7620074198108090923L; + + private String token; + + /** + * 用户名 + */ + private String username; + + /** + * 姓名 + */ + private String realname; + + /** + * 手机号 + */ + private String phone; + + /** + * 所属单位id + */ + private String orgId; + + /** + * 是否首次登录 00 是 01 否 + */ + private String firstLoginFlag; + + private String deptName; + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName; + } + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getRealname() { + return realname; + } + + public void setRealname(String realname) { + this.realname = realname; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getFirstLoginFlag() { + return firstLoginFlag; + } + + public void setFirstLoginFlag(String firstLoginFlag) { + this.firstLoginFlag = firstLoginFlag; + } +} diff --git a/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResOrgVO.java b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResOrgVO.java new file mode 100644 index 00000000..ae012642 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/java/com/jiuyv/appgate/vo/login/ResOrgVO.java @@ -0,0 +1,37 @@ +package com.jiuyv.appgate.vo.login; + +import java.io.Serializable; + +/** + * @author he_jiebing@jiuyv.com + * @create 2023-07-18 15:54 + */ +public class ResOrgVO implements Serializable { + + private static final long serialVersionUID = -1031502459452053504L; + /** + * 部门id + */ + private String orgId; + + /** + * 部门名称 + */ + private String orgName; + + public String getOrgId() { + return orgId; + } + + public void setOrgId(String orgId) { + this.orgId = orgId; + } + + public String getOrgName() { + return orgName; + } + + public void setOrgName(String orgName) { + this.orgName = orgName; + } +} diff --git a/carcheck-appgate - 副本/src/main/resources/application.yml b/carcheck-appgate - 副本/src/main/resources/application.yml new file mode 100644 index 00000000..60406239 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/application.yml @@ -0,0 +1,133 @@ +# 开发环境配置 +server: + port: 8090 #本地 + servlet: + # 应用的访问路径 + context-path: / + tomcat: + # tomcat的URI编码 + uri-encoding: UTF-8 + # 连接数满后的排队数,默认为100 + accept-count: 1000 + threads: + # tomcat最大线程数,默认为200 + max: 800 + # Tomcat启动初始化的线程数,默认值10 + min-spare: 100 + +# 日志配置 + +logging: + level: + com.jiuyv.appgate: debug + config: classpath:logback-boot.xml + + + +# MyBatis配置 +mybatis: + # 搜索指定包别名 + typeAliasesPackage: com.jiuyv.**.domain + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapperLocations: classpath*:mapper/**/*Mapper.xml + # 加载全局的配置文件 + configLocation: classpath:mybatis/mybatis-config.xml + +# PageHelper分页插件 +pagehelper: + helperDialect: mysql + supportMethodsArguments: true + params: count=countSql + + +spring: + application: + name: carcheck + # 资源信息 + messages: + # 国际化资源文件路径 + basename: i18n/messages + # 文件上传 + servlet: + multipart: + # 单个文件大小 + max-file-size: 10MB + # 设置总上传的文件大小 + max-request-size: 20MB + # 服务模块 + devtools: + restart: + # 热部署开关 + enabled: true + # redis 配置 + redis: + # 地址 + host: 172.16.12.81 + # host: 127.0.0.1 + # 端口,默认为6379 + port: 6379 + # 数据库索引 + database: 0 + # 密码 + password: + # 连接超时时间 + timeout: 10s + lettuce: + pool: + # 连接池中的最小空闲连接 + min-idle: 0 + # 连接池中的最大空闲连接 + max-idle: 8 + # 连接池的最大数据库连接数 + max-active: 8 + # #连接池最大阻塞等待时间(使用负值表示没有限制) + max-wait: -1ms + datasource: #数据源配置 + driverClassName: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://172.16.12.208:3306/car?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: car + password: car + hikari: + max-lifetime: 500000 + + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + +# 项目相关配置 +carcheck: + # 名称 + name: carcheck + # 版本 + version: 1.0 + # 版权年份 + copyrightYear: 2022 + # 实例演示开关 + demoEnabled: true + # 文件路径 示例( Windows配置D:/carcheck/uploadPath,Linux配置 /home/carcheck/uploadPath) + profile: D:/carcheck/uploadPath + # 获取ip地址开关 + addressEnabled: false + # 验证码类型 math 数组计算 char 字符验证 + captchaType: math + #加密key + encryptKey: dRtvNqx5TbJRRmVJ + #加密iv + encryptIv: BpImsFFbyfzNKPSj + #db加密iv + encryptDbIv: rf3piHrAYxQRxzdc + #密码传输时的加密算法 + pwdEncAlg: RSA + #redis前缀 + redisPrefix: "carcheck_:" + app: + ignoreTokenVerifyUrlList: /app/queryLoginParam,/app/login,/app/querySiteList + appEncryptKey: e7e72a7e3ee52523af631427aa77d70e + dbEncryptKey: 687901ae4e9f2022f977eacded150c4f + fileUploadPath: G:/car_img + fileViewUrl: http://47.100.244.109:28090/img + httpRequestUrl: http://127.0.0.1:8080 + task: + cron: 0 0 3 * * ? #0 * * * * ? # 示例 cron 表达式,每隔 1 分钟执行 + enableMultiLogin: true + diff --git a/carcheck-appgate - 副本/src/main/resources/logback-boot.xml b/carcheck-appgate - 副本/src/main/resources/logback-boot.xml new file mode 100644 index 00000000..3b821fdd --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/logback-boot.xml @@ -0,0 +1,131 @@ + + + + + + + + + + System.out + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + UTF-8 + + + + + ${LOG_HOME}/${APP_NAME}.log + + + ${LOG_HOME}/${APP_NAME}.log.%d{yyyy-MM-dd}.%i.log.zip + + + 100MB + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + UTF-8 + + + + + + + ${LOG_HOME}/${APP_NAME}.log.%d{yyyy-MM-dd}.%i.log + 7 + + + 100MB + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n + UTF-8 + + + + + + + ${JSON_LOG_HOME}/${APP_NAME}.json.%d{yyyy-MM-dd}.%i.log + 7 + + + 100MB + + + + + + + { + "timestamp": "%d{yyyy-MM-dd HH:mm:ss.SSS}", + "severity": "%level", + "service": "${APP_NAME:-}", + "trace": "%X{X-B3-TraceId:-}", + "span": "%X{X-B3-SpanId:-}", + "parent": "%X{X-B3-ParentSpanId:-}", + "exportable": "%X{X-Span-Export:-}", + "pid": "${PID:-}", + "thread": "%thread", + "class": "%logger{40}", + "rest": "%message" + } + + + + + + + + ${JSON_LOG_HOME}/${APP_NAME}.json.log + + + ${JSON_LOG_HOME}/${APP_NAME}.log.%d{yyyy-MM-dd}.%i.json.log.zip + + + 100MB + + + + + + + { + "timestamp": "%d{yyyy-MM-dd HH:mm:ss.SSS}", + "severity": "%level", + "service": "${APP_NAME:-}", + "trace": "%X{X-B3-TraceId:-}", + "span": "%X{X-B3-SpanId:-}", + "parent": "%X{X-B3-ParentSpanId:-}", + "exportable": "%X{X-Span-Export:-}", + "pid": "${PID:-}", + "thread": "%thread", + "class": "%logger{40}", + "rest": "%message" + } + + + + + + + System.err + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + + + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailHisInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailHisInfoMapper.xml new file mode 100644 index 00000000..10522903 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailHisInfoMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, main_id, org_id, inspect_org_id, order_id, company_id, ship_name, car_vin, check_type, + inspect_part_first, inspect_part_second, inspect_site, pollutant_type, pollutant_detail_type, + pollutant_detail_desc, check_img, pollutant_flag, clean_flag, inspect_time, inspect_user_id, create_user_id, + create_time, update_time, update_user_id, rsv1, rsv2, rsv3,part_comment,pollutant_comment,data_status from tbl_car_inspect_detail_his_info + + + + + + + + insert into tbl_car_inspect_detail_his_info + + id, + version, + main_id, + org_id, + inspect_org_id, + order_id, + company_id, + ship_name, + car_vin, + check_type, + inspect_part_first, + inspect_part_second, + inspect_site, + pollutant_type, + pollutant_detail_type, + pollutant_detail_desc, + check_img, + pollutant_flag, + clean_flag, + inspect_time, + inspect_user_id, + create_user_id, + create_time, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + part_Comment, + pollutant_Comment, + + data_status, + + + #{id}, + #{version}, + #{mainId}, + #{orgId}, + #{inspectOrgId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{carVin}, + #{checkType}, + #{inspectPartFirst}, + #{inspectPartSecond}, + #{inspectSite}, + #{pollutantType}, + #{pollutantDetailType}, + #{pollutantDetailDesc}, + #{checkImg}, + #{pollutantFlag}, + #{cleanFlag}, + #{inspectTime}, + #{inspectUserId}, + #{createUserId}, + #{createTime}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + #{partComment}, + #{pollutantComment}, + + #{dataStatus}, + + + + + update tbl_car_inspect_detail_his_info + + version = #{version}, + main_id = #{mainId}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + car_vin = #{carVin}, + check_type = #{checkType}, + inspect_part_first = #{inspectPartFirst}, + inspect_part_second = #{inspectPartSecond}, + inspect_site = #{inspectSite}, + pollutant_type = #{pollutantType}, + pollutant_detail_type = #{pollutantDetailType}, + pollutant_detail_desc = #{pollutantDetailDesc}, + check_img = #{checkImg}, + pollutant_flag = #{pollutantFlag}, + clean_flag = #{cleanFlag}, + inspect_time = #{inspectTime}, + inspect_user_id = #{inspectUserId}, + create_user_id = #{createUserId}, + create_time = #{createTime}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_inspect_detail_his_info where id = #{id} + + + + delete from tbl_car_inspect_detail_his_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml new file mode 100644 index 00000000..c5833a49 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectDetailInfoMapper.xml @@ -0,0 +1,262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, main_id, org_id, inspect_org_id, order_id, company_id, ship_name, car_vin, check_type, + inspect_part_first, inspect_part_second, inspect_site, pollutant_type, pollutant_detail_type, + pollutant_detail_desc, check_img, pollutant_flag, clean_flag, inspect_time, inspect_user_id, create_user_id, + create_time, update_time, update_user_id, rsv1, rsv2, rsv3,part_comment,pollutant_comment,data_status from tbl_car_inspect_detail_info + + + + + + + + + insert into tbl_car_inspect_detail_info + + id, + version, + main_id, + org_id, + inspect_org_id, + order_id, + company_id, + ship_name, + car_vin, + check_type, + inspect_part_first, + inspect_part_second, + inspect_site, + pollutant_type, + pollutant_detail_type, + pollutant_detail_desc, + check_img, + pollutant_flag, + clean_flag, + inspect_time, + inspect_user_id, + create_user_id, + create_time, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + part_Comment, + pollutant_Comment, + + data_status, + + + #{id}, + #{version}, + #{mainId}, + #{orgId}, + #{inspectOrgId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{carVin}, + #{checkType}, + #{inspectPartFirst}, + #{inspectPartSecond}, + #{inspectSite}, + #{pollutantType}, + #{pollutantDetailType}, + #{pollutantDetailDesc}, + #{checkImg}, + #{pollutantFlag}, + #{cleanFlag}, + #{inspectTime}, + #{inspectUserId}, + #{createUserId}, + #{createTime}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + #{partComment}, + #{pollutantComment}, + + #{dataStatus}, + + + + + update tbl_car_inspect_detail_info + + + version = version + 1, + main_id = #{mainId}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + car_vin = #{carVin}, + check_type = #{checkType}, + inspect_part_first = #{inspectPartFirst}, + inspect_part_second = #{inspectPartSecond}, + inspect_site = #{inspectSite}, + pollutant_type = #{pollutantType}, + pollutant_detail_type = #{pollutantDetailType}, + pollutant_detail_desc = #{pollutantDetailDesc}, + check_img = #{checkImg}, + pollutant_flag = #{pollutantFlag}, + clean_flag = #{cleanFlag}, + inspect_time = #{inspectTime}, + inspect_user_id = #{inspectUserId}, + create_user_id = #{createUserId}, + create_time = #{createTime}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + part_Comment = #{partComment}, + pollutant_Comment = #{pollutantComment}, + + data_status = #{dataStatus}, + + where id = #{id} + + + + delete from tbl_car_inspect_detail_info where id = #{id} + + + + delete from tbl_car_inspect_detail_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectHisInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectHisInfoMapper.xml new file mode 100644 index 00000000..223c2e38 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectHisInfoMapper.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, order_id, company_id, ship_name, car_vin, chassis_inspect_site, + car_body_inspect_site, chassis_inspect_status, car_body_inspect_status, car_model, car_number, status, + create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3,car_body_inspect_time, chassis_inspect_time from tbl_car_inspect_his_info + + + + + + + + insert into tbl_car_inspect_his_info + + id, + version, + org_id, + inspect_org_id, + order_id, + company_id, + ship_name, + car_vin, + chassis_inspect_site, + car_body_inspect_site, + chassis_inspect_status, + car_body_inspect_status, + car_model, + car_number, + status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + car_body_inspect_time, + chassis_inspect_time, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{carVin}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{chassisInspectStatus}, + #{carBodyInspectStatus}, + #{carModel}, + #{carNumber}, + #{status}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + #{carBodyInspectTime}, + #{chassisInspectTime}, + + + + + update tbl_car_inspect_his_info + + version = #{version}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + car_vin = #{carVin}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + chassis_inspect_status = #{chassisInspectStatus}, + car_body_inspect_status = #{carBodyInspectStatus}, + car_model = #{carModel}, + car_number = #{carNumber}, + status = #{status}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_inspect_his_info where id = #{id} + + + + delete from tbl_car_inspect_his_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectInfoMapper.xml new file mode 100644 index 00000000..afffeb9b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarInspectInfoMapper.xml @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, order_id, company_id, ship_name, car_vin, chassis_inspect_site, + car_body_inspect_site, chassis_inspect_status, car_body_inspect_status, car_model, car_number, status, + create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3,car_body_inspect_time, chassis_inspect_time , src_type from tbl_car_inspect_info + + + + + + + + + + + + insert into tbl_car_inspect_info + + id, + version, + org_id, + inspect_org_id, + order_id, + company_id, + ship_name, + car_vin, + chassis_inspect_site, + car_body_inspect_site, + chassis_inspect_status, + car_body_inspect_status, + car_model, + car_number, + status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + car_body_inspect_time, + chassis_inspect_time, + src_type, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{carVin}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{chassisInspectStatus}, + #{carBodyInspectStatus}, + #{carModel}, + #{carNumber}, + #{status}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + #{carBodyInspectTime}, + #{chassisInspectTime}, + #{srcType}, + + + + + update tbl_car_inspect_info + + + version = version+1, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + car_vin = #{carVin}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + chassis_inspect_status = #{chassisInspectStatus}, + car_body_inspect_status = #{carBodyInspectStatus}, + car_model = #{carModel}, + car_number = #{carNumber}, + status = #{status}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + car_body_inspect_time = #{carBodyInspectTime}, + chassis_inspect_time = #{chassisInspectTime}, + + where id = #{id} + + + + delete from tbl_car_inspect_info where id = #{id} + + + + delete from tbl_car_inspect_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailHisInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailHisInfoMapper.xml new file mode 100644 index 00000000..faea99fc --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailHisInfoMapper.xml @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, pre_order_id, order_id, company_id, car_vin, ship_name, + chassis_inspect_site, car_body_inspect_site, waybill_number, src_type, depart_port, car_number, car_model, + destination_port, destination_country, status, create_time, create_user_id, update_time, update_user_id, rsv1, + rsv2, rsv3 from tbl_car_order_formal_detail_his_info + + + + + + + + insert into tbl_car_order_formal_detail_his_info + + id, + version, + org_id, + inspect_org_id, + pre_order_id, + order_id, + company_id, + car_vin, + ship_name, + chassis_inspect_site, + car_body_inspect_site, + waybill_number, + src_type, + depart_port, + car_number, + car_model, + destination_port, + destination_country, + status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{preOrderId}, + #{orderId}, + #{companyId}, + #{carVin}, + #{shipName}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{waybillNumber}, + #{srcType}, + #{departPort}, + #{carNumber}, + #{carModel}, + #{destinationPort}, + #{destinationCountry}, + #{status}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_order_formal_detail_his_info + + version = #{version}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + pre_order_id = #{preOrderId}, + order_id = #{orderId}, + company_id = #{companyId}, + car_vin = #{carVin}, + ship_name = #{shipName}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + waybill_number = #{waybillNumber}, + src_type = #{srcType}, + depart_port = #{departPort}, + car_number = #{carNumber}, + car_model = #{carModel}, + destination_port = #{destinationPort}, + destination_country = #{destinationCountry}, + status = #{status}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_order_formal_detail_his_info where id = #{id} + + + + delete from tbl_car_order_formal_detail_his_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailInfoMapper.xml new file mode 100644 index 00000000..0c113769 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalDetailInfoMapper.xml @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, pre_order_id, order_id, company_id, car_vin, ship_name, + chassis_inspect_site, car_body_inspect_site, waybill_number, src_type, depart_port, car_number, car_model, + destination_port, destination_country, status, create_time, create_user_id, update_time, update_user_id, rsv1, + rsv2, rsv3 from tbl_car_order_formal_detail_info + + + + + + + + insert into tbl_car_order_formal_detail_info + + id, + version, + org_id, + inspect_org_id, + pre_order_id, + order_id, + company_id, + car_vin, + ship_name, + chassis_inspect_site, + car_body_inspect_site, + waybill_number, + src_type, + depart_port, + car_number, + car_model, + destination_port, + destination_country, + status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{preOrderId}, + #{orderId}, + #{companyId}, + #{carVin}, + #{shipName}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{waybillNumber}, + #{srcType}, + #{departPort}, + #{carNumber}, + #{carModel}, + #{destinationPort}, + #{destinationCountry}, + #{status}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_order_formal_detail_info + + version = #{version}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + pre_order_id = #{preOrderId}, + order_id = #{orderId}, + company_id = #{companyId}, + car_vin = #{carVin}, + ship_name = #{shipName}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + waybill_number = #{waybillNumber}, + src_type = #{srcType}, + depart_port = #{departPort}, + car_number = #{carNumber}, + car_model = #{carModel}, + destination_port = #{destinationPort}, + destination_country = #{destinationCountry}, + status = #{status}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_order_formal_detail_info where id = #{id} + + + + delete from tbl_car_order_formal_detail_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalHisInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalHisInfoMapper.xml new file mode 100644 index 00000000..4460a588 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalHisInfoMapper.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, pre_order_id, order_id, company_id, ship_name, status, file_id, + file_name, car_count, create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3 from + tbl_car_order_formal_his_info + + + + + + + + insert into tbl_car_order_formal_his_info + + id, + version, + org_id, + inspect_org_id, + pre_order_id, + order_id, + company_id, + ship_name, + status, + file_id, + file_name, + car_count, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{preOrderId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{status}, + #{fileId}, + #{fileName}, + #{carCount}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_order_formal_his_info + + version = #{version}, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + pre_order_id = #{preOrderId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + status = #{status}, + file_id = #{fileId}, + file_name = #{fileName}, + car_count = #{carCount}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_order_formal_his_info where id = #{id} + + + + delete from tbl_car_order_formal_his_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalInfoMapper.xml new file mode 100644 index 00000000..c9713206 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarOrderFormalInfoMapper.xml @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, pre_order_id, order_id, company_id, ship_name, status, file_id, + file_name, car_count, create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3 from + tbl_car_order_formal_info + + + + + + + + + insert into tbl_car_order_formal_info + + id, + version, + org_id, + inspect_org_id, + pre_order_id, + order_id, + company_id, + ship_name, + status, + file_id, + file_name, + car_count, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{preOrderId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{status}, + #{fileId}, + #{fileName}, + #{carCount}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_order_formal_info + + + version = version + 1, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + pre_order_id = #{preOrderId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + status = #{status}, + file_id = #{fileId}, + file_name = #{fileName}, + car_count = #{carCount}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_order_formal_info where id = #{id} + + + + delete from tbl_car_order_formal_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordDetailInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordDetailInfoMapper.xml new file mode 100644 index 00000000..1e4ba0c4 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordDetailInfoMapper.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, pre_order_id, company_id, car_vin, ship_name, chassis_inspect_site, + car_body_inspect_site, waybill_number, depart_port, car_number, car_model, destination_port, + destination_country, create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3 from + tbl_car_pre_record_detail_info + + + + + + + + insert into tbl_car_pre_record_detail_info + + id, + version, + org_id, + pre_order_id, + company_id, + car_vin, + ship_name, + chassis_inspect_site, + car_body_inspect_site, + waybill_number, + depart_port, + car_number, + car_model, + destination_port, + destination_country, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{preOrderId}, + #{companyId}, + #{carVin}, + #{shipName}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{waybillNumber}, + #{departPort}, + #{carNumber}, + #{carModel}, + #{destinationPort}, + #{destinationCountry}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_pre_record_detail_info + + version = #{version}, + org_id = #{orgId}, + pre_order_id = #{preOrderId}, + company_id = #{companyId}, + car_vin = #{carVin}, + ship_name = #{shipName}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + waybill_number = #{waybillNumber}, + depart_port = #{departPort}, + car_number = #{carNumber}, + car_model = #{carModel}, + destination_port = #{destinationPort}, + destination_country = #{destinationCountry}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_pre_record_detail_info where id = #{id} + + + + delete from tbl_car_pre_record_detail_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordInfoMapper.xml new file mode 100644 index 00000000..ef977c52 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCarPreRecordInfoMapper.xml @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, pre_order_id, company_id, ship_name, status, file_id, file_name, car_count, + create_time, create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3 from tbl_car_pre_record_info + + + + + + + + insert into tbl_car_pre_record_info + + id, + version, + org_id, + pre_order_id, + company_id, + ship_name, + status, + file_id, + file_name, + car_count, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{preOrderId}, + #{companyId}, + #{shipName}, + #{status}, + #{fileId}, + #{fileName}, + #{carCount}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_car_pre_record_info + + version = #{version}, + org_id = #{orgId}, + pre_order_id = #{preOrderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + status = #{status}, + file_id = #{fileId}, + file_name = #{fileName}, + car_count = #{carCount}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_car_pre_record_info where id = #{id} + + + + delete from tbl_car_pre_record_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCompanyInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCompanyInfoMapper.xml new file mode 100644 index 00000000..a23c9888 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblCompanyInfoMapper.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, company_name, org_id, contact_name, contact_phone, create_time, create_user_id, update_time, + update_user_id, status, data_status, rsv1, rsv2, rsv3 from tbl_company_info + + + + + + + + insert into tbl_company_info + + id, + company_name, + org_id, + contact_name, + contact_phone, + create_time, + create_user_id, + update_time, + update_user_id, + status, + data_status, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{companyName}, + #{orgId}, + #{contactName}, + #{contactPhone}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{status}, + #{dataStatus}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_company_info + + company_name = #{companyName}, + org_id = #{orgId}, + contact_name = #{contactName}, + contact_phone = #{contactPhone}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + status = #{status}, + data_status = #{dataStatus}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_company_info where id = #{id} + + + + delete from tbl_company_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblFileInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblFileInfoMapper.xml new file mode 100644 index 00000000..79fc4b72 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblFileInfoMapper.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, business_id, file_type, file_name, file_path, file_url, status, create_user_id, create_time, + update_user_id, update_time, rsv1, rsv2, rsv3 from tbl_file_info + + + + + + + + + insert into tbl_file_info + + id, + business_id, + file_type, + file_name, + file_path, + file_url, + status, + create_user_id, + create_time, + update_user_id, + update_time, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{businessId}, + #{fileType}, + #{fileName}, + #{filePath}, + #{fileUrl}, + #{status}, + #{createUserId}, + #{createTime}, + #{updateUserId}, + #{updateTime}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_file_info + + business_id = #{businessId}, + file_type = #{fileType}, + file_name = #{fileName}, + file_path = #{filePath}, + file_url = #{fileUrl}, + status = #{status}, + create_user_id = #{createUserId}, + create_time = #{createTime}, + update_user_id = #{updateUserId}, + update_time = #{updateTime}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_file_info where id = #{id} + + + + delete from tbl_file_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectRecordInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectRecordInfoMapper.xml new file mode 100644 index 00000000..c781b53b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectRecordInfoMapper.xml @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, version, org_id, inspect_org_id, order_id, company_id, ship_name, car_vin, chassis_inspect_site, + car_body_inspect_site, chassis_inspect_status, car_body_inspect_status, car_body_inspect_user_id, + chassis_inspect_user_id, car_body_inspect_start_time, car_body_inspect_finish_time, chassis_inspect_start_time, + chassis_inspect_finish_time, create_user_id, create_time, update_time, update_user_id, rsv1, rsv2, rsv3 from + tbl_inspect_record_info + + + + + + + + + insert into tbl_inspect_record_info + + id, + version, + org_id, + inspect_org_id, + order_id, + company_id, + ship_name, + car_vin, + chassis_inspect_site, + car_body_inspect_site, + chassis_inspect_status, + car_body_inspect_status, + car_body_inspect_user_id, + chassis_inspect_user_id, + car_body_inspect_start_time, + car_body_inspect_finish_time, + chassis_inspect_start_time, + chassis_inspect_finish_time, + create_user_id, + create_time, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{orgId}, + #{inspectOrgId}, + #{orderId}, + #{companyId}, + #{shipName}, + #{carVin}, + #{chassisInspectSite}, + #{carBodyInspectSite}, + #{chassisInspectStatus}, + #{carBodyInspectStatus}, + #{carBodyInspectUserId}, + #{chassisInspectUserId}, + #{carBodyInspectStartTime}, + #{carBodyInspectFinishTime}, + #{chassisInspectStartTime}, + #{chassisInspectFinishTime}, + #{createUserId}, + #{createTime}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_inspect_record_info + + + version = version + 1, + org_id = #{orgId}, + inspect_org_id = #{inspectOrgId}, + order_id = #{orderId}, + company_id = #{companyId}, + ship_name = #{shipName}, + car_vin = #{carVin}, + chassis_inspect_site = #{chassisInspectSite}, + car_body_inspect_site = #{carBodyInspectSite}, + chassis_inspect_status = #{chassisInspectStatus}, + car_body_inspect_status = #{carBodyInspectStatus}, + car_body_inspect_user_id = #{carBodyInspectUserId}, + chassis_inspect_user_id = #{chassisInspectUserId}, + car_body_inspect_start_time = #{carBodyInspectStartTime}, + car_body_inspect_finish_time = #{carBodyInspectFinishTime}, + chassis_inspect_start_time = #{chassisInspectStartTime}, + chassis_inspect_finish_time = #{chassisInspectFinishTime}, + create_user_id = #{createUserId}, + create_time = #{createTime}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_inspect_record_info where id = #{id} + + + + delete from tbl_inspect_record_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteHisInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteHisInfoMapper.xml new file mode 100644 index 00000000..56b27044 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteHisInfoMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, version, site_name, org_id, remarks, status, data_status, create_time, create_user_id, update_time, + update_user_id, rsv1, rsv2, rsv3 from tbl_inspect_site_his_info + + + + + + + + insert into tbl_inspect_site_his_info + + id, + version, + site_name, + org_id, + remarks, + status, + data_status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{siteName}, + #{orgId}, + #{remarks}, + #{status}, + #{dataStatus}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_inspect_site_his_info + + version = #{version}, + site_name = #{siteName}, + org_id = #{orgId}, + remarks = #{remarks}, + status = #{status}, + data_status = #{dataStatus}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_inspect_site_his_info where id = #{id} + + + + delete from tbl_inspect_site_his_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteInfoMapper.xml new file mode 100644 index 00000000..f004a563 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectSiteInfoMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, version, site_name, org_id, remarks, status, data_status, create_time, create_user_id, update_time, + update_user_id, rsv1, rsv2, rsv3 from tbl_inspect_site_info + + + + + + + + insert into tbl_inspect_site_info + + id, + version, + site_name, + org_id, + remarks, + status, + data_status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{version}, + #{siteName}, + #{orgId}, + #{remarks}, + #{status}, + #{dataStatus}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_inspect_site_info + + version = #{version}, + site_name = #{siteName}, + org_id = #{orgId}, + remarks = #{remarks}, + status = #{status}, + data_status = #{dataStatus}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_inspect_site_info where id = #{id} + + + + delete from tbl_inspect_site_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectorInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectorInfoMapper.xml new file mode 100644 index 00000000..41b7434d --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblInspectorInfoMapper.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, username, realname, password, phone, org_id, status, data_status, create_time, create_user_id, + update_time, update_user_id, first_login_flag, pwd_err_cnt, last_login_time, rsv1, rsv2, rsv3 from + tbl_inspector_info + + + + + + + + + + + + + + insert into tbl_inspector_info + + id, + username, + realname, + password, + phone, + org_id, + status, + data_status, + create_time, + create_user_id, + update_time, + update_user_id, + first_login_flag, + pwd_err_cnt, + last_login_time, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{username}, + #{realname}, + #{password}, + #{phone}, + #{orgId}, + #{status}, + #{dataStatus}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{firstLoginFlag}, + #{pwdErrCnt}, + #{lastLoginTime}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + + update tbl_inspector_info + + password = #{password}, + first_login_flag = #{firstLoginFlag}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + + where id = #{id} + + + + + update tbl_inspector_info + + username = #{username}, + realname = #{realname}, + password = #{password}, + phone = #{phone}, + status = #{status}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + first_login_flag=#{firstLoginFlag}, + pwd_err_cnt=#{pwdErrCnt}, + last_login_time=#{lastLoginTime}, + + where id = #{id} + + + + + update tbl_inspector_info + + data_status = #{dataStatus}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + + where id = #{id} + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblNgPartInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblNgPartInfoMapper.xml new file mode 100644 index 00000000..2cf9032e --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblNgPartInfoMapper.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + select id, ng_part_name, ng_part_en_name, ng_part_type, parent_id, sort, status, data_status, create_time, + create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3,part_type,hand_fill from tbl_ng_part_info + + + + + + + + + insert into tbl_ng_part_info + + id, + ng_part_name, + ng_part_en_name, + ng_part_type, + parent_id, + sort, + status, + data_status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{ngPartName}, + #{ngPartEnName}, + #{ngPartType}, + #{parentId}, + #{sort}, + #{status}, + #{dataStatus}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_ng_part_info + + ng_part_name = #{ngPartName}, + ng_part_en_name = #{ngPartEnName}, + ng_part_type = #{ngPartType}, + parent_id = #{parentId}, + sort = #{sort}, + status = #{status}, + data_status = #{dataStatus}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_ng_part_info where id = #{id} + + + + delete from tbl_ng_part_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/business/TblPollutantInfoMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblPollutantInfoMapper.xml new file mode 100644 index 00000000..b3f349ab --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/business/TblPollutantInfoMapper.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select id, pollutant_name, pollutant_en_name, pollutant_type, parent_id, sort, status, data_status, create_time, + create_user_id, update_time, update_user_id, rsv1, rsv2, rsv3, hand_Fill from tbl_pollutant_info + + + + + + + + + insert into tbl_pollutant_info + + id, + pollutant_name, + pollutant_en_name, + pollutant_type, + parent_id, + sort, + status, + data_status, + create_time, + create_user_id, + update_time, + update_user_id, + rsv1, + rsv2, + rsv3, + + + #{id}, + #{pollutantName}, + #{pollutantEnName}, + #{pollutantType}, + #{parentId}, + #{sort}, + #{status}, + #{dataStatus}, + #{createTime}, + #{createUserId}, + #{updateTime}, + #{updateUserId}, + #{rsv1}, + #{rsv2}, + #{rsv3}, + + + + + update tbl_pollutant_info + + pollutant_name = #{pollutantName}, + pollutant_en_name = #{pollutantEnName}, + pollutant_type = #{pollutantType}, + parent_id = #{parentId}, + sort = #{sort}, + status = #{status}, + data_status = #{dataStatus}, + create_time = #{createTime}, + create_user_id = #{createUserId}, + update_time = #{updateTime}, + update_user_id = #{updateUserId}, + rsv1 = #{rsv1}, + rsv2 = #{rsv2}, + rsv3 = #{rsv3}, + + where id = #{id} + + + + delete from tbl_pollutant_info where id = #{id} + + + + delete from tbl_pollutant_info where id in + + #{id} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/system/SysDeptMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysDeptMapper.xml new file mode 100644 index 00000000..7162653b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysDeptMapper.xml @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time + from sys_dept d + + + + + + + + + + + + + + + + + + + + insert into sys_dept( + dept_id, + parent_id, + dept_name, + ancestors, + order_num, + leader, + phone, + email, + status, + create_by, + create_time + )values( + #{deptId}, + #{parentId}, + #{deptName}, + #{ancestors}, + #{orderNum}, + #{leader}, + #{phone}, + #{email}, + #{status}, + #{createBy}, + sysdate() + ) + + + + update sys_dept + + parent_id = #{parentId}, + dept_name = #{deptName}, + ancestors = #{ancestors}, + order_num = #{orderNum}, + leader = #{leader}, + phone = #{phone}, + email = #{email}, + status = #{status}, + update_by = #{updateBy}, + update_time = sysdate() + + where dept_id = #{deptId} + + + + update sys_dept set ancestors = + + when #{item.deptId} then #{item.ancestors} + + where dept_id in + + #{item.deptId} + + + + + update sys_dept set status = '0' where dept_id in + + #{deptId} + + + + + update sys_dept set del_flag = '2' where dept_id = #{deptId} + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/system/SysLogininforMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysLogininforMapper.xml new file mode 100644 index 00000000..2e305976 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysLogininforMapper.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + insert into sys_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time,operator_Type) + values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate(),#{operatorType}) + + + + + + delete from sys_logininfor where info_id in + + #{infoId} + + + + + truncate table sys_logininfor + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mapper/system/SysOperLogMapper.xml b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysOperLogMapper.xml new file mode 100644 index 00000000..7a03dfb7 --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select oper_id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time + from sys_oper_log + + + + insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time) + values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, sysdate()) + + + + + + delete from sys_oper_log where oper_id in + + #{operId} + + + + + + + truncate table sys_oper_log + + + \ No newline at end of file diff --git a/carcheck-appgate - 副本/src/main/resources/mybatis/mybatis-config.xml b/carcheck-appgate - 副本/src/main/resources/mybatis/mybatis-config.xml new file mode 100644 index 00000000..d919631b --- /dev/null +++ b/carcheck-appgate - 副本/src/main/resources/mybatis/mybatis-config.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/Main.java b/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/Main.java new file mode 100644 index 00000000..1c2a95d6 --- /dev/null +++ b/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/Main.java @@ -0,0 +1,28 @@ +package com.jiuyv.appgate; + + +import com.jiuyv.smhelper.SM4Util; +import org.bouncycastle.pqc.math.linearalgebra.ByteUtils; + + +public class Main { + + public static void main(String[] args) throws Exception { + testSm4(); + System.out.println("================="); + //testSm4_2(); + + } + + public static void testSm4() throws Exception { + byte[] bytes = SM4Util.generateKey(); + //System.out.println("生成的hexKey>>"+ByteUtils.toHexString(bytes)); + String hexKey = "e7e72a7e3ee52523af631427aa77d70e";//ByteUtils.toHexString(bytes);//e7e72a7e3ee52523af631427aa77d70e + System.out.println("hexKey>>>" + hexKey); + String plainText = "12345678Ab"; + byte[] cipherText = SM4Util.encrypt_ECB_Padding(ByteUtils.fromHexString(hexKey), plainText.getBytes("UTF-8")); + System.out.println("加密后的密文:" + ByteUtils.toHexString(cipherText)); + byte[] result = SM4Util.decrypt_ECB_Padding(ByteUtils.fromHexString(hexKey), cipherText); + System.out.println("解密后的明文:" + new String(result)); + } +} diff --git a/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/TestMain.java b/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/TestMain.java new file mode 100644 index 00000000..2dbccf02 --- /dev/null +++ b/carcheck-appgate - 副本/src/test/java/com/jiuyv/appgate/TestMain.java @@ -0,0 +1,63 @@ +package com.jiuyv.appgate; + +import java.util.ArrayList; +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +public class TestMain { + public static void main(String[] args) { + List list1 = new ArrayList<>(); + list1.add("apple"); + list1.add("banana"); + list1.add("orange"); + + List list2 = new ArrayList<>(); + list2.add("banana"); + list2.add("grape"); + + // 求交集 + List intersection = getIntersection(list1, list2); + System.out.println("交集:" + intersection); + + // 求差集 + List difference = getDifference(list1, list2); + System.out.println("差集:" + difference); + List difference2 = getDifference(list2, list1); + System.out.println("差集2:" + difference2); + + // 求并集 + List union = getUnion(list1, list2); + System.out.println("并集:" + union); + } + + // 求交集 + private static List getIntersection(List list1, List list2) { + Set set1 = new HashSet<>(list1); + Set set2 = new HashSet<>(list2); + + set1.retainAll(set2); + + return new ArrayList<>(set1); + } + + // 求差集 + private static List getDifference(List list1, List list2) { + Set set1 = new HashSet<>(list1); + Set set2 = new HashSet<>(list2); + + set1.removeAll(set2); + + return new ArrayList<>(set1); + } + + // 求并集 + private static List getUnion(List list1, List list2) { + Set set1 = new HashSet<>(list1); + Set set2 = new HashSet<>(list2); + + set1.addAll(set2); + + return new ArrayList<>(set1); + } +} diff --git a/carcheck-appgate/pom.xml b/carcheck-appgate/pom.xml index b1e79d7e..9c8529d1 100644 --- a/carcheck-appgate/pom.xml +++ b/carcheck-appgate/pom.xml @@ -52,13 +52,6 @@ import --> - - - - org.springframework.boot - spring-boot-starter-data-redis - - org.springframework.boot spring-boot-starter-aop @@ -198,6 +191,15 @@ 2.0.8 + + org.springframework.boot + spring-boot-starter-cache + + + + com.github.ben-manes.caffeine + caffeine + diff --git a/carcheck-appgate/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java b/carcheck-appgate/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java index 730cdd2f..a913fd25 100644 --- a/carcheck-appgate/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java +++ b/carcheck-appgate/src/main/java/com/jiuyv/appgate/CarcheckAppgateApplication.java @@ -2,8 +2,10 @@ package com.jiuyv.appgate; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cache.annotation.EnableCaching; import org.springframework.scheduling.annotation.EnableScheduling; +@EnableCaching @EnableScheduling @SpringBootApplication public class CarcheckAppgateApplication { diff --git a/carcheck-appgate/src/main/java/com/jiuyv/appgate/common/LocalCache.java b/carcheck-appgate/src/main/java/com/jiuyv/appgate/common/LocalCache.java new file mode 100644 index 00000000..12c312c5 --- /dev/null +++ b/carcheck-appgate/src/main/java/com/jiuyv/appgate/common/LocalCache.java @@ -0,0 +1,69 @@ +package com.jiuyv.appgate.common; + +import com.github.benmanes.caffeine.cache.Caffeine; +import org.springframework.cache.Cache; +import org.springframework.cache.caffeine.CaffeineCacheManager; +import org.springframework.stereotype.Component; + +import java.util.concurrent.TimeUnit; + +/** + * 本地缓存Caffeine + * + **/ +@Component +public class LocalCache { + + private final CaffeineCacheManager cacheManager; + + public LocalCache(CaffeineCacheManager caffeineCacheManager) { + for (Names n : Names.values()) { + caffeineCacheManager.registerCustomCache(n.name(), + Caffeine.newBuilder().expireAfterWrite(n.value, TimeUnit.MINUTES).build()); + } + this.cacheManager = caffeineCacheManager; + } + + /** + * 缓存基本的对象,Integer、String、实体类等 + * + */ + public void setCacheObject(Object key, Object value, Names cacheName) { + getCache(cacheName).put(key, value); + } + + + /** + * 获得缓存的基本对象。 + * + */ + public T getCacheObject(String key, Class type, Names cacheName) { + return getCache(cacheName).get(key, type); + } + + /** + * 删除单个对象 + * + */ + public void deleteObject(String key,Names cacheName) { + getCache(cacheName).evict(key); + } + + /** + * 根据缓存名称获取缓存 + * + */ + private Cache getCache(Names cacheName) { + return cacheManager.getCache(cacheName.name()); + } + + + public enum Names { + LOG_IN_TOKEN(60 * 24); // token 时效 + private final long value; + Names(long value) { + this.value = value; + } + } + +} diff --git a/carcheck-appgate/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java b/carcheck-appgate/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java index af83a9c4..1e71d343 100644 --- a/carcheck-appgate/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java +++ b/carcheck-appgate/src/main/java/com/jiuyv/appgate/interceptor/LoginInterceptor.java @@ -1,16 +1,14 @@ package com.jiuyv.appgate.interceptor; +import com.jiuyv.appgate.common.LocalCache; import com.jiuyv.appgate.common.constant.Constants; import com.jiuyv.appgate.common.exception.ServiceException; import com.jiuyv.appgate.common.exception.TokenException; -import com.jiuyv.appgate.common.utils.JsonUtil; import com.jiuyv.appgate.dto.RedisUserDTO; -import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.web.servlet.HandlerInterceptor; import javax.servlet.http.HttpServletRequest; @@ -22,7 +20,7 @@ public class LoginInterceptor implements HandlerInterceptor { private static final Logger LOGGER = LoggerFactory.getLogger(LoginInterceptor.class); @Autowired - private StringRedisTemplate redisTemplate; + private LocalCache localCache; public static ThreadLocal threadLocalOuter = new ThreadLocal(); @@ -45,11 +43,11 @@ public class LoginInterceptor implements HandlerInterceptor { throw new TokenException("用户会话已过期或已在其他设备登录,请重新登录"); } else { - String s = redisTemplate.opsForValue().get(Constants.LOGIN_USER_CACHE_PREFIX+fingerprint+":"+token); - if(StringUtils.isBlank(s)){ + String key = Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token; + RedisUserDTO redisUserDTO = localCache.getCacheObject(key, RedisUserDTO.class, LocalCache.Names.LOG_IN_TOKEN); + if(redisUserDTO == null){ throw new TokenException("用户会话已过期或已在其他设备登录,请重新登录"); } - RedisUserDTO redisUserDTO = JsonUtil.json2Bean(s, RedisUserDTO.class); String firstLoginFlag = redisUserDTO.getFirstLoginFlag(); String requestURI = request.getRequestURI(); LOGGER.info("requestURI>>>>{}",requestURI); diff --git a/carcheck-appgate/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java b/carcheck-appgate/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java index 30c80a4a..ec6e2e14 100644 --- a/carcheck-appgate/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java +++ b/carcheck-appgate/src/main/java/com/jiuyv/appgate/service/impl/LoginServiceImpl.java @@ -2,9 +2,9 @@ package com.jiuyv.appgate.service.impl; import com.jiuyv.appgate.common.AjaxResult; +import com.jiuyv.appgate.common.LocalCache; import com.jiuyv.appgate.common.constant.Constants; import com.jiuyv.appgate.common.exception.ServiceException; -import com.jiuyv.appgate.common.utils.JsonUtil; import com.jiuyv.appgate.common.uuid.IdUtils; import com.jiuyv.appgate.domain.SysDept; import com.jiuyv.appgate.domain.TblInspectSiteInfo; @@ -32,7 +32,6 @@ import org.bouncycastle.pqc.math.linearalgebra.ByteUtils; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; -import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; @@ -42,8 +41,6 @@ import org.springframework.web.context.request.ServletRequestAttributes; import javax.servlet.http.HttpServletRequest; import java.util.Date; import java.util.List; -import java.util.Set; -import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; /** @@ -69,7 +66,7 @@ public class LoginServiceImpl implements ILoginService { private TblInspectorInfoMapper inspectorInfoMapper; @Autowired - private StringRedisTemplate redisTemplate; + private LocalCache localCache; @Value("${carcheck.app.enableMultiLogin}") private Boolean enableMultiLogin; @@ -191,23 +188,20 @@ public class LoginServiceImpl implements ILoginService { redisUserDTO.setToken(token); redisUserDTO.setFingerprint(fingerprint); + String key = Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token; + localCache.setCacheObject(key, redisUserDTO, LocalCache.Names.LOG_IN_TOKEN); - if(!enableMultiLogin){ - // 先查询redis 所有的用户token进行遍历,如果存在,则删除key - Set keys = redisTemplate.keys(Constants.LOGIN_USER_CACHE_PREFIX + "*"); - for(String key : keys){ - String s = redisTemplate.opsForValue().get(key); - RedisUserDTO redisUser = JsonUtil.json2Bean(s, RedisUserDTO.class); - if(redisUserDTO.getId().equals(redisUser.getId())){ - redisTemplate.delete(key); + if (!enableMultiLogin) { + String userId = redisUserDTO.getId(); + synchronized (this) { + String oldKey = localCache.getCacheObject(userId, String.class, LocalCache.Names.LOG_IN_TOKEN); + if (oldKey != null) { + localCache.deleteObject(oldKey, LocalCache.Names.LOG_IN_TOKEN); } + localCache.setCacheObject(userId, key, LocalCache.Names.LOG_IN_TOKEN); } } - - - redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token, JsonUtil.toJSONString(redisUserDTO), - Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); resLoginVO.setToken(token); TblInspectorInfo update = new TblInspectorInfo(); @@ -275,9 +269,8 @@ public class LoginServiceImpl implements ILoginService { update.setId(dbUser.getId()); inspectorInfoMapper.updateTblInspectorInfo(update); redisUserDTO.setFirstLoginFlag("01"); - redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + redisUserDTO.getFingerprint() + ":" + redisUserDTO.getToken(), JsonUtil.toJSONString(redisUserDTO), - Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); - + String key = Constants.LOGIN_USER_CACHE_PREFIX + redisUserDTO.getFingerprint() + ":" + redisUserDTO.getToken(); + localCache.setCacheObject(key, redisUserDTO, LocalCache.Names.LOG_IN_TOKEN); } @Override @@ -292,7 +285,8 @@ public class LoginServiceImpl implements ILoginService { if(null != request){ String token = request.getHeader(Constants.HEADER_TOKEN); String fingerprint = request.getHeader(Constants.HEADER_FINGERPRINT); - redisTemplate.delete(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token); + String key = Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token; + localCache.deleteObject(key, LocalCache.Names.LOG_IN_TOKEN); AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGOUT, "APP端登出成功")); } @@ -315,16 +309,9 @@ public class LoginServiceImpl implements ILoginService { if(null != request){ String token = request.getHeader(Constants.HEADER_TOKEN); String fingerprint = request.getHeader(Constants.HEADER_FINGERPRINT); - - // 生成新token 存储到redis ,30分钟有效期 - String newToken = IdUtils.fastSimpleUUID(); - redisUserDTO.setToken(newToken); - redisTemplate.opsForValue().set(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + newToken, JsonUtil.toJSONString(redisUserDTO), - Constants.TOKEN_EXPIRE_MINIUTE, TimeUnit.MINUTES); - // 删除旧token - redisTemplate.delete(Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token); + String key = Constants.LOGIN_USER_CACHE_PREFIX + fingerprint + ":" + token; + localCache.setCacheObject(key, redisUserDTO, LocalCache.Names.LOG_IN_TOKEN); BeanUtils.copyProperties(redisUserDTO, result); - result.setToken(newToken); return result; } } diff --git a/carcheck-appgate/src/main/resources/application.yml b/carcheck-appgate/src/main/resources/application.yml index 60406239..7737b2b7 100644 --- a/carcheck-appgate/src/main/resources/application.yml +++ b/carcheck-appgate/src/main/resources/application.yml @@ -59,29 +59,10 @@ spring: restart: # 热部署开关 enabled: true - # redis 配置 - redis: - # 地址 - host: 172.16.12.81 - # host: 127.0.0.1 - # 端口,默认为6379 - port: 6379 - # 数据库索引 - database: 0 - # 密码 - password: - # 连接超时时间 - timeout: 10s - lettuce: - pool: - # 连接池中的最小空闲连接 - min-idle: 0 - # 连接池中的最大空闲连接 - max-idle: 8 - # 连接池的最大数据库连接数 - max-active: 8 - # #连接池最大阻塞等待时间(使用负值表示没有限制) - max-wait: -1ms + # 缓存配置 + cache: + type: caffeine + caffeine.spec: maximumSize=2000,expireAfterWrite=24h datasource: #数据源配置 driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://172.16.12.208:3306/car?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 diff --git a/chemical/chemical-master/chemical-admin/pom.xml b/chemical/chemical-master/chemical-admin/pom.xml index d2fc842f..d62bd614 100644 --- a/chemical/chemical-master/chemical-admin/pom.xml +++ b/chemical/chemical-master/chemical-admin/pom.xml @@ -3,7 +3,7 @@ com.jiuyv chemical-console - 2.0.4-SNAPSHOT + 2.0.6-SNAPSHOT 4.0.0 @@ -172,10 +172,9 @@ jaxb-api - - org.springframework.boot - spring-boot-starter-data-redis + com.github.ben-manes.caffeine + caffeine @@ -226,13 +225,50 @@ true + - org.springframework.boot - spring-boot-maven-plugin - 2.1.1.RELEASE + com.github.wvengen + proguard-maven-plugin + 2.6.0 + + + + package + + proguard + + + - true + + ${project.build.finalName}.jar + + ${project.build.finalName}.jar + + true + + ${project.basedir}/proguard.cfg + + + ${java.home}/lib/rt.jar + ${java.home}/lib/jce.jar + ${java.home}/lib/jsse.jar + + + !META-INF/**,!META-INF/versions/9/**.class + + ${project.basedir}/target + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + 2.4.0 diff --git a/chemical/chemical-master/chemical-admin/proguard.cfg b/chemical/chemical-master/chemical-admin/proguard.cfg new file mode 100644 index 00000000..eb2086b7 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/proguard.cfg @@ -0,0 +1,46 @@ +#指定Java的版本 +-target 1.8 +#proguard会对代码进行优化压缩,他会删除从未使用的类或者类成员变量等 +-dontshrink +#是否关闭字节码级别的优化,如果不开启则设置如下配置 +-dontoptimize +#混淆时不生成大小写混合的类名,默认是可以大小写混合 +-dontusemixedcaseclassnames +# 对于类成员的命名的混淆采取唯一策略 +-useuniqueclassmembernames +#混淆时不生成大小写混合的类名,默认是可以大小写混合 +-dontusemixedcaseclassnames +#混淆类名之后,对使用Class.forName('className')之类的地方进行相应替代 +-adaptclassstrings + +#对异常、注解信息予以保留 +-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod +# 此选项将保存接口中的所有原始名称(不混淆)--> +#-keepnames interface ** { *; } +# 此选项将保存所有软件包中的所有原始接口文件(不进行混淆) +#-keep interface * extends * { *; } +#保留参数名,因为控制器,或者Mybatis等接口的参数如果混淆会导致无法接受参数,xml文件找不到参数 +-keepparameternames +# 保留枚举成员及方法 +-keepclassmembers enum * { *; } +# 不混淆所有类,保存原始定义的注释- +-keepclassmembers class * { + @org.springframework *; +} + +-keepnames class com.jiuyv.framework.** { *; } +-keepnames class com.jiuyv.business.mapper.** { *; } +-keepnames class com.jiuyv.generator.** { *; } +-keepnames class com.jiuyv.common.** { *; } +-keepnames class com.jiuyv.system.** { *; } +-keepnames class com.jiuyv.business.domain.** { *; } +-keepnames class com.jiuyv.business.dto.** { *; } +#忽略warn消息 +-ignorewarnings +#忽略note消息 +-dontnote +#打印配置信息 +-printconfiguration +-keep public class com.jiuyv.ChemicalApplication { + public static void main(java.lang.String[]); + } \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/ChemicalApplication.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/ChemicalApplication.java index a8d6bfdb..61afcb8e 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/ChemicalApplication.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/ChemicalApplication.java @@ -1,10 +1,18 @@ package com.jiuyv; +import com.jiuyv.business.service.InspectionRuleService; +import com.jiuyv.framework.web.service.PermissionService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.config.BeanDefinition; +import org.springframework.beans.factory.support.BeanDefinitionReaderUtils; +import org.springframework.beans.factory.support.BeanDefinitionRegistry; +import org.springframework.beans.factory.support.BeanNameGenerator; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; +import org.springframework.context.annotation.AnnotationBeanNameGenerator; +import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableScheduling; /** @@ -14,10 +22,31 @@ import org.springframework.scheduling.annotation.EnableScheduling; */ @EnableScheduling @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) +@ComponentScan(nameGenerator = ChemicalApplication.CustomBeanNameGenerator.class) public class ChemicalApplication { private static final Logger LOGGER = LoggerFactory.getLogger(ChemicalApplication.class); public static void main(String[] args) { SpringApplication.run(ChemicalApplication.class, args); LOGGER.info("(♥◠‿◠)ノ゙ 中检危化品管理系统启动成功 ლ(´ڡ`ლ)゙ \n "); } + + static class CustomBeanNameGenerator extends AnnotationBeanNameGenerator { + @Override + public String generateBeanName(BeanDefinition beanDefinition, BeanDefinitionRegistry beanDefinitionRegistry) { + String beanClassName = beanDefinition.getBeanClassName(); + if (PermissionService.class.getName().equals(beanClassName)) { + return "ss"; + } + try { + if (beanClassName.startsWith("com.jiuyv") && + !InspectionRuleService.class.isAssignableFrom(Class.forName(beanClassName))) { + return beanClassName; + } + } catch (ClassNotFoundException e) { + e.printStackTrace(); + } + return super.generateBeanName(beanDefinition, beanDefinitionRegistry); + } + + } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/Demo00.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/Demo00.java new file mode 100644 index 00000000..439763d7 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/Demo00.java @@ -0,0 +1,88 @@ +package com.jiuyv.business; + +import org.springframework.aop.support.AopUtils; +import org.springframework.core.MethodIntrospector; +import org.springframework.core.annotation.AnnotatedElementUtils; +import org.springframework.util.ReflectionUtils; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ModelAttribute; +import org.springframework.web.bind.annotation.RequestMapping; +import sun.misc.Unsafe; + +import java.lang.reflect.Field; +import java.lang.reflect.InvocationHandler; +import java.lang.reflect.Method; +import java.lang.reflect.Proxy; +import java.util.Arrays; +import java.util.Set; +import java.util.concurrent.BrokenBarrierException; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.CyclicBarrier; +import java.util.concurrent.Semaphore; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.locks.LockSupport; +import java.util.concurrent.locks.ReentrantLock; + +/** + * Created on: 2024-09-12 + * @author ren_chao + * @since 2024-09-06 + */ +public class Demo00 { + + public static void main(String[] args) throws Exception { + // countDownLatch(); + // cyclicBarrier(); + + Semaphore semaphore = new Semaphore(3); + //Semaphore semaphore = new Semaphore(1,true); // 设置公平竞争 + + for (int i = 1; i <= 6; i++) { + new Thread(() -> { + System.out.println(Thread.currentThread().getName() + "在找车位!!"); + try { + semaphore.acquire(); // 占车位 + System.out.println(Thread.currentThread().getName() + "找到位!!==========="); + TimeUnit.SECONDS.sleep(2); + } catch (InterruptedException e) { + e.printStackTrace(); + } finally { + System.out.println(Thread.currentThread().getName() + "开走了。。。。。。。。。。。。。。。。。。。"); + semaphore.release(); // 释放车位 + } + }, "车主" + i).start(); + } + } + + private static void cyclicBarrier() { + CyclicBarrier barrier = new CyclicBarrier(5); + + for (int i = 1; i <= 20; i++) { + new Thread(() -> { + System.out.println(Thread.currentThread().getName() + "到了。。。"); + try { + barrier.await(); + System.out.println("5个人到齐了!!!==========" + Thread.currentThread().getName() + " 进来了!"); + } catch (InterruptedException | BrokenBarrierException e) { + e.printStackTrace(); + } + }, "第" + i + "个人").start(); + } + } + + private static void countDownLatch() throws InterruptedException { + CountDownLatch count = new CountDownLatch(6); + + for (int i = 1; i <= 6; i++) { + new Thread(()->{ + System.out.println(Thread.currentThread().getName() + " 离开了。。。"); + count.countDown(); + },"同学 " + i).start(); + } + + count.await(); + System.out.println("同学都走了,值日同学关门了======"); + } + + +} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/batch/CheckRuleBatch.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/batch/CheckRuleBatch.java index 0d998ecf..4b28ad25 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/batch/CheckRuleBatch.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/batch/CheckRuleBatch.java @@ -37,10 +37,11 @@ public class CheckRuleBatch { ruleService.inspectionInInfo(null, CheckResultStatusEnum.UN_CHECK)); CompletableFuture eaFuture = CompletableFuture.runAsync(() -> ruleService.inspectionEaInfo(null, CheckResultStatusEnum.UN_CHECK)); - CompletableFuture paFuture = CompletableFuture.runAsync(() -> - ruleService.inspectionPaInfo(null, CheckResultStatusEnum.UN_CHECK)); + + // 出口包装批处理去除 + // 等待三个线程都校验完成 - CompletableFuture.allOf(inFuture, eaFuture, paFuture).join(); + CompletableFuture.allOf(inFuture, eaFuture).join(); LOGGER.info("执行查验规则定时任务CheckRuleBatch.execute() end...."); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/constant/DataConstants.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/constant/DataConstants.java index 380fea02..813b08c9 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/constant/DataConstants.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/constant/DataConstants.java @@ -29,10 +29,6 @@ public final class DataConstants { */ public static final String DATA_SOURCE_IMDG = "IMDG"; - /** - * 校验数据源 空运危规 - */ - public static final String DATA_SOURCE_ICAO = "ICAO"; /** * 校验类型 建议包装类别 */ @@ -132,41 +128,11 @@ public final class DataConstants { */ public static final String PEROXIDE = "peroxide"; - /** - * 数据状态 正常 - */ - public static final String DATA_NOMAL = "0"; - - /** - * 数据状态 停用 - */ - public static final String DATA_DISABLE = "1"; - - /** - * 规则组名称 查验check - */ - public static final String RULE_GROUP_CHECK = "check"; - - /** - * 规则组名称 审单review - */ - public static final String RULE_GROUP_REVIEW = "review"; - /** * 普通内包装 */ public static final String COM_INNER = "com_inner"; - /** - * 综合内包装 - */ - public static final String MUL_INNER = "mul_inner"; - - /** - * 特殊内包装 - */ - public static final String SPE_INNER = "spe_inner"; - /** * 中层包装 */ @@ -192,6 +158,11 @@ public final class DataConstants { */ public static final String FORBIDDEN = "Forbidden"; + /** + * 亿通请求参数关区Key + */ + public static final String YT_CUSTOMER_AREA_KEY = "ytCustomerArea"; + } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckEaInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckEaInfoController.java index 8331da89..c78c19ba 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckEaInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckEaInfoController.java @@ -71,7 +71,7 @@ public class CheckEaInfoController extends BaseController { */ @PreAuthorize("@ss.hasPermi('business:checkEaInfo:reInspection')") @GetMapping("/reInspection/{inspectionNos}") - public AjaxResult reInspection(@PathVariable Long[] inspectionNos) { + public AjaxResult reInspection(@PathVariable("inspectionNos") Long[] inspectionNos) { tblCheckEaInfoService.reInspection(inspectionNos); return AjaxResult.success(); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInInfoController.java index d6342ab5..0c5922cf 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInInfoController.java @@ -93,7 +93,7 @@ public class CheckInInfoController extends BaseController { */ @PreAuthorize("@ss.hasPermi('business:checkInInfo:reInspection')") @GetMapping("/reInspection/{inspectionNos}") - public AjaxResult reInspection(@PathVariable Long[] inspectionNos) { + public AjaxResult reInspection(@PathVariable("inspectionNos") Long[] inspectionNos) { tblCheckInInfoService.reInspection(inspectionNos); return AjaxResult.success(); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInfoController.java index ba500cc8..ac97e51b 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckInfoController.java @@ -191,7 +191,7 @@ public class CheckInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:info:remove')") @Log(title = "校验数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblCheckInfoService.deleteTblCheckInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckPaInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckPaInfoController.java index d7b59419..ecfecd6a 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckPaInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckPaInfoController.java @@ -71,7 +71,7 @@ public class CheckPaInfoController extends BaseController { */ @PreAuthorize("@ss.hasPermi('business:checkPaInfo:reInspection')") @GetMapping("/reInspection/{inspectionNos}") - public AjaxResult reInspection(@PathVariable Long[] inspectionNos) { + public AjaxResult reInspection(@PathVariable("inspectionNos") Long[] inspectionNos) { tblCheckPaInfoService.reInspection(inspectionNos); return AjaxResult.success(); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleController.java index a7df7d40..e26e80ca 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleController.java @@ -110,7 +110,7 @@ public class CheckRuleController extends BaseController { @PreAuthorize("@ss.hasPermi('business:checkRule:remove')") @Log(title = "校验规则", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { // 判断是否关联,调用服务接口方法 3 Boolean flag = bindIsRelated(ids); if(!flag){ diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleGroupController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleGroupController.java index d269430a..fdd87e21 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleGroupController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CheckRuleGroupController.java @@ -112,7 +112,7 @@ public class CheckRuleGroupController extends BaseController { @PreAuthorize("@ss.hasPermi('business:ruleGroup:remove')") @Log(title = "校验规则组", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { tblRuleGroupRefService.deleteTblRuleGroupRefByGroupIds(ids); return toAjax(tblCheckRuleGroupService.deleteTblCheckRuleGroupByIds(ids)); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CiqDangerGoodsInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CiqDangerGoodsInfoController.java index 650df10f..d0e130e1 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CiqDangerGoodsInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/CiqDangerGoodsInfoController.java @@ -122,7 +122,7 @@ public class CiqDangerGoodsInfoController extends BaseController @PreAuthorize("@ss.hasPermi('business:dangerGoods:remove')") @Log(title = "CIQ危险化学品", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblCiqDangerGoodsInfoService.deleteTblCiqDangerGoodsInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsCatalogueController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsCatalogueController.java index 8310369f..e51f2044 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsCatalogueController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsCatalogueController.java @@ -98,7 +98,7 @@ public class DangerGoodsCatalogueController extends BaseController { @PreAuthorize("@ss.hasPermi('business:catalogue:remove')") @Log(title = "危化品目录管理", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblDangerGoodsCatalogueService.deleteTblDangerGoodsCatalogueByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsInfoController.java index 2e5965d6..59d07cf9 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerGoodsInfoController.java @@ -99,7 +99,7 @@ public class DangerGoodsInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:goods:remove')") @Log(title = "危险品货物管理", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblDangerGoodsInfoService.deleteTblDangerGoodsInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerIdentifyInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerIdentifyInfoController.java index 54b9f2c4..64db5806 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerIdentifyInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerIdentifyInfoController.java @@ -125,7 +125,7 @@ public class DangerIdentifyInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:identify:remove')") @Log(title = "危险品分类鉴定数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblDangerIdentifyInfoService.deleteTblDangerIdentifyInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerTypeIdentityInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerTypeIdentityInfoController.java index 9f6615c3..c03a66d9 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerTypeIdentityInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/DangerTypeIdentityInfoController.java @@ -97,7 +97,7 @@ public class DangerTypeIdentityInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:dangerTypeIdentity:remove')") @Log(title = "危化品危险特性分类鉴别检测信息", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblDangerTypeIdentityInfoService.deleteTblDangerTypeIdentityInfoByIds(ids)); } @@ -148,7 +148,7 @@ public class DangerTypeIdentityInfoController extends BaseController { */ @PreAuthorize("@ss.hasPermi('business:dangerTypeIdentity:list')") @GetMapping("/listByInfoIds/{infoIds}") - public TableDataInfo listByInfoIds(@PathVariable Long[] infoIds) { + public TableDataInfo listByInfoIds(@PathVariable("infoIds") Long[] infoIds) { List list = tblDangerTypeIdentityInfoService.selectListByInfoIds(infoIds); return getDataTable(list); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/GasBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/GasBaseInfoController.java index dc83431a..0fc42f4d 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/GasBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/GasBaseInfoController.java @@ -99,7 +99,7 @@ public class GasBaseInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:gasBase:remove')") @Log(title = "气体数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblGasBaseInfoService.deleteTblGasBaseInfoByIds(ids)); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoDangerGoodsInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoDangerGoodsInfoController.java index 964a7869..07374368 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoDangerGoodsInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoDangerGoodsInfoController.java @@ -87,7 +87,7 @@ public class IcaoDangerGoodsInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:icaoGoods:remove')") @Log(title = "空运危规危险货物", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(icaoDangerGoodsInfoService.deleteIcaoDangerGoodsInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoPackageRuleInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoPackageRuleInfoController.java index 16f9e578..96d4013e 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoPackageRuleInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/IcaoPackageRuleInfoController.java @@ -160,7 +160,7 @@ public class IcaoPackageRuleInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:icaoPackageRule:remove')") @Log(title = "空运包装导则", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(packageRuleInfoService.deleteTblIcaoPackageRuleInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/OrganicPeroxideBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/OrganicPeroxideBaseInfoController.java index 006ea0a1..9875b3d1 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/OrganicPeroxideBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/OrganicPeroxideBaseInfoController.java @@ -99,7 +99,7 @@ public class OrganicPeroxideBaseInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:organicPeroxide:remove')") @Log(title = "有机过氧化物", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblOrganicPeroxideBaseInfoService.deleteTblOrganicPeroxideBaseInfoByIds(ids)); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageBaseInfoController.java index 69be23fa..f6b859e7 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageBaseInfoController.java @@ -99,7 +99,7 @@ public class PackageBaseInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:packageBase:remove')") @Log(title = "固体液体数据管理", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblPackageBaseInfoService.deleteTblPackageBaseInfoByIds(ids)); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageRuleInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageRuleInfoController.java index 2472237e..50039ed2 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageRuleInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/PackageRuleInfoController.java @@ -318,7 +318,7 @@ public class PackageRuleInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:packageRule:remove')") @Log(title = "删除包装导则", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblPackageRuleInfoService.deleteTblPackageRuleInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RegulationInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RegulationInfoController.java index a4ba97bd..c203d042 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RegulationInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RegulationInfoController.java @@ -99,7 +99,7 @@ public class RegulationInfoController extends BaseController { @PreAuthorize("@ss.hasPermi('business:specialRule:remove')") @Log(title = "特殊规定基础数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblRegulationInfoService.deleteTblRegulationInfoByIds(ids)); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RulePeroxideRefController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RulePeroxideRefController.java index 3bc92c8d..ac5c4683 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RulePeroxideRefController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/RulePeroxideRefController.java @@ -97,7 +97,7 @@ public class RulePeroxideRefController extends BaseController { @PreAuthorize("@ss.hasPermi('business:peroxideTypefBase:remove')") @Log(title = " F型有机过氧化物数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblPeroxideTypefBaseInfoService.deleteTblPeroxideTypefBaseInfoByIds(ids)); } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoGasBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoGasBaseInfoController.java index 5dd41592..84c03482 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoGasBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoGasBaseInfoController.java @@ -104,7 +104,7 @@ public class TblIcaoGasBaseInfoController extends BaseController @PreAuthorize("@ss.hasPermi('business:iconGas:remove')") @Log(title = "空运危规气体数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblIcaoGasBaseInfoService.deleteTblIcaoGasBaseInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoInoutPackageBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoInoutPackageBaseInfoController.java index e56f03b5..a02f22fd 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoInoutPackageBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoInoutPackageBaseInfoController.java @@ -104,7 +104,7 @@ public class TblIcaoInoutPackageBaseInfoController extends BaseController @PreAuthorize("@ss.hasPermi('business:iconInoutPackage:remove')") @Log(title = "空运危规普通包装基础数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblIcaoInoutPackageBaseInfoService.deleteTblIcaoInoutPackageBaseInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoMultipleInnerBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoMultipleInnerBaseInfoController.java index 0432c131..b5e0495a 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoMultipleInnerBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoMultipleInnerBaseInfoController.java @@ -104,7 +104,7 @@ public class TblIcaoMultipleInnerBaseInfoController extends BaseController @PreAuthorize("@ss.hasPermi('business:iconMultipleInner:remove')") @Log(title = "空运综合内包装基础数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblIcaoMultipleInnerBaseInfoService.deleteTblIcaoMultipleInnerBaseInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoSpecialInnerBaseInfoController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoSpecialInnerBaseInfoController.java index 9aac3cda..a5417317 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoSpecialInnerBaseInfoController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/controller/TblIcaoSpecialInnerBaseInfoController.java @@ -104,7 +104,7 @@ public class TblIcaoSpecialInnerBaseInfoController extends BaseController @PreAuthorize("@ss.hasPermi('business:iconSpecialInner:remove')") @Log(title = "空运特殊内包装基础数据", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) + public AjaxResult remove(@PathVariable("ids") Long[] ids) { return toAjax(tblIcaoSpecialInnerBaseInfoService.deleteTblIcaoSpecialInnerBaseInfoByIds(ids)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/TblDangerGoodsInfo.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/TblDangerGoodsInfo.java index 86868f32..4d397348 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/TblDangerGoodsInfo.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/TblDangerGoodsInfo.java @@ -1,6 +1,11 @@ package com.jiuyv.business.domain; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; import com.jiuyv.common.annotation.Excel; +import com.jiuyv.common.core.domain.BaseEntity; + +import javax.validation.constraints.NotBlank; /** * 危险品货物管理对象 tbl_danger_goods_info diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/rulepackageref/TblIcaoRuleInoutPackageRefDomain.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/rulepackageref/TblIcaoRuleInoutPackageRefDomain.java index 82f94e0e..ee02fb46 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/rulepackageref/TblIcaoRuleInoutPackageRefDomain.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/domain/rulepackageref/TblIcaoRuleInoutPackageRefDomain.java @@ -1,5 +1,6 @@ package com.jiuyv.business.domain.rulepackageref; +import com.jiuyv.common.annotation.Excel; import java.io.Serializable; diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/enums/CheckTypeEnum.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/enums/CheckTypeEnum.java index f5b86aee..88eca4de 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/enums/CheckTypeEnum.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/enums/CheckTypeEnum.java @@ -5,10 +5,10 @@ public enum CheckTypeEnum { FIRST_SAMPLE("A1", "首次取样比对"), PACK_TYPE("1", "建议包装类别"), TRANSPORT_NAME("2", "正式运输名称"), - DANGER_TYPE("3", "危险货物类别"), - PACK_RULE("4", "包装标记"), - GOODS_ATTR("5", "货物属性"), - PACK_LEVEL("6", "包装等级"), + DANGER_TYPE("3", "危险货物类别校验规则"), + PACK_RULE("4", "包装标记校验规则"), + GOODS_ATTR("5", "货物属性校验规则"), + PACK_LEVEL("6", "包装类别校验规则"), CIQ_NAME("7", "检验检疫名称"), CIQ_PARAM("8", "货物属性和危险类别填写"); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/mapper/IcaoDangerGoodsInfoMapper.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/mapper/IcaoDangerGoodsInfoMapper.java index c9f782cc..f915e999 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/mapper/IcaoDangerGoodsInfoMapper.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/mapper/IcaoDangerGoodsInfoMapper.java @@ -1,6 +1,7 @@ package com.jiuyv.business.mapper; +import com.jiuyv.business.domain.DangerGoodsBaseEntity; import com.jiuyv.business.domain.IcaoDangerGoodsInfo; import com.jiuyv.business.dto.ReqDangerIdentifyInfoCondDTO; import org.apache.ibatis.annotations.Mapper; diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/BaseService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/BaseService.java index 7973ab12..2e799c1b 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/BaseService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/BaseService.java @@ -22,7 +22,8 @@ public abstract class BaseService { /** * 规则组 review 审单 */ - protected static final String REVIEW_RULE = GroupNameEnum.REVIEW_RULE.getCode(); + protected static final String REVIEW_RULE = GroupNameEnum.CHECK_RULE.getCode(); + // protected static final String REVIEW_RULE = GroupNameEnum.REVIEW_RULE.getCode(); /** * 校验合格 @@ -97,4 +98,39 @@ public abstract class BaseService { String regular = "([^/]+/)*[^/]+"; return !Pattern.matches(regular, mark); } + + /** + * 获取截断后的第一段信息 + */ + protected String getFirst(String str, String regex) { + if (StringUtils.isNotBlank(str)) { + String[] split = str.split(regex); + if (split.length > 0) { + return split[0]; + } + } + return ""; + } + + + /** + * 包装类别是1,2,3,转换成罗马数字I,II,III + * + */ + protected String convertNumber(String packType) { + if ("I".equals(packType) || "II".equals(packType) || "III".equals(packType)) { + return packType; + } + if ("1".equals(packType)) { + return "I"; + } + if ("2".equals(packType)) { + return "II"; + } + if ("3".equals(packType)) { + return "III"; + } + return null; + } + } \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckBaseService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckBaseService.java index 04d48513..cf990b9c 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckBaseService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckBaseService.java @@ -2,6 +2,7 @@ package com.jiuyv.business.service.impl; import cn.hutool.core.bean.BeanUtil; import com.github.pagehelper.Page; +import com.jiuyv.business.constant.DataConstants; import com.jiuyv.business.domain.CheckBaseEntity; import com.jiuyv.business.domain.TblCheckFileLog; import com.jiuyv.business.domain.TblCheckFileLogVO; @@ -24,9 +25,9 @@ import com.jiuyv.business.service.IOcrTdgLabelService; import com.jiuyv.business.service.IOcrDangerTypeIdentityService; import com.jiuyv.business.service.ICheckFileLogService; import com.jiuyv.business.service.IRuleService; -import com.jiuyv.business.util.CheckUtils; import com.jiuyv.common.exception.ServiceException; import com.jiuyv.common.utils.PageUtils; +import com.jiuyv.common.utils.ServletUtils; import com.jiuyv.common.utils.poi.ExcelUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -91,7 +92,7 @@ public abstract class CheckBaseService, E extends C List infos = getSimpleDTO(id, simpleDTO); List infoAndOcrList = new ArrayList<>(); for (E info : infos) { - D infoAndOcrDTO = CheckUtils.newInstance(dtoClass); + D infoAndOcrDTO = BeanUtils.instantiateClass(dtoClass); BeanUtil.copyProperties(info, infoAndOcrDTO); Long checkId = info.getId(); String checkType = info.getType(); @@ -147,7 +148,7 @@ public abstract class CheckBaseService, E extends C * 获取校验结果信息 */ protected D getResult(Long checkId, String checkType, Class dtoClass) { - D infoAndOcrDTO = CheckUtils.newInstance(dtoClass); + D infoAndOcrDTO = BeanUtils.instantiateClass(dtoClass); // 获取校验和审单结果 TblCheckReviewResult tblCheckReviewResult = tblCheckReviewResultService.selectInfoByIdAndType(checkId, checkType); @@ -202,6 +203,8 @@ public abstract class CheckBaseService, E extends C @SuppressWarnings({"rawtypes"}) public List list(E checkInfo, Class dtoClass) { PageUtils.startPage(); + // 设置关区 + checkInfo.setCustomerArea((String) ServletUtils.getSession().getAttribute(DataConstants.YT_CUSTOMER_AREA_KEY)); List list; // 出口包装没有一对多,不需要单独查询 if (!(checkBaseMapper instanceof TblCheckPaInfoMapper) && @@ -213,7 +216,7 @@ public abstract class CheckBaseService, E extends C Page page = new Page<>(); page.setTotal(((Page) list).getTotal()); for (E info : list) { - D infoDTO = CheckUtils.newInstance(dtoClass); + D infoDTO = BeanUtils.instantiateClass(dtoClass); BeanUtils.copyProperties(info, infoDTO); // 出口包装没有一对多 if (!(checkBaseMapper instanceof TblCheckPaInfoMapper)) { diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckInInfoServiceImpl.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckInInfoServiceImpl.java index abd98319..ef56ed1d 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckInInfoServiceImpl.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/CheckInInfoServiceImpl.java @@ -3,6 +3,7 @@ package com.jiuyv.business.service.impl; import cn.hutool.http.HttpResponse; import cn.hutool.http.HttpUtil; import cn.hutool.json.JSONUtil; +import com.jiuyv.business.constant.DataConstants; import com.jiuyv.business.domain.TblCheckInInfo; import com.jiuyv.business.dto.CheckInInfoDTO; import com.jiuyv.business.dto.CheckSimpleDTO; @@ -11,6 +12,7 @@ import com.jiuyv.business.service.ICheckInInfoService; import com.jiuyv.common.core.domain.AjaxResult; import com.jiuyv.common.exception.ServiceException; import com.jiuyv.common.utils.ChemicalStringUtils; +import com.jiuyv.common.utils.ServletUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; @@ -86,6 +88,8 @@ public class CheckInInfoServiceImpl extends CheckBaseService checkInInfos = tblCheckInInfoMapper.selectList(tblCheckInInfo); if (CollectionUtils.isEmpty(checkInInfos)) { throw new ServiceException("报关单号[" + declarationNo + "]预约记录不存在"); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/RuleServiceImpl.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/RuleServiceImpl.java index 1dc2ac04..d49fc50d 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/RuleServiceImpl.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/RuleServiceImpl.java @@ -36,13 +36,12 @@ import com.jiuyv.business.mapper.TblCiqDangerGoodsInfoMapper; import com.jiuyv.business.mapper.CheckBaseMapper; import com.jiuyv.business.service.IRuleService; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; -import com.jiuyv.business.util.CheckUtils; import com.jiuyv.common.exception.ServiceException; import com.jiuyv.common.utils.AppUtil; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; @@ -81,6 +80,8 @@ public class RuleServiceImpl extends BaseService implements IRuleService { private final TblCiqDangerGoodsInfoMapper tblCiqDangerGoodsInfoMapper; + private final IRuleService ruleService; + @Autowired public RuleServiceImpl(TblCheckRuleGroupMapper tblCheckRuleGroupMapper, TblCheckRuleMapper tblCheckRuleMapper, @@ -92,7 +93,8 @@ public class RuleServiceImpl extends BaseService implements IRuleService { TblCheckPaInfoMapper tblCheckPaInfoMapper, TblCheckReviewResultMapper tblCheckReviewResultMapper, TblCiqDangerGoodsInfoMapper tblCiqDangerGoodsInfoMapper, - IcaoDangerGoodsInfoMapper icaoDangerGoodsInfoMapper) { + IcaoDangerGoodsInfoMapper icaoDangerGoodsInfoMapper, + @Lazy IRuleService ruleService) { this.tblCheckRuleGroupMapper = tblCheckRuleGroupMapper; this.tblCheckRuleMapper = tblCheckRuleMapper; this.tblRuleGroupRefMapper = tblRuleGroupRefMapper; @@ -104,13 +106,13 @@ public class RuleServiceImpl extends BaseService implements IRuleService { this.tblCheckReviewResultMapper = tblCheckReviewResultMapper; this.tblCiqDangerGoodsInfoMapper = tblCiqDangerGoodsInfoMapper; this.icaoDangerGoodsInfoMapper = icaoDangerGoodsInfoMapper; + this.ruleService = ruleService; } /** * 查验进口属地申报数据 * */ - @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) @Override public void inspectionInInfo(Long[] inspectionNos, CheckResultStatusEnum checkStatus) { inspectionCheck(inspectionNos, checkStatus, tblCheckInInfoMapper); @@ -120,7 +122,6 @@ public class RuleServiceImpl extends BaseService implements IRuleService { * 查验出口电子底帐申报数据 * */ - @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) @Override public void inspectionEaInfo(Long[] inspectionNos, CheckResultStatusEnum checkStatus) { inspectionCheck(inspectionNos, checkStatus, tblCheckEaInfoMapper); @@ -130,7 +131,6 @@ public class RuleServiceImpl extends BaseService implements IRuleService { * 查验出口包装校验申报数据 * */ - @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) @Override public void inspectionPaInfo(Long[] inspectionNos, CheckResultStatusEnum checkStatus) { inspectionCheck(inspectionNos, checkStatus, tblCheckPaInfoMapper); @@ -140,7 +140,6 @@ public class RuleServiceImpl extends BaseService implements IRuleService { * 查验申报数据 * */ - @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) @Override public void inspectionCheck(Long[] inspectionNos, CheckResultStatusEnum checkStatus, CheckBaseMapper mapper) { List infoList; @@ -154,7 +153,7 @@ public class RuleServiceImpl extends BaseService implements IRuleService { ReportDataDTO reportData = new ReportDataDTO(); BeanUtils.copyProperties(info, reportData); // 校验申报数据 - checkRule(reportData); + ruleService.checkRule(reportData); } } @@ -184,8 +183,7 @@ public class RuleServiceImpl extends BaseService implements IRuleService { // 处理返回的对象,分为查验规则的结果集和审单规则的结果集 List checkRuleList = list.stream() .filter(item -> item != null && CHECK_RULE.equals(item.getGroupName())).collect(Collectors.toList()); - List reviewRuleList = list.stream() - .filter(item -> item != null && REVIEW_RULE.equals(item.getGroupName())).collect(Collectors.toList()); + List reviewRuleList = null; // 一个规则组里面所有规则校验完进行处理 String checkStatus = insertRuleResult(checkRuleList, reviewRuleList, reportData); @@ -218,9 +216,10 @@ public class RuleServiceImpl extends BaseService implements IRuleService { * 更新校验状态 * */ - private - void updateCheckStatus(ReportDataDTO reportData, CheckBaseMapper mapper, Class entityClass) { - E entity = CheckUtils.newInstance(entityClass); + private void updateCheckStatus(ReportDataDTO reportData, + CheckBaseMapper mapper, + Class entityClass) { + E entity = BeanUtils.instantiateClass(entityClass); entity.setId(reportData.getId()); entity.setUpdateId(GlobalConstants.BATCH_USER); entity.setUpdateTime(Date.from(LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant())); @@ -383,7 +382,7 @@ public class RuleServiceImpl extends BaseService implements IRuleService { public TblDangerIdentifyInfo getIdentifyBaseLineData(ReportDataDTO reportData, String dataSource) { String unitedNo = reportData.getUnitedNo(); // 包装类别是1,2,3,转换成罗马数字I,II,III - String packType = BizUtils.convertNumber(reportData.getPackType()); + String packType = convertNumber(reportData.getPackType()); String now = DateUtil.today(); ReqDangerIdentifyInfoCondDTO req = new ReqDangerIdentifyInfoCondDTO(); req.setLimitDate(now); @@ -398,7 +397,7 @@ public class RuleServiceImpl extends BaseService implements IRuleService { ReqDangerIdentifyInfoCondDTO req = new ReqDangerIdentifyInfoCondDTO(); req.setUnNo(reportData.getUnitedNo()); // 包装类别是1,2,3,转换成罗马数字I,II,III - req.setPackageClass(BizUtils.convertNumber(reportData.getPackType())); + req.setPackageClass(convertNumber(reportData.getPackType())); String transportMode = reportData.getTransportMode(); if (StringUtils.isNotBlank(transportMode) && transportMode.contains(TransportModeEnum.AVIATION.getCode())) { return icaoDangerGoodsInfoMapper.getGoodsInfo(req); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/CheckService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/CheckService.java index 7551daae..47487f21 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/CheckService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/CheckService.java @@ -8,7 +8,6 @@ import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.DataSourceEnum; import com.jiuyv.business.enums.ReceiveTypeEnum; import com.jiuyv.business.service.impl.BaseService; -import com.jiuyv.business.util.BizUtils; public abstract class CheckService extends BaseService { @@ -100,11 +99,11 @@ public abstract class CheckService extends BaseService { String type = reportData.getType(); String regex = "/"; if (ReceiveTypeEnum.IN.getCode().equals(type)) { - return BizUtils.getFirst(reportData.getPackRule(), regex); + return getFirst(reportData.getPackRule(), regex); } else if (ReceiveTypeEnum.ELECT_ACCT.getCode().equals(type)) { - return BizUtils.getFirst(reportData.getPackSign(), regex); + return getFirst(reportData.getPackSign(), regex); } else if (ReceiveTypeEnum.PACK_APPLY.getCode().equals(type)) { - return BizUtils.getFirst(reportData.getPackSignAndProductNo(), regex); + return getFirst(reportData.getPackSignAndProductNo(), regex); } else { return ""; } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/DangerTypeCheckService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/DangerTypeCheckService.java index c92e158f..492d8ac6 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/DangerTypeCheckService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/DangerTypeCheckService.java @@ -8,12 +8,13 @@ import com.jiuyv.business.domain.TblDangerIdentifyInfo; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; +import java.util.regex.Pattern; + /** * 查验规则 * 危险等级比对 @@ -22,9 +23,10 @@ import org.springframework.stereotype.Service; */ @Service("dangerTypeCheckService") public class DangerTypeCheckService extends DangerIdentifyService implements InspectionRuleService { - private static final Logger LOGGER = LoggerFactory.getLogger(DangerTypeCheckService.class); + private static final Pattern PATTERN = Pattern.compile("[+/(),,a-zA-Z ]"); + private static final String CHECK_TYPE = CheckTypeEnum.DANGER_TYPE.getCode(); /** @@ -78,9 +80,9 @@ public class DangerTypeCheckService extends DangerIdentifyService implements Ins // 空运没有副危险 if (goodsBaseLineData instanceof TblDangerGoodsInfo) { TblDangerGoodsInfo dangerGoodsInfo = (TblDangerGoodsInfo) goodsBaseLineData; - dangerType = BizUtils.handleGoodsDangerType(dangerType, dangerGoodsInfo.getSecondaryDanger()); + dangerType = handleGoodsDangerType(dangerType, dangerGoodsInfo.getSecondaryDanger()); } - if (BizUtils.dangerTypeComparison(reportDangerType, dangerType)) { + if (dangerTypeComparison(reportDangerType, dangerType)) { return handleCheckResult(CHECK_TYPE, dangerType, reportDangerType, PASS, null, dataSource, CHECK_RULE); } @@ -99,4 +101,30 @@ public class DangerTypeCheckService extends DangerIdentifyService implements Ins return handleCheckResult(CHECK_TYPE, QUERY_FAILED, reportDangerType, FAIL, NO_GOODS_FOUND, null, CHECK_RULE); } + + /** + * 危险类别比较 + */ + private boolean dangerTypeComparison(String reportDangerType, String dangerType) { + if (StringUtils.isBlank(dangerType)) { + return false; + } + // 替换掉危险类别中的 /或者+ + String standardData = PATTERN.matcher(dangerType).replaceAll(""); + String reportData = PATTERN.matcher(reportDangerType).replaceAll(""); + return standardData.equals(reportData); + } + + /** + * 处理货物信息表危险/副危险拼接问题 + */ + private String handleGoodsDangerType(String dangerType, String secondaryDanger) { + if (StringUtils.isBlank(dangerType)) { + return ""; + } + if ("-".equals(secondaryDanger)) { + return dangerType; + } + return dangerType + "+" + secondaryDanger; + } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/TransportNameCheckService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/TransportNameCheckService.java index 1c09f4b4..0009da59 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/TransportNameCheckService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/check/TransportNameCheckService.java @@ -7,7 +7,6 @@ import com.jiuyv.business.domain.TblDangerIdentifyInfo; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -31,7 +30,7 @@ public class TransportNameCheckService extends DangerIdentifyService implements @Override public CheckResultDomain doCheck(ReportDataDTO reportData) { LOGGER.info("TransportNameCheckService.doCheck() start.........申报数据:>>{}", JSONUtil.toJsonStr(reportData)); - String formalTransportName = BizUtils.handleTransportName(reportData.getFormalTransportName()); + String formalTransportName = handleTransportName(reportData.getFormalTransportName()); // 比较规则 return comparisonRule(formalTransportName, reportData); } @@ -58,7 +57,7 @@ public class TransportNameCheckService extends DangerIdentifyService implements */ @Override protected CheckResultDomain dangerIdentifyResult(String formalTransportName, TblDangerIdentifyInfo ccicBaseLineData) { - String transportNameCn = BizUtils.handleTransportName(ccicBaseLineData.getTransportNameCn()); + String transportNameCn = handleTransportName(ccicBaseLineData.getTransportNameCn()); // 比较 return compare(formalTransportName, transportNameCn, DATA_REPORT); } @@ -70,7 +69,7 @@ public class TransportNameCheckService extends DangerIdentifyService implements */ @Override protected CheckResultDomain dangerGoodsResult(String formalTransportName, DangerGoodsBaseEntity goodsBaseLineData, String dataSource) { - String transportNameCn = BizUtils.handleTransportName(goodsBaseLineData.getTransportNameCn()); + String transportNameCn = handleTransportName(goodsBaseLineData.getTransportNameCn()); // 比较 return compare(formalTransportName, transportNameCn, dataSource); } @@ -99,4 +98,15 @@ public class TransportNameCheckService extends DangerIdentifyService implements null, dataSource, CHECK_RULE); } + /** + * 处理正式运输名称 中英文逗号问题 + */ + private String handleTransportName(String name) { + if (StringUtils.isNotBlank(name)) { + return name.replace(",", ","); + } + return ""; + } + + } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameParamReviewService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameParamReviewService.java index 4a025eb1..ef242079 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameParamReviewService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameParamReviewService.java @@ -6,7 +6,6 @@ import com.jiuyv.business.domain.CheckResultDomain; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -60,7 +59,7 @@ public class CiqNameParamReviewService extends ReviewService implements Inspecti String goodsAttr = reportData.getGoodsAttr(); String dangerType = reportData.getDangerType(); // 1.1 货物属性为31或32,危险类别不为空; - if (!BizUtils.checkCiqNameGoodsAttr(goodsAttr, GlobalConstants.BASE_LINE_CIQ_NAME_GOODS_ATTR)) { + if (!checkCiqNameGoodsAttr(goodsAttr, GlobalConstants.BASE_LINE_CIQ_NAME_GOODS_ATTR)) { LOGGER.info("CiqNameReviewService.doCheck().........,申报数据格式不正确,type:>>{},inspectionNo:>>{}", reportData.getType(), reportData.getInspectionNo()); @@ -69,7 +68,7 @@ public class CiqNameParamReviewService extends ReviewService implements Inspecti } // 1.2 危险类别如果不是这种格式则报错, 6\6.1\8+6.1 - if (!BizUtils.checkDangerType(dangerType)) { + if (!checkDangerType(dangerType)) { LOGGER.info("CiqNameReviewService.doCheck().........,申报数据格式不正确,type:>>{},inspectionNo:>>{}", reportData.getType(), reportData.getInspectionNo()); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameReviewService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameReviewService.java index 7b2a5b8e..f1805de9 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameReviewService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/CiqNameReviewService.java @@ -7,7 +7,6 @@ import com.jiuyv.business.domain.TblCiqDangerGoodsInfo; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -65,7 +64,7 @@ public class CiqNameReviewService extends ReviewService implements InspectionRul String dangerType = reportData.getDangerType(); // 1.1 货物属性为31或32,危险类别不为空; String ciqNameGoodsAttrStandardData = GlobalConstants.BASE_LINE_CIQ_NAME_GOODS_ATTR; - if (!BizUtils.checkCiqNameGoodsAttr(goodsAttr, ciqNameGoodsAttrStandardData)) { + if (!checkCiqNameGoodsAttr(goodsAttr, ciqNameGoodsAttrStandardData)) { LOGGER.info("CiqNameReviewService.doCheck().........,申报数据格式不正确,type:>>{},inspectionNo:>>{}", reportData.getType(), reportData.getInspectionNo()); @@ -73,8 +72,7 @@ public class CiqNameReviewService extends ReviewService implements InspectionRul GlobalConstants.REPORT_DATA_ERROR_MSG, DATA_SOURCE, REVIEW_RULE); } // 1.2 危险类别如果不是这种格式则报错, 6\6.1\8+6.1\2.3+2.1+8\... - boolean checkDangerType = BizUtils.checkDangerType(dangerType); - if (!checkDangerType) { + if (!checkDangerType(dangerType)) { LOGGER.info("CiqNameReviewService.doCheck().........,申报数据格式不正确,type:>>{},inspectionNo:>>{}", reportData.getType(), reportData.getInspectionNo()); @@ -102,7 +100,7 @@ public class CiqNameReviewService extends ReviewService implements InspectionRul null, DATA_SOURCE, REVIEW_RULE); } String remark = "基准:" + goodsInfo.getCiqNo(); - if (BizUtils.getFirst(dangerType, "\\+").equals(standardData)) { + if (getFirst(dangerType, "\\+").equals(standardData)) { return handleCheckResult(REVIEW_TYPE, standardData, dangerType, PASS, remark, DATA_SOURCE, REVIEW_RULE); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/GoodsAttrReviewService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/GoodsAttrReviewService.java index 473e2fdd..a199d0b5 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/GoodsAttrReviewService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/GoodsAttrReviewService.java @@ -7,7 +7,6 @@ import com.jiuyv.business.domain.TblCiqDangerGoodsInfo; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -71,7 +70,7 @@ public class GoodsAttrReviewService extends ReviewService implements InspectionR return null; } String goodsAttr = reportData.getGoodsAttr(); - if (BizUtils.checkCiqNameGoodsAttr(goodsAttr, GlobalConstants.BASE_LINE_GOODS_ATTR)) { + if (checkCiqNameGoodsAttr(goodsAttr, GlobalConstants.BASE_LINE_GOODS_ATTR)) { return handleCheckResult(REVIEW_TYPE, STANDARD_DATA, goodsAttr, PASS, GlobalConstants.GOODS_ATTR_REMARKS, DATA_SOURCE, REVIEW_RULE); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/PackageLevelReviewService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/PackageLevelReviewService.java index 5447a721..4c446c11 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/PackageLevelReviewService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/PackageLevelReviewService.java @@ -1,6 +1,7 @@ package com.jiuyv.business.service.impl.review; +import cn.hutool.core.text.CharSequenceUtil; import cn.hutool.json.JSONUtil; import com.jiuyv.business.constant.GlobalConstants; import com.jiuyv.business.domain.CheckResultDomain; @@ -8,11 +9,14 @@ import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.CheckTypeEnum; import com.jiuyv.business.enums.ReceiveTypeEnum; import com.jiuyv.business.service.InspectionRuleService; -import com.jiuyv.business.util.BizUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; +import org.springframework.util.CollectionUtils; + +import java.util.HashMap; +import java.util.List; /** * 审单规则 @@ -95,11 +99,11 @@ public class PackageLevelReviewService extends ReviewService implements Inspecti String type = reportData.getType(); String reportDataPackLevel; if (ReceiveTypeEnum.IN.getCode().equals(type)) { - reportDataPackLevel = BizUtils.handlePackLevel(packRule); + reportDataPackLevel = handlePackLevel(packRule); } else if (ReceiveTypeEnum.ELECT_ACCT.getCode().equals(type)) { - reportDataPackLevel = BizUtils.handlePackLevel(packSign); + reportDataPackLevel = handlePackLevel(packSign); } else if (ReceiveTypeEnum.PACK_APPLY.getCode().equals(type)) { - reportDataPackLevel = BizUtils.handlePackLevel(packSignAndProductNo); + reportDataPackLevel = handlePackLevel(packSignAndProductNo); } else { return handleCheckResult(REVIEW_TYPE, STANDARD_DATA, null, UN_PASS, DATA_EMPTY, DATA_SOURCE, REVIEW_RULE); @@ -107,7 +111,7 @@ public class PackageLevelReviewService extends ReviewService implements Inspecti String packType = reportData.getPackType(); String remarks = GlobalConstants.PACK_LEVEL_REMARKS; String reporatData = packType + "/" + reportDataPackLevel; - if (BizUtils.checkPackLevel(BizUtils.convertNumber(packType), reportDataPackLevel)) { + if (checkPackLevel(convertNumber(packType), reportDataPackLevel)) { // 校验合格 return handleCheckResult(REVIEW_TYPE, STANDARD_DATA, reporatData, PASS, remarks, DATA_SOURCE, REVIEW_RULE); @@ -118,4 +122,40 @@ public class PackageLevelReviewService extends ReviewService implements Inspecti } } + + + /** + * 校验审单规则的包装等级 + * 1.当包装类别为I时,包装标记为X + * 2.当包装类别为II时,包装标记为X或Y + * 3.当包装类别为III时,包装标记为X或Y或Z + */ + private boolean checkPackLevel(String packType, String packLevel) { + HashMap> baseLinePackLevel = new HashMap<>(); + for (String str : GlobalConstants.BASE_LINE_PACK_LEVEL.split(",")) { + String[] m = str.split(":"); + baseLinePackLevel.put(m[0], CharSequenceUtil.split(m[1], ".")); + } + List standardData = baseLinePackLevel.get(packType); + if (CollectionUtils.isEmpty(standardData)) { + return false; + } + return standardData.contains(packLevel); + } + + /** + * 处理审单规则 + * 包装等级 + */ + private String handlePackLevel(String rule) { + if (StringUtils.isNotBlank(rule)) { + String[] split = rule.split("/"); + if (split.length > 1) { + return split[1].substring(0, 1); + } + } + return ""; + } + + } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/ReviewService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/ReviewService.java index eb387c97..bff20a3a 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/ReviewService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/service/impl/review/ReviewService.java @@ -1,12 +1,18 @@ package com.jiuyv.business.service.impl.review; +import cn.hutool.core.util.StrUtil; import com.jiuyv.business.domain.CheckResultDomain; import com.jiuyv.business.dto.ReportDataDTO; import com.jiuyv.business.enums.DataSourceEnum; import com.jiuyv.business.service.impl.BaseService; +import java.util.List; +import java.util.regex.Pattern; + public abstract class ReviewService extends BaseService { + private static final Pattern REGEX = Pattern.compile("(\\d(\\.\\d)?\\+)*(\\d(\\.\\d)?)"); + /** * 数据源 */ @@ -69,4 +75,28 @@ public abstract class ReviewService extends BaseService { return null; } + + + /** + * 货物属性为 基准数据 不能同时出现任意两个 + * + * @param reportData 申报数据 + * @param benchmarkData 基准数据 + */ + protected boolean checkCiqNameGoodsAttr(String reportData, String benchmarkData) { + List reportGoodsDataList = StrUtil.split(reportData, ",", true, true); + // 求两个list的交集 + reportGoodsDataList.retainAll(StrUtil.split(benchmarkData, ",")); + // 当交集只有1个时候才是合格的 + return reportGoodsDataList.size() == 1; + } + + /** + * 判断危险类别是不是这种格式, 6\6.1\8+6.1\2.3+2.1+8\... + */ + protected boolean checkDangerType(String dangerType) { + return REGEX.matcher(dangerType).matches(); + } + + } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/BizUtils.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/BizUtils.java index 303e705b..9694aa1f 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/BizUtils.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/BizUtils.java @@ -1,20 +1,9 @@ package com.jiuyv.business.util; -import cn.hutool.core.text.CharSequenceUtil; -import cn.hutool.core.util.StrUtil; -import com.jiuyv.business.constant.GlobalConstants; -import org.apache.commons.lang3.StringUtils; -import org.springframework.util.CollectionUtils; - import java.security.SecureRandom; -import java.util.HashMap; -import java.util.List; -import java.util.regex.Pattern; public final class BizUtils { - private static final Pattern pattern = Pattern.compile("[+/(),,a-zA-Z ]"); - private static final String REC_TOKEN_RANDOM_STRING = "zxcvbnmlkjhgfdsaqwertyuiopQWERTYUIOPASDFGHJKLZXCVBNM1234567890"; private static final int REC_TOKEN_DEFAULT_LENGTH = 8; @@ -22,136 +11,6 @@ public final class BizUtils { private BizUtils() { } - /** - * 处理正式运输名称 中英文逗号问题 - */ - public static String handleTransportName(String name) { - if (StringUtils.isNotBlank(name)) { - return name.replace(",", ","); - } - return ""; - } - - /** - * 处理货物信息表危险/副危险拼接问题 - */ - public static String handleGoodsDangerType(String dangerType, String secondaryDanger) { - if (StringUtils.isBlank(dangerType)) { - return ""; - } - if ("-".equals(secondaryDanger)) { - return dangerType; - } - return dangerType + "+" + secondaryDanger; - } - - /** - * 获取截断后的第一段信息 - */ - public static String getFirst(String str, String regex) { - if (StringUtils.isNotBlank(str)) { - String[] split = str.split(regex); - if (split.length > 0) { - return split[0]; - } - } - return ""; - } - - /** - * 处理审单规则 - * 包装等级 - */ - public static String handlePackLevel(String rule) { - if (StringUtils.isNotBlank(rule)) { - String[] split = rule.split("/"); - if (split.length > 1) { - return split[1].substring(0, 1); - } - } - return ""; - } - - /** - * 货物属性为 基准数据 不能同时出现任意两个 - * - * @param reportData 申报数据 - * @param benchmarkData 基准数据 - */ - public static boolean checkCiqNameGoodsAttr(String reportData, String benchmarkData) { - List reportGoodsDataList = StrUtil.split(reportData, ",", true, true); - // 求两个list的交集 - reportGoodsDataList.retainAll(StrUtil.split(benchmarkData, ",")); - // 当交集只有1个时候才是合格的 - return reportGoodsDataList.size() == 1; - } - - /** - * 校验审单规则的包装等级 - * 1.当包装类别为I时,包装标记为X - * 2.当包装类别为II时,包装标记为X或Y - * 3.当包装类别为III时,包装标记为X或Y或Z - */ - public static boolean checkPackLevel(String packType, String packLevel) { - HashMap> baseLinePackLevel = new HashMap<>(); - for (String str : GlobalConstants.BASE_LINE_PACK_LEVEL.split(",")) { - String[] m = str.split(":"); - baseLinePackLevel.put(m[0], CharSequenceUtil.split(m[1], ".")); - } - List standardData = baseLinePackLevel.get(packType); - if (CollectionUtils.isEmpty(standardData)) { - return false; - } - return standardData.contains(packLevel); - } - - /** - * 判断危险类别是不是这种格式, 6\6.1\8+6.1\2.3+2.1+8\... - */ - public static boolean checkDangerType(String dangerType) { - String regex = "(\\d(\\.\\d)?\\+)*(\\d(\\.\\d)?)"; - return Pattern.matches(regex, dangerType); - } - - - /** - * 包装类别是1,2,3,转换成罗马数字I,II,III - * - */ - public static String convertNumber(String packType) { - if ("I".equals(packType) || "II".equals(packType) || "III".equals(packType)) { - return packType; - } - if ("1".equals(packType)) { - return "I"; - } - if ("2".equals(packType)) { - return "II"; - } - if ("3".equals(packType)) { - return "III"; - } - return null; - } - - /** - * 危险类别比较 - */ - public static boolean dangerTypeComparison(String reportDangerType, String dangerType) { - if (StringUtils.isBlank(dangerType)) { - return false; - } - // 替换掉危险类别中的 /或者+ - String standardData = pattern.matcher(dangerType).replaceAll(""); - String reportData = pattern.matcher(reportDangerType).replaceAll(""); - return standardData.equals(reportData); - } - - /** - *

    Description: Generate 8 lengths of resToken

    - * - * @return String - */ public static String generateResToken() { SecureRandom random = new SecureRandom(); StringBuilder sb = new StringBuilder(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/CheckUtils.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/CheckUtils.java deleted file mode 100644 index 15f75bc1..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/business/util/CheckUtils.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.jiuyv.business.util; - - -import com.jiuyv.common.exception.ServiceException; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public final class CheckUtils { - private static final Logger LOGGER = LoggerFactory.getLogger(CheckUtils.class); - - private CheckUtils() {} - - /** - * 根据Class获取对应的实例 - */ - public static T newInstance(Class clazz) { - try { - return clazz.newInstance(); - } catch (ReflectiveOperationException e) { - LOGGER.error("系统异常", e); - throw new ServiceException("系统异常"); - } - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/LocalCache.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/LocalCache.java new file mode 100644 index 00000000..bb15a3fc --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/LocalCache.java @@ -0,0 +1,82 @@ +package com.jiuyv.common.core; + +import java.util.concurrent.TimeUnit; + +import com.github.benmanes.caffeine.cache.Caffeine; +import org.springframework.cache.Cache; +import org.springframework.cache.caffeine.CaffeineCacheManager; +import org.springframework.stereotype.Component; + +/** + * 本地缓存Caffeine + * + **/ +@Component +public class LocalCache { + + private final CaffeineCacheManager cacheManager; + + public LocalCache() { + CaffeineCacheManager caffeineCacheManager = new CaffeineCacheManager(); + for (Names n : Names.values()) { + caffeineCacheManager.registerCustomCache(n.name(), + Caffeine.newBuilder().expireAfterWrite(n.value, TimeUnit.SECONDS).build()); + } + this.cacheManager = caffeineCacheManager; + } + + /** + * 缓存基本的对象,Integer、String、实体类等 + * + */ + public void setCacheObject(Object key, Object value, Names cacheName) { + getCache(cacheName).put(key, value); + } + + /** + * 获得缓存的基本对象。 + * + */ + public T getCacheObject(String key, Class type, Names cacheName) { + return getCache(cacheName).get(key, type); + } + + /** + * 删除单个对象 + * + */ + public void deleteObject(String key,Names cacheName) { + getCache(cacheName).evict(key); + } + + /** + * 清空指定缓存 + * + */ + public void clear(Names cacheName) { + getCache(cacheName).clear(); + } + + /** + * 根据缓存名称获取缓存 + * + */ + private Cache getCache(Names cacheName) { + return cacheManager.getCache(cacheName.name()); + } + + + public enum Names { + CACHE_5S(5), + CACHE_30DAY(2592000), + CACHE_CAPTCHA(120), // 验证码 + CACHE_DEFAULT(CACHE_30DAY.value), // 默认 + CACHE_DICT(CACHE_30DAY.value), // 字典 + CACHE_CONFIG(CACHE_30DAY.value); // 参数配置 + private final long value; + Names(long value) { + this.value = value; + } + } + +} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java deleted file mode 100644 index df7550b4..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/core/redis/RedisCache.java +++ /dev/null @@ -1,246 +0,0 @@ -package com.jiuyv.common.core.redis; - -import java.util.Collection; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.concurrent.TimeUnit; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.BoundSetOperations; -import org.springframework.data.redis.core.HashOperations; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.ValueOperations; -import org.springframework.stereotype.Component; - -/** - * spring redis 工具类 - * - * @author admin - **/ -@SuppressWarnings(value = { "unchecked", "rawtypes" }) -@Component -public class RedisCache -{ - @Autowired - public RedisTemplate redisTemplate; - - /** - * 缓存基本的对象,Integer、String、实体类等 - * - * @param key 缓存的键值 - * @param value 缓存的值 - */ - public void setCacheObject(final String key, final T value) - { - redisTemplate.opsForValue().set(key, value); - } - - /** - * 缓存基本的对象,Integer、String、实体类等 - * - * @param key 缓存的键值 - * @param value 缓存的值 - * @param timeout 时间 - * @param timeUnit 时间颗粒度 - */ - public void setCacheObject(final String key, final T value, final Integer timeout, final TimeUnit timeUnit) - { - redisTemplate.opsForValue().set(key, value, timeout, timeUnit); - } - - /** - * 设置有效时间 - * - * @param key Redis键 - * @param timeout 超时时间 - * @return true=设置成功;false=设置失败 - */ - public boolean expire(final String key, final long timeout) - { - return expire(key, timeout, TimeUnit.SECONDS); - } - - /** - * 设置有效时间 - * - * @param key Redis键 - * @param timeout 超时时间 - * @param unit 时间单位 - * @return true=设置成功;false=设置失败 - */ - public boolean expire(final String key, final long timeout, final TimeUnit unit) - { - return redisTemplate.expire(key, timeout, unit); - } - - /** - * 获得缓存的基本对象。 - * - * @param key 缓存键值 - * @return 缓存键值对应的数据 - */ - public T getCacheObject(final String key) - { - ValueOperations operation = redisTemplate.opsForValue(); - return operation.get(key); - } - - /** - * 删除单个对象 - * - * @param key - */ - public boolean deleteObject(final String key) - { - return redisTemplate.delete(key); - } - - /** - * 删除集合对象 - * - * @param collection 多个对象 - * @return - */ - public long deleteObject(final Collection collection) - { - return redisTemplate.delete(collection); - } - - /** - * 缓存List数据 - * - * @param key 缓存的键值 - * @param dataList 待缓存的List数据 - * @return 缓存的对象 - */ - public long setCacheList(final String key, final List dataList) - { - Long count = redisTemplate.opsForList().rightPushAll(key, dataList); - return count == null ? 0 : count; - } - - /** - * 获得缓存的list对象 - * - * @param key 缓存的键值 - * @return 缓存键值对应的数据 - */ - public List getCacheList(final String key) - { - return redisTemplate.opsForList().range(key, 0, -1); - } - - /** - * 缓存Set - * - * @param key 缓存键值 - * @param dataSet 缓存的数据 - * @return 缓存数据的对象 - */ - public BoundSetOperations setCacheSet(final String key, final Set dataSet) - { - BoundSetOperations setOperation = redisTemplate.boundSetOps(key); - Iterator it = dataSet.iterator(); - while (it.hasNext()) - { - setOperation.add(it.next()); - } - return setOperation; - } - - /** - * 获得缓存的set - * - * @param key - * @return - */ - public Set getCacheSet(final String key) - { - return redisTemplate.opsForSet().members(key); - } - - /** - * 缓存Map - * - * @param key - * @param dataMap - */ - public void setCacheMap(final String key, final Map dataMap) - { - if (dataMap != null) { - redisTemplate.opsForHash().putAll(key, dataMap); - } - } - - /** - * 获得缓存的Map - * - * @param key - * @return - */ - public Map getCacheMap(final String key) - { - return redisTemplate.opsForHash().entries(key); - } - - /** - * 往Hash中存入数据 - * - * @param key Redis键 - * @param hKey Hash键 - * @param value 值 - */ - public void setCacheMapValue(final String key, final String hKey, final T value) - { - redisTemplate.opsForHash().put(key, hKey, value); - } - - /** - * 获取Hash中的数据 - * - * @param key Redis键 - * @param hKey Hash键 - * @return Hash中的对象 - */ - public T getCacheMapValue(final String key, final String hKey) - { - HashOperations opsForHash = redisTemplate.opsForHash(); - return opsForHash.get(key, hKey); - } - - /** - * 删除Hash中的数据 - * - * @param key - * @param hKey - */ - public void delCacheMapValue(final String key, final String hKey) - { - HashOperations hashOperations = redisTemplate.opsForHash(); - hashOperations.delete(key, hKey); - } - - /** - * 获取多个Hash中的数据 - * - * @param key Redis键 - * @param hKeys Hash键集合 - * @return Hash对象集合 - */ - public List getMultiCacheMapValue(final String key, final Collection hKeys) - { - return redisTemplate.opsForHash().multiGet(key, hKeys); - } - - /** - * 获得缓存的基本对象列表 - * - * @param pattern 字符串前缀 - * @return 对象列表 - */ - public Collection keys(final String pattern) - { - return redisTemplate.keys(pattern); - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java index f0ea3309..d659a9f3 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/common/utils/DictUtils.java @@ -1,12 +1,10 @@ package com.jiuyv.common.utils; -import java.util.Collection; import java.util.Collections; import java.util.List; -import com.alibaba.fastjson2.JSONArray; import com.jiuyv.common.constant.CacheConstants; import com.jiuyv.common.core.domain.entity.SysDictData; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.utils.spring.SpringUtils; /** @@ -16,11 +14,6 @@ import com.jiuyv.common.utils.spring.SpringUtils; */ public final class DictUtils { - /** - * 分隔符 - */ - public static final String SEPARATOR = ","; - private DictUtils() {} /** @@ -31,7 +24,7 @@ public final class DictUtils */ public static void setDictCache(String key, List dictDatas) { - SpringUtils.getBean(RedisCache.class).setCacheObject(getCacheKey(key), dictDatas); + SpringUtils.getBean(LocalCache.class).setCacheObject(getCacheKey(key), dictDatas, LocalCache.Names.CACHE_DICT); } /** @@ -40,38 +33,12 @@ public final class DictUtils * @param key 参数键 * @return dictDatas 字典数据列表 */ + @SuppressWarnings("unchecked") public static List getDictCache(String key) { - JSONArray arrayCache = SpringUtils.getBean(RedisCache.class).getCacheObject(getCacheKey(key)); - if (ChemicalStringUtils.isNotNull(arrayCache)) - { - return arrayCache.toList(SysDictData.class); - } - return Collections.emptyList(); - } - - /** - * 根据字典类型和字典值获取字典标签 - * - * @param dictType 字典类型 - * @param dictValue 字典值 - * @return 字典标签 - */ - public static String getDictLabel(String dictType, String dictValue) - { - return getDictLabel(dictType, dictValue, SEPARATOR); - } - - /** - * 根据字典类型和字典标签获取字典值 - * - * @param dictType 字典类型 - * @param dictLabel 字典标签 - * @return 字典值 - */ - public static String getDictValue(String dictType, String dictLabel) - { - return getDictValue(dictType, dictLabel, SEPARATOR); + Object object = SpringUtils.getBean(LocalCache.class) + .getCacheObject(getCacheKey(key), Object.class, LocalCache.Names.CACHE_DICT); + return object == null ? Collections.emptyList() : (List) object; } /** @@ -164,7 +131,7 @@ public final class DictUtils */ public static void removeDictCache(String key) { - SpringUtils.getBean(RedisCache.class).deleteObject(getCacheKey(key)); + SpringUtils.getBean(LocalCache.class).deleteObject(getCacheKey(key), LocalCache.Names.CACHE_DICT); } /** @@ -172,8 +139,7 @@ public final class DictUtils */ public static void clearDictCache() { - Collection keys = SpringUtils.getBean(RedisCache.class).keys(CacheConstants.SYS_DICT_KEY + "*"); - SpringUtils.getBean(RedisCache.class).deleteObject(keys); + SpringUtils.getBean(LocalCache.class).clear(LocalCache.Names.CACHE_DICT); } /** diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java deleted file mode 100644 index a9aa9fd4..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/aspectj/RateLimiterAspect.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.jiuyv.framework.aspectj; - -import java.lang.reflect.Method; -import java.util.Collections; -import java.util.List; -import org.aspectj.lang.JoinPoint; -import org.aspectj.lang.annotation.Aspect; -import org.aspectj.lang.annotation.Before; -import org.aspectj.lang.reflect.MethodSignature; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.script.RedisScript; -import org.springframework.stereotype.Component; -import com.jiuyv.common.annotation.RateLimiter; -import com.jiuyv.common.enums.LimitType; -import com.jiuyv.common.exception.ServiceException; -import com.jiuyv.common.utils.ServletUtils; -import com.jiuyv.common.utils.ip.IpUtils; - -/** - * 限流处理 - * - * @author admin - */ -@Aspect -@Component -public class RateLimiterAspect -{ - private static final Logger LOGGER = LoggerFactory.getLogger(RateLimiterAspect.class); - - private final RedisTemplate redisTemplate; - - private final RedisScript limitScript; - - @Autowired - public RateLimiterAspect(RedisTemplate redisTemplate, RedisScript limitScript) { - this.redisTemplate = redisTemplate; - this.limitScript = limitScript; - } - - @Before("@annotation(rateLimiter)") - public void doBefore(JoinPoint point, RateLimiter rateLimiter) - { - String key = rateLimiter.key(); - int time = rateLimiter.time(); - int count = rateLimiter.count(); - - String combineKey = getCombineKey(rateLimiter, point); - List keys = Collections.singletonList(combineKey); - try - { - Long number = redisTemplate.execute(limitScript, keys, count, time); - if (number == null || number.intValue() > count) - { - throw new ServiceException("访问过于频繁,请稍候再试"); - } - LOGGER.info("限制请求'{}',当前请求'{}',缓存key'{}'", count, number.intValue(), key); - } - catch (ServiceException e) - { - LOGGER.error(e.getMessage(), e); - throw e; - } - } - - public String getCombineKey(RateLimiter rateLimiter, JoinPoint point) - { - StringBuilder stringBuffer = new StringBuilder(rateLimiter.key()); - if (rateLimiter.limitType() == LimitType.IP) - { - stringBuffer.append(IpUtils.getIpAddr(ServletUtils.getRequest())).append("-"); - } - MethodSignature signature = (MethodSignature) point.getSignature(); - Method method = signature.getMethod(); - Class targetClass = method.getDeclaringClass(); - stringBuffer.append(targetClass.getName()).append("-").append(method.getName()); - return stringBuffer.toString(); - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java deleted file mode 100644 index 61d78a1c..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/FastJson2JsonRedisSerializer.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.jiuyv.framework.config; - -import java.nio.charset.Charset; -import org.springframework.data.redis.serializer.RedisSerializer; -import org.springframework.data.redis.serializer.SerializationException; -import com.alibaba.fastjson2.JSON; -import com.alibaba.fastjson2.JSONReader; -import com.alibaba.fastjson2.JSONWriter; - -/** - * Redis使用FastJson序列化 - * - * @author admin - */ -public class FastJson2JsonRedisSerializer implements RedisSerializer -{ - public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8"); - - private Class clazz; - - public FastJson2JsonRedisSerializer(Class clazz) - { - super(); - this.clazz = clazz; - } - - @Override - public byte[] serialize(T t) throws SerializationException - { - if (t == null) - { - return new byte[0]; - } - return JSON.toJSONString(t, JSONWriter.Feature.WriteClassName).getBytes(DEFAULT_CHARSET); - } - - @Override - public T deserialize(byte[] bytes) throws SerializationException - { - if (bytes == null || bytes.length <= 0) - { - return null; - } - String str = new String(bytes, DEFAULT_CHARSET); - - return JSON.parseObject(str, clazz, JSONReader.Feature.SupportAutoType); - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java deleted file mode 100644 index 7899b002..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/RedisConfig.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.jiuyv.framework.config; - -import org.springframework.beans.factory.annotation.Value; -import org.springframework.cache.annotation.CachingConfigurerSupport; -import org.springframework.cache.annotation.EnableCaching; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.data.redis.connection.RedisConnectionFactory; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.data.redis.core.script.DefaultRedisScript; -import org.springframework.data.redis.serializer.StringRedisSerializer; - -import java.nio.charset.StandardCharsets; - -/** - * redis配置 - * - * @author admin - */ -@Configuration -@EnableCaching -public class RedisConfig extends CachingConfigurerSupport { - @Value("${chemical.redisPrefix}") - private String redisPrefix; - - class RedisKeySerializer extends StringRedisSerializer { - @Override - public byte[] serialize(String s) { - if (s == null) { - return null; - } - // 这里加上你需要加上的key前缀 - String realKey = redisPrefix + s; - return super.serialize(realKey); - } - - @Override - public String deserialize(byte[] bytes) { - if (bytes == null) { - return null; - } - String s = new String(bytes, StandardCharsets.UTF_8); - int index = s.indexOf(redisPrefix); - if (index != -1) { - return s.substring(index + 2); - } - return s; - } - } - - @Bean - @SuppressWarnings(value = {"unchecked", "rawtypes"}) - public RedisTemplate redisTemplate(RedisConnectionFactory connectionFactory) { - RedisTemplate template = new RedisTemplate<>(); - template.setConnectionFactory(connectionFactory); - - FastJson2JsonRedisSerializer serializer = new FastJson2JsonRedisSerializer(Object.class); - - // 使用StringRedisSerializer来序列化和反序列化redis的key值 - template.setKeySerializer(new StringRedisSerializer()); - template.setValueSerializer(serializer); - - // Hash的key也采用StringRedisSerializer的序列化方式 - template.setHashKeySerializer(new StringRedisSerializer()); - template.setHashValueSerializer(serializer); - - template.afterPropertiesSet(); - return template; - } - - @Bean - public DefaultRedisScript limitScript() - { - DefaultRedisScript redisScript = new DefaultRedisScript<>(); - redisScript.setScriptText(limitScriptText()); - redisScript.setResultType(Long.class); - return redisScript; - } - - /** - * 限流脚本 - */ - private String limitScriptText() - { - return "local key = KEYS[1]\n" + - "local count = tonumber(ARGV[1])\n" + - "local time = tonumber(ARGV[2])\n" + - "local current = redis.call('get', key);\n" + - "if current and tonumber(current) > count then\n" + - " return tonumber(current);\n" + - "end\n" + - "current = redis.call('incr', key)\n" + - "if tonumber(current) == 1 then\n" + - " redis.call('expire', key, time)\n" + - "end\n" + - "return tonumber(current);"; - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/SecurityConfig.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/SecurityConfig.java index ecd4b740..528d0088 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/SecurityConfig.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/config/SecurityConfig.java @@ -19,6 +19,7 @@ import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; import org.springframework.security.web.csrf.CookieCsrfTokenRepository; +import org.springframework.security.web.util.matcher.AntPathRequestMatcher; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -70,7 +71,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { -> AjaxResult.success(resp, "退出成功")) .and() .csrf() - .csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()); + .csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()) + .ignoringRequestMatchers(new AntPathRequestMatcher("/login")); httpSecurity.authorizeRequests() // 注解标记允许匿名访问的接口,只需要在接口上加@Anonymous注解 diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java index 265ad95a..fddc5acf 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/interceptor/impl/SameUrlDataInterceptor.java @@ -2,7 +2,6 @@ package com.jiuyv.framework.interceptor.impl; import java.util.HashMap; import java.util.Map; -import java.util.concurrent.TimeUnit; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; @@ -10,7 +9,7 @@ import org.springframework.stereotype.Component; import com.alibaba.fastjson2.JSON; import com.jiuyv.common.annotation.RepeatSubmit; import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.filter.RepeatedlyRequestWrapper; import com.jiuyv.common.utils.ChemicalStringUtils; import com.jiuyv.common.utils.http.HttpHelper; @@ -34,7 +33,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor private String header; @Autowired - private RedisCache redisCache; + private LocalCache localCache; @SuppressWarnings("unchecked") @Override @@ -52,7 +51,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor { nowParams = JSON.toJSONString(request.getParameterMap()); } - Map nowDataMap = new HashMap(); + Map nowDataMap = new HashMap<>(); nowDataMap.put(REPEAT_PARAMS, nowParams); nowDataMap.put(REPEAT_TIME, System.currentTimeMillis()); @@ -65,7 +64,7 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor // 唯一标识(指定key + url + 消息头) String cacheRepeatKey = CacheConstants.REPEAT_SUBMIT_KEY + url + submitKey; - Object sessionObj = redisCache.getCacheObject(cacheRepeatKey); + Object sessionObj = localCache.getCacheObject(cacheRepeatKey, Object.class, LocalCache.Names.CACHE_5S); if (sessionObj != null) { Map sessionMap = (Map) sessionObj; @@ -78,9 +77,9 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor } } } - Map cacheMap = new HashMap(); + Map cacheMap = new HashMap<>(); cacheMap.put(url, nowDataMap); - redisCache.setCacheObject(cacheRepeatKey, cacheMap, annotation.interval(), TimeUnit.MILLISECONDS); + localCache.setCacheObject(cacheRepeatKey, cacheMap, LocalCache.Names.CACHE_5S); return false; } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java index 256efd3e..0631627b 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/security/filter/LoginFilter.java @@ -1,19 +1,20 @@ package com.jiuyv.framework.security.filter; import com.alibaba.fastjson2.JSON; +import com.jiuyv.business.constant.DataConstants; import com.jiuyv.common.config.ChemicalConfig; import com.jiuyv.common.constant.CacheConstants; import com.jiuyv.common.constant.Constants; import com.jiuyv.common.core.domain.AjaxResult; import com.jiuyv.common.core.domain.model.LoginBody; import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.exception.LoginFailureException; import com.jiuyv.common.utils.ChemicalStringUtils; import com.jiuyv.common.utils.MessageUtils; +import com.jiuyv.common.utils.ServletUtils; import com.jiuyv.framework.manager.AsyncManager; import com.jiuyv.framework.manager.factory.AsyncFactory; -import com.jiuyv.framework.util.RsaUtil; import com.jiuyv.system.service.ISysConfigService; import com.jiuyv.system.service.ISysSecretService; import com.jiuyv.system.service.ISysUserService; @@ -43,17 +44,17 @@ public class LoginFilter extends UsernamePasswordAuthenticationFilter { private final ISysConfigService configService; - private final RedisCache redisCache; + private final LocalCache localCache; private final UserDetailsService userDetailsService; public LoginFilter(@Lazy AuthenticationManager authenticationManager, @Lazy ISysSecretService sysSecretService, - ISysConfigService configService, RedisCache redisCache, + ISysConfigService configService, LocalCache localCache, ISysUserService userService, UserDetailsService userDetailsService) { super(authenticationManager); this.sysSecretService = sysSecretService; this.configService = configService; - this.redisCache = redisCache; + this.localCache = localCache; this.userDetailsService = userDetailsService; super.setAuthenticationSuccessHandler((HttpServletRequest req, HttpServletResponse resp, Authentication auth) -> { LoginUser loginUser = (LoginUser) auth.getPrincipal(); @@ -107,9 +108,11 @@ public class LoginFilter extends UsernamePasswordAuthenticationFilter { */ private UsernamePasswordAuthenticationToken ytLogin(HttpServletRequest request, String content) { LOGGER.info("亿通登陆,加密串:{}", content); - if (!ChemicalConfig.getYtKey().equals(RsaUtil.getKey(content))) { + String[] params = sysSecretService.decryptYtContent(content); + if (!ChemicalConfig.getYtKey().equals(params[0])) { throw new LoginFailureException("认证信息错误"); } + ServletUtils.getSession().setAttribute(DataConstants.YT_CUSTOMER_AREA_KEY, params[1]); LoginUser loginUser = (LoginUser) userDetailsService.loadUserByUsername(ChemicalConfig.getYtUsername()); UsernamePasswordAuthenticationToken result = new UsernamePasswordAuthenticationToken(loginUser, null, Collections.emptyList()); @@ -126,8 +129,8 @@ public class LoginFilter extends UsernamePasswordAuthenticationFilter { */ private void validateCaptcha(String username, String code, String uuid) { String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + ChemicalStringUtils.nvl(uuid, ""); - String captcha = redisCache.getCacheObject(verifyKey); - redisCache.deleteObject(verifyKey); + String captcha = localCache.getCacheObject(verifyKey, String.class, LocalCache.Names.CACHE_CAPTCHA); + localCache.deleteObject(verifyKey, LocalCache.Names.CACHE_CAPTCHA); if (captcha == null) { String message = MessageUtils.message("user.jcaptcha.expire"); AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, message)); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/util/RsaUtil.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/util/RsaUtil.java deleted file mode 100644 index 6d9632e3..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/util/RsaUtil.java +++ /dev/null @@ -1,59 +0,0 @@ -package com.jiuyv.framework.util; - -import cn.hutool.crypto.CryptoException; -import cn.hutool.crypto.asymmetric.KeyType; -import cn.hutool.crypto.asymmetric.RSA; -import com.jiuyv.common.config.ChemicalConfig; -import com.jiuyv.common.exception.ServiceException; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import javax.crypto.BadPaddingException; -import java.security.GeneralSecurityException; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -public final class RsaUtil { - private static final Logger LOGGER = LoggerFactory.getLogger(RsaUtil.class); - private static final Pattern datePattern = Pattern.compile("\\d{13}"); - private static final Pattern keyPattern = Pattern.compile("[\\w-]{36}"); - private static final RSA PUB_RSA = new RSA(null, ChemicalConfig.getYtPublicKey()); - - private RsaUtil() { - throw new IllegalStateException("Utility class"); - } - - /** - * 解密 - */ - public static String decryptStr(String content) { - String decryptStr; - try { - decryptStr = PUB_RSA.decryptStr(content, KeyType.PublicKey); - } catch (CryptoException e) { - LOGGER.info("加密串解密失败:{}", content, e); - throw new ServiceException("认证失败"); - } - return decryptStr; - } - - /** - * 获取加密串 url=/checkInInfo/reviewResult&token=x-x-x-x-x×tamp=1574821902392 - * 截取其中的 token - */ - public static String getKey(String content) { - String decryptStr = decryptStr(content.split("#")[0]); - Matcher dateMatcher = datePattern.matcher(decryptStr); - Matcher keyMatcher = keyPattern.matcher(decryptStr); - - if (!dateMatcher.find() || !keyMatcher.find()) { - throw new ServiceException("认证信息错误"); - } - if (System.currentTimeMillis() - Long.parseLong(dateMatcher.group()) > ChemicalConfig.getYtExpiration()) { - throw new ServiceException("认证信息过期"); - } - - return keyMatcher.group(); - } - -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java index 2aa27e04..d1bf40b6 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/SysRegisterService.java @@ -7,7 +7,7 @@ import com.jiuyv.common.constant.Constants; import com.jiuyv.common.constant.UserConstants; import com.jiuyv.common.core.domain.entity.SysUser; import com.jiuyv.common.core.domain.model.RegisterBody; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.exception.user.CaptchaException; import com.jiuyv.common.exception.user.CaptchaExpireException; import com.jiuyv.common.utils.MessageUtils; @@ -33,7 +33,7 @@ public class SysRegisterService private ISysConfigService configService; @Autowired - private RedisCache redisCache; + private LocalCache localCache; /** * 注册 @@ -102,8 +102,8 @@ public class SysRegisterService public void validateCaptcha(String username, String code, String uuid) { String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + ChemicalStringUtils.nvl(uuid, ""); - String captcha = redisCache.getCacheObject(verifyKey); - redisCache.deleteObject(verifyKey); + String captcha = localCache.getCacheObject(verifyKey,String.class, LocalCache.Names.CACHE_CAPTCHA); + localCache.deleteObject(verifyKey, LocalCache.Names.CACHE_CAPTCHA); if (captcha == null) { throw new CaptchaExpireException(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java deleted file mode 100644 index adb40431..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/framework/web/service/TokenService.java +++ /dev/null @@ -1,231 +0,0 @@ -package com.jiuyv.framework.web.service; - -import java.util.HashMap; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.servlet.http.HttpServletRequest; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Component; -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.constant.Constants; -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.redis.RedisCache; -import com.jiuyv.common.utils.ServletUtils; -import com.jiuyv.common.utils.ChemicalStringUtils; -import com.jiuyv.common.utils.ip.AddressUtils; -import com.jiuyv.common.utils.ip.IpUtils; -import com.jiuyv.common.utils.uuid.IdUtils; -import eu.bitwalker.useragentutils.UserAgent; -import io.jsonwebtoken.Claims; -import io.jsonwebtoken.Jwts; -import io.jsonwebtoken.SignatureAlgorithm; - -/** - * token验证处理 - * - * @author admin - */ -@Component -public class TokenService -{ - private static final Logger LOGGER = LoggerFactory.getLogger(TokenService.class); - // 令牌自定义标识 - @Value("${token.header}") - private String header; - - // 令牌秘钥 - @Value("${token.secret}") - private String secret; - - // 令牌有效期(默认30分钟) - @Value("${token.expireTime}") - private int expireTime; - - protected static final long MILLIS_SECOND = 1000; - - protected static final long MILLIS_MINUTE = 60 * MILLIS_SECOND; - - private static final Long MILLIS_MINUTE_TEN = 20 * 60 * 1000L; - - @Autowired - private RedisCache redisCache; - - /** - * 获取用户身份信息 - * - * @return 用户信息 - */ - public LoginUser getLoginUser(HttpServletRequest request) - { - // 获取请求携带的令牌 - String token = getToken(request); - if (ChemicalStringUtils.isNotEmpty(token)) - { - try - { - Claims claims = parseToken(token); - // 解析对应的权限以及用户信息 - String uuid = (String) claims.get(Constants.LOGIN_USER_KEY); - String userKey = getTokenKey(uuid); - return redisCache.getCacheObject(userKey); - } - catch (ClassCastException e) - { - LOGGER.error(e.getMessage(), e); - } - } - return null; - } - - /** - * 设置用户身份信息 - */ - public void setLoginUser(LoginUser loginUser) - { - if (ChemicalStringUtils.isNotNull(loginUser) && ChemicalStringUtils.isNotEmpty(loginUser.getToken())) - { - refreshToken(loginUser); - } - } - - /** - * 删除用户身份信息 - */ - public void delLoginUser(String token) - { - if (ChemicalStringUtils.isNotEmpty(token)) - { - String userKey = getTokenKey(token); - redisCache.deleteObject(userKey); - } - } - - /** - * 创建令牌 - * - * @param loginUser 用户信息 - * @return 令牌 - */ - public String createToken(LoginUser loginUser) - { - loginUser.getUser().setPassword(null); - String token = IdUtils.fastUUID(); - loginUser.setToken(token); - setUserAgent(loginUser); - refreshToken(loginUser); - - Map claims = new HashMap<>(); - claims.put(Constants.LOGIN_USER_KEY, token); - return createToken(claims); - } - - /** - * 验证令牌有效期,相差不足20分钟,自动刷新缓存 - * - * @param loginUser - * @return 令牌 - */ - public void verifyToken(LoginUser loginUser) - { - long expiresTime = loginUser.getExpireTime(); - long currentTime = System.currentTimeMillis(); - if (expiresTime - currentTime <= MILLIS_MINUTE_TEN) - { - refreshToken(loginUser); - } - } - - /** - * 刷新令牌有效期 - * - * @param loginUser 登录信息 - */ - public void refreshToken(LoginUser loginUser) - { - loginUser.setLoginTime(System.currentTimeMillis()); - loginUser.setExpireTime(loginUser.getLoginTime() + expireTime * MILLIS_MINUTE); - // 根据uuid将loginUser缓存 - String userKey = getTokenKey(loginUser.getToken()); - redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.MINUTES); - } - - /** - * 设置用户代理信息 - * - * @param loginUser 登录信息 - */ - public void setUserAgent(LoginUser loginUser) - { - UserAgent userAgent = UserAgent.parseUserAgentString(ServletUtils.getRequest().getHeader("User-Agent")); - String ip = IpUtils.getIpAddr(ServletUtils.getRequest()); - loginUser.setIpaddr(ip); - loginUser.setLoginLocation(AddressUtils.getRealAddressByIP(ip)); - loginUser.setBrowser(userAgent.getBrowser().getName()); - loginUser.setOs(userAgent.getOperatingSystem().getName()); - } - - /** - * 从数据声明生成令牌 - * - * @param claims 数据声明 - * @return 令牌 - */ - private String createToken(Map claims) - { - String token = Jwts.builder() - .setClaims(claims) - .signWith(SignatureAlgorithm.HS512, secret).compact(); - return token; - } - - /** - * 从令牌中获取数据声明 - * - * @param token 令牌 - * @return 数据声明 - */ - private Claims parseToken(String token) - { - return Jwts.parser() - .setSigningKey(secret) - .parseClaimsJws(token) - .getBody(); - } - - /** - * 从令牌中获取用户名 - * - * @param token 令牌 - * @return 用户名 - */ - public String getUsernameFromToken(String token) - { - Claims claims = parseToken(token); - return claims.getSubject(); - } - - /** - * 获取请求token - * - * @param request - * @return token - */ - private String getToken(HttpServletRequest request) - { - String token = request.getHeader(header); - if (ChemicalStringUtils.isNotEmpty(token) && token.startsWith(Constants.TOKEN_PREFIX)) - { - token = token.replace(Constants.TOKEN_PREFIX, ""); - } - return token; - } - - private String getTokenKey(String uuid) - { - return CacheConstants.LOGIN_TOKEN_KEY + uuid; - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/generator/controller/GenController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/generator/controller/GenController.java index 28784041..e6613509 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/generator/controller/GenController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/generator/controller/GenController.java @@ -60,7 +60,7 @@ public class GenController extends BaseController */ @PreAuthorize("@ss.hasPermi('tool:gen:query')") @GetMapping(value = "/{tableId}") - public AjaxResult getInfo(@PathVariable Long tableId) + public AjaxResult getInfo(@PathVariable("tableId") Long tableId) { GenTable table = genTableService.selectGenTableById(tableId); List tables = genTableService.selectGenTableAll(); @@ -132,7 +132,7 @@ public class GenController extends BaseController @PreAuthorize("@ss.hasPermi('tool:gen:remove')") @Log(title = "代码生成", businessType = BusinessType.DELETE) @DeleteMapping("/{tableIds}") - public AjaxResult remove(@PathVariable Long[] tableIds) + public AjaxResult remove(@PathVariable("tableIds") Long[] tableIds) { genTableService.deleteGenTableByIds(tableIds); return AjaxResult.success(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/domain/SysCache.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/domain/SysCache.java deleted file mode 100644 index 23b482de..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/domain/SysCache.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.jiuyv.system.domain; - -import com.jiuyv.common.utils.ChemicalStringUtils; - -/** - * 缓存信息 - * - * @author admin - */ -public class SysCache -{ - /** 缓存名称 */ - private String cacheName = ""; - - /** 缓存键名 */ - private String cacheKey = ""; - - /** 缓存内容 */ - private String cacheValue = ""; - - /** 备注 */ - private String remark = ""; - - public SysCache() - { - - } - - public SysCache(String cacheName, String remark) - { - this.cacheName = cacheName; - this.remark = remark; - } - - public SysCache(String cacheName, String cacheKey, String cacheValue) - { - this.cacheName = ChemicalStringUtils.replace(cacheName, ":", ""); - this.cacheKey = ChemicalStringUtils.replace(cacheKey, cacheName, ""); - this.cacheValue = cacheValue; - } - - public String getCacheName() - { - return cacheName; - } - - public void setCacheName(String cacheName) - { - this.cacheName = cacheName; - } - - public String getCacheKey() - { - return cacheKey; - } - - public void setCacheKey(String cacheKey) - { - this.cacheKey = cacheKey; - } - - public String getCacheValue() - { - return cacheValue; - } - - public void setCacheValue(String cacheValue) - { - this.cacheValue = cacheValue; - } - - public String getRemark() - { - return remark; - } - - public void setRemark(String remark) - { - this.remark = remark; - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysSecretService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysSecretService.java index 6822983b..fe89ada7 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysSecretService.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysSecretService.java @@ -15,4 +15,9 @@ public interface ISysSecretService { */ String decodePassword(String password); + /** + * 对亿通content进行解密 + */ + String[] decryptYtContent(String ciphertext); + } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java deleted file mode 100644 index 3f01c87e..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/ISysUserOnlineService.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.jiuyv.system.service; - -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.system.domain.SysUserOnline; - -/** - * 在线用户 服务层 - * - * @author admin - */ -public interface ISysUserOnlineService -{ - /** - * 通过登录地址查询信息 - * - * @param ipaddr 登录地址 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user); - - /** - * 通过用户名称查询信息 - * - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByUserName(String userName, LoginUser user); - - /** - * 通过登录地址/用户名称查询信息 - * - * @param ipaddr 登录地址 - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user); - - /** - * 设置在线用户信息 - * - * @param user 用户信息 - * @return 在线用户 - */ - public SysUserOnline loginUserToUserOnline(LoginUser user); -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java index c94692f8..b763e72a 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysConfigServiceImpl.java @@ -1,6 +1,5 @@ package com.jiuyv.system.service.impl; -import java.util.Collection; import java.util.List; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; @@ -8,7 +7,7 @@ import org.springframework.stereotype.Service; import com.jiuyv.common.annotation.DataSource; import com.jiuyv.common.constant.CacheConstants; import com.jiuyv.common.constant.UserConstants; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.core.text.Convert; import com.jiuyv.common.enums.DataSourceType; import com.jiuyv.common.exception.ServiceException; @@ -19,7 +18,7 @@ import com.jiuyv.system.service.ISysConfigService; /** * 参数配置 服务层实现 - * + * * @author admin */ @Service @@ -27,12 +26,12 @@ public class SysConfigServiceImpl implements ISysConfigService { private final SysConfigMapper configMapper; - private final RedisCache redisCache; + private final LocalCache localCache; @Autowired - public SysConfigServiceImpl(SysConfigMapper configMapper, RedisCache redisCache) { + public SysConfigServiceImpl(SysConfigMapper configMapper, LocalCache localCache) { this.configMapper = configMapper; - this.redisCache = redisCache; + this.localCache = localCache; } /** @@ -46,7 +45,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 查询参数配置信息 - * + * * @param configId 参数配置ID * @return 参数配置信息 */ @@ -61,14 +60,14 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 根据键名查询参数配置信息 - * + * * @param configKey 参数key * @return 参数键值 */ @Override public String selectConfigByKey(String configKey) { - String configValue = Convert.toStr(redisCache.getCacheObject(getCacheKey(configKey))); + String configValue = Convert.toStr(localCache.getCacheObject(getCacheKey(configKey), Object.class, LocalCache.Names.CACHE_CONFIG)); if (ChemicalStringUtils.isNotEmpty(configValue)) { return configValue; @@ -78,7 +77,7 @@ public class SysConfigServiceImpl implements ISysConfigService SysConfig retConfig = configMapper.selectConfig(config); if (ChemicalStringUtils.isNotNull(retConfig)) { - redisCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue()); + localCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue(), LocalCache.Names.CACHE_CONFIG); return retConfig.getConfigValue(); } return ChemicalStringUtils.EMPTY; @@ -86,7 +85,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 获取验证码开关 - * + * * @return true开启,false关闭 */ @Override @@ -102,7 +101,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 查询参数配置列表 - * + * * @param config 参数配置信息 * @return 参数配置集合 */ @@ -114,7 +113,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 新增参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -124,14 +123,14 @@ public class SysConfigServiceImpl implements ISysConfigService int row = configMapper.insertConfig(config); if (row > 0) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } return row; } /** * 修改参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -141,14 +140,14 @@ public class SysConfigServiceImpl implements ISysConfigService int row = configMapper.updateConfig(config); if (row > 0) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } return row; } /** * 批量删除参数信息 - * + * * @param configIds 需要删除的参数ID */ @Override @@ -162,7 +161,7 @@ public class SysConfigServiceImpl implements ISysConfigService throw new ServiceException(String.format("内置参数【%1$s】不能删除 ", config.getConfigKey())); } configMapper.deleteConfigById(configId); - redisCache.deleteObject(getCacheKey(config.getConfigKey())); + localCache.deleteObject(getCacheKey(config.getConfigKey()), LocalCache.Names.CACHE_CONFIG); } } @@ -175,7 +174,7 @@ public class SysConfigServiceImpl implements ISysConfigService List configsList = configMapper.selectConfigList(new SysConfig()); for (SysConfig config : configsList) { - redisCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue()); + localCache.setCacheObject(getCacheKey(config.getConfigKey()), config.getConfigValue(), LocalCache.Names.CACHE_CONFIG); } } @@ -185,8 +184,7 @@ public class SysConfigServiceImpl implements ISysConfigService @Override public void clearConfigCache() { - Collection keys = redisCache.keys(CacheConstants.SYS_CONFIG_KEY + "*"); - redisCache.deleteObject(keys); + localCache.clear(LocalCache.Names.CACHE_CONFIG); } /** @@ -201,7 +199,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 校验参数键名是否唯一 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -219,7 +217,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 设置cache key - * + * * @param configKey 参数键 * @return 缓存键key */ diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysSecretServiceImpl.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysSecretServiceImpl.java index 0bcb543f..f86c706e 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysSecretServiceImpl.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysSecretServiceImpl.java @@ -2,17 +2,24 @@ package com.jiuyv.system.service.impl; import com.jiuyv.common.config.ChemicalConfig; import com.jiuyv.common.exception.LoginFailureException; +import com.jiuyv.common.exception.ServiceException; import com.jiuyv.system.service.ISysSecretService; import org.apache.commons.codec.binary.Base64; +import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; +import org.springframework.web.util.UriComponentsBuilder; import javax.crypto.Cipher; import java.nio.charset.StandardCharsets; import java.security.GeneralSecurityException; +import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; +import java.security.PublicKey; +import java.security.spec.X509EncodedKeySpec; +import java.util.Map; /** * 处理密钥服务 @@ -22,16 +29,25 @@ public class SysSecretServiceImpl implements ISysSecretService { private static final Logger LOG = LoggerFactory.getLogger(SysSecretServiceImpl.class); private static final int KEY_SIZE = 1024; private static final long TIME_OUT = 1000 << 4; - private final KeyPair keyPair; + private final String publicKey; private final Cipher cipher; + private final Cipher ytCipher; + public SysSecretServiceImpl() throws GeneralSecurityException { // 初始化生成密钥对 KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(ChemicalConfig.getPwdEncAlg()); keyPairGenerator.initialize(KEY_SIZE); - this.keyPair = keyPairGenerator.generateKeyPair(); + KeyPair keyPair = keyPairGenerator.generateKeyPair(); this.cipher = Cipher.getInstance(ChemicalConfig.getPwdEncAlg()); this.cipher.init(Cipher.DECRYPT_MODE, keyPair.getPrivate()); + this.publicKey = Base64.encodeBase64String(keyPair.getPublic().getEncoded()); + + // 初始化亿通Cipher + X509EncodedKeySpec keySpec = new X509EncodedKeySpec(Base64.decodeBase64(ChemicalConfig.getYtPublicKey())); + this.ytCipher = Cipher.getInstance(ChemicalConfig.getPwdEncAlg()); + PublicKey ytPublicKey = KeyFactory.getInstance(ChemicalConfig.getPwdEncAlg()).generatePublic(keySpec); + this.ytCipher.init(Cipher.DECRYPT_MODE, ytPublicKey); } /** @@ -39,7 +55,7 @@ public class SysSecretServiceImpl implements ISysSecretService { */ @Override public String getPublicKey() { - return Base64.encodeBase64String(keyPair.getPublic().getEncoded()); + return publicKey; } /** @@ -60,5 +76,34 @@ public class SysSecretServiceImpl implements ISysSecretService { throw new LoginFailureException("密码无效"); } } + /** + * 对亿通content进行解密 + * 获取加密串 url=/checkInInfo/reviewResult&token=x-x-x-x-x&customerArea=0000×tamp=1574821902392 + * 截取其中的 token 和 customerArea + */ + @Override + public String[] decryptYtContent(String ciphertext) { + String content; + try { + content = new String(ytCipher.doFinal(Base64.decodeBase64(ciphertext)), StandardCharsets.UTF_8); + } catch (GeneralSecurityException e) { + LOG.info("加密串解密失败:{}", ciphertext, e); + throw new ServiceException("认证失败"); + } + + Map params = UriComponentsBuilder.fromUriString("?" + content).build() + .getQueryParams().toSingleValueMap(); + + String token = params.get("token"); + String customerArea = params.get("customerArea"); + String timestamp = params.get("timestamp"); + if (StringUtils.isAnyBlank(token, customerArea, timestamp)) { + throw new ServiceException("认证信息错误"); + } + if (System.currentTimeMillis() - Long.parseLong(timestamp) > ChemicalConfig.getYtExpiration()) { + throw new ServiceException("认证信息过期"); + } + return new String[]{token, customerArea}; + } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java deleted file mode 100644 index fe00c8a2..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/system/service/impl/SysUserOnlineServiceImpl.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.jiuyv.system.service.impl; - -import org.springframework.stereotype.Service; -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.utils.ChemicalStringUtils; -import com.jiuyv.system.domain.SysUserOnline; -import com.jiuyv.system.service.ISysUserOnlineService; - -/** - * 在线用户 服务层处理 - * - * @author admin - */ -@Service -public class SysUserOnlineServiceImpl implements ISysUserOnlineService -{ - /** - * 通过登录地址查询信息 - * - * @param ipaddr 登录地址 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user) - { - if (ChemicalStringUtils.equals(ipaddr, user.getIpaddr())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 通过用户名称查询信息 - * - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByUserName(String userName, LoginUser user) - { - if (ChemicalStringUtils.equals(userName, user.getUsername())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 通过登录地址/用户名称查询信息 - * - * @param ipaddr 登录地址 - * @param userName 用户名称 - * @param user 用户信息 - * @return 在线用户信息 - */ - @Override - public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user) - { - if (ChemicalStringUtils.equals(ipaddr, user.getIpaddr()) && ChemicalStringUtils.equals(userName, user.getUsername())) - { - return loginUserToUserOnline(user); - } - return null; - } - - /** - * 设置在线用户信息 - * - * @param user 用户信息 - * @return 在线用户 - */ - @Override - public SysUserOnline loginUserToUserOnline(LoginUser user) - { - if (ChemicalStringUtils.isNull(user) || ChemicalStringUtils.isNull(user.getUser())) - { - return null; - } - SysUserOnline sysUserOnline = new SysUserOnline(); - sysUserOnline.setTokenId(user.getToken()); - sysUserOnline.setUserName(user.getUsername()); - sysUserOnline.setIpaddr(user.getIpaddr()); - sysUserOnline.setLoginLocation(user.getLoginLocation()); - sysUserOnline.setBrowser(user.getBrowser()); - sysUserOnline.setOs(user.getOs()); - sysUserOnline.setLoginTime(user.getLoginTime()); - if (ChemicalStringUtils.isNotNull(user.getUser().getDept())) - { - sysUserOnline.setDeptName(user.getUser().getDept().getDeptName()); - } - return sysUserOnline; - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java index c1480ec5..5bb84d01 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/common/CaptchaController.java @@ -2,7 +2,6 @@ package com.jiuyv.web.controller.common; import java.awt.image.BufferedImage; import java.io.IOException; -import java.util.concurrent.TimeUnit; import javax.annotation.Resource; import javax.imageio.ImageIO; @@ -16,9 +15,8 @@ import org.springframework.web.bind.annotation.RestController; import com.google.code.kaptcha.Producer; import com.jiuyv.common.config.ChemicalConfig; import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.constant.Constants; import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.core.redis.RedisCache; +import com.jiuyv.common.core.LocalCache; import com.jiuyv.common.utils.sign.Base64; import com.jiuyv.common.utils.uuid.IdUtils; import com.jiuyv.system.service.ISysConfigService; @@ -39,7 +37,7 @@ public class CaptchaController private Producer captchaProducerMath; @Autowired - private RedisCache redisCache; + private LocalCache localCache; @Autowired private ISysConfigService configService; @@ -62,7 +60,7 @@ public class CaptchaController String uuid = IdUtils.simpleUUID(); String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + uuid; - String capStr = null, code = null; + String capStr, code = null; BufferedImage image = null; // 生成验证码 @@ -80,7 +78,7 @@ public class CaptchaController image = captchaProducer.createImage(capStr); } - redisCache.setCacheObject(verifyKey, code, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES); + localCache.setCacheObject(verifyKey, code, LocalCache.Names.CACHE_CAPTCHA); // 转换流信息写出 FastByteArrayOutputStream os = new FastByteArrayOutputStream(); try diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java deleted file mode 100644 index aa52af63..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/CacheController.java +++ /dev/null @@ -1,130 +0,0 @@ -package com.jiuyv.web.controller.monitor; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.Set; - -import com.jiuyv.common.exception.ServiceException; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.redis.core.RedisCallback; -import org.springframework.data.redis.core.RedisTemplate; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.utils.ChemicalStringUtils; -import com.jiuyv.system.domain.SysCache; - -/** - * 缓存监控 - * - * @author admin - */ -@RestController -@RequestMapping("/monitor/cache") -public class CacheController -{ - private final RedisTemplate redisTemplate; - - @Autowired - public CacheController(RedisTemplate redisTemplate) { - this.redisTemplate = redisTemplate; - } - - private final static List caches = new ArrayList(); - { - caches.add(new SysCache(CacheConstants.LOGIN_TOKEN_KEY, "用户信息")); - caches.add(new SysCache(CacheConstants.SYS_CONFIG_KEY, "配置信息")); - caches.add(new SysCache(CacheConstants.SYS_DICT_KEY, "数据字典")); - caches.add(new SysCache(CacheConstants.CAPTCHA_CODE_KEY, "验证码")); - caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交")); - caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理")); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping() - public AjaxResult getInfo() throws Exception - { - Properties info = (Properties) redisTemplate.execute((RedisCallback) connection -> connection.info()); - Properties commandStats = (Properties) redisTemplate.execute((RedisCallback) connection -> connection.info("commandstats")); - if (commandStats == null) { - throw new ServiceException("系统异常"); - } - Object dbSize = redisTemplate.execute((RedisCallback) connection -> connection.dbSize()); - - Map result = new HashMap<>(3); - result.put("info", info); - result.put("dbSize", dbSize); - - List> pieList = new ArrayList<>(); - commandStats.stringPropertyNames().forEach((String key) -> { - Map data = new HashMap<>(2); - String property = commandStats.getProperty(key); - data.put("name", ChemicalStringUtils.removeStart(key, "cmdstat_")); - data.put("value", ChemicalStringUtils.substringBetween(property, "calls=", ",usec")); - pieList.add(data); - }); - result.put("commandStats", pieList); - return AjaxResult.success(result); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getNames") - public AjaxResult cache() - { - return AjaxResult.success(caches); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getKeys/{cacheName}") - public AjaxResult getCacheKeys(@PathVariable String cacheName) - { - Set cacheKyes = redisTemplate.keys(cacheName + "*"); - return AjaxResult.success(cacheKyes); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @GetMapping("/getValue/{cacheName}/{cacheKey}") - public AjaxResult getCacheValue(@PathVariable String cacheName, @PathVariable String cacheKey) - { - String cacheValue = redisTemplate.opsForValue().get(cacheKey); - SysCache sysCache = new SysCache(cacheName, cacheKey, cacheValue); - return AjaxResult.success(sysCache); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheName/{cacheName}") - public AjaxResult clearCacheName(@PathVariable String cacheName) - { - Collection cacheKeys = redisTemplate.keys(cacheName + "*"); - assert cacheKeys != null; - redisTemplate.delete(cacheKeys); - return AjaxResult.success(); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheKey/{cacheKey}") - public AjaxResult clearCacheKey(@PathVariable String cacheKey) - { - redisTemplate.delete(cacheKey); - return AjaxResult.success(); - } - - @PreAuthorize("@ss.hasPermi('monitor:cache:list')") - @DeleteMapping("/clearCacheAll") - public AjaxResult clearCacheAll() - { - Collection cacheKeys = redisTemplate.keys("*"); - assert cacheKeys != null; - redisTemplate.delete(cacheKeys); - return AjaxResult.success(); - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysLogininforController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysLogininforController.java index a895dd7b..d560710c 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysLogininforController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysLogininforController.java @@ -53,7 +53,7 @@ public class SysLogininforController extends BaseController @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')") @Log(title = "登录日志", businessType = BusinessType.DELETE) @DeleteMapping("/{infoIds}") - public AjaxResult remove(@PathVariable Long[] infoIds) + public AjaxResult remove(@PathVariable("infoIds") Long[] infoIds) { return toAjax(logininforService.deleteLogininforByIds(infoIds)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysOperlogController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysOperlogController.java index 75a70ac5..692c2c8f 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysOperlogController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysOperlogController.java @@ -53,7 +53,7 @@ public class SysOperlogController extends BaseController @Log(title = "操作日志", businessType = BusinessType.DELETE) @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')") @DeleteMapping("/{operIds}") - public AjaxResult remove(@PathVariable Long[] operIds) + public AjaxResult remove(@PathVariable("operIds") Long[] operIds) { return toAjax(operLogService.deleteOperLogByIds(operIds)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java deleted file mode 100644 index 51e8e919..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/monitor/SysUserOnlineController.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.jiuyv.web.controller.monitor; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; -import com.jiuyv.common.annotation.Log; -import com.jiuyv.common.constant.CacheConstants; -import com.jiuyv.common.core.controller.BaseController; -import com.jiuyv.common.core.domain.AjaxResult; -import com.jiuyv.common.core.domain.model.LoginUser; -import com.jiuyv.common.core.page.TableDataInfo; -import com.jiuyv.common.core.redis.RedisCache; -import com.jiuyv.common.enums.BusinessType; -import com.jiuyv.common.utils.ChemicalStringUtils; -import com.jiuyv.system.domain.SysUserOnline; -import com.jiuyv.system.service.ISysUserOnlineService; - -/** - * 在线用户监控 - * - * @author admin - */ -@RestController -@RequestMapping("/monitor/online") -public class SysUserOnlineController extends BaseController -{ - @Autowired - private ISysUserOnlineService userOnlineService; - - @Autowired - private RedisCache redisCache; - - @PreAuthorize("@ss.hasPermi('monitor:online:list')") - @GetMapping("/list") - public TableDataInfo list(String ipaddr, String userName) - { - Collection keys = redisCache.keys(CacheConstants.LOGIN_TOKEN_KEY + "*"); - List userOnlineList = new ArrayList(); - for (String key : keys) - { - LoginUser user = redisCache.getCacheObject(key); - if (ChemicalStringUtils.isNotEmpty(ipaddr) && ChemicalStringUtils.isNotEmpty(userName)) - { - if (ChemicalStringUtils.equals(ipaddr, user.getIpaddr()) && ChemicalStringUtils.equals(userName, user.getUsername())) - { - userOnlineList.add(userOnlineService.selectOnlineByInfo(ipaddr, userName, user)); - } - } - else if (ChemicalStringUtils.isNotEmpty(ipaddr)) - { - if (ChemicalStringUtils.equals(ipaddr, user.getIpaddr())) - { - userOnlineList.add(userOnlineService.selectOnlineByIpaddr(ipaddr, user)); - } - } - else if (ChemicalStringUtils.isNotEmpty(userName) && ChemicalStringUtils.isNotNull(user.getUser())) - { - if (ChemicalStringUtils.equals(userName, user.getUsername())) - { - userOnlineList.add(userOnlineService.selectOnlineByUserName(userName, user)); - } - } - else - { - userOnlineList.add(userOnlineService.loginUserToUserOnline(user)); - } - } - Collections.reverse(userOnlineList); - userOnlineList.removeAll(Collections.singleton(null)); - return getDataTable(userOnlineList); - } - - /** - * 强退用户 - */ - @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')") - @Log(title = "在线用户", businessType = BusinessType.FORCE) - @DeleteMapping("/{tokenId}") - public AjaxResult forceLogout(@PathVariable String tokenId) - { - redisCache.deleteObject(CacheConstants.LOGIN_TOKEN_KEY + tokenId); - return AjaxResult.success(); - } -} diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysConfigController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysConfigController.java index ab7d10c7..601db543 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysConfigController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysConfigController.java @@ -62,7 +62,7 @@ public class SysConfigController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:config:query')") @GetMapping(value = "/{configId}") - public AjaxResult getInfo(@PathVariable Long configId) + public AjaxResult getInfo(@PathVariable("configId") Long configId) { return AjaxResult.success(configService.selectConfigById(configId)); } @@ -71,7 +71,7 @@ public class SysConfigController extends BaseController * 根据参数键名查询参数值 */ @GetMapping(value = "/configKey/{configKey}") - public AjaxResult getConfigKey(@PathVariable String configKey) + public AjaxResult getConfigKey(@PathVariable("configKey") String configKey) { return AjaxResult.success(configService.selectConfigByKey(configKey)); } @@ -114,7 +114,7 @@ public class SysConfigController extends BaseController @PreAuthorize("@ss.hasPermi('system:config:remove')") @Log(title = "参数管理", businessType = BusinessType.DELETE) @DeleteMapping("/{configIds}") - public AjaxResult remove(@PathVariable Long[] configIds) + public AjaxResult remove(@PathVariable("configIds") Long[] configIds) { configService.deleteConfigByIds(configIds); return success(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDeptController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDeptController.java index 89201d82..6ab8bd1b 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDeptController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDeptController.java @@ -76,7 +76,7 @@ public class SysDeptController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:dept:query')") @GetMapping(value = "/{deptId}") - public AjaxResult getInfo(@PathVariable Long deptId) + public AjaxResult getInfo(@PathVariable("deptId") Long deptId) { deptService.checkDeptDataScope(deptId); return AjaxResult.success(deptService.selectDeptById(deptId)); @@ -153,7 +153,7 @@ public class SysDeptController extends BaseController @PreAuthorize("@ss.hasPermi('system:dept:remove')") @Log(title = "部门管理", businessType = BusinessType.DELETE) @DeleteMapping("/{deptId}") - public AjaxResult remove(@PathVariable Long deptId) + public AjaxResult remove(@PathVariable("deptId") Long deptId) { if (deptService.hasChildByDeptId(deptId)) { diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictDataController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictDataController.java index 7e0f82b3..db1e62f1 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictDataController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictDataController.java @@ -64,7 +64,7 @@ public class SysDictDataController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:dict:query')") @GetMapping(value = "/{dictCode}") - public AjaxResult getInfo(@PathVariable Long dictCode) + public AjaxResult getInfo(@PathVariable("dictCode") Long dictCode) { return AjaxResult.success(dictDataService.selectDictDataById(dictCode)); } @@ -73,7 +73,7 @@ public class SysDictDataController extends BaseController * 根据字典类型查询字典数据信息 */ @GetMapping(value = "/type/{dictType}") - public AjaxResult dictType(@PathVariable String dictType) + public AjaxResult dictType(@PathVariable("dictType") String dictType) { List data = dictTypeService.selectDictDataByType(dictType); if (ChemicalStringUtils.isNull(data)) @@ -113,7 +113,7 @@ public class SysDictDataController extends BaseController @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "字典类型", businessType = BusinessType.DELETE) @DeleteMapping("/{dictCodes}") - public AjaxResult remove(@PathVariable Long[] dictCodes) + public AjaxResult remove(@PathVariable("dictCodes") Long[] dictCodes) { dictDataService.deleteDictDataByIds(dictCodes); return success(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictTypeController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictTypeController.java index 5ee6fa93..ed22316e 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictTypeController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysDictTypeController.java @@ -59,7 +59,7 @@ public class SysDictTypeController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:dict:query')") @GetMapping(value = "/{dictId}") - public AjaxResult getInfo(@PathVariable Long dictId) + public AjaxResult getInfo(@PathVariable("dictId") Long dictId) { return AjaxResult.success(dictTypeService.selectDictTypeById(dictId)); } @@ -102,7 +102,7 @@ public class SysDictTypeController extends BaseController @PreAuthorize("@ss.hasPermi('system:dict:remove')") @Log(title = "字典类型", businessType = BusinessType.DELETE) @DeleteMapping("/{dictIds}") - public AjaxResult remove(@PathVariable Long[] dictIds) + public AjaxResult remove(@PathVariable("dictIds") Long[] dictIds) { dictTypeService.deleteDictTypeByIds(dictIds); return success(); diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysMenuController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysMenuController.java index 47a30ad0..2c80f431 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysMenuController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysMenuController.java @@ -53,7 +53,7 @@ public class SysMenuController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:menu:query')") @GetMapping(value = "/{menuId}") - public AjaxResult getInfo(@PathVariable Long menuId) + public AjaxResult getInfo(@PathVariable("menuId") Long menuId) { return AjaxResult.success(menuService.selectMenuById(menuId)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysNoticeController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysNoticeController.java index 0e74dcc6..e2df309d 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysNoticeController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysNoticeController.java @@ -49,7 +49,7 @@ public class SysNoticeController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:notice:query')") @GetMapping(value = "/{noticeId}") - public AjaxResult getInfo(@PathVariable Long noticeId) + public AjaxResult getInfo(@PathVariable("noticeId") Long noticeId) { return AjaxResult.success(noticeService.selectNoticeById(noticeId)); } @@ -84,7 +84,7 @@ public class SysNoticeController extends BaseController @PreAuthorize("@ss.hasPermi('system:notice:remove')") @Log(title = "通知公告", businessType = BusinessType.DELETE) @DeleteMapping("/{noticeIds}") - public AjaxResult remove(@PathVariable Long[] noticeIds) + public AjaxResult remove(@PathVariable("noticeIds") Long[] noticeIds) { return toAjax(noticeService.deleteNoticeByIds(noticeIds)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysPostController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysPostController.java index c3585e79..c1bfd519 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysPostController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysPostController.java @@ -66,7 +66,7 @@ public class SysPostController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:post:query')") @GetMapping(value = "/{postId}") - public AjaxResult getInfo(@PathVariable Long postId) + public AjaxResult getInfo(@PathVariable("postId") Long postId) { return AjaxResult.success(postService.selectPostById(postId)); } @@ -117,7 +117,7 @@ public class SysPostController extends BaseController @PreAuthorize("@ss.hasPermi('system:post:remove')") @Log(title = "岗位管理", businessType = BusinessType.DELETE) @DeleteMapping("/{postIds}") - public AjaxResult remove(@PathVariable Long[] postIds) + public AjaxResult remove(@PathVariable("postIds") Long[] postIds) { return toAjax(postService.deletePostByIds(postIds)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java index 68d66869..392ef467 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysProfileController.java @@ -22,7 +22,6 @@ import com.jiuyv.common.utils.SecurityUtils; import com.jiuyv.common.utils.ChemicalStringUtils; import com.jiuyv.common.utils.file.FileUploadUtils; import com.jiuyv.common.utils.file.MimeTypeUtils; -import com.jiuyv.framework.web.service.TokenService; import com.jiuyv.system.service.ISysUserService; /** @@ -37,9 +36,6 @@ public class SysProfileController extends BaseController @Autowired private ISysUserService userService; - @Autowired - private TokenService tokenService; - /** * 个人信息 */ @@ -83,7 +79,6 @@ public class SysProfileController extends BaseController sysUser.setPhonenumber(user.getPhonenumber()); sysUser.setEmail(user.getEmail()); sysUser.setSex(user.getSex()); - tokenService.setLoginUser(loginUser); return AjaxResult.success(); } return AjaxResult.error("修改个人信息异常,请联系管理员"); @@ -115,7 +110,6 @@ public class SysProfileController extends BaseController { // 更新缓存用户密码 loginUser.getUser().setPassword(SecurityUtils.encryptPassword(newPassword)); - tokenService.setLoginUser(loginUser); return AjaxResult.success(); } return AjaxResult.error("修改密码异常,请联系管理员"); @@ -138,7 +132,6 @@ public class SysProfileController extends BaseController ajax.put("imgUrl", avatar); // 更新缓存用户头像 loginUser.getUser().setAvatar(avatar); - tokenService.setLoginUser(loginUser); return ajax; } } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java index 4e97560e..826dcef4 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysRoleController.java @@ -25,7 +25,6 @@ import com.jiuyv.common.enums.BusinessType; import com.jiuyv.common.utils.ChemicalStringUtils; import com.jiuyv.common.utils.poi.ExcelUtil; import com.jiuyv.framework.web.service.SysPermissionService; -import com.jiuyv.framework.web.service.TokenService; import com.jiuyv.system.domain.SysUserRole; import com.jiuyv.system.service.ISysRoleService; import com.jiuyv.system.service.ISysUserService; @@ -41,17 +40,14 @@ public class SysRoleController extends BaseController { private final ISysRoleService roleService; - private final TokenService tokenService; - private final SysPermissionService permissionService; private final ISysUserService userService; @Autowired - public SysRoleController(ISysRoleService roleService, TokenService tokenService, + public SysRoleController(ISysRoleService roleService, SysPermissionService permissionService, ISysUserService userService) { this.roleService = roleService; - this.tokenService = tokenService; this.permissionService = permissionService; this.userService = userService; } @@ -71,7 +67,7 @@ public class SysRoleController extends BaseController public void export(HttpServletResponse response, SysRole role) { List list = roleService.selectRoleList(role); - ExcelUtil util = new ExcelUtil(SysRole.class); + ExcelUtil util = new ExcelUtil<>(SysRole.class); util.exportExcel(response, list, "角色数据"); } @@ -80,7 +76,7 @@ public class SysRoleController extends BaseController */ @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/{roleId}") - public AjaxResult getInfo(@PathVariable Long roleId) + public AjaxResult getInfo(@PathVariable("roleId") Long roleId) { roleService.checkRoleDataScope(roleId); return AjaxResult.success(roleService.selectRoleById(roleId)); @@ -135,7 +131,6 @@ public class SysRoleController extends BaseController { loginUser.setPermissions(permissionService.getMenuPermission(loginUser.getUser())); loginUser.setUser(userService.selectUserByUserName(loginUser.getUser().getUserName())); - tokenService.setLoginUser(loginUser); } return AjaxResult.success(); } @@ -175,7 +170,7 @@ public class SysRoleController extends BaseController @PreAuthorize("@ss.hasPermi('system:role:remove')") @Log(title = "角色管理", businessType = BusinessType.DELETE) @DeleteMapping("/{roleIds}") - public AjaxResult remove(@PathVariable Long[] roleIds) + public AjaxResult remove(@PathVariable("roleIds") Long[] roleIds) { return toAjax(roleService.deleteRoleByIds(roleIds)); } diff --git a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysUserController.java b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysUserController.java index 65fb4411..1e282589 100644 --- a/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysUserController.java +++ b/chemical/chemical-master/chemical-admin/src/main/java/com/jiuyv/web/controller/system/SysUserController.java @@ -176,7 +176,7 @@ public class SysUserController extends BaseController @PreAuthorize("@ss.hasPermi('system:user:remove')") @Log(title = "用户管理", businessType = BusinessType.DELETE) @DeleteMapping("/{userIds}") - public AjaxResult remove(@PathVariable Long[] userIds) + public AjaxResult remove(@PathVariable("userIds") Long[] userIds) { if (ArrayUtils.contains(userIds, getUserId())) { diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/application.yml b/chemical/chemical-master/chemical-admin/src/main/resources/application.yml index 0e7a55fb..983fc791 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/application.yml +++ b/chemical/chemical-master/chemical-admin/src/main/resources/application.yml @@ -1,6 +1,6 @@ # 开发环境配置 server: - port: 8980 #本地 + port: 8080 #本地 servlet: # 应用的访问路径 context-path: / @@ -37,7 +37,7 @@ mybatis: # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 -# configLocation: classpath:mybatis/mybatis-config.xml + configLocation: classpath:mybatis/mybatis-config.xml # PageHelper分页插件 pagehelper: @@ -88,30 +88,9 @@ spring: restart: # 热部署开关 enabled: true - # redis 配置 - redis: - # 地址 - host: 172.16.12.81 - # host: 127.0.0.1 #CCIC - # 端口,默认为6379 - port: 6379 - # 数据库索引 - database: 0 - # 密码 - password: - # 连接超时时间 - timeout: 10s - lettuce: - pool: - # 连接池中的最小空闲连接 - min-idle: 0 - # 连接池中的最大空闲连接 - max-idle: 8 - # 连接池的最大数据库连接数 - max-active: 8 - # #连接池最大阻塞等待时间(使用负值表示没有限制) - max-wait: -1ms - datasource: #数据源配置 + + #数据源配置 + datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver druid: diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/mybatis/mybatis-config.xml b/chemical/chemical-master/chemical-admin/src/main/resources/mybatis/mybatis-config.xml index d919631b..297b2c7b 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/mybatis/mybatis-config.xml +++ b/chemical/chemical-master/chemical-admin/src/main/resources/mybatis/mybatis-config.xml @@ -17,8 +17,4 @@ PUBLIC "-//mybatis.org//DTD Config 3.0//EN" - - - - diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html b/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html index 3e17939e..adf1f5d0 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html @@ -183,4 +183,4 @@ font-size: 13px; color: #FFF; opacity: 0.5; - }
    正在加载系统资源,请耐心等待
    \ No newline at end of file + }
    正在加载系统资源,请耐心等待
    \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html.gz index 8c2ec3c1..5c7f44a4 100644 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html.gz and b/chemical/chemical-master/chemical-admin/src/main/resources/public/index.html.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css deleted file mode 100644 index b346a646..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-d4302ce2] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-d4302ce2]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-d4302ce2]{position:fixed}p.jgsm[data-v-d4302ce2]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css.gz deleted file mode 100644 index 0c8fe09f..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-05f1d4b6.ecd022d2.css.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css deleted file mode 100644 index 4fd87360..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-39d25942] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-39d25942]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-39d25942]{position:fixed}p.jgsm[data-v-39d25942]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px}.el-form-item--medium .el-form-item__label[data-v-39d25942]{line-height:18px}.el-collapse-item__content[data-v-39d25942]{padding-bottom:10px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css.gz deleted file mode 100644 index 2285682d..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-0929751a.f00fa9b6.css.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css new file mode 100644 index 00000000..9f5ef006 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css @@ -0,0 +1 @@ +[data-v-4a0e0ae4] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-4a0e0ae4]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-4a0e0ae4]{position:fixed}p.jgsm[data-v-4a0e0ae4]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px}.el-form-item--medium .el-form-item__label[data-v-4a0e0ae4]{line-height:18px}.el-collapse-item__content[data-v-4a0e0ae4]{padding-bottom:10px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css.gz new file mode 100644 index 00000000..81aa9891 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-144e43c1.5e807167.css.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css new file mode 100644 index 00000000..1bfda0a8 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css @@ -0,0 +1 @@ +[data-v-70023e2c] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-70023e2c]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}p.jgsm[data-v-70023e2c]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css.gz new file mode 100644 index 00000000..281a7a77 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-158b7172.25c11743.css.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css new file mode 100644 index 00000000..ac3bde43 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css @@ -0,0 +1 @@ +[data-v-75a6d495] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-75a6d495]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-75a6d495]{position:fixed}p.jgsm[data-v-75a6d495]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css.gz new file mode 100644 index 00000000..37b32b57 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-3c6312bc.b5e80ac5.css.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css deleted file mode 100644 index 642d251a..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-f37c0404] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-f37c0404]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-f37c0404]{position:fixed}p.jgsm[data-v-f37c0404]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css.gz deleted file mode 100644 index 218412ed..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-47a4302e.e9504349.css.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css deleted file mode 100644 index 867d6247..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css +++ /dev/null @@ -1 +0,0 @@ -[data-v-c5127f6a] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-c5127f6a]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}p.jgsm[data-v-c5127f6a]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css.gz deleted file mode 100644 index f73dafcf..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-6493d4ec.67233f81.css.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css new file mode 100644 index 00000000..9b3e88bd --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css @@ -0,0 +1 @@ +[data-v-1b5d5926] .collapse-title{-webkit-box-flex:1;-ms-flex:1 0 90%;flex:1 0 90%}.el-collapse-item__header[data-v-1b5d5926]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.el-loading-mask[data-v-1b5d5926]{position:fixed}p.jgsm[data-v-1b5d5926]{font-size:12px;color:#858080;width:600px;margin-left:100px;position:absolute;z-index:9;top:-1px} \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css.gz new file mode 100644 index 00000000..45e9f74e Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7133791f.cd34ffb8.css.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-5a266cd8.a7a10fc5.css b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7d4afc9c.a7a10fc5.css similarity index 100% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-5a266cd8.a7a10fc5.css rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7d4afc9c.a7a10fc5.css diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-5a266cd8.a7a10fc5.css.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7d4afc9c.a7a10fc5.css.gz similarity index 100% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-5a266cd8.a7a10fc5.css.gz rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/css/chunk-7d4afc9c.a7a10fc5.css.gz diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js similarity index 99% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js index 64a937f1..fe23a396 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"02b8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0400":function(e,t,n){},"04ad":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});s.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"07f8":function(e,t,n){},"0a7d":function(e,t,n){"use strict";n("78b5")},"0b37":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},1:function(e,t){},1147:function(e,t,n){},"15a7":function(e,t,n){"use strict";n("e2a5")},"15e8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"198d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"1d71":function(e,t,n){},"1e13":function(e,t,n){"use strict";n("f29d")},"20e7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"23f1":function(e,t,n){var a={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis-list.svg":"badf","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function l(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}l.keys=function(){return Object.keys(a)},l.resolve=i,e.exports=l,l.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},2723:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2ba1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},"2ddf":function(e,t,n){},"2fb0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3080:function(e,t,n){"use strict";n("a0bf")},"33ae":function(e,t,n){},3561:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"396c":function(e,t,n){"use strict";n("a873")},"39e1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"3d22":function(e,t,n){"use strict";n("1d71")},"3da7":function(e){e.exports=JSON.parse('{"CLASSIFICATION_REPORT_QUERY":{"id":"CLASSIFICATION_REPORT_QUERY","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE":{"id":"DICT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"字典管理","sort":6,"alwaysShow":false,"name":"Dict","path":"dict","component":"system/dict/index","isBtn":false,"redirect":null,"meta":{"title":"字典管理","icon":"dict","noCache":false,"link":null},"btn":false},"IN_CHECK":{"id":"IN_CHECK","_parentId":"-1","label":"进口属地查验","sort":8,"alwaysShow":true,"name":"CheckInInfo","path":"/checkInInfo","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"进口属地查验","icon":"checkbox","noCache":false,"link":null},"btn":false},"ONLINE_USER_QUERY":{"id":"ONLINE_USER_QUERY","_parentId":"ONLINE_USER","label":"在线查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_DELETE":{"id":"ORGANIC_PEROXIDE_DELETE","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO":{"id":"CHECK_EA_INFO","_parentId":"RESERVATION_MANAGE","label":"出口电子底账","sort":2,"alwaysShow":false,"name":"CheckEaInfo","path":"checkEaInfo","component":"business/checkEaInfo/index","isBtn":false,"redirect":null,"meta":{"title":"出口电子底账","icon":"#","noCache":false,"link":null},"btn":false},"IN_CHECK_QUERY_UPDATE":{"id":"IN_CHECK_QUERY_UPDATE","_parentId":"IN_CHECK_QUERY","label":"报关单数据更新","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOG_MANAGE":{"id":"LOG_MANAGE","_parentId":"SYSTEM_MANAGE","label":"日志管理","sort":9,"alwaysShow":true,"name":"Log","path":"/log","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"日志管理","icon":"log","noCache":false,"link":null},"btn":false},"CHECK_PA_INFO":{"id":"CHECK_PA_INFO","_parentId":"RESERVATION_MANAGE","label":"出口包装检验","sort":3,"alwaysShow":false,"name":"CheckPaInfo","path":"checkPaInfo","component":"business/checkPaInfo/index","isBtn":false,"redirect":null,"meta":{"title":"出口包装检验","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE_DELETE":{"id":"DEPT_MANAGE_DELETE","_parentId":"DEPT_MANAGE","label":"部门删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_IMPORT":{"id":"FORM_BUILD_IMPORT","_parentId":"FORM_BUILD","label":"导入代码","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_DELETE":{"id":"ICON_MULTIPLE_INNER_DELETE","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_ADD":{"id":"ROLE_MANAGE_ADD","_parentId":"ROLE_MANAGE","label":"角色新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_IMPORT":{"id":"USER_MANAGE_IMPORT","_parentId":"USER_MANAGE","label":"用户导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_ADD":{"id":"USER_MANAGE_ADD","_parentId":"USER_MANAGE","label":"用户新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_DETAIL":{"id":"SHIP_DANGER_CHEMICAL_DETAIL","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_EXPORT":{"id":"SHIP_PACKAGE_GUIDE_EXPORT","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP":{"id":"CHECK_RULE_GROUP","_parentId":"CHECK_RULE_MANAGE","label":"校验规则组","sort":1,"alwaysShow":false,"name":"RuleGroup","path":"ruleGroup","component":"business/ruleGroup/index","isBtn":false,"redirect":null,"meta":{"title":"校验规则组","icon":"#","noCache":false,"link":null},"btn":false},"FORM_BUILD_GENERATE":{"id":"FORM_BUILD_GENERATE","_parentId":"FORM_BUILD","label":"生成代码","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_EXPORT":{"id":"POST_MANAGE_EXPORT","_parentId":"POST_MANAGE","label":"岗位导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_OCR":{"id":"DANGER_TYPE_IDENTITY_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险特性分类鉴别报告ocr识别结果","sort":10,"alwaysShow":false,"name":"DangerTypeIdentityOcr","path":"dangerTypeIdentityOcr","component":"business/dangerTypeIdentityOcr/index","isBtn":false,"redirect":null,"meta":{"title":"危险特性分类鉴别报告ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"MENU_MANAGE_QUERY":{"id":"MENU_MANAGE_QUERY","_parentId":"MENU_MANAGE","label":"菜单查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG":{"id":"PARAM_CONFIG","_parentId":"SYSTEM_MANAGE","label":"参数设置","sort":7,"alwaysShow":false,"name":"Config","path":"config","component":"system/config/index","isBtn":false,"redirect":null,"meta":{"title":"参数设置","icon":"edit","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS_ADD":{"id":"AIR_DANGER_GOODS_ADD","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_IMPORT":{"id":"SHIP_DANGER_GOODS_IMPORT","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DEPT_MANAGE_ADD":{"id":"DEPT_MANAGE_ADD","_parentId":"DEPT_MANAGE","label":"部门新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE":{"id":"CHECK_RULE","_parentId":"CHECK_RULE_MANAGE","label":"校验规则","sort":1,"alwaysShow":false,"name":"CheckRule","path":"checkRule","component":"business/checkRule/index","isBtn":false,"redirect":null,"meta":{"title":"校验规则","icon":"#","noCache":false,"link":null},"btn":false},"DANGER_TYPE_IDENTITY_OCR_UPDATE":{"id":"DANGER_TYPE_IDENTITY_OCR_UPDATE","_parentId":"DANGER_TYPE_IDENTITY_OCR","label":"危险特性分类鉴别报告ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_UPDATE":{"id":"CHECK_RULE_UPDATE","_parentId":"CHECK_RULE","label":"校验规则修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_DETAIL":{"id":"PACKAGE_BASE_DETAIL","_parentId":"PACKAGE_BASE","label":"固体液体数据详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_RECHECK":{"id":"CHECK_IN_INFO_RECHECK","_parentId":"CHECK_IN_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER":{"id":"ICON_MULTIPLE_INNER","_parentId":"GUIDELINE_DATA","label":"空运综合内包装","sort":6,"alwaysShow":false,"name":"IconMultipleInner","path":"iconMultipleInner","component":"business/iconMultipleInner/index","isBtn":false,"redirect":null,"meta":{"title":"空运综合内包装","icon":"#","noCache":false,"link":null},"btn":false},"ICON_GAS_DELETE":{"id":"ICON_GAS_DELETE","_parentId":"ICON_GAS","label":"空运危规气体数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_EXPORT":{"id":"USER_MANAGE_EXPORT","_parentId":"USER_MANAGE","label":"用户导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SYSTEM_MANAGE":{"id":"SYSTEM_MANAGE","_parentId":"-1","label":"系统管理","sort":1,"alwaysShow":true,"name":"System","path":"/system","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统管理","icon":"system","noCache":false,"link":null},"btn":false},"CHECK__DATA_EXPORT":{"id":"CHECK__DATA_EXPORT","_parentId":"CHECK__DATA","label":"校验数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_RECHECK":{"id":"CHECK_PA_INFO_RECHECK","_parentId":"CHECK_PA_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG__QUERY":{"id":"ACTION_LOG__QUERY","_parentId":"ACTION_LOG","label":"操作查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_UPDATE":{"id":"ICON_SPECIAL_INNER_UPDATE","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"IN_CHECK_QUERY":{"id":"IN_CHECK_QUERY","_parentId":"IN_CHECK","label":"审单结果查询","sort":0,"alwaysShow":false,"name":"ReviewResult","path":"reviewResult","component":"business/checkInInfo/reviewResult","isBtn":false,"redirect":null,"meta":{"title":"审单结果查询","icon":"#","noCache":false,"link":null},"btn":false},"PACK_PERFORMANCE":{"id":"PACK_PERFORMANCE","_parentId":"DANGEROUS_GOODS_MANAGE","label":"性能单数据","sort":8,"alwaysShow":false,"name":"PackPerformance","path":"packPerformance","component":"business/packPerformance/index","isBtn":false,"redirect":null,"meta":{"title":"性能单数据","icon":"#","noCache":false,"link":null},"btn":false},"CHECK__DATA_QUERY":{"id":"CHECK__DATA_QUERY","_parentId":"CHECK__DATA","label":"校验数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_QUERY":{"id":"SHIP_DANGER_CHEMICAL_QUERY","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_UPDATE":{"id":"ICON_GAS_UPDATE","_parentId":"ICON_GAS","label":"空运危规气体数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_EXPORT":{"id":"CIQ_DANGER_GOODS_EXPORT","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_EXPORT":{"id":"CHECK_EA_INFO_EXPORT","_parentId":"CHECK_EA_INFO","label":"电子底账导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG__DELETE":{"id":"LOGIN_LOG__DELETE","_parentId":"LOGIN_LOG","label":"登录删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG_EXPORT":{"id":"ACTION_LOG_EXPORT","_parentId":"ACTION_LOG","label":"日志导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_UPDATE":{"id":"GAS_BASE_UPDATE","_parentId":"GAS_BASE","label":"气体基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE":{"id":"SPECIAL_RULE","_parentId":"GUIDELINE_DATA","label":"海运特殊规定","sort":4,"alwaysShow":false,"name":"SpecialRule","path":"specialRule","component":"business/specialRule/index","isBtn":false,"redirect":null,"meta":{"title":"海运特殊规定","icon":"#","noCache":false,"link":null},"btn":false},"DATA_MONITOR":{"id":"DATA_MONITOR","_parentId":"SYSTEM_MONITOR","label":"数据监控","sort":3,"alwaysShow":false,"name":"Druid","path":"druid","component":"monitor/druid/index","isBtn":false,"redirect":null,"meta":{"title":"数据监控","icon":"druid","noCache":false,"link":null},"btn":false},"TDG_LABEL_OCR":{"id":"TDG_LABEL_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险性标签ocr识别结果","sort":6,"alwaysShow":false,"name":"TdgLabel","path":"tdgLabel","component":"business/tdgLabel/index","isBtn":false,"redirect":null,"meta":{"title":"危险性标签ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"GAS_BASE_EXPORT":{"id":"GAS_BASE_EXPORT","_parentId":"GAS_BASE","label":"气体基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_IMPORT":{"id":"DANGER_TYPE_IDENTITY_IMPORT","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_EXPORT":{"id":"SHIP_DANGER_GOODS_EXPORT","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_DELETE":{"id":"ROLE_MANAGE_DELETE","_parentId":"ROLE_MANAGE","label":"角色删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_UPDATE":{"id":"CIQ_DANGER_GOODS_UPDATE","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_DETAIL":{"id":"CHECK_EA_INFO_DETAIL","_parentId":"CHECK_EA_INFO","label":"电子底账详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_DETAIL":{"id":"SHIP_DANGER_GOODS_DETAIL","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE":{"id":"GAS_BASE","_parentId":"GUIDELINE_DATA","label":"海运气体数据","sort":2,"alwaysShow":false,"name":"GasBase","path":"gasBase","component":"business/gasBase/index","isBtn":false,"redirect":null,"meta":{"title":"海运气体数据","icon":"#","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS":{"id":"AIR_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"空运危险货物","sort":6,"alwaysShow":false,"name":"IcaoGoods","path":"icaoGoods","component":"business/icaoGoods/index","isBtn":false,"redirect":null,"meta":{"title":"空运危险货物","icon":"#","noCache":false,"link":null},"btn":false},"ICON_GAS_EXPORT":{"id":"ICON_GAS_EXPORT","_parentId":"ICON_GAS","label":"空运危规气体数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_UPDATE":{"id":"CHECK__DATA_UPDATE","_parentId":"CHECK__DATA","label":"校验数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_ADD":{"id":"ORGANIC_PEROXIDE_ADD","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_EXPORT":{"id":"ICON_SPECIAL_INNER_EXPORT","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_DELETE":{"id":"CHECK_RULE_DELETE","_parentId":"CHECK_RULE","label":"校验规则删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_ADD":{"id":"CHECK_RULE_GROUP_ADD","_parentId":"CHECK_RULE_GROUP","label":"校验规则组新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_EXPORT":{"id":"AIR_PACKAGE_GUIDE_EXPORT","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_RESULT":{"id":"CHECK_IN_INFO_RESULT","_parentId":"CHECK_IN_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE":{"id":"USER_MANAGE","_parentId":"SYSTEM_MANAGE","label":"用户管理","sort":1,"alwaysShow":false,"name":"User","path":"user","component":"system/user/index","isBtn":false,"redirect":null,"meta":{"title":"用户管理","icon":"user","noCache":false,"link":null},"btn":false},"LOGIN_LOG_EXPORT":{"id":"LOGIN_LOG_EXPORT","_parentId":"LOGIN_LOG","label":"日志导出","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_QUERY":{"id":"ICON_GAS_QUERY","_parentId":"ICON_GAS","label":"空运危规气体数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_DELETE":{"id":"ICON_INOUT_PACKAGE_DELETE","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_QUERY":{"id":"PARAM_CONFIG_QUERY","_parentId":"PARAM_CONFIG","label":"参数查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_QUERY":{"id":"ICON_MULTIPLE_INNER_QUERY","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_DELETE":{"id":"PACKAGE_BASE_DELETE","_parentId":"PACKAGE_BASE","label":"固体液体数据管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_EXPORT":{"id":"DANGER_TYPE_IDENTITY_EXPORT","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_UPDATE":{"id":"ICON_MULTIPLE_INNER_UPDATE","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_QUERY":{"id":"AIR_DANGER_GOODS_QUERY","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DEPT_MANAGE_UPDATE":{"id":"DEPT_MANAGE_UPDATE","_parentId":"DEPT_MANAGE","label":"部门修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_ADD":{"id":"PACKAGE_BASE_ADD","_parentId":"PACKAGE_BASE","label":"固体液体数据管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG__DELETE":{"id":"ACTION_LOG__DELETE","_parentId":"ACTION_LOG","label":"操作删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ONLINE_USER_ONE_EXIT":{"id":"ONLINE_USER_ONE_EXIT","_parentId":"ONLINE_USER","label":"单条强退","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG":{"id":"LOGIN_LOG","_parentId":"LOG_MANAGE","label":"登录日志","sort":2,"alwaysShow":false,"name":"Logininfor","path":"logininfor","component":"monitor/logininfor/index","isBtn":false,"redirect":null,"meta":{"title":"登录日志","icon":"logininfor","noCache":false,"link":null},"btn":false},"GUIDELINE_MANAGE":{"id":"GUIDELINE_MANAGE","_parentId":"-1","label":"包装导则管理","sort":6,"alwaysShow":true,"name":"Package","path":"/package","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"包装导则管理","icon":"lock","noCache":false,"link":null},"btn":false},"PACK_PERFORMANCE_UPDATE":{"id":"PACK_PERFORMANCE_UPDATE","_parentId":"PACK_PERFORMANCE","label":"性能单数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_PREVIEW":{"id":"CHECK_IN_INFO_PREVIEW","_parentId":"CHECK_IN_INFO","label":"文件预览","sort":9,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_UPDATE":{"id":"POST_MANAGE_UPDATE","_parentId":"POST_MANAGE","label":"岗位修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_ADD":{"id":"DANGER_TYPE_IDENTITY_ADD","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY":{"id":"DANGER_TYPE_IDENTITY","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危化品危险特性分类鉴别检测信息","sort":5,"alwaysShow":false,"name":"DangerTypeIdentity","path":"dangerTypeIdentity","component":"business/dangerTypeIdentity/index","isBtn":false,"redirect":null,"meta":{"title":"危化品危险特性分类鉴别检测信息","icon":"#","noCache":false,"link":null},"btn":false},"ICON_INOUT_PACKAGE_ADD":{"id":"ICON_INOUT_PACKAGE_ADD","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_ADD":{"id":"CLASSIFICATION_REPORT_ADD","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER":{"id":"ICON_SPECIAL_INNER","_parentId":"GUIDELINE_DATA","label":"空运特殊内包装","sort":7,"alwaysShow":false,"name":"IconSpecialInner","path":"iconSpecialInner","component":"business/iconSpecialInner/index","isBtn":false,"redirect":null,"meta":{"title":"空运特殊内包装","icon":"#","noCache":false,"link":null},"btn":false},"SYSTEM_MONITOR":{"id":"SYSTEM_MONITOR","_parentId":"-1","label":"系统监控","sort":2,"alwaysShow":true,"name":"Monitor","path":"/monitor","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统监控","icon":"monitor","noCache":false,"link":null},"btn":false},"CHECK__DATA_IMPORT":{"id":"CHECK__DATA_IMPORT","_parentId":"CHECK__DATA","label":"校验数据导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG__QUERY":{"id":"LOGIN_LOG__QUERY","_parentId":"LOGIN_LOG","label":"登录查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_ADD":{"id":"SPECIAL_RULE_ADD","_parentId":"SPECIAL_RULE","label":"特殊规定管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE":{"id":"PACKAGE_BASE","_parentId":"GUIDELINE_DATA","label":"海运固/液体数据","sort":1,"alwaysShow":false,"name":"PackageBase","path":"packageBase","component":"business/packageBase/index","isBtn":false,"redirect":null,"meta":{"title":"海运固/液体数据","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE":{"id":"DEPT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"部门管理","sort":4,"alwaysShow":false,"name":"Dept","path":"dept","component":"system/dept/index","isBtn":false,"redirect":null,"meta":{"title":"部门管理","icon":"tree","noCache":false,"link":null},"btn":false},"ACTION_LOG":{"id":"ACTION_LOG","_parentId":"LOG_MANAGE","label":"操作日志","sort":1,"alwaysShow":false,"name":"Operlog","path":"operlog","component":"monitor/operlog/index","isBtn":false,"redirect":null,"meta":{"title":"操作日志","icon":"form","noCache":false,"link":null},"btn":false},"AIR_PACKAGE_GUIDE_UPDATE":{"id":"AIR_PACKAGE_GUIDE_UPDATE","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_QUERY":{"id":"NOTICE_MANAGE_QUERY","_parentId":"NOTICE_MANAGE","label":"公告查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_UPDATE":{"id":"SHIP_DANGER_CHEMICAL_UPDATE","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_UPDATE":{"id":"MENU_MANAGE_UPDATE","_parentId":"MENU_MANAGE","label":"菜单修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_IMPORT":{"id":"SHIP_DANGER_CHEMICAL_IMPORT","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_UPDATE":{"id":"CLASSIFICATION_REPORT_UPDATE","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_IMPORT":{"id":"CLASSIFICATION_REPORT_IMPORT","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_PREVIEW":{"id":"FORM_BUILD_PREVIEW","_parentId":"FORM_BUILD","label":"预览代码","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_CHECK":{"id":"CHECK__DATA_CHECK","_parentId":"CHECK__DATA","label":"校验数据校验","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_ADD":{"id":"ICON_SPECIAL_INNER_ADD","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_DETAIL":{"id":"SPECIAL_RULE_DETAIL","_parentId":"SPECIAL_RULE","label":"特殊规定管理详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_QUERY":{"id":"PACKAGE_BASE_QUERY","_parentId":"PACKAGE_BASE","label":"固体液体数据管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_UPDATE":{"id":"SPECIAL_RULE_UPDATE","_parentId":"SPECIAL_RULE","label":"特殊规定管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_EXPORT":{"id":"CHECK_PA_INFO_EXPORT","_parentId":"CHECK_PA_INFO","label":"包装类型导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_QUERY":{"id":"CHECK_RULE_QUERY","_parentId":"CHECK_RULE","label":"校验规则查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_DETAIL":{"id":"CLASSIFICATION_REPORT_DETAIL","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定详情","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE":{"id":"ICON_INOUT_PACKAGE","_parentId":"GUIDELINE_DATA","label":"空运普通包装","sort":5,"alwaysShow":false,"name":"IconInoutPackage","path":"iconInoutPackage","component":"business/iconInoutPackage/index","isBtn":false,"redirect":null,"meta":{"title":"空运普通包装","icon":"#","noCache":false,"link":null},"btn":false},"POST_MANAGE_ADD":{"id":"POST_MANAGE_ADD","_parentId":"POST_MANAGE","label":"岗位新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO":{"id":"CHECK_IN_INFO","_parentId":"RESERVATION_MANAGE","label":"进口属地查检","sort":1,"alwaysShow":false,"name":"CheckInInfo","path":"checkInInfo","component":"business/checkInInfo/index","isBtn":false,"redirect":null,"meta":{"title":"进口属地查检","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE_QUERY":{"id":"DEPT_MANAGE_QUERY","_parentId":"DEPT_MANAGE","label":"部门查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_UPDATE":{"id":"NOTICE_MANAGE_UPDATE","_parentId":"NOTICE_MANAGE","label":"公告修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL":{"id":"SHIP_DANGER_CHEMICAL","_parentId":"DANGEROUS_GOODS_MANAGE","label":"海运危险化学品","sort":2,"alwaysShow":false,"name":"Catalogue","path":"catalogue","component":"business/catalogue/index","isBtn":false,"redirect":null,"meta":{"title":"海运危险化学品","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_GOODS":{"id":"SHIP_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"海运危险货物","sort":1,"alwaysShow":false,"name":"Goods","path":"goods","component":"business/goods/index","isBtn":false,"redirect":null,"meta":{"title":"海运危险货物","icon":"#","noCache":false,"link":null},"btn":false},"PARAM_CONFIG_EXPORT":{"id":"PARAM_CONFIG_EXPORT","_parentId":"PARAM_CONFIG","label":"参数导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_QUERY":{"id":"AIR_PACKAGE_GUIDE_QUERY","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_EXPORT":{"id":"SHIP_DANGER_CHEMICAL_EXPORT","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_UPDATE":{"id":"PARAM_CONFIG_UPDATE","_parentId":"PARAM_CONFIG","label":"参数修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_QUERY":{"id":"CHECK_PA_INFO_QUERY","_parentId":"CHECK_PA_INFO","label":"包装类型查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_IMPORT":{"id":"AIR_DANGER_GOODS_IMPORT","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物导入","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_EXPORT":{"id":"CLASSIFICATION_REPORT_EXPORT","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE":{"id":"ORGANIC_PEROXIDE","_parentId":"GUIDELINE_DATA","label":"海运有机过氧化物","sort":3,"alwaysShow":false,"name":"OrganicPeroxide","path":"organicPeroxide","component":"business/organicPeroxide/index","isBtn":false,"redirect":null,"meta":{"title":"海运有机过氧化物","icon":"#","noCache":false,"link":null},"btn":false},"AIR_PACKAGE_GUIDE_ADD":{"id":"AIR_PACKAGE_GUIDE_ADD","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_EXPORT":{"id":"SPECIAL_RULE_EXPORT","_parentId":"SPECIAL_RULE","label":"特殊规定管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GHS_LABEL_OCR":{"id":"GHS_LABEL_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险公示标签ocr识别结果","sort":9,"alwaysShow":false,"name":"GhsLabel","path":"ghsLabel","component":"business/ghsLabel/index","isBtn":false,"redirect":null,"meta":{"title":"危险公示标签ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"CHECK__DATA_RESULT":{"id":"CHECK__DATA_RESULT","_parentId":"CHECK__DATA","label":"校验数据校验结果","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_QUERY":{"id":"ROLE_MANAGE_QUERY","_parentId":"ROLE_MANAGE","label":"角色查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_OCR_DOWNLOAD":{"id":"DANGER_TYPE_IDENTITY_OCR_DOWNLOAD","_parentId":"DANGER_TYPE_IDENTITY_OCR","label":"下载Ocr随附文件","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_DETAIL":{"id":"CHECK_PA_INFO_DETAIL","_parentId":"CHECK_PA_INFO","label":"包装类型详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_DELETE":{"id":"USER_MANAGE_DELETE","_parentId":"USER_MANAGE","label":"用户删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"RESERVATION_MANAGE":{"id":"RESERVATION_MANAGE","_parentId":"-1","label":"查验预约管理","sort":7,"alwaysShow":true,"name":"CheckInfo","path":"/checkInfo","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"查验预约管理","icon":"checkbox","noCache":false,"link":null},"btn":false},"SPECIAL_RULE_QUERY":{"id":"SPECIAL_RULE_QUERY","_parentId":"SPECIAL_RULE","label":"特殊规定管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_DELETE":{"id":"CHECK_RULE_GROUP_DELETE","_parentId":"CHECK_RULE_GROUP","label":"校验规则组删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_MANAGE":{"id":"CHECK_RULE_MANAGE","_parentId":"-1","label":"校验规则管理","sort":4,"alwaysShow":true,"name":"CheckRule","path":"/checkRule","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"校验规则管理","icon":"excel","noCache":false,"link":null},"btn":false},"CIQ_DANGER_GOODS_QUERY":{"id":"CIQ_DANGER_GOODS_QUERY","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_DELETE":{"id":"FORM_BUILD_DELETE","_parentId":"FORM_BUILD","label":"生成删除","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_ADD":{"id":"SHIP_DANGER_GOODS_ADD","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_DELETE":{"id":"CIQ_DANGER_GOODS_DELETE","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_QUERY":{"id":"ICON_INOUT_PACKAGE_QUERY","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_DELETE":{"id":"NOTICE_MANAGE_DELETE","_parentId":"NOTICE_MANAGE","label":"公告删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_QUERY":{"id":"SHIP_PACKAGE_GUIDE_QUERY","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CODE_GENERATION":{"id":"CODE_GENERATION","_parentId":"SYSTEM_TOOL","label":"代码生成","sort":2,"alwaysShow":false,"name":"Gen","path":"gen","component":"tool/gen/index","isBtn":false,"redirect":null,"meta":{"title":"代码生成","icon":"code","noCache":false,"link":null},"btn":false},"SPECIAL_RULE_DELETE":{"id":"SPECIAL_RULE_DELETE","_parentId":"SPECIAL_RULE","label":"特殊规定管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE":{"id":"POST_MANAGE","_parentId":"SYSTEM_MANAGE","label":"岗位管理","sort":5,"alwaysShow":false,"name":"Post","path":"post","component":"system/post/index","isBtn":false,"redirect":null,"meta":{"title":"岗位管理","icon":"post","noCache":false,"link":null},"btn":false},"GAS_BASE_DELETE":{"id":"GAS_BASE_DELETE","_parentId":"GAS_BASE","label":"气体基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_UPDATE":{"id":"DICT_MANAGE_UPDATE","_parentId":"DICT_MANAGE","label":"字典修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_ADD":{"id":"ICON_GAS_ADD","_parentId":"ICON_GAS","label":"空运危规气体数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_UPDATE":{"id":"PACKAGE_BASE_UPDATE","_parentId":"PACKAGE_BASE","label":"固体液体数据管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_DELETE":{"id":"SHIP_DANGER_GOODS_DELETE","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_UPDATE":{"id":"AIR_DANGER_GOODS_UPDATE","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_QUERY":{"id":"DICT_MANAGE_QUERY","_parentId":"DICT_MANAGE","label":"字典查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_UPDATE":{"id":"ICON_INOUT_PACKAGE_UPDATE","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE":{"id":"ROLE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"角色管理","sort":2,"alwaysShow":false,"name":"Role","path":"role","component":"system/role/index","isBtn":false,"redirect":null,"meta":{"title":"角色管理","icon":"peoples","noCache":false,"link":null},"btn":false},"ICON_SPECIAL_INNER_DELETE":{"id":"ICON_SPECIAL_INNER_DELETE","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CACHE_MONITOR":{"id":"CACHE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"缓存监控","sort":5,"alwaysShow":false,"name":"Cache","path":"cache","component":"monitor/cache/index","isBtn":false,"redirect":null,"meta":{"title":"缓存监控","icon":"redis","noCache":false,"link":null},"btn":false},"SYSTEM_TOOL":{"id":"SYSTEM_TOOL","_parentId":"-1","label":"系统工具","sort":3,"alwaysShow":true,"name":"Tool","path":"/tool","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统工具","icon":"tool","noCache":false,"link":null},"btn":false},"CACHE_LIST":{"id":"CACHE_LIST","_parentId":"SYSTEM_MONITOR","label":"缓存列表","sort":6,"alwaysShow":false,"name":"CacheList","path":"cacheList","component":"monitor/cache/list","isBtn":false,"redirect":null,"meta":{"title":"缓存列表","icon":"redis-list","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_DELETE":{"id":"SHIP_PACKAGE_GUIDE_DELETE","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GUIDELINE_DATA":{"id":"GUIDELINE_DATA","_parentId":"-1","label":"导则基础数据","sort":5,"alwaysShow":true,"name":"BaseData","path":"/baseData","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"导则基础数据","icon":"build","noCache":false,"link":null},"btn":false},"ONLINE_USER_BATCH_EXIT":{"id":"ONLINE_USER_BATCH_EXIT","_parentId":"ONLINE_USER","label":"批量强退","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE":{"id":"NOTICE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"通知公告","sort":8,"alwaysShow":false,"name":"Notice","path":"notice","component":"system/notice/index","isBtn":false,"redirect":null,"meta":{"title":"通知公告","icon":"message","noCache":false,"link":null},"btn":false},"ICON_GAS":{"id":"ICON_GAS","_parentId":"GUIDELINE_DATA","label":"空运气体数据","sort":8,"alwaysShow":false,"name":"IconGas","path":"iconGas","component":"business/iconGas/index","isBtn":false,"redirect":null,"meta":{"title":"空运气体数据","icon":"#","noCache":false,"link":null},"btn":false},"CHECK_RULE_GROUP_QUERY":{"id":"CHECK_RULE_GROUP_QUERY","_parentId":"CHECK_RULE_GROUP","label":"校验规则组查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_EXPORT":{"id":"ROLE_MANAGE_EXPORT","_parentId":"ROLE_MANAGE","label":"角色导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_UPDATE":{"id":"DANGER_TYPE_IDENTITY_UPDATE","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_QUERY":{"id":"GAS_BASE_QUERY","_parentId":"GAS_BASE","label":"气体基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_EXPORT":{"id":"ICON_INOUT_PACKAGE_EXPORT","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_DELETE":{"id":"DANGER_TYPE_IDENTITY_DELETE","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT":{"id":"CLASSIFICATION_REPORT","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险品分类鉴定数据","sort":3,"alwaysShow":false,"name":"Identify","path":"identify","component":"business/identify/index","isBtn":false,"redirect":null,"meta":{"title":"危险品分类鉴定数据","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_CHEMICAL_ADD":{"id":"SHIP_DANGER_CHEMICAL_ADD","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_EXPORT":{"id":"DICT_MANAGE_EXPORT","_parentId":"DICT_MANAGE","label":"字典导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_ADD":{"id":"PARAM_CONFIG_ADD","_parentId":"PARAM_CONFIG","label":"参数新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_RESULT":{"id":"CHECK_PA_INFO_RESULT","_parentId":"CHECK_PA_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD":{"id":"FORM_BUILD","_parentId":"SYSTEM_TOOL","label":"表单构建","sort":1,"alwaysShow":false,"name":"Build","path":"build","component":"tool/build/index","isBtn":false,"redirect":null,"meta":{"title":"表单构建","icon":"build","noCache":false,"link":null},"btn":false},"DICT_MANAGE_DELETE":{"id":"DICT_MANAGE_DELETE","_parentId":"DICT_MANAGE","label":"字典删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_EXPORT":{"id":"ICON_MULTIPLE_INNER_EXPORT","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_ADD":{"id":"GAS_BASE_ADD","_parentId":"GAS_BASE","label":"气体基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"TDG_LABEL_OCR_UPDATE":{"id":"TDG_LABEL_OCR_UPDATE","_parentId":"TDG_LABEL_OCR","label":"危险性标签ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_ADD":{"id":"DICT_MANAGE_ADD","_parentId":"DICT_MANAGE","label":"字典新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"TEST11":{"id":"TEST11","_parentId":"IN_CHECK","label":"城市","sort":2,"alwaysShow":false,"name":"Tests","path":"tests","component":"business/checkInInfo/reviewResult","isBtn":false,"redirect":null,"meta":{"title":"城市","icon":"#","noCache":false,"link":null},"btn":false},"CHECK_EA_INFO_RECHECK":{"id":"CHECK_EA_INFO_RECHECK","_parentId":"CHECK_EA_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GHS_LABEL_OCR_UPDATE":{"id":"GHS_LABEL_OCR_UPDATE","_parentId":"GHS_LABEL_OCR","label":"危险公示标签ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SYSTEM_INTERFACE":{"id":"SYSTEM_INTERFACE","_parentId":"SYSTEM_TOOL","label":"系统接口","sort":3,"alwaysShow":false,"name":"Swagger","path":"swagger","component":"tool/swagger/index","isBtn":false,"redirect":null,"meta":{"title":"系统接口","icon":"swagger","noCache":false,"link":null},"btn":false},"SHIP_DANGER_GOODS_QUERY":{"id":"SHIP_DANGER_GOODS_QUERY","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_UPDATE":{"id":"SHIP_DANGER_GOODS_UPDATE","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_DELETE":{"id":"AIR_PACKAGE_GUIDE_DELETE","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_QUERY":{"id":"ICON_SPECIAL_INNER_QUERY","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_UPDATE":{"id":"ORGANIC_PEROXIDE_UPDATE","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_DETAIL":{"id":"GAS_BASE_DETAIL","_parentId":"GAS_BASE","label":"气体基础数据详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE":{"id":"MENU_MANAGE","_parentId":"SYSTEM_MANAGE","label":"菜单管理","sort":3,"alwaysShow":false,"name":"Menu","path":"menu","component":"system/menu/index","isBtn":false,"redirect":null,"meta":{"title":"菜单管理","icon":"tree-table","noCache":false,"link":null},"btn":false},"POST_MANAGE_QUERY":{"id":"POST_MANAGE_QUERY","_parentId":"POST_MANAGE","label":"岗位查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_UPDATE":{"id":"FORM_BUILD_UPDATE","_parentId":"FORM_BUILD","label":"生成修改","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_UPDATE":{"id":"CHECK_RULE_GROUP_UPDATE","_parentId":"CHECK_RULE_GROUP","label":"校验规则组修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_MANAGE":{"id":"CHECK_MANAGE","_parentId":"-1","label":"校验管理","sort":9,"alwaysShow":true,"name":"Check","path":"/check","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"校验管理","icon":"checkbox","noCache":false,"link":null},"btn":false},"ORGANIC_PEROXIDE_QUERY":{"id":"ORGANIC_PEROXIDE_QUERY","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_DETAIL":{"id":"CHECK_IN_INFO_DETAIL","_parentId":"CHECK_IN_INFO","label":"进口报关详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_UPDATE":{"id":"USER_MANAGE_UPDATE","_parentId":"USER_MANAGE","label":"用户修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_RESULT":{"id":"CHECK_EA_INFO_RESULT","_parentId":"CHECK_EA_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_ADD":{"id":"CHECK__DATA_ADD","_parentId":"CHECK__DATA","label":"校验数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_ADD":{"id":"MENU_MANAGE_ADD","_parentId":"MENU_MANAGE","label":"菜单新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_QUERY":{"id":"CHECK_IN_INFO_QUERY","_parentId":"CHECK_IN_INFO","label":"进口报关查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_RESET_PASS":{"id":"USER_MANAGE_RESET_PASS","_parentId":"USER_MANAGE","label":"重置密码","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_UPDATE":{"id":"ROLE_MANAGE_UPDATE","_parentId":"ROLE_MANAGE","label":"角色修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_QUERY":{"id":"USER_MANAGE_QUERY","_parentId":"USER_MANAGE","label":"用户查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_DELETE":{"id":"PARAM_CONFIG_DELETE","_parentId":"PARAM_CONFIG","label":"参数删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_DELETE":{"id":"CHECK__DATA_DELETE","_parentId":"CHECK__DATA","label":"校验数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA":{"id":"CHECK__DATA","_parentId":"CHECK_MANAGE","label":"校验数据","sort":1,"alwaysShow":false,"name":"Info","path":"info","component":"business/info/index","isBtn":false,"redirect":null,"meta":{"title":"校验数据","icon":"#","noCache":false,"link":null},"btn":false},"CLASSIFICATION_REPORT_DELETE":{"id":"CLASSIFICATION_REPORT_DELETE","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_EXPORT":{"id":"CHECK_IN_INFO_EXPORT","_parentId":"CHECK_IN_INFO","label":"进口报关导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_ADD":{"id":"CIQ_DANGER_GOODS_ADD","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE":{"id":"SHIP_PACKAGE_GUIDE","_parentId":"GUIDELINE_MANAGE","label":"海运包装导则","sort":1,"alwaysShow":false,"name":"PackageRule","path":"packageRule","component":"business/packageRule/index","isBtn":false,"redirect":null,"meta":{"title":"海运包装导则","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_CHEMICAL_DELETE":{"id":"SHIP_DANGER_CHEMICAL_DELETE","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_EXPORT":{"id":"ORGANIC_PEROXIDE_EXPORT","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_ADD":{"id":"SHIP_PACKAGE_GUIDE_ADD","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGEROUS_GOODS_MANAGE":{"id":"DANGEROUS_GOODS_MANAGE","_parentId":"-1","label":"危险品管理","sort":5,"alwaysShow":true,"name":"DangerGoods","path":"/dangerGoods","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"危险品管理","icon":"chart","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_UPDATE":{"id":"SHIP_PACKAGE_GUIDE_UPDATE","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SAFE_CERT_OCR":{"id":"SAFE_CERT_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"安全数据单ocr识别结果","sort":7,"alwaysShow":false,"name":"SafeCert","path":"safeCert","component":"business/safeCert/index","isBtn":false,"redirect":null,"meta":{"title":"安全数据单ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"PACKAGE_BASE_EXPORT":{"id":"PACKAGE_BASE_EXPORT","_parentId":"PACKAGE_BASE","label":"固体液体数据管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"REVIEW_RESULT_QUERY_QUERY":{"id":"REVIEW_RESULT_QUERY_QUERY","_parentId":"IN_CHECK_QUERY","label":"校验结果查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_QUERY":{"id":"DANGER_TYPE_IDENTITY_QUERY","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_DELETE":{"id":"MENU_MANAGE_DELETE","_parentId":"MENU_MANAGE","label":"菜单删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_QUERY":{"id":"CHECK_EA_INFO_QUERY","_parentId":"CHECK_EA_INFO","label":"电子底账查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_ADD":{"id":"NOTICE_MANAGE_ADD","_parentId":"NOTICE_MANAGE","label":"公告新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_DELETE":{"id":"POST_MANAGE_DELETE","_parentId":"POST_MANAGE","label":"岗位删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_DETAIL":{"id":"ORGANIC_PEROXIDE_DETAIL","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SAFE_CERT_OCR_UPDATE":{"id":"SAFE_CERT_OCR_UPDATE","_parentId":"SAFE_CERT_OCR","label":"安全数据单ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE":{"id":"AIR_PACKAGE_GUIDE","_parentId":"GUIDELINE_MANAGE","label":"空运包装导则","sort":3,"alwaysShow":false,"name":"IcaoPackageRule","path":"icaoPackageRule","component":"business/icaoPackageRule/index","isBtn":false,"redirect":null,"meta":{"title":"空运包装导则","icon":"#","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS_DELETE":{"id":"AIR_DANGER_GOODS_DELETE","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SERVICE_MONITOR":{"id":"SERVICE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"服务监控","sort":4,"alwaysShow":false,"name":"Server","path":"server","component":"monitor/server/index","isBtn":false,"redirect":null,"meta":{"title":"服务监控","icon":"server","noCache":false,"link":null},"btn":false},"CIQ_DANGER_GOODS":{"id":"CIQ_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"CIQ危险化学品","sort":4,"alwaysShow":false,"name":"DangerGoods","path":"dangerGoods","component":"business/dangerGoods/index","isBtn":false,"redirect":null,"meta":{"title":"CIQ危险化学品","icon":"#","noCache":false,"link":null},"btn":false},"ICON_MULTIPLE_INNER_ADD":{"id":"ICON_MULTIPLE_INNER_ADD","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_ADD":{"id":"CHECK_RULE_ADD","_parentId":"CHECK_RULE","label":"校验规则新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_QUERY":{"id":"FORM_BUILD_QUERY","_parentId":"FORM_BUILD","label":"生成查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ONLINE_USER":{"id":"ONLINE_USER","_parentId":"SYSTEM_MONITOR","label":"在线用户","sort":1,"alwaysShow":false,"name":"Online","path":"online","component":"monitor/online/index","isBtn":false,"redirect":null,"meta":{"title":"在线用户","icon":"online","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_DETAIL":{"id":"SHIP_PACKAGE_GUIDE_DETAIL","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true}}')},"3ddf":function(e,t,n){},4360:function(e,t,n){"use strict";var a,l,i=n("2b0e"),s=n("2f62"),o=n("852e"),c=n.n(o),r={sidebar:{opened:!c.a.get("sidebarStatus")||!!+c.a.get("sidebarStatus"),withoutAnimation:!1,hide:!1},device:"desktop",size:c.a.get("size")||"medium"},u={TOGGLE_SIDEBAR:function(e){if(e.sidebar.hide)return!1;e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?c.a.set("sidebarStatus",1):c.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){c.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,c.a.set("size",t)},SET_SIDEBAR_HIDE:function(e,t){e.sidebar.hide=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)},toggleSideBarHide:function(e,t){var n=e.commit;n("SET_SIDEBAR_HIDE",t)}},h={namespaced:!0,state:r,mutations:u,actions:d},f=(n("b0c0"),n("d3b7"),n("498a"),n("7ded")),p=n("5f87"),m={state:{token:Object(p["a"])(),name:"",avatar:"",roles:[],permissions:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t}},actions:{Login:function(e,t){e.commit;return new Promise((function(e,n){Object(f["d"])(t).then((function(t){e()})).catch((function(e){n(e)}))}))},YtLogin:function(e,t){var n=e.commit,a=t.username.trim(),l=t.password,i=t.encryptKey,s=t.encryptIv;return new Promise((function(e,t){Object(f["g"])(a,l,i,s).then((function(t){Object(p["c"])(t.token),n("SET_TOKEN",t.token),e()})).catch((function(e){t(e)}))}))},GetInfo:function(e){var t=e.commit;e.state;return new Promise((function(e,a){Object(f["b"])().then((function(a){var l=a.user,i=""==l.avatar||null==l.avatar?n("4b94"):"./"+l.avatar;a.roles&&a.roles.length>0?(t("SET_ROLES",a.roles),t("SET_PERMISSIONS",a.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",l.userName),t("SET_AVATAR",i),e(a)})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(f["e"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(p["b"])(),e()})).catch((function(e){a(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(p["b"])(),e()}))}}},_=m,b=n("2909"),E=n("3835"),w=n("b85c"),v=(n("caad"),n("2532"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),n("c740"),{visitedViews:[],cachedViews:[]}),g={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta&&!t.meta.noCache&&e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(w["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var l=Object(E["a"])(n.value,2),i=l[0],s=l[1];if(s.path===t.path){e.visitedViews.splice(i,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(w["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l.path===t.path){l=Object.assign(l,t);break}}}catch(i){a.e(i)}finally{a.f()}},DEL_RIGHT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a<=n||t.meta&&t.meta.affix)return!0;var l=e.cachedViews.indexOf(t.name);return l>-1&&e.cachedViews.splice(l,1),!1})))},DEL_LEFT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a>=n||t.meta&&t.meta.affix)return!0;var l=e.cachedViews.indexOf(t.name);return l>-1&&e.cachedViews.splice(l,1),!1})))}},A={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(b["a"])(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(b["a"])(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(b["a"])(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(b["a"])(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(b["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(b["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)},delRightTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_RIGHT_VIEWS",t),e(Object(b["a"])(v.visitedViews))}))},delLeftTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_LEFT_VIEWS",t),e(Object(b["a"])(v.visitedViews))}))}},I={namespaced:!0,state:v,mutations:g,actions:A},C=(n("99af"),n("159b"),n("d81d"),n("3ca3"),n("dce4")),y=n("a18c"),S=n("b775"),O=function(){return Object(S["a"])({url:"/getRouters",method:"get"})},T=n("c1f7"),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},R=[],N=n("2877"),k={},D=Object(N["a"])(k,x,R,!1,null,null,null),L=D.exports,P=(n("9911"),{data:function(){return{}},render:function(){var e=arguments[0],t=this.$route.meta.link;if(""==={link:t}.link)return"404";var n={link:t}.link,a=document.documentElement.clientHeight-94.5+"px",l={height:a};return e("div",{style:l},[e("iframe",{attrs:{src:n,frameborder:"no",scrolling:"auto"},style:"width: 100%; height: 100%"})])}}),G=P,M=Object(N["a"])(G,a,l,!1,null,null,null),B=M.exports,H=n("5620"),z={state:{routerMap:H["a"].Menu,routes:[],permissions:[],addRoutes:[],defaultRoutes:[],topbarRouters:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=y["a"].concat(t)},SET_DEFAULT_ROUTES:function(e,t){e.defaultRoutes=y["a"].concat(t)},SET_TOPBAR_ROUTES:function(e,t){e.topbarRouters=t},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=t}},actions:{GenerateRoutes:function(e){var t=e.commit,n=e.state;return new Promise((function(e){O().then((function(a){var l=[],i=[],s=[];a.data.forEach((function(e){n.routerMap[e]&&i.push(n.routerMap[e])})),i.map((function(e){e.isBtn?s.push(e):l.push(e)})),n.permissions=s;var o=U(l,"id"),c=V(o);console.log(c),console.log("sidebarRoutes");var r=K(y["c"]);y["b"].addRoutes(r),t("SET_ROUTES",c),t("SET_SIDEBAR_ROUTERS",y["a"].concat(c)),e(c)}))}))}}};function U(e,t,n,a){var l,i={id:t||"id",_parentId:n||"_parentId",childrenList:a||"children"},s={},o={},c=[],r=Object(w["a"])(e);try{for(r.s();!(l=r.n()).done;){var u=l.value,d=u[i._parentId];null==s[d]&&(s[d]=[]),o[u[i.id]]=u,s[d].push(u)}}catch(g){r.e(g)}finally{r.f()}var h,f=Object(w["a"])(e);try{for(f.s();!(h=f.n()).done;){var p=h.value,m=p[i._parentId];null==o[m]&&c.push(p)}}catch(g){f.e(g)}finally{f.f()}for(var _=0,b=c;_2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return t&&e.children&&(e.children=j(e.children)),e.component&&("Layout"===e.component?e.component=T["a"]:"ParentView"===e.component?e.component=L:"InnerLink"===e.component?e.component=B:e.component=$(e.component)),null!=e.children&&e.children&&e.children.length?e.children=V(e.children,e,t):(delete e["children"],delete e["redirect"]),!0}))}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return e.forEach((function(e,a){e.children&&e.children.length&&"ParentView"===e.component&&!t?e.children.forEach((function(t){t.path=e.path+"/"+t.path,t.children&&t.children.length?n=n.concat(j(t.children,t)):n.push(t)})):(t&&(e.path=t.path+"/"+e.path),n=n.concat(e))})),n}function K(e){var t=[];return e.forEach((function(e){e.permissions?C["a"].hasPermiOr(e.permissions)&&t.push(e):e.roles&&C["a"].hasRoleOr(e.roles)&&t.push(e)})),t}var $=function(e){return function(){return n("9dac")("./".concat(e))}},F=z,Y=n("83d6"),Q=n.n(Y),X=Q.a.sideTheme,q=Q.a.showSettings,W=Q.a.topNav,J=Q.a.tagsView,Z=Q.a.fixedHeader,ee=Q.a.sidebarLogo,te=Q.a.dynamicTitle,ne=JSON.parse(localStorage.getItem("layout-setting"))||"",ae={title:"",theme:ne.theme||"#409EFF",sideTheme:ne.sideTheme||X,showSettings:q,topNav:void 0===ne.topNav?W:ne.topNav,tagsView:void 0===ne.tagsView?J:ne.tagsView,fixedHeader:void 0===ne.fixedHeader?Z:ne.fixedHeader,sidebarLogo:void 0===ne.sidebarLogo?ee:ne.sidebarLogo,dynamicTitle:void 0===ne.dynamicTitle?te:ne.dynamicTitle},le={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},ie={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)},setTitle:function(e,t){e.commit;ae.title=t}},se={namespaced:!0,state:ae,mutations:le,actions:ie},oe={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},topbarRouters:function(e){return e.permission.topbarRouters},defaultRoutes:function(e){return e.permission.defaultRoutes},sidebarRouters:function(e){return e.permission.sidebarRouters}},ce=oe;i["default"].use(s["a"]);var re=new s["a"].Store({modules:{app:h,user:_,tagsView:I,permission:F,settings:se},getters:ce});t["a"]=re},4576:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"47b7":function(e,t,n){"use strict";n("4c86")},"482c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},4955:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b5d":function(e,t,n){},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.473f5971.jpg"},"4c86":function(e,t,n){},"4d24":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},5534:function(e,t,n){},5620:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("c1f7");var a=n("3da7");console.log(a),console.log("Menu");var l={Menu:a}},"565c":function(e,t,n){"use strict";n("3ddf")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),l=n("852e"),i=n.n(l),s=n("5c96"),o=n.n(s),c=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),r=[],u=(n("99af"),{name:"App",metaInfo:function(){return{title:this.$store.state.settings.dynamicTitle&&this.$store.state.settings.title,titleTemplate:function(e){return e?"".concat(e," - ").concat("危化品管理系统"):"危化品管理系统"}}}}),d=u,h=(n("0a7d"),n("2877")),f=Object(h["a"])(d,c,r,!1,null,null,null),p=f.exports,m=n("4360"),_=n("a18c"),b=(n("d3b7"),n("caad"),n("2532"),{inserted:function(e,t,n){var a=t.value,l="admin",i=m["a"].getters&&m["a"].getters.roles;if(!(a&&a instanceof Array&&a.length>0))throw new Error('请设置角色权限标签值"');var s=a,o=i.some((function(e){return l===e||s.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),E={inserted:function(e,t,n){var a=t.value,l="*:*:*",i=m["a"].getters&&m["a"].getters.permissions;if(!(a&&a instanceof Array&&a.length>0))throw new Error("请设置操作权限标签值");var s=a,o=i.some((function(e){return l===e||s.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},w=(n("ac1f"),n("5319"),{bind:function(e,t,n,a){var l=t.value;if(0!=l){var i=e.querySelector(".el-dialog__header"),s=e.querySelector(".el-dialog");i.style.cursor="move";var o=s.currentStyle||window.getComputedStyle(s,null);s.style.position="absolute",s.style.marginTop=0;var c=s.style.width;c=c.includes("%")?+document.body.clientWidth*(+c.replace(/\%/g,"")/100):+c.replace(/\px/g,""),s.style.left="".concat((document.body.clientWidth-c)/2,"px"),i.onmousedown=function(e){var t,n,a=e.clientX-i.offsetLeft,l=e.clientY-i.offsetTop;o.left.includes("%")?(t=+document.body.clientWidth*(+o.left.replace(/\%/g,"")/100),n=+document.body.clientHeight*(+o.top.replace(/\%/g,"")/100)):(t=+o.left.replace(/\px/g,""),n=+o.top.replace(/\px/g,"")),document.onmousemove=function(e){var i=e.clientX-a,o=e.clientY-l,c=i+t,r=o+n;s.style.left="".concat(c,"px"),s.style.top="".concat(r,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}}}),v={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 5px; background: inherit; height: 80%; position: absolute; right: 0; top: 0; bottom: 0; margin: auto; z-index: 1; cursor: w-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,l=t.offsetWidth;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a;t.style.width="".concat(l+n,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},g={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 6px; background: inherit; height: 10px; position: absolute; right: 0; bottom: 0; margin: auto; z-index: 1; cursor: nwse-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,l=n.clientY-e.offsetTop,i=t.offsetWidth,s=t.offsetHeight;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a,o=e.clientY-l;t.style.width="".concat(i+n,"px"),t.style.height="".concat(s+o,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},A=n("b311"),I=n.n(A),C={bind:function(e,t,n){switch(t.arg){case"success":e._vClipBoard_success=t.value;break;case"error":e._vClipBoard_error=t.value;break;default:var a=new I.a(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"}});a.on("success",(function(t){var n=e._vClipBoard_success;n&&n(t)})),a.on("error",(function(t){var n=e._vClipBoard_error;n&&n(t)})),e._vClipBoard=a}},update:function(e,t){"success"===t.arg?e._vClipBoard_success=t.value:"error"===t.arg?e._vClipBoard_error=t.value:(e._vClipBoard.text=function(){return t.value},e._vClipBoard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipBoard_success:"error"===t.arg?delete e._vClipBoard_error:(e._vClipBoard.destroy(),delete e._vClipBoard))}},y=function(e){e.directive("hasRole",b),e.directive("hasPermi",E),e.directive("clipboard",C),e.directive("dialogDrag",w),e.directive("dialogDragWidth",v),e.directive("dialogDragHeight",g)};window.Vue&&(window["hasRole"]=b,window["hasPermi"]=E,Vue.use(y));var S,O=y,T=(n("159b"),n("b0c0"),{refreshPage:function(e){var t=_["b"].currentRoute,n=t.path,a=t.query,l=t.matched;return void 0===e&&l.forEach((function(t){t.components&&t.components.default&&t.components.default.name&&(["Layout","ParentView"].includes(t.components.default.name)||(e={name:t.components.default.name,path:n,query:a}))})),m["a"].dispatch("tagsView/delCachedView",e).then((function(){var t=e,n=t.path,a=t.query;_["b"].replace({path:"/redirect"+n,query:a})}))},closeOpenPage:function(e){if(m["a"].dispatch("tagsView/delView",_["b"].currentRoute),void 0!==e)return _["b"].push(e)},closePage:function(e){return void 0===e?m["a"].dispatch("tagsView/delView",_["b"].currentRoute).then((function(e){var t=e.lastPath;return _["b"].push(t||"/")})):m["a"].dispatch("tagsView/delView",e)},closeAllPage:function(){return m["a"].dispatch("tagsView/delAllViews")},closeLeftPage:function(e){return m["a"].dispatch("tagsView/delLeftTags",e||_["b"].currentRoute)},closeRightPage:function(e){return m["a"].dispatch("tagsView/delRightTags",e||_["b"].currentRoute)},closeOtherPage:function(e){return m["a"].dispatch("tagsView/delOthersViews",e||_["b"].currentRoute)},openPage:function(e,t,n){var a={path:t,meta:{title:e}};return m["a"].dispatch("tagsView/addView",a),_["b"].push({path:t,query:n})},updatePage:function(e){return m["a"].dispatch("tagsView/updateVisitedView",e)}}),x=n("dce4"),R=n("63f0"),N={msg:function(e){s["Message"].info(e)},msgError:function(e){s["Message"].error(e)},msgSuccess:function(e){s["Message"].success(e)},msgWarning:function(e){s["Message"].warning(e)},alert:function(e){s["MessageBox"].alert(e,"系统提示")},alertError:function(e){s["MessageBox"].alert(e,"系统提示",{type:"error"})},alertSuccess:function(e){s["MessageBox"].alert(e,"系统提示",{type:"success"})},alertWarning:function(e){s["MessageBox"].alert(e,"系统提示",{type:"warning"})},notify:function(e){s["Notification"].info(e)},notifyError:function(e){s["Notification"].error(e)},notifySuccess:function(e){s["Notification"].success(e)},notifyWarning:function(e){s["Notification"].warning(e)},confirm:function(e){return s["MessageBox"].confirm(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},prompt:function(e){return s["MessageBox"].prompt(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},loading:function(e){S=s["Loading"].service({lock:!0,text:e,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},closeLoading:function(){S.close()}},k=n("c7eb"),D=n("1da1"),L=n("bc3a"),P=n.n(L),G=n("21a6"),M=n("5f87"),B=n("81ae"),H=n("c38a"),z="./",U={name:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=z+"/common/download?fileName="+encodeURI(e)+"&delete="+n;P()({method:"get",url:a,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(n){var a,l;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(n.data);case 2:a=e.sent,a?(l=new Blob([n.data]),t.saveAs(l,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},resource:function(e){var t=this,n=z+"/common/download/resource?resource="+encodeURI(e);P()({method:"get",url:n,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(n){var a,l;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(n.data);case 2:a=e.sent,a?(l=new Blob([n.data]),t.saveAs(l,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},zip:function(e,t){var n=this;e=z+e;P()({method:"get",url:e,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(a){var l,i;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(a.data);case 2:l=e.sent,l?(i=new Blob([a.data],{type:"application/zip"}),n.saveAs(i,t)):n.printErrMsg(a.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},saveAs:function(e,t,n){Object(G["saveAs"])(e,t,n)},printErrMsg:function(e){return Object(D["a"])(Object(k["a"])().mark((function t(){var n,a,l;return Object(k["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.text();case 2:n=t.sent,a=JSON.parse(n),l=B["a"][a.code]||a.msg||B["a"]["default"],s["Message"].error(l);case 6:case"end":return t.stop()}}),t)})))()}},V={install:function(e){e.prototype.$tab=T,e.prototype.$auth=x["a"],e.prototype.$cache=R["a"],e.prototype.$modal=N,e.prototype.$download=U}},j=n("b775"),K=(n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),$=[],F=n("61f7"),Y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(F["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},Q=Y,X=(n("47b7"),Object(h["a"])(Q,K,$,!1,null,"248913c8",null)),q=X.exports;a["default"].component("svg-icon",q);var W=n("23f1"),J=function(e){return e.keys().map(e)};J(W);var Z=n("5530"),ee=n("323e"),te=n.n(ee);n("a5d8");te.a.configure({showSpinner:!1});_["b"].beforeEach((function(e,t,n){te.a.start(),"/login"===e.path?(n(),te.a.done()):0===m["a"].getters.roles.length?(j["c"].show=!0,m["a"].dispatch("GetInfo").then((function(){j["c"].show=!1,m["a"].dispatch("GenerateRoutes").then((function(t){_["b"].addRoutes(t),n(Object(Z["a"])(Object(Z["a"])({},e),{},{replace:!0}))}))})).catch((function(e){m["a"].dispatch("LogOut").then((function(){s["Message"].error(e),n({path:"/"})}))}))):n()})),_["b"].afterEach((function(){te.a.done()}));var ne=n("aa3a"),ae=n("c0c3"),le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,"pager-count":e.pagerCount,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},ie=[];n("a9e3");Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var se=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function oe(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function ce(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function re(e,t,n){var a=ce(),l=e-a,i=20,s=0;t="undefined"===typeof t?500:t;var o=function e(){s+=i;var o=Math.easeInOutQuad(s,a,l,t);oe(o),sthis.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&re(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&re(0,800)}}},de=ue,he=(n("59bf"),Object(h["a"])(de,le,ie,!1,null,"f3d032e2",null)),fe=he.exports,pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top-right-btn"},[n("el-row",[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.showSearch?"隐藏搜索":"显示搜索",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-search"},on:{click:function(t){return e.toggleSearch()}}})],1),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"刷新",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-refresh"},on:{click:function(t){return e.refresh()}}})],1),e.columns?n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"显隐列",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-menu"},on:{click:function(t){return e.showColumn()}}})],1):e._e()],1),n("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-transfer",{attrs:{titles:["显示","隐藏"],data:e.columns},on:{change:e.dataChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)],1)},me=[],_e={name:"RightToolbar",data:function(){return{value:[],title:"显示/隐藏",open:!1}},props:{showSearch:{type:Boolean,default:!0},columns:{type:Array}},created:function(){for(var e in this.columns)!1===this.columns[e].visible&&this.value.push(parseInt(e))},methods:{toggleSearch:function(){this.$emit("update:showSearch",!this.showSearch)},refresh:function(){this.$emit("queryTable")},dataChange:function(e){for(var t in this.columns){var n=this.columns[t].key;this.columns[t].visible=!e.includes(n)}},showColumn:function(){this.open=!0}}},be=_e,Ee=(n("be8c"),Object(h["a"])(be,pe,me,!1,null,"b0cca3be",null)),we=Ee.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["url"==this.type?n("el-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{action:e.uploadUrl,"before-upload":e.handleBeforeUpload,"on-success":e.handleUploadSuccess,"on-error":e.handleUploadError,name:"file","show-file-list":!1,headers:e.headers}}):e._e(),n("div",{ref:"editor",staticClass:"editor",style:e.styles})],1)},ge=[],Ae=n("9339"),Ie=n.n(Ae),Ce=(n("a753"),n("8096"),n("14e1"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null},readOnly:{type:Boolean,default:!1},fileSize:{type:Number,default:5},type:{type:String,default:"url"}},data:function(){return{uploadUrl:".//common/upload",headers:{Authorization:"Bearer "+Object(M["a"])()},Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:this.readOnly}}},computed:{styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=null===e?"":e,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;if(this.Quill=new Ie.a(t,this.options),"url"==this.type){var n=this.Quill.getModule("toolbar");n.addHandler("image",(function(t){e.uploadType="image",t?e.$refs.upload.$children[0].$refs.input.click():e.quill.format("image",!1)}))}this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,a){var l=e.$refs.editor.children[0].innerHTML,i=e.Quill.getText(),s=e.Quill;e.currentValue=l,e.$emit("input",l),e.$emit("on-change",{html:l,text:i,quill:s})})),this.Quill.on("text-change",(function(t,n,a){e.$emit("on-text-change",t,n,a)})),this.Quill.on("selection-change",(function(t,n,a){e.$emit("on-selection-change",t,n,a)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l-1&&(t=e.name.slice(e.name.lastIndexOf(".")+1));var n=this.fileType.some((function(n){return e.type.indexOf(n)>-1||!!(t&&t.indexOf(n)>-1)}));if(!n)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"格式文件!")),!1}if(this.fileSize){var a=e.size/1024/1024-1?e.slice(e.lastIndexOf("/")+1):""},listToString:function(e,t){var n="";for(var a in t=t||",",e)n+=e[a].url+t;return""!=n?n.substr(0,n.length-1):""}}}),Ne=Re,ke=(n("1e13"),Object(h["a"])(Ne,Te,xe,!1,null,"44771c67",null)),De=ke.exports,Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-upload-image"},[n("el-upload",{class:{hide:this.fileList.length>=this.limit},attrs:{multiple:"",action:e.uploadImgUrl,"list-type":"picture-card","on-success":e.handleUploadSuccess,"before-upload":e.handleBeforeUpload,limit:e.limit,"on-error":e.handleUploadError,"on-exceed":e.handleExceed,name:"file","on-remove":e.handleRemove,"show-file-list":!0,headers:e.headers,"file-list":e.fileList,"on-preview":e.handlePictureCardPreview}},[n("i",{staticClass:"el-icon-plus"})]),e.showTip?n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 请上传 "),e.fileSize?[e._v(" 大小不超过 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileSize)+"MB")])]:e._e(),e.fileType?[e._v(" 格式为 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileType.join("/")))])]:e._e(),e._v(" 的文件 ")],2):e._e(),n("el-dialog",{attrs:{visible:e.dialogVisible,title:"预览",width:"800","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("img",{staticStyle:{display:"block","max-width":"100%",margin:"0 auto"},attrs:{src:e.dialogImageUrl}})])],1)},Pe=[],Ge={props:{value:[String,Object,Array],limit:{type:Number,default:5},fileSize:{type:Number,default:5},fileType:{type:Array,default:function(){return["png","jpg","jpeg"]}},isShowTip:{type:Boolean,default:!0}},data:function(){return{number:0,uploadList:[],dialogImageUrl:"",dialogVisible:!1,hideUpload:!1,baseUrl:"./",uploadImgUrl:".//common/upload",headers:{Authorization:"Bearer "+Object(M["a"])()},fileList:[]}},watch:{value:{handler:function(e){var t=this;if(!e)return this.fileList=[],[];var n=Array.isArray(e)?e:this.value.split(",");this.fileList=n.map((function(e){return"string"===typeof e&&(e=-1===e.indexOf(t.baseUrl)?{name:t.baseUrl+e,url:t.baseUrl+e}:{name:e,url:e}),e}))},deep:!0,immediate:!0}},computed:{showTip:function(){return this.isShowTip&&(this.fileType||this.fileSize)}},methods:{handleRemove:function(e,t){var n=this.fileList.map((function(e){return e.name})).indexOf(e.name);n>-1&&(this.fileList.splice(n,1),this.$emit("input",this.listToString(this.fileList)))},handleUploadSuccess:function(e){this.uploadList.push({name:e.fileName,url:e.fileName}),this.uploadList.length===this.number&&(this.fileList=this.fileList.concat(this.uploadList),this.uploadList=[],this.number=0,this.$emit("input",this.listToString(this.fileList)),this.$modal.closeLoading())},handleBeforeUpload:function(e){var t=!1;if(this.fileType.length){var n="";e.name.lastIndexOf(".")>-1&&(n=e.name.slice(e.name.lastIndexOf(".")+1)),t=this.fileType.some((function(t){return e.type.indexOf(t)>-1||!!(n&&n.indexOf(t)>-1)}))}else t=e.type.indexOf("image")>-1;if(!t)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"图片格式文件!")),!1;if(this.fileSize){var a=e.size/1024/10241?t-1:0),a=1;a"),s=[]),(l=e.type[i]).splice.apply(l,[0,Number.MAX_SAFE_INTEGER].concat(Object(Ze["a"])(s))),s.forEach((function(t){a["default"].set(e.label[i],t.value,t.label)})),s}))}var pt=function(e,t){ct(t),e.mixin({data:function(){if(void 0===this.$options||void 0===this.$options.dicts||null===this.$options.dicts)return{};var e=new ht;return e.owner=this,{dict:e}},created:function(){var e=this;this.dict instanceof ht&&(t.onCreated&&t.onCreated(this.dict),this.dict.init(this.$options.dicts).then((function(){t.onReady&&t.onReady(e.dict),e.$nextTick((function(){e.$emit("dictReady",e.dict),e.$options.methods&&e.$options.methods.onDictReady instanceof Function&&e.$options.methods.onDictReady.call(e,e.dict)}))})))}})};function mt(){a["default"].use(pt,{metas:{"*":{labelField:"dictLabel",valueField:"dictValue",request:function(e){return Object(ne["d"])(e.type).then((function(e){return e.data}))}}}})}var _t={install:mt};a["default"].prototype.getDicts=ne["d"],a["default"].prototype.getConfigKey=ae["d"],a["default"].prototype.parseTime=H["f"],a["default"].prototype.resetForm=H["g"],a["default"].prototype.addDateRange=H["a"],a["default"].prototype.selectDictLabel=H["h"],a["default"].prototype.selectDictLabels=H["i"],a["default"].prototype.download=j["b"],a["default"].prototype.handleTree=H["c"],a["default"].component("DictTag",We),a["default"].component("Pagination",fe),a["default"].component("RightToolbar",we),a["default"].component("Editor",Oe),a["default"].component("FileUpload",De),a["default"].component("ImageUpload",He),a["default"].component("ImagePreview",$e),a["default"].use(O),a["default"].use(V),a["default"].use(Je["a"]),_t.install(),a["default"].use(o.a,{size:i.a.get("size")||"medium"}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:_["b"],store:m["a"],render:function(e){return e(p)}})},"575e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-online",use:"icon-online-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"57a7":function(e,t,n){},"57fa":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},"59bf":function(e,t,n){"use strict";n("07f8")},"5aa7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"5af3":function(e,t,n){"use strict";n("4b5d")},"5d9e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n("852e"),l=n.n(a),i="Admin-Token";function s(){return l.a.get(i)}function o(e){return l.a.set(i,e)}function c(){return l.a.remove(i)}},"5fda":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac1f"),n("00b4"),n("498a"),n("d3b7");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},"63f0":function(e,t,n){"use strict";n("e9c4");var a={set:function(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get:function(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){sessionStorage.removeItem(e)}},l={set:function(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get:function(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){localStorage.removeItem(e)}};t["a"]={session:a,local:l}},"679a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"69ce":function(e,t,n){"use strict";n("33ae")},7049:function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"737d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"74a2":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"77fa":function(e,t,n){"use strict";n("5534")},"78b5":function(e,t,n){},7937:function(e,t,n){},"79ea":function(e,t,n){"use strict";n("0400")},"7ded":function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return u}));var a=n("b775");n("869c");function l(e){return console.log(e),console.log("data"),Object(a["a"])({url:"/login",method:"post",data:e})}function i(e,t,n,l){var i={username:e,password:t};return Object(a["a"])({url:"/ytLogin",headers:{isToken:!1},method:"post",data:i})}function s(e){return Object(a["a"])({url:"/register",headers:{isToken:!1},method:"post",data:e})}function o(){return Object(a["a"])({url:"/getInfo",method:"get"})}function c(){return Object(a["a"])({url:"/encrypt",headers:{isToken:!1},method:"get"})}function r(){return Object(a["a"])({url:"/logout",method:"post"})}function u(){return Object(a["a"])({url:"/captchaImage",headers:{isToken:!1},method:"get",timeout:2e4})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.4ef27f05.png"},"81ae":function(e,t,n){"use strict";t["a"]={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},"83d6":function(e,t){e.exports={sideTheme:"theme-dark",showSettings:!1,topNav:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,dynamicTitle:!1,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"869c":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("d3b7"),n("25f0");var a=n("3452"),l=n.n(a);function i(e,t,n){var a,i;t&&(a=l.a.enc.Utf8.parse(t),i=l.a.enc.Utf8.parse(n));var s=l.a.enc.Utf8.parse(e),o=l.a.AES.encrypt(s,a,{iv:i,mode:l.a.mode.CBC,padding:l.a.pad.ZeroPadding});return l.a.enc.Base64.stringify(o.ciphertext)}},"879b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},8989:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"91be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});s.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"98ab":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"99ee":function(e,t,n){"use strict";n("1147")},"9a4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9b5e":function(e,t,n){"use strict";n("b18c")},"9cb5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9d13":function(e,t,n){"use strict";n("7937")},"9dac":function(e,t,n){var a={"./":["1e4b","chunk-2d0b68f8"],"./business/catalogue":["43fa","chunk-2d0c1070"],"./business/catalogue/":["43fa","chunk-2d0c1070"],"./business/catalogue/index":["43fa","chunk-2d0c1070"],"./business/catalogue/index.vue":["43fa","chunk-2d0c1070"],"./business/checkEaInfo":["0697","chunk-ec75af08","chunk-0929751a"],"./business/checkEaInfo/":["0697","chunk-ec75af08","chunk-0929751a"],"./business/checkEaInfo/index":["0697","chunk-ec75af08","chunk-0929751a"],"./business/checkEaInfo/index.vue":["0697","chunk-ec75af08","chunk-0929751a"],"./business/checkInInfo":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-6493d4ec"],"./business/checkInInfo/":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-6493d4ec"],"./business/checkInInfo/index":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-6493d4ec"],"./business/checkInInfo/index.vue":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-6493d4ec"],"./business/checkInInfo/reviewResult":["613b","chunk-ec75af08","chunk-47a4302e"],"./business/checkInInfo/reviewResult.vue":["613b","chunk-ec75af08","chunk-47a4302e"],"./business/checkPaInfo":["dc5f","chunk-ec75af08","chunk-05f1d4b6"],"./business/checkPaInfo/":["dc5f","chunk-ec75af08","chunk-05f1d4b6"],"./business/checkPaInfo/index":["dc5f","chunk-ec75af08","chunk-05f1d4b6"],"./business/checkPaInfo/index.vue":["dc5f","chunk-ec75af08","chunk-05f1d4b6"],"./business/checkRule":["63e5","chunk-56014f4c"],"./business/checkRule/":["63e5","chunk-56014f4c"],"./business/checkRule/index":["63e5","chunk-56014f4c"],"./business/checkRule/index.vue":["63e5","chunk-56014f4c"],"./business/dangerGoods":["ba95","chunk-2d21a091"],"./business/dangerGoods/":["ba95","chunk-2d21a091"],"./business/dangerGoods/index":["ba95","chunk-2d21a091"],"./business/dangerGoods/index.vue":["ba95","chunk-2d21a091"],"./business/dangerTypeIdentity":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/index":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/index.vue":["9024","chunk-28aa9134"],"./business/gasBase":["1f65","chunk-295ab0ce"],"./business/gasBase/":["1f65","chunk-295ab0ce"],"./business/gasBase/index":["1f65","chunk-295ab0ce"],"./business/gasBase/index.vue":["1f65","chunk-295ab0ce"],"./business/goods":["6c1e","chunk-3b20da0c"],"./business/goods/":["6c1e","chunk-3b20da0c"],"./business/goods/detail":["a468","chunk-a1b77432"],"./business/goods/detail.vue":["a468","chunk-a1b77432"],"./business/goods/ibc":["b3d7","chunk-5530cbd8"],"./business/goods/ibc.vue":["b3d7","chunk-5530cbd8"],"./business/goods/index":["6c1e","chunk-3b20da0c"],"./business/goods/index.vue":["6c1e","chunk-3b20da0c"],"./business/icaoGoods":["0a57","chunk-9791b85a"],"./business/icaoGoods/":["0a57","chunk-9791b85a"],"./business/icaoGoods/detail":["acee","chunk-522f4bbc"],"./business/icaoGoods/detail.vue":["acee","chunk-522f4bbc"],"./business/icaoGoods/index":["0a57","chunk-9791b85a"],"./business/icaoGoods/index.vue":["0a57","chunk-9791b85a"],"./business/icaoPackageRule":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/index":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/index.vue":["571e","chunk-d4d6063a"],"./business/iconGas":["747e","chunk-bca7facc"],"./business/iconGas/":["747e","chunk-bca7facc"],"./business/iconGas/index":["747e","chunk-bca7facc"],"./business/iconGas/index.vue":["747e","chunk-bca7facc"],"./business/iconInoutPackage":["b688","chunk-410b99f6"],"./business/iconInoutPackage/":["b688","chunk-410b99f6"],"./business/iconInoutPackage/index":["b688","chunk-410b99f6"],"./business/iconInoutPackage/index.vue":["b688","chunk-410b99f6"],"./business/iconMultipleInner":["6863","chunk-22b58394"],"./business/iconMultipleInner/":["6863","chunk-22b58394"],"./business/iconMultipleInner/index":["6863","chunk-22b58394"],"./business/iconMultipleInner/index.vue":["6863","chunk-22b58394"],"./business/iconSpecialInner":["d040","chunk-190b3930"],"./business/iconSpecialInner/":["d040","chunk-190b3930"],"./business/iconSpecialInner/index":["d040","chunk-190b3930"],"./business/iconSpecialInner/index.vue":["d040","chunk-190b3930"],"./business/identify":["6a89","chunk-2d0da022"],"./business/identify/":["6a89","chunk-2d0da022"],"./business/identify/index":["6a89","chunk-2d0da022"],"./business/identify/index.vue":["6a89","chunk-2d0da022"],"./business/info":["804c","chunk-2d0dd09d"],"./business/info/":["804c","chunk-2d0dd09d"],"./business/info/index":["804c","chunk-2d0dd09d"],"./business/info/index.vue":["804c","chunk-2d0dd09d"],"./business/organicPeroxide":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/index":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/index.vue":["01c1","chunk-1b15c49a"],"./business/packageBase":["c7db","chunk-c720c3c8"],"./business/packageBase/":["c7db","chunk-c720c3c8"],"./business/packageBase/index":["c7db","chunk-c720c3c8"],"./business/packageBase/index.vue":["c7db","chunk-c720c3c8"],"./business/packageRule":["2e8c","chunk-b3606f7e"],"./business/packageRule/":["2e8c","chunk-b3606f7e"],"./business/packageRule/index":["2e8c","chunk-b3606f7e"],"./business/packageRule/index.vue":["2e8c","chunk-b3606f7e"],"./business/peroxideType52Base":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/index":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/index.vue":["dcbf","chunk-2d2295f9"],"./business/peroxideTypefBase":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/index":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/index.vue":["468b","chunk-2d0c1622"],"./business/ruleGroup":["4f84","chunk-102527b9"],"./business/ruleGroup/":["4f84","chunk-102527b9"],"./business/ruleGroup/index":["4f84","chunk-102527b9"],"./business/ruleGroup/index.vue":["4f84","chunk-102527b9"],"./business/specialRule":["3deb","chunk-47128cd2"],"./business/specialRule/":["3deb","chunk-47128cd2"],"./business/specialRule/index":["3deb","chunk-47128cd2"],"./business/specialRule/index.vue":["3deb","chunk-47128cd2"],"./components/icons":["3a7e","chunk-74680cd7"],"./components/icons/":["3a7e","chunk-74680cd7"],"./components/icons/element-icons":["bb49","chunk-2d21a3bb"],"./components/icons/element-icons.js":["bb49","chunk-2d21a3bb"],"./components/icons/index":["3a7e","chunk-74680cd7"],"./components/icons/index.vue":["3a7e","chunk-74680cd7"],"./components/icons/svg-icons":["c7e9","chunk-2d217c9e"],"./components/icons/svg-icons.js":["c7e9","chunk-2d217c9e"],"./dashboard/BarChart":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/BarChart.vue":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/LineChart":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/LineChart.vue":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/PanelGroup":["fbc4","chunk-d6ec12d8"],"./dashboard/PanelGroup.vue":["fbc4","chunk-d6ec12d8"],"./dashboard/PieChart":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/PieChart.vue":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/RaddarChart":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/RaddarChart.vue":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/mixins/resize":["feb2","chunk-2d238605"],"./dashboard/mixins/resize.js":["feb2","chunk-2d238605"],"./error/401":["ec55","chunk-1537fc93"],"./error/401.vue":["ec55","chunk-1537fc93"],"./error/404":["2754","chunk-81a2a40e"],"./error/404.vue":["2754","chunk-81a2a40e"],"./index":["1e4b","chunk-2d0b68f8"],"./index.vue":["1e4b","chunk-2d0b68f8"],"./index_v1":["66ef","chunk-f95fdb36","chunk-b217db68"],"./index_v1.vue":["66ef","chunk-f95fdb36","chunk-b217db68"],"./login":["dd7b","chunk-8eb89780","chunk-5a266cd8"],"./login.vue":["dd7b","chunk-8eb89780","chunk-5a266cd8"],"./monitor/cache":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index.vue":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/list":["9f66","chunk-e1a6d904"],"./monitor/cache/list.vue":["9f66","chunk-e1a6d904"],"./monitor/druid":["5194","chunk-2d0c77ad"],"./monitor/druid/":["5194","chunk-2d0c77ad"],"./monitor/druid/index":["5194","chunk-2d0c77ad"],"./monitor/druid/index.vue":["5194","chunk-2d0c77ad"],"./monitor/job":["3eac","chunk-d9e18ce6"],"./monitor/job/":["3eac","chunk-d9e18ce6"],"./monitor/job/index":["3eac","chunk-d9e18ce6"],"./monitor/job/index.vue":["3eac","chunk-d9e18ce6"],"./monitor/job/log":["0062","chunk-68702101"],"./monitor/job/log.vue":["0062","chunk-68702101"],"./monitor/logininfor":["67ef","chunk-04621586"],"./monitor/logininfor/":["67ef","chunk-04621586"],"./monitor/logininfor/index":["67ef","chunk-04621586"],"./monitor/logininfor/index.vue":["67ef","chunk-04621586"],"./monitor/online":["6b08","chunk-2d0da2ea"],"./monitor/online/":["6b08","chunk-2d0da2ea"],"./monitor/online/index":["6b08","chunk-2d0da2ea"],"./monitor/online/index.vue":["6b08","chunk-2d0da2ea"],"./monitor/operlog":["02f2","chunk-7e203972"],"./monitor/operlog/":["02f2","chunk-7e203972"],"./monitor/operlog/index":["02f2","chunk-7e203972"],"./monitor/operlog/index.vue":["02f2","chunk-7e203972"],"./monitor/server":["2a33","chunk-2d0bce05"],"./monitor/server/":["2a33","chunk-2d0bce05"],"./monitor/server/index":["2a33","chunk-2d0bce05"],"./monitor/server/index.vue":["2a33","chunk-2d0bce05"],"./redirect":["9b8f","chunk-2d0f012d"],"./redirect.vue":["9b8f","chunk-2d0f012d"],"./register":["7803","chunk-cefe2a3a"],"./register.vue":["7803","chunk-cefe2a3a"],"./system/config":["cdb7","chunk-2d22252c"],"./system/config/":["cdb7","chunk-2d22252c"],"./system/config/index":["cdb7","chunk-2d22252c"],"./system/config/index.vue":["cdb7","chunk-2d22252c"],"./system/dept":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index.vue":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dict":["046a","chunk-582b2a7a"],"./system/dict/":["046a","chunk-582b2a7a"],"./system/dict/data":["bfc4","chunk-d19c1a98"],"./system/dict/data.vue":["bfc4","chunk-d19c1a98"],"./system/dict/index":["046a","chunk-582b2a7a"],"./system/dict/index.vue":["046a","chunk-582b2a7a"],"./system/menu":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index.vue":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/notice":["202d","chunk-2d0b1626"],"./system/notice/":["202d","chunk-2d0b1626"],"./system/notice/index":["202d","chunk-2d0b1626"],"./system/notice/index.vue":["202d","chunk-2d0b1626"],"./system/post":["5788","chunk-2d0c8e18"],"./system/post/":["5788","chunk-2d0c8e18"],"./system/post/index":["5788","chunk-2d0c8e18"],"./system/post/index.vue":["5788","chunk-2d0c8e18"],"./system/role":["70eb","chunk-a662c34e"],"./system/role/":["70eb","chunk-a662c34e"],"./system/role/authUser":["7054","chunk-8ee3fc10"],"./system/role/authUser.vue":["7054","chunk-8ee3fc10"],"./system/role/index":["70eb","chunk-a662c34e"],"./system/role/index.vue":["70eb","chunk-a662c34e"],"./system/role/selectUser":["a17e","chunk-8579d4da"],"./system/role/selectUser.vue":["a17e","chunk-8579d4da"],"./system/user":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/authRole":["6a33","chunk-2727631f"],"./system/user/authRole.vue":["6a33","chunk-2727631f"],"./system/user/index":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/index.vue":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/profile":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/index":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/index.vue":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/resetPwd":["ee46","chunk-39413ce8"],"./system/user/profile/resetPwd.vue":["ee46","chunk-39413ce8"],"./system/user/profile/userAvatar":["9429","chunk-2d0e2366","chunk-314784fd"],"./system/user/profile/userAvatar.vue":["9429","chunk-2d0e2366","chunk-314784fd"],"./system/user/profile/userInfo":["1e8b","chunk-3a08d90c"],"./system/user/profile/userInfo.vue":["1e8b","chunk-3a08d90c"],"./tool/build":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/CodeTypeDialog":["a92a","chunk-2d20955d"],"./tool/build/CodeTypeDialog.vue":["a92a","chunk-2d20955d"],"./tool/build/DraggableItem":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/DraggableItem.vue":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/IconsDialog":["d0b2","chunk-56e8e43e"],"./tool/build/IconsDialog.vue":["d0b2","chunk-56e8e43e"],"./tool/build/RightPanel":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/RightPanel.vue":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/TreeNodeDialog":["c81a","chunk-2d217a3b"],"./tool/build/TreeNodeDialog.vue":["c81a","chunk-2d217a3b"],"./tool/build/index":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/index.vue":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/gen":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/basicInfoForm":["ed69","chunk-2d230898"],"./tool/gen/basicInfoForm.vue":["ed69","chunk-2d230898"],"./tool/gen/editTable":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/editTable.vue":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/genInfoForm":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/genInfoForm.vue":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/importTable":["6f72","chunk-005cb0c7"],"./tool/gen/importTable.vue":["6f72","chunk-005cb0c7"],"./tool/gen/index":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/index.vue":["82c8","chunk-5b83c289","chunk-7fa21b9b"]};function l(e){if(!n.o(a,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],l=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(l)}))}l.keys=function(){return Object.keys(a)},l.id="9dac",e.exports=l},"9ec1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a0bf:function(e,t,n){},a17a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o}));n("d3b7"),n("3ca3"),n("ddb0");var a=n("2b0e"),l=n("8c4f"),i=n("c1f7");a["default"].use(l["a"]);var s=[{path:"/redirect",component:i["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d0f012d").then(n.bind(null,"9b8f"))}}]},{path:"/login",component:function(){return Promise.all([n.e("chunk-8eb89780"),n.e("chunk-5a266cd8")]).then(n.bind(null,"dd7b"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-81a2a40e").then(n.bind(null,"2754"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-1537fc93").then(n.bind(null,"ec55"))},hidden:!0},{path:"/",component:i["a"],redirect:"/login",children:[{path:"login",component:function(){return Promise.all([n.e("chunk-8eb89780"),n.e("chunk-5a266cd8")]).then(n.bind(null,"dd7b"))},name:"Login",hidden:!0}]},{path:"/dashboard",component:i["a"],redirect:"dashboard/index",children:[{path:"index",component:function(){return n.e("chunk-2d0b68f8").then(n.bind(null,"1e4b"))},name:"Index",meta:{title:"首页",icon:"dashboard",affix:!0}}]},{path:"/user",component:i["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(){return Promise.all([n.e("chunk-2d0e2366"),n.e("chunk-7fd190a8")]).then(n.bind(null,"4c1b"))},name:"Profile",meta:{title:"个人中心",icon:"user"}}]}],o=[{path:"/system/user-auth",component:i["a"],hidden:!0,permissions:["system:user:edit"],children:[{path:"role/:userId(\\d+)",component:function(){return n.e("chunk-2727631f").then(n.bind(null,"6a33"))},name:"AuthRole",meta:{title:"分配角色",activeMenu:"/system/user"}}]},{path:"/system/role-auth",component:i["a"],hidden:!0,permissions:["system:role:edit"],children:[{path:"user/:roleId(\\d+)",component:function(){return n.e("chunk-8ee3fc10").then(n.bind(null,"7054"))},name:"AuthUser",meta:{title:"分配用户",activeMenu:"/system/role"}}]},{path:"/system/dict-data",component:i["a"],hidden:!0,permissions:["system:dict:list"],children:[{path:"index/:dictId(\\d+)",component:function(){return n.e("chunk-d19c1a98").then(n.bind(null,"bfc4"))},name:"Data",meta:{title:"字典数据",activeMenu:"/system/dict"}}]},{path:"/business/goods/good-data",component:i["a"],hidden:!0,permissions:["business:goods:list"],children:[{path:"index/:goodsId(\\d+)",component:function(){return n.e("chunk-a1b77432").then(n.bind(null,"a468"))},name:"goodData",meta:{title:"危险货物包装导则详情",activeMenu:"/business/goods"}},{path:"ibc/:goodsId(\\d+)",component:function(){return n.e("chunk-5530cbd8").then(n.bind(null,"b3d7"))},name:"goodIBCData",meta:{title:"危险货物IBC导则详情",activeMenu:"/business/goods"}}]},{path:"/business/icaoGoods/good-data",component:i["a"],hidden:!0,permissions:["business:icaoGoods:list"],children:[{path:"iac/:goodsId(\\d+)",component:function(){return n.e("chunk-522f4bbc").then(n.bind(null,"acee"))},name:"goodData",meta:{title:"空运危险货物包装导则详情",activeMenu:"/business/icaoGoods"}}]},{path:"/monitor/job-log",component:i["a"],hidden:!0,permissions:["monitor:job:list"],children:[{path:"index",component:function(){return n.e("chunk-68702101").then(n.bind(null,"0062"))},name:"JobLog",meta:{title:"调度日志",activeMenu:"/monitor/job"}}]},{path:"/tool/gen-edit",component:i["a"],hidden:!0,permissions:["tool:gen:edit"],children:[{path:"index/:tableId(\\d+)",component:function(){return Promise.all([n.e("chunk-5a2f9c7b"),n.e("chunk-2d212b99"),n.e("chunk-548b6580")]).then(n.bind(null,"76f8"))},name:"GenEdit",meta:{title:"修改生成配置",activeMenu:"/tool/gen"}}]}],c=l["a"].prototype.push;l["a"].prototype.push=function(e){return c.call(this,e).catch((function(e){return e}))},t["b"]=new l["a"]({mode:"hash",scrollBehavior:function(){return{y:0}},routes:s})},a1ac:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a543:function(e,t,n){},a601:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a873:function(e,t,n){},aa3a:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return r}));var a=n("b775");function l(e){return Object(a["a"])({url:"/system/dict/data/list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/dict/data",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/dict/data",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"delete"})}},ad41:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},ad64:function(e,t,n){"use strict";n("d464")},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},b11f:function(e,t,n){"use strict";n("57a7")},b181:function(e,t,n){"use strict";n("7049")},b18c:function(e,t,n){},b34b:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},b4dc:function(e,t,n){},b6f9:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return b}));var a,l=n("c7eb"),i=n("1da1"),s=n("53ca"),o=(n("fb6a"),n("e9c4"),n("d3b7"),n("caad"),n("2532"),n("bc3a")),c=n.n(o),r=n("5c96"),u=n("4360"),d=(n("5f87"),n("81ae")),h=n("c38a"),f=n("63f0"),p=n("21a6"),m={show:!1};c.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var _=c.a.create({baseURL:"./",timeout:1e4});function b(e,t,n){return a=r["Loading"].service({text:"正在下载数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),_.post(e,t,{transformRequest:[function(e){return Object(h["j"])(e)}],headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"blob"}).then(function(){var e=Object(i["a"])(Object(l["a"])().mark((function e(t){var i,s,o,c,u;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["b"])(t);case 2:if(i=e.sent,!i){e.next=8;break}s=new Blob([t]),Object(p["saveAs"])(s,n),e.next=14;break;case 8:return e.next=10,t.text();case 10:o=e.sent,c=JSON.parse(o),u=d["a"][c.code]||c.msg||d["a"]["default"],r["Message"].error(u);case 14:a.close();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e),r["Message"].error("下载文件出现错误,请联系管理员!"),a.close()}))}_.interceptors.request.use((function(e){(e.headers||{}).isToken;var t=!1===(e.headers||{}).repeatSubmit;if("get"===e.method&&e.params){var n=e.url+"?"+Object(h["j"])(e.params);n=n.slice(0,-1),e.params={},e.url=n}if(!t&&("post"===e.method||"put"===e.method)){var a={url:e.url,data:"object"===Object(s["a"])(e.data)?JSON.stringify(e.data):e.data,time:(new Date).getTime()},l=f["a"].session.getJSON("sessionObj");if(void 0===l||null===l||""===l)f["a"].session.setJSON("sessionObj",a);else{var i=l.url,o=l.data,c=l.time,r=1e3;if(o===a.data&&a.time-c'});s.a.add(o);t["default"]=o},b92c:function(e,t,n){"use strict";n("b4dc")},badf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-redis-list",use:"icon-redis-list-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},bc7b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},be8c:function(e,t,n){"use strict";n("2ddf")},c0c3:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return u}));var a=n("b775");function l(e){return Object(a["a"])({url:"/system/config/list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/system/config/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/config",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/config",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/config/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/config/refreshCache",method:"delete"})}},c1f7:function(e,t,n){"use strict";var a,l,i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e.sidebar.hide?e._e():n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView,sidebarHide:e.sidebar.hide}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),n("right-panel",[n("settings")],1)],1)],1)},s=[],o=n("5530"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},r=[],u=(n("a9e3"),n("ed08")),d={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(u["a"])(document.body,"showRightPanel"):Object(u["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=d,f=(n("b11f"),n("d08d"),n("2877")),p=Object(f["a"])(h,c,r,!1,null,"2b17496a",null),m=p.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},b=[],E={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},w=E,v=(n("69ce"),n("79ea"),Object(f["a"])(w,_,b,!1,null,"f3be4606",null)),g=v.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e.topNav?e._e():n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e.topNav?n("top-nav",{staticClass:"topmenu-container",attrs:{id:"topmenu-container"}}):e._e(),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),n("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),n("el-tooltip",{attrs:{content:"布局大小",effect:"dark",placement:"bottom"}},[n("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{nativeOn:{click:function(t){e.setting=!0}}},[n("span",[e._v("布局设置")])]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},I=[],C=n("c7eb"),y=n("1da1"),S=n("2f62"),O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},T=[],x=(n("2ca0"),n("4de4"),n("d3b7"),n("99af"),n("b0c0"),n("498a"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"Index"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),R=x,N=(n("d20b"),Object(f["a"])(R,O,T,!1,null,"08dd0676",null)),k=N.exports,D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{attrs:{"default-active":e.activeMenu,mode:"horizontal"},on:{select:e.handleSelect}},[e._l(e.topMenus,(function(t,a){return[ae.visibleNumber?n("el-submenu",{style:{"--theme":e.theme},attrs:{index:"more"}},[n("template",{slot:"title"},[e._v("更多菜单")]),e._l(e.topMenus,(function(t,a){return[a>=e.visibleNumber?n("el-menu-item",{key:a,attrs:{index:t.path}},[n("svg-icon",{attrs:{"icon-class":t.meta.icon}}),e._v(" "+e._s(t.meta.title))],1):e._e()]}))],2):e._e()],2)},L=[],P=(n("d81d"),n("7db0"),n("a18c")),G=["/index","/user/profile"],M={data:function(){return{visibleNumber:5,currentIndex:void 0}},computed:{theme:function(){return this.$store.state.settings.theme},topMenus:function(){var e=[];return this.routers.map((function(t){!0!==t.hidden&&("/"===t.path?e.push(t.children[0]):e.push(t))})),e},routers:function(){return this.$store.state.permission.topbarRouters},childrenMenus:function(){var e=this,t=[];return this.routers.map((function(n){for(var a in n.children)void 0===n.children[a].parentPath&&("/"===n.path?n.children[a].path="/"+n.children[a].path:e.ishttp(n.children[a].path)||(n.children[a].path=n.path+"/"+n.children[a].path),n.children[a].parentPath=n.path),t.push(n.children[a])})),P["a"].concat(t)},activeMenu:function(){var e=this.$route.path,t=e;if(void 0!==e&&e.lastIndexOf("/")>0&&-1===G.indexOf(e)){var n=e.substring(1,e.length);t="/"+n.substring(0,n.indexOf("/")),this.$store.dispatch("app/toggleSideBarHide",!1)}else this.$route.children||(t=e,this.$store.dispatch("app/toggleSideBarHide",!0));return this.activeRoutes(t),t}},beforeMount:function(){window.addEventListener("resize",this.setVisibleNumber)},beforeDestroy:function(){window.removeEventListener("resize",this.setVisibleNumber)},mounted:function(){this.setVisibleNumber()},methods:{setVisibleNumber:function(){var e=document.body.getBoundingClientRect().width/3;this.visibleNumber=parseInt(e/85)},handleSelect:function(e,t){this.currentIndex=e;var n=this.routers.find((function(t){return t.path===e}));this.ishttp(e)?window.open(e,"_blank"):n&&n.children?(this.activeRoutes(e),this.$store.dispatch("app/toggleSideBarHide",!1)):(this.$router.push({path:e}),this.$store.dispatch("app/toggleSideBarHide",!0))},activeRoutes:function(e){var t=[];this.childrenMenus&&this.childrenMenus.length>0&&this.childrenMenus.map((function(n){(e==n.parentPath||"index"==e&&""==n.path)&&t.push(n)})),t.length>0&&this.$store.commit("SET_SIDEBAR_ROUTERS",t)},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},B=M,H=(n("9b5e"),Object(f["a"])(B,D,L,!1,null,null,null)),z=H.exports,U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},V=[],j={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},K=j,$=(n("d49d"),Object(f["a"])(K,U,V,!1,null,"49e15297",null)),F=$.exports,Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},Q=[],X=n("93bf"),q=n.n(X),W={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!q.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;q.a.toggle()},change:function(){this.isFullscreen=q.a.isFullscreen},init:function(){q.a.isEnabled&&q.a.on("change",this.change)},destroy:function(){q.a.isEnabled&&q.a.off("change",this.change)}}},J=W,Z=(n("ad64"),Object(f["a"])(J,Y,Q,!1,null,"243c7c0f",null)),ee=Z.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},ne=[],ae=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),le=ae,ie=Object(f["a"])(le,te,ne,!1,null,null,null),se=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},ce=[],re=n("2909"),ue=n("b85c"),de=(n("841c"),n("0278")),he=n.n(de),fe=n("df7c"),pe=n.n(fe),me={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this,n=e.path;if(this.ishttp(e.path)){var a=n.indexOf("http");window.open(n.substr(a,n.length),"_blank")}else this.$router.push(e.path);this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new he.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=[],i=Object(ue["a"])(e);try{for(i.s();!(t=i.n()).done;){var s=t.value;if(!s.hidden){var o={path:this.ishttp(s.path)?s.path:pe.a.resolve(n,s.path),title:Object(re["a"])(a)};if(s.meta&&s.meta.title&&(o.title=[].concat(Object(re["a"])(o.title),[s.meta.title]),"noRedirect"!==s.redirect&&l.push(o)),s.children){var c=this.generateRoutes(s.children,o.path,o.title);c.length>=1&&(l=[].concat(Object(re["a"])(l),Object(re["a"])(c)))}}}}catch(r){i.e(r)}finally{i.f()}return l},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},_e=me,be=(n("77fa"),Object(f["a"])(_e,oe,ce,!1,null,"55552066",null)),Ee=be.exports,we=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},ve=[],ge={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},Ae=ge,Ie=Object(f["a"])(Ae,we,ve,!1,null,null,null),Ce=Ie.exports,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},Se=[],Oe={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},Te=Oe,xe=Object(f["a"])(Te,ye,Se,!1,null,null,null),Re=xe.exports,Ne={components:{Breadcrumb:k,TopNav:z,Hamburger:F,Screenfull:ee,SizeSelect:se,Search:Ee,RuoYiGit:Ce,RuoYiDoc:Re},computed:Object(o["a"])(Object(o["a"])({},Object(S["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(y["a"])(Object(C["a"])().mark((function t(){return Object(C["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){e.$router.push("/login?redirect=".concat(e.$route.fullPath))}))})).catch((function(){}));case 1:case"end":return t.stop()}}),t)})))()}}},ke=Ne,De=(n("3080"),Object(f["a"])(ke,A,I,!1,null,"0557aae2",null)),Le=De.exports,Pe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawer-container"},[a("div",[a("div",{staticClass:"setting-drawer-content"},[e._m(0),a("div",{staticClass:"setting-drawer-block-checbox"},[a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[a("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[a("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("主题颜色")]),a("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),a("el-divider"),a("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 TopNav")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.topNav,callback:function(t){e.topNav=t},expression:"topNav"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 Tags-Views")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("固定 Header")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("显示 Logo")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("动态标题")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.dynamicTitle,callback:function(t){e.dynamicTitle=t},expression:"dynamicTitle"}})],1),a("el-divider"),a("el-button",{attrs:{size:"small",type:"primary",plain:"",icon:"el-icon-document-add"},on:{click:e.saveSetting}},[e._v("保存配置")]),a("el-button",{attrs:{size:"small",plain:"",icon:"el-icon-refresh"},on:{click:e.resetSetting}},[e._v("重置配置")])],1)])},Ge=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},Be=[],He=(n("fb6a"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("159b"),n("a15b"),n("b680"),n("f6f8").version),ze="#409EFF",Ue={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(y["a"])(Object(C["a"])().mark((function n(){return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.setTheme(e);case 2:case"end":return n.stop()}}),n)})))()}},created:function(){this.defaultTheme!==ze&&this.setTheme(this.defaultTheme)},methods:{setTheme:function(e){var t=this;return Object(y["a"])(Object(C["a"])().mark((function n(){var a,l,i,s,o,c,r;return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.chalk?t.theme:ze,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(l=t.getThemeCluster(e.replace("#","")),i=t.getThemeCluster(a.replace("#","")),s=function(e,n){return function(){var a=t.getThemeCluster(ze.replace("#","")),i=t.updateStyle(t[e],a,l),s=document.getElementById(n);s||(s=document.createElement("style"),s.setAttribute("id",n),document.head.appendChild(s)),s.innerText=i}},t.chalk){n.next=10;break}return o="https://unpkg.com/element-ui@".concat(He,"/lib/theme-chalk/index.css"),n.next=10,t.getCSSString(o,"chalk");case 10:c=s("chalk","chalk-style"),c(),r=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)})),r.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,i,l))})),t.$emit("change",e);case 15:case"end":return n.stop()}}),n)})))()},updateStyle:function(e,t,n){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),n[t])})),a},getCSSString:function(e,t){var n=this;return new Promise((function(a){var l=new XMLHttpRequest;l.onreadystatechange=function(){4===l.readyState&&200===l.status&&(n[t]=l.responseText.replace(/@font-face{[^}]+}/,""),a())},l.open("GET",e),l.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),l=parseInt(e.slice(4,6),16);return 0===t?[n,a,l].join(","):(n+=Math.round(t*(255-n)),a+=Math.round(t*(255-a)),l+=Math.round(t*(255-l)),n=n.toString(16),a=a.toString(16),l=l.toString(16),"#".concat(n).concat(a).concat(l))},n=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),l=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),a=Math.round((1-t)*a),l=Math.round((1-t)*l),n=n.toString(16),a=a.toString(16),l=l.toString(16),"#".concat(n).concat(a).concat(l)},a=[e],l=0;l<=9;l++)a.push(t(e,Number((l/10).toFixed(2))));return a.push(n(e,.1)),a}}},Ve=Ue,je=(n("ea44"),Object(f["a"])(Ve,Me,Be,!1,null,null,null)),Ke=je.exports,$e={components:{ThemePicker:Ke},data:function(){return{theme:this.$store.state.settings.theme,sideTheme:this.$store.state.settings.sideTheme}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"topNav",value:e}),e||(this.$store.dispatch("app/toggleSideBarHide",!1),this.$store.commit("SET_SIDEBAR_ROUTERS",this.$store.state.permission.defaultRoutes))}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}},dynamicTitle:{get:function(){return this.$store.state.settings.dynamicTitle},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"dynamicTitle",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e}),this.theme=e},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e}),this.sideTheme=e},saveSetting:function(){this.$modal.loading("正在保存到本地,请稍候..."),this.$cache.local.set("layout-setting",'{\n "topNav":'.concat(this.topNav,',\n "tagsView":').concat(this.tagsView,',\n "fixedHeader":').concat(this.fixedHeader,',\n "sidebarLogo":').concat(this.sidebarLogo,',\n "dynamicTitle":').concat(this.dynamicTitle,',\n "sideTheme":"').concat(this.sideTheme,'",\n "theme":"').concat(this.theme,'"\n }')),setTimeout(this.$modal.closeLoading(),1e3)},resetSetting:function(){this.$modal.loading("正在清除设置缓存并刷新,请稍候..."),this.$cache.local.remove("layout-setting"),setTimeout("window.location.reload()",1e3)}}},Fe=$e,Ye=(n("15a7"),Object(f["a"])(Fe,Pe,Ge,!1,null,"84da46fe",null)),Qe=Ye.exports,Xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuColor:e.variables.menuLightColor,"unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},qe=[],We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])])],1)],1)},Je=[],Ze=(n("81a5"),n("8df1")),et=n.n(Ze),tt={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return et.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"危化品管理系统",logo:null}}},nt=tt,at=(n("9d13"),Object(f["a"])(nt,We,Je,!1,null,"4afdff8a",null)),lt=at.exports,it=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item,e.item.children)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path,e.onlyOneChild.query)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},st=[],ot=n("61f7"),ct={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,l=n.title,i=[];return a&&i.push(e("svg-icon",{attrs:{"icon-class":a}})),l&&(l.length>5?i.push(e("span",{slot:"title",attrs:{title:l}},[l])):i.push(e("span",{slot:"title"},[l]))),i}},rt=ct,ut=Object(f["a"])(rt,a,l,!1,null,null,null),dt=ut.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ft=[],pt={props:{to:{type:[String,Object],required:!0}},computed:{isExternal:function(){return Object(ot["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},mt=pt,_t=Object(f["a"])(mt,ht,ft,!1,null,null,null),bt=_t.exports,Et={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},wt={name:"SidebarItem",components:{Item:dt,AppLink:bt},mixins:[Et],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n||(n=[]);var a=n.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},e),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e,t){if(Object(ot["a"])(e))return e;if(Object(ot["a"])(this.basePath))return this.basePath;if(t){var n=JSON.parse(t);return{path:pe.a.resolve(this.basePath,e),query:n}}return pe.a.resolve(this.basePath,e)}}},vt=wt,gt=Object(f["a"])(vt,it,st,!1,null,null,null),At=gt.exports,It={components:{SidebarItem:At,Logo:lt},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(S["c"])(["settings"])),Object(S["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return et.a},isCollapse:function(){return!this.sidebar.opened}})},Ct=It,yt=Object(f["a"])(Ct,Xe,qe,!1,null,null,null),St=yt.exports,Ot=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-refresh-right"}),e._v(" 刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-close"}),e._v(" 关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 关闭其他")]),e.isFirstView()?e._e():n("li",{on:{click:e.closeLeftTags}},[n("i",{staticClass:"el-icon-back"}),e._v(" 关闭左侧")]),e.isLastView()?e._e():n("li",{on:{click:e.closeRightTags}},[n("i",{staticClass:"el-icon-right"}),e._v(" 关闭右侧")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 全部关闭")])])],1)},Tt=[],xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},Rt=[],Nt=(n("c740"),4),kt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,l=this.$parent.$refs.tag,i=null,s=null;if(l.length>0&&(i=l[0],s=l[l.length-1]),i===e)a.scrollLeft=0;else if(s===e)a.scrollLeft=a.scrollWidth-n;else{var o=l.findIndex((function(t){return t===e})),c=l[o-1],r=l[o+1],u=r.$el.offsetLeft+r.$el.offsetWidth+Nt,d=c.$el.offsetLeft-Nt;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var l=pe.a.resolve(n,e.path);a.push({fullPath:l,path:l,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var i=t.filterAffixTags(e.children,e.path);i.length>=1&&(a=[].concat(Object(re["a"])(a),Object(re["a"])(i)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ue["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(l){n.e(l)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ue["a"])(t);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(l),l.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(i){a.e(i)}finally{a.f()}}))},refreshSelectedTag:function(e){this.$tab.refreshPage(e)},closeSelectedTag:function(e){var t=this;this.$tab.closePage(e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeRightTags:function(){var e=this;this.$tab.closeRightPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeLeftTags:function(){var e=this;this.$tab.closeLeftPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$tab.closeOtherPage(this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$tab.closeAllPage().then((function(n){var a=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,l=this.$el.offsetWidth,i=l-n,s=t.clientX-a+15;this.left=s>i?i:s,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Mt=Gt,Bt=(n("b181"),n("5af3"),Object(f["a"])(Mt,Ot,Tt,!1,null,"2b263a01",null)),Ht=Bt.exports,zt=n("4360"),Ut=document,Vt=Ut.body,jt=992,Kt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(zt["a"].dispatch("app/toggleDevice","mobile"),zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Vt.getBoundingClientRect();return e.width-1'});s.a.add(o);t["default"]=o},c38a:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return _}));var a=n("c7eb"),l=n("1da1"),i=n("b85c"),s=n("53ca");n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("d3b7"),n("b64b"),n("a15b"),n("1276");function o(e,t){if(0===arguments.length||!e)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(s["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/").replace("T"," ").replace(new RegExp(/\.[\d]{3}/gm),"")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var l={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},i=a.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=l[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return i}function c(e){this.$refs[e]&&this.$refs[e].resetFields()}function r(e,t,n){var a=e;return a.params="object"!==Object(s["a"])(a.params)||null===a.params||Array.isArray(a.params)?{}:a.params,t=Array.isArray(t)?t:[],"undefined"===typeof n?(a.params["beginTime"]=t[0],a.params["endTime"]=t[1]):(a.params["begin"+n]=t[0],a.params["end"+n]=t[1]),a}function u(e,t){if(void 0===t)return"";var n=[];return Object.keys(e).some((function(a){if(e[a].value==""+t)return n.push(e[a].label),!0})),0===n.length&&n.push(t),n.join("")}function d(e,t,n){if(void 0===t)return"";var a=[],l=void 0===n?",":n,i=t.split(l);return Object.keys(t.split(l)).some((function(t){var n=!1;Object.keys(e).some((function(s){e[s].value==""+i[t]&&(a.push(e[s].label+l),n=!0)})),n||a.push(i[t]+l)})),a.join("").substring(0,a.join("").length-1)}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function f(e,t){for(var n in t)try{t[n].constructor==Object?e[n]=f(e[n],t[n]):e[n]=t[n]}catch(a){e[n]=t[n]}return e}function p(e,t,n,a){var l,s={id:t||"id",parentId:n||"parentId",childrenList:a||"children"},o={},c={},r=[],u=Object(i["a"])(e);try{for(u.s();!(l=u.n()).done;){var d=l.value,h=d[s.parentId];null==o[h]&&(o[h]=[]),c[d[s.id]]=d,o[h].push(d)}}catch(g){u.e(g)}finally{u.f()}var f,p=Object(i["a"])(e);try{for(p.s();!(f=p.n()).done;){var m=f.value,_=m[s.parentId];null==c[_]&&r.push(m)}}catch(g){p.e(g)}finally{p.f()}for(var b=0,E=r;b'});s.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d08d:function(e,t,n){"use strict";n("f0ee")},d20b:function(e,t,n){"use strict";n("b7b5")},d464:function(e,t,n){},d49d:function(e,t,n){"use strict";n("da64")},d7a0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},d8c8:function(e,t,n){"use strict";n("db55")},da64:function(e,t,n){},da75:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},db55:function(e,t,n){},dc13:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dce4:function(e,t,n){"use strict";n("d3b7");var a=n("4360");function l(e){var t="*:*:*",n=a["a"].getters&&a["a"].getters.permissions;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}function i(e){var t="admin",n=a["a"].getters&&a["a"].getters.roles;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}t["a"]={hasPermi:function(e){return l(e)},hasPermiOr:function(e){return e.some((function(e){return l(e)}))},hasPermiAnd:function(e){return e.every((function(e){return l(e)}))},hasRole:function(e){return i(e)},hasRoleOr:function(e){return e.some((function(e){return i(e)}))},hasRoleAnd:function(e){return e.every((function(e){return i(e)}))}}},df36:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},e218:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},e2a5:function(e,t,n){},e3ff:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e82a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},ea44:function(e,t,n){"use strict";n("a543")},ed00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return d}));n("53ca"),n("ac1f"),n("5319"),n("a15b"),n("d81d"),n("b64b"),n("d3b7"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("6062"),n("ddb0"),n("25f0"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("00b4"),n("c38a");function a(e,t,n){var a,l,i,s,o,c=function c(){var r=+new Date-s;r0?a=setTimeout(c,t-r):(a=null,n||(o=e.apply(i,l),a||(i=l=null)))};return function(){for(var l=arguments.length,r=new Array(l),u=0;u'});s.a.add(o);t["default"]=o},f29d:function(e,t,n){},f71f:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"02b8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0400":function(e,t,n){},"04ad":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});s.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"07f8":function(e,t,n){},"0a7d":function(e,t,n){"use strict";n("78b5")},"0b37":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},1:function(e,t){},1147:function(e,t,n){},"15a7":function(e,t,n){"use strict";n("e2a5")},"15e8":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"198d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"1d71":function(e,t,n){},"1e13":function(e,t,n){"use strict";n("f29d")},"20e7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"23f1":function(e,t,n){var a={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis-list.svg":"badf","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function l(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}l.keys=function(){return Object.keys(a)},l.resolve=i,e.exports=l,l.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},2723:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"2ba1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(o);t["default"]=o},"2ddf":function(e,t,n){},"2fb0":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},3080:function(e,t,n){"use strict";n("a0bf")},"33ae":function(e,t,n){},3561:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"396c":function(e,t,n){"use strict";n("a873")},"39e1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"3d22":function(e,t,n){"use strict";n("1d71")},"3da7":function(e){e.exports=JSON.parse('{"CLASSIFICATION_REPORT_QUERY":{"id":"CLASSIFICATION_REPORT_QUERY","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE":{"id":"DICT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"字典管理","sort":6,"alwaysShow":false,"name":"Dict","path":"dict","component":"system/dict/index","isBtn":false,"redirect":null,"meta":{"title":"字典管理","icon":"dict","noCache":false,"link":null},"btn":false},"IN_CHECK":{"id":"IN_CHECK","_parentId":"-1","label":"进口属地查验","sort":8,"alwaysShow":true,"name":"CheckInInfo","path":"/checkInInfo","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"进口属地查验","icon":"checkbox","noCache":false,"link":null},"btn":false},"ONLINE_USER_QUERY":{"id":"ONLINE_USER_QUERY","_parentId":"ONLINE_USER","label":"在线查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_DELETE":{"id":"ORGANIC_PEROXIDE_DELETE","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO":{"id":"CHECK_EA_INFO","_parentId":"RESERVATION_MANAGE","label":"出口电子底账","sort":2,"alwaysShow":false,"name":"CheckEaInfo","path":"checkEaInfo","component":"business/checkEaInfo/index","isBtn":false,"redirect":null,"meta":{"title":"出口电子底账","icon":"#","noCache":false,"link":null},"btn":false},"IN_CHECK_QUERY_UPDATE":{"id":"IN_CHECK_QUERY_UPDATE","_parentId":"IN_CHECK_QUERY","label":"报关单数据更新","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOG_MANAGE":{"id":"LOG_MANAGE","_parentId":"SYSTEM_MANAGE","label":"日志管理","sort":9,"alwaysShow":true,"name":"Log","path":"/log","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"日志管理","icon":"log","noCache":false,"link":null},"btn":false},"CHECK_PA_INFO":{"id":"CHECK_PA_INFO","_parentId":"RESERVATION_MANAGE","label":"出口包装检验","sort":3,"alwaysShow":false,"name":"CheckPaInfo","path":"checkPaInfo","component":"business/checkPaInfo/index","isBtn":false,"redirect":null,"meta":{"title":"出口包装检验","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE_DELETE":{"id":"DEPT_MANAGE_DELETE","_parentId":"DEPT_MANAGE","label":"部门删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_IMPORT":{"id":"FORM_BUILD_IMPORT","_parentId":"FORM_BUILD","label":"导入代码","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_DELETE":{"id":"ICON_MULTIPLE_INNER_DELETE","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_ADD":{"id":"ROLE_MANAGE_ADD","_parentId":"ROLE_MANAGE","label":"角色新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_IMPORT":{"id":"USER_MANAGE_IMPORT","_parentId":"USER_MANAGE","label":"用户导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_ADD":{"id":"USER_MANAGE_ADD","_parentId":"USER_MANAGE","label":"用户新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_DETAIL":{"id":"SHIP_DANGER_CHEMICAL_DETAIL","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_EXPORT":{"id":"SHIP_PACKAGE_GUIDE_EXPORT","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP":{"id":"CHECK_RULE_GROUP","_parentId":"CHECK_RULE_MANAGE","label":"校验规则组","sort":1,"alwaysShow":false,"name":"RuleGroup","path":"ruleGroup","component":"business/ruleGroup/index","isBtn":false,"redirect":null,"meta":{"title":"校验规则组","icon":"#","noCache":false,"link":null},"btn":false},"FORM_BUILD_GENERATE":{"id":"FORM_BUILD_GENERATE","_parentId":"FORM_BUILD","label":"生成代码","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_EXPORT":{"id":"POST_MANAGE_EXPORT","_parentId":"POST_MANAGE","label":"岗位导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_OCR":{"id":"DANGER_TYPE_IDENTITY_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险特性分类鉴别报告ocr识别结果","sort":10,"alwaysShow":false,"name":"DangerTypeIdentityOcr","path":"dangerTypeIdentityOcr","component":"business/dangerTypeIdentityOcr/index","isBtn":false,"redirect":null,"meta":{"title":"危险特性分类鉴别报告ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"MENU_MANAGE_QUERY":{"id":"MENU_MANAGE_QUERY","_parentId":"MENU_MANAGE","label":"菜单查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG":{"id":"PARAM_CONFIG","_parentId":"SYSTEM_MANAGE","label":"参数设置","sort":7,"alwaysShow":false,"name":"Config","path":"config","component":"system/config/index","isBtn":false,"redirect":null,"meta":{"title":"参数设置","icon":"edit","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS_ADD":{"id":"AIR_DANGER_GOODS_ADD","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_IMPORT":{"id":"SHIP_DANGER_GOODS_IMPORT","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DEPT_MANAGE_ADD":{"id":"DEPT_MANAGE_ADD","_parentId":"DEPT_MANAGE","label":"部门新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE":{"id":"CHECK_RULE","_parentId":"CHECK_RULE_MANAGE","label":"校验规则","sort":1,"alwaysShow":false,"name":"CheckRule","path":"checkRule","component":"business/checkRule/index","isBtn":false,"redirect":null,"meta":{"title":"校验规则","icon":"#","noCache":false,"link":null},"btn":false},"DANGER_TYPE_IDENTITY_OCR_UPDATE":{"id":"DANGER_TYPE_IDENTITY_OCR_UPDATE","_parentId":"DANGER_TYPE_IDENTITY_OCR","label":"危险特性分类鉴别报告ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_UPDATE":{"id":"CHECK_RULE_UPDATE","_parentId":"CHECK_RULE","label":"校验规则修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_DETAIL":{"id":"PACKAGE_BASE_DETAIL","_parentId":"PACKAGE_BASE","label":"固体液体数据详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_RECHECK":{"id":"CHECK_IN_INFO_RECHECK","_parentId":"CHECK_IN_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER":{"id":"ICON_MULTIPLE_INNER","_parentId":"GUIDELINE_DATA","label":"空运综合内包装","sort":6,"alwaysShow":false,"name":"IconMultipleInner","path":"iconMultipleInner","component":"business/iconMultipleInner/index","isBtn":false,"redirect":null,"meta":{"title":"空运综合内包装","icon":"#","noCache":false,"link":null},"btn":false},"ICON_GAS_DELETE":{"id":"ICON_GAS_DELETE","_parentId":"ICON_GAS","label":"空运危规气体数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_EXPORT":{"id":"USER_MANAGE_EXPORT","_parentId":"USER_MANAGE","label":"用户导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SYSTEM_MANAGE":{"id":"SYSTEM_MANAGE","_parentId":"-1","label":"系统管理","sort":1,"alwaysShow":true,"name":"System","path":"/system","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统管理","icon":"system","noCache":false,"link":null},"btn":false},"CHECK__DATA_EXPORT":{"id":"CHECK__DATA_EXPORT","_parentId":"CHECK__DATA","label":"校验数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_RECHECK":{"id":"CHECK_PA_INFO_RECHECK","_parentId":"CHECK_PA_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG__QUERY":{"id":"ACTION_LOG__QUERY","_parentId":"ACTION_LOG","label":"操作查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_UPDATE":{"id":"ICON_SPECIAL_INNER_UPDATE","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"IN_CHECK_QUERY":{"id":"IN_CHECK_QUERY","_parentId":"IN_CHECK","label":"审单结果查询","sort":0,"alwaysShow":false,"name":"ReviewResult","path":"reviewResult","component":"business/checkInInfo/reviewResult","isBtn":false,"redirect":null,"meta":{"title":"审单结果查询","icon":"#","noCache":false,"link":null},"btn":false},"PACK_PERFORMANCE":{"id":"PACK_PERFORMANCE","_parentId":"DANGEROUS_GOODS_MANAGE","label":"性能单数据","sort":8,"alwaysShow":false,"name":"PackPerformance","path":"packPerformance","component":"business/packPerformance/index","isBtn":false,"redirect":null,"meta":{"title":"性能单数据","icon":"#","noCache":false,"link":null},"btn":false},"CHECK__DATA_QUERY":{"id":"CHECK__DATA_QUERY","_parentId":"CHECK__DATA","label":"校验数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_QUERY":{"id":"SHIP_DANGER_CHEMICAL_QUERY","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_UPDATE":{"id":"ICON_GAS_UPDATE","_parentId":"ICON_GAS","label":"空运危规气体数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_EXPORT":{"id":"CIQ_DANGER_GOODS_EXPORT","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_EXPORT":{"id":"CHECK_EA_INFO_EXPORT","_parentId":"CHECK_EA_INFO","label":"电子底账导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG__DELETE":{"id":"LOGIN_LOG__DELETE","_parentId":"LOGIN_LOG","label":"登录删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG_EXPORT":{"id":"ACTION_LOG_EXPORT","_parentId":"ACTION_LOG","label":"日志导出","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_UPDATE":{"id":"GAS_BASE_UPDATE","_parentId":"GAS_BASE","label":"气体基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE":{"id":"SPECIAL_RULE","_parentId":"GUIDELINE_DATA","label":"海运特殊规定","sort":4,"alwaysShow":false,"name":"SpecialRule","path":"specialRule","component":"business/specialRule/index","isBtn":false,"redirect":null,"meta":{"title":"海运特殊规定","icon":"#","noCache":false,"link":null},"btn":false},"DATA_MONITOR":{"id":"DATA_MONITOR","_parentId":"SYSTEM_MONITOR","label":"数据监控","sort":3,"alwaysShow":false,"name":"Druid","path":"druid","component":"monitor/druid/index","isBtn":false,"redirect":null,"meta":{"title":"数据监控","icon":"druid","noCache":false,"link":null},"btn":false},"TDG_LABEL_OCR":{"id":"TDG_LABEL_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险性标签ocr识别结果","sort":6,"alwaysShow":false,"name":"TdgLabel","path":"tdgLabel","component":"business/tdgLabel/index","isBtn":false,"redirect":null,"meta":{"title":"危险性标签ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"GAS_BASE_EXPORT":{"id":"GAS_BASE_EXPORT","_parentId":"GAS_BASE","label":"气体基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_IMPORT":{"id":"DANGER_TYPE_IDENTITY_IMPORT","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_EXPORT":{"id":"SHIP_DANGER_GOODS_EXPORT","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_DELETE":{"id":"ROLE_MANAGE_DELETE","_parentId":"ROLE_MANAGE","label":"角色删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_UPDATE":{"id":"CIQ_DANGER_GOODS_UPDATE","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_DETAIL":{"id":"CHECK_EA_INFO_DETAIL","_parentId":"CHECK_EA_INFO","label":"电子底账详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_DETAIL":{"id":"SHIP_DANGER_GOODS_DETAIL","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE":{"id":"GAS_BASE","_parentId":"GUIDELINE_DATA","label":"海运气体数据","sort":2,"alwaysShow":false,"name":"GasBase","path":"gasBase","component":"business/gasBase/index","isBtn":false,"redirect":null,"meta":{"title":"海运气体数据","icon":"#","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS":{"id":"AIR_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"空运危险货物","sort":6,"alwaysShow":false,"name":"IcaoGoods","path":"icaoGoods","component":"business/icaoGoods/index","isBtn":false,"redirect":null,"meta":{"title":"空运危险货物","icon":"#","noCache":false,"link":null},"btn":false},"ICON_GAS_EXPORT":{"id":"ICON_GAS_EXPORT","_parentId":"ICON_GAS","label":"空运危规气体数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_UPDATE":{"id":"CHECK__DATA_UPDATE","_parentId":"CHECK__DATA","label":"校验数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_ADD":{"id":"ORGANIC_PEROXIDE_ADD","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_EXPORT":{"id":"ICON_SPECIAL_INNER_EXPORT","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_DELETE":{"id":"CHECK_RULE_DELETE","_parentId":"CHECK_RULE","label":"校验规则删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_ADD":{"id":"CHECK_RULE_GROUP_ADD","_parentId":"CHECK_RULE_GROUP","label":"校验规则组新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_EXPORT":{"id":"AIR_PACKAGE_GUIDE_EXPORT","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_RESULT":{"id":"CHECK_IN_INFO_RESULT","_parentId":"CHECK_IN_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE":{"id":"USER_MANAGE","_parentId":"SYSTEM_MANAGE","label":"用户管理","sort":1,"alwaysShow":false,"name":"User","path":"user","component":"system/user/index","isBtn":false,"redirect":null,"meta":{"title":"用户管理","icon":"user","noCache":false,"link":null},"btn":false},"LOGIN_LOG_EXPORT":{"id":"LOGIN_LOG_EXPORT","_parentId":"LOGIN_LOG","label":"日志导出","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_QUERY":{"id":"ICON_GAS_QUERY","_parentId":"ICON_GAS","label":"空运危规气体数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_DELETE":{"id":"ICON_INOUT_PACKAGE_DELETE","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_QUERY":{"id":"PARAM_CONFIG_QUERY","_parentId":"PARAM_CONFIG","label":"参数查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_QUERY":{"id":"ICON_MULTIPLE_INNER_QUERY","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_DELETE":{"id":"PACKAGE_BASE_DELETE","_parentId":"PACKAGE_BASE","label":"固体液体数据管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_EXPORT":{"id":"DANGER_TYPE_IDENTITY_EXPORT","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_UPDATE":{"id":"ICON_MULTIPLE_INNER_UPDATE","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_QUERY":{"id":"AIR_DANGER_GOODS_QUERY","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DEPT_MANAGE_UPDATE":{"id":"DEPT_MANAGE_UPDATE","_parentId":"DEPT_MANAGE","label":"部门修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_ADD":{"id":"PACKAGE_BASE_ADD","_parentId":"PACKAGE_BASE","label":"固体液体数据管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ACTION_LOG__DELETE":{"id":"ACTION_LOG__DELETE","_parentId":"ACTION_LOG","label":"操作删除","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ONLINE_USER_ONE_EXIT":{"id":"ONLINE_USER_ONE_EXIT","_parentId":"ONLINE_USER","label":"单条强退","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG":{"id":"LOGIN_LOG","_parentId":"LOG_MANAGE","label":"登录日志","sort":2,"alwaysShow":false,"name":"Logininfor","path":"logininfor","component":"monitor/logininfor/index","isBtn":false,"redirect":null,"meta":{"title":"登录日志","icon":"logininfor","noCache":false,"link":null},"btn":false},"GUIDELINE_MANAGE":{"id":"GUIDELINE_MANAGE","_parentId":"-1","label":"包装导则管理","sort":6,"alwaysShow":true,"name":"Package","path":"/package","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"包装导则管理","icon":"lock","noCache":false,"link":null},"btn":false},"PACK_PERFORMANCE_UPDATE":{"id":"PACK_PERFORMANCE_UPDATE","_parentId":"PACK_PERFORMANCE","label":"性能单数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_PREVIEW":{"id":"CHECK_IN_INFO_PREVIEW","_parentId":"CHECK_IN_INFO","label":"文件预览","sort":9,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_UPDATE":{"id":"POST_MANAGE_UPDATE","_parentId":"POST_MANAGE","label":"岗位修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_ADD":{"id":"DANGER_TYPE_IDENTITY_ADD","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY":{"id":"DANGER_TYPE_IDENTITY","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危化品危险特性分类鉴别检测信息","sort":5,"alwaysShow":false,"name":"DangerTypeIdentity","path":"dangerTypeIdentity","component":"business/dangerTypeIdentity/index","isBtn":false,"redirect":null,"meta":{"title":"危化品危险特性分类鉴别检测信息","icon":"#","noCache":false,"link":null},"btn":false},"ICON_INOUT_PACKAGE_ADD":{"id":"ICON_INOUT_PACKAGE_ADD","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_ADD":{"id":"CLASSIFICATION_REPORT_ADD","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER":{"id":"ICON_SPECIAL_INNER","_parentId":"GUIDELINE_DATA","label":"空运特殊内包装","sort":7,"alwaysShow":false,"name":"IconSpecialInner","path":"iconSpecialInner","component":"business/iconSpecialInner/index","isBtn":false,"redirect":null,"meta":{"title":"空运特殊内包装","icon":"#","noCache":false,"link":null},"btn":false},"SYSTEM_MONITOR":{"id":"SYSTEM_MONITOR","_parentId":"-1","label":"系统监控","sort":2,"alwaysShow":true,"name":"Monitor","path":"/monitor","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统监控","icon":"monitor","noCache":false,"link":null},"btn":false},"CHECK__DATA_IMPORT":{"id":"CHECK__DATA_IMPORT","_parentId":"CHECK__DATA","label":"校验数据导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"LOGIN_LOG__QUERY":{"id":"LOGIN_LOG__QUERY","_parentId":"LOGIN_LOG","label":"登录查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_ADD":{"id":"SPECIAL_RULE_ADD","_parentId":"SPECIAL_RULE","label":"特殊规定管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE":{"id":"PACKAGE_BASE","_parentId":"GUIDELINE_DATA","label":"海运固/液体数据","sort":1,"alwaysShow":false,"name":"PackageBase","path":"packageBase","component":"business/packageBase/index","isBtn":false,"redirect":null,"meta":{"title":"海运固/液体数据","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE":{"id":"DEPT_MANAGE","_parentId":"SYSTEM_MANAGE","label":"部门管理","sort":4,"alwaysShow":false,"name":"Dept","path":"dept","component":"system/dept/index","isBtn":false,"redirect":null,"meta":{"title":"部门管理","icon":"tree","noCache":false,"link":null},"btn":false},"ACTION_LOG":{"id":"ACTION_LOG","_parentId":"LOG_MANAGE","label":"操作日志","sort":1,"alwaysShow":false,"name":"Operlog","path":"operlog","component":"monitor/operlog/index","isBtn":false,"redirect":null,"meta":{"title":"操作日志","icon":"form","noCache":false,"link":null},"btn":false},"AIR_PACKAGE_GUIDE_UPDATE":{"id":"AIR_PACKAGE_GUIDE_UPDATE","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_QUERY":{"id":"NOTICE_MANAGE_QUERY","_parentId":"NOTICE_MANAGE","label":"公告查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_UPDATE":{"id":"SHIP_DANGER_CHEMICAL_UPDATE","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_UPDATE":{"id":"MENU_MANAGE_UPDATE","_parentId":"MENU_MANAGE","label":"菜单修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_IMPORT":{"id":"SHIP_DANGER_CHEMICAL_IMPORT","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录导入","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_UPDATE":{"id":"CLASSIFICATION_REPORT_UPDATE","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_IMPORT":{"id":"CLASSIFICATION_REPORT_IMPORT","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定导入","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_PREVIEW":{"id":"FORM_BUILD_PREVIEW","_parentId":"FORM_BUILD","label":"预览代码","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_CHECK":{"id":"CHECK__DATA_CHECK","_parentId":"CHECK__DATA","label":"校验数据校验","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_ADD":{"id":"ICON_SPECIAL_INNER_ADD","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_DETAIL":{"id":"SPECIAL_RULE_DETAIL","_parentId":"SPECIAL_RULE","label":"特殊规定管理详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_QUERY":{"id":"PACKAGE_BASE_QUERY","_parentId":"PACKAGE_BASE","label":"固体液体数据管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_UPDATE":{"id":"SPECIAL_RULE_UPDATE","_parentId":"SPECIAL_RULE","label":"特殊规定管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_EXPORT":{"id":"CHECK_PA_INFO_EXPORT","_parentId":"CHECK_PA_INFO","label":"包装类型导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_QUERY":{"id":"CHECK_RULE_QUERY","_parentId":"CHECK_RULE","label":"校验规则查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_DETAIL":{"id":"CLASSIFICATION_REPORT_DETAIL","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定详情","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE":{"id":"ICON_INOUT_PACKAGE","_parentId":"GUIDELINE_DATA","label":"空运普通包装","sort":5,"alwaysShow":false,"name":"IconInoutPackage","path":"iconInoutPackage","component":"business/iconInoutPackage/index","isBtn":false,"redirect":null,"meta":{"title":"空运普通包装","icon":"#","noCache":false,"link":null},"btn":false},"POST_MANAGE_ADD":{"id":"POST_MANAGE_ADD","_parentId":"POST_MANAGE","label":"岗位新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO":{"id":"CHECK_IN_INFO","_parentId":"RESERVATION_MANAGE","label":"进口属地查检","sort":1,"alwaysShow":false,"name":"CheckInInfo","path":"checkInInfo","component":"business/checkInInfo/index","isBtn":false,"redirect":null,"meta":{"title":"进口属地查检","icon":"#","noCache":false,"link":null},"btn":false},"DEPT_MANAGE_QUERY":{"id":"DEPT_MANAGE_QUERY","_parentId":"DEPT_MANAGE","label":"部门查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_UPDATE":{"id":"NOTICE_MANAGE_UPDATE","_parentId":"NOTICE_MANAGE","label":"公告修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL":{"id":"SHIP_DANGER_CHEMICAL","_parentId":"DANGEROUS_GOODS_MANAGE","label":"海运危险化学品","sort":2,"alwaysShow":false,"name":"Catalogue","path":"catalogue","component":"business/catalogue/index","isBtn":false,"redirect":null,"meta":{"title":"海运危险化学品","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_GOODS":{"id":"SHIP_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"海运危险货物","sort":1,"alwaysShow":false,"name":"Goods","path":"goods","component":"business/goods/index","isBtn":false,"redirect":null,"meta":{"title":"海运危险货物","icon":"#","noCache":false,"link":null},"btn":false},"PARAM_CONFIG_EXPORT":{"id":"PARAM_CONFIG_EXPORT","_parentId":"PARAM_CONFIG","label":"参数导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_QUERY":{"id":"AIR_PACKAGE_GUIDE_QUERY","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_CHEMICAL_EXPORT":{"id":"SHIP_DANGER_CHEMICAL_EXPORT","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_UPDATE":{"id":"PARAM_CONFIG_UPDATE","_parentId":"PARAM_CONFIG","label":"参数修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_QUERY":{"id":"CHECK_PA_INFO_QUERY","_parentId":"CHECK_PA_INFO","label":"包装类型查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_IMPORT":{"id":"AIR_DANGER_GOODS_IMPORT","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物导入","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT_EXPORT":{"id":"CLASSIFICATION_REPORT_EXPORT","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE":{"id":"ORGANIC_PEROXIDE","_parentId":"GUIDELINE_DATA","label":"海运有机过氧化物","sort":3,"alwaysShow":false,"name":"OrganicPeroxide","path":"organicPeroxide","component":"business/organicPeroxide/index","isBtn":false,"redirect":null,"meta":{"title":"海运有机过氧化物","icon":"#","noCache":false,"link":null},"btn":false},"AIR_PACKAGE_GUIDE_ADD":{"id":"AIR_PACKAGE_GUIDE_ADD","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SPECIAL_RULE_EXPORT":{"id":"SPECIAL_RULE_EXPORT","_parentId":"SPECIAL_RULE","label":"特殊规定管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GHS_LABEL_OCR":{"id":"GHS_LABEL_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险公示标签ocr识别结果","sort":9,"alwaysShow":false,"name":"GhsLabel","path":"ghsLabel","component":"business/ghsLabel/index","isBtn":false,"redirect":null,"meta":{"title":"危险公示标签ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"CHECK__DATA_RESULT":{"id":"CHECK__DATA_RESULT","_parentId":"CHECK__DATA","label":"校验数据校验结果","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_QUERY":{"id":"ROLE_MANAGE_QUERY","_parentId":"ROLE_MANAGE","label":"角色查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_OCR_DOWNLOAD":{"id":"DANGER_TYPE_IDENTITY_OCR_DOWNLOAD","_parentId":"DANGER_TYPE_IDENTITY_OCR","label":"下载Ocr随附文件","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_DETAIL":{"id":"CHECK_PA_INFO_DETAIL","_parentId":"CHECK_PA_INFO","label":"包装类型详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_DELETE":{"id":"USER_MANAGE_DELETE","_parentId":"USER_MANAGE","label":"用户删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"RESERVATION_MANAGE":{"id":"RESERVATION_MANAGE","_parentId":"-1","label":"查验预约管理","sort":7,"alwaysShow":true,"name":"CheckInfo","path":"/checkInfo","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"查验预约管理","icon":"checkbox","noCache":false,"link":null},"btn":false},"SPECIAL_RULE_QUERY":{"id":"SPECIAL_RULE_QUERY","_parentId":"SPECIAL_RULE","label":"特殊规定管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_DELETE":{"id":"CHECK_RULE_GROUP_DELETE","_parentId":"CHECK_RULE_GROUP","label":"校验规则组删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_MANAGE":{"id":"CHECK_RULE_MANAGE","_parentId":"-1","label":"校验规则管理","sort":4,"alwaysShow":true,"name":"CheckRule","path":"/checkRule","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"校验规则管理","icon":"excel","noCache":false,"link":null},"btn":false},"CIQ_DANGER_GOODS_QUERY":{"id":"CIQ_DANGER_GOODS_QUERY","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_DELETE":{"id":"FORM_BUILD_DELETE","_parentId":"FORM_BUILD","label":"生成删除","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_ADD":{"id":"SHIP_DANGER_GOODS_ADD","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_DELETE":{"id":"CIQ_DANGER_GOODS_DELETE","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_QUERY":{"id":"ICON_INOUT_PACKAGE_QUERY","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_DELETE":{"id":"NOTICE_MANAGE_DELETE","_parentId":"NOTICE_MANAGE","label":"公告删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_QUERY":{"id":"SHIP_PACKAGE_GUIDE_QUERY","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CODE_GENERATION":{"id":"CODE_GENERATION","_parentId":"SYSTEM_TOOL","label":"代码生成","sort":2,"alwaysShow":false,"name":"Gen","path":"gen","component":"tool/gen/index","isBtn":false,"redirect":null,"meta":{"title":"代码生成","icon":"code","noCache":false,"link":null},"btn":false},"SPECIAL_RULE_DELETE":{"id":"SPECIAL_RULE_DELETE","_parentId":"SPECIAL_RULE","label":"特殊规定管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE":{"id":"POST_MANAGE","_parentId":"SYSTEM_MANAGE","label":"岗位管理","sort":5,"alwaysShow":false,"name":"Post","path":"post","component":"system/post/index","isBtn":false,"redirect":null,"meta":{"title":"岗位管理","icon":"post","noCache":false,"link":null},"btn":false},"GAS_BASE_DELETE":{"id":"GAS_BASE_DELETE","_parentId":"GAS_BASE","label":"气体基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_UPDATE":{"id":"DICT_MANAGE_UPDATE","_parentId":"DICT_MANAGE","label":"字典修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_GAS_ADD":{"id":"ICON_GAS_ADD","_parentId":"ICON_GAS","label":"空运危规气体数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PACKAGE_BASE_UPDATE":{"id":"PACKAGE_BASE_UPDATE","_parentId":"PACKAGE_BASE","label":"固体液体数据管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_DELETE":{"id":"SHIP_DANGER_GOODS_DELETE","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_DANGER_GOODS_UPDATE":{"id":"AIR_DANGER_GOODS_UPDATE","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_QUERY":{"id":"DICT_MANAGE_QUERY","_parentId":"DICT_MANAGE","label":"字典查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_UPDATE":{"id":"ICON_INOUT_PACKAGE_UPDATE","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE":{"id":"ROLE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"角色管理","sort":2,"alwaysShow":false,"name":"Role","path":"role","component":"system/role/index","isBtn":false,"redirect":null,"meta":{"title":"角色管理","icon":"peoples","noCache":false,"link":null},"btn":false},"ICON_SPECIAL_INNER_DELETE":{"id":"ICON_SPECIAL_INNER_DELETE","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CACHE_MONITOR":{"id":"CACHE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"缓存监控","sort":5,"alwaysShow":false,"name":"Cache","path":"cache","component":"monitor/cache/index","isBtn":false,"redirect":null,"meta":{"title":"缓存监控","icon":"redis","noCache":false,"link":null},"btn":false},"SYSTEM_TOOL":{"id":"SYSTEM_TOOL","_parentId":"-1","label":"系统工具","sort":3,"alwaysShow":true,"name":"Tool","path":"/tool","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"系统工具","icon":"tool","noCache":false,"link":null},"btn":false},"CACHE_LIST":{"id":"CACHE_LIST","_parentId":"SYSTEM_MONITOR","label":"缓存列表","sort":6,"alwaysShow":false,"name":"CacheList","path":"cacheList","component":"monitor/cache/list","isBtn":false,"redirect":null,"meta":{"title":"缓存列表","icon":"redis-list","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_DELETE":{"id":"SHIP_PACKAGE_GUIDE_DELETE","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GUIDELINE_DATA":{"id":"GUIDELINE_DATA","_parentId":"-1","label":"导则基础数据","sort":5,"alwaysShow":true,"name":"BaseData","path":"/baseData","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"导则基础数据","icon":"build","noCache":false,"link":null},"btn":false},"ONLINE_USER_BATCH_EXIT":{"id":"ONLINE_USER_BATCH_EXIT","_parentId":"ONLINE_USER","label":"批量强退","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE":{"id":"NOTICE_MANAGE","_parentId":"SYSTEM_MANAGE","label":"通知公告","sort":8,"alwaysShow":false,"name":"Notice","path":"notice","component":"system/notice/index","isBtn":false,"redirect":null,"meta":{"title":"通知公告","icon":"message","noCache":false,"link":null},"btn":false},"ICON_GAS":{"id":"ICON_GAS","_parentId":"GUIDELINE_DATA","label":"空运气体数据","sort":8,"alwaysShow":false,"name":"IconGas","path":"iconGas","component":"business/iconGas/index","isBtn":false,"redirect":null,"meta":{"title":"空运气体数据","icon":"#","noCache":false,"link":null},"btn":false},"CHECK_RULE_GROUP_QUERY":{"id":"CHECK_RULE_GROUP_QUERY","_parentId":"CHECK_RULE_GROUP","label":"校验规则组查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_EXPORT":{"id":"ROLE_MANAGE_EXPORT","_parentId":"ROLE_MANAGE","label":"角色导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_UPDATE":{"id":"DANGER_TYPE_IDENTITY_UPDATE","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_QUERY":{"id":"GAS_BASE_QUERY","_parentId":"GAS_BASE","label":"气体基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_INOUT_PACKAGE_EXPORT":{"id":"ICON_INOUT_PACKAGE_EXPORT","_parentId":"ICON_INOUT_PACKAGE","label":"空运危规普通包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_DELETE":{"id":"DANGER_TYPE_IDENTITY_DELETE","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CLASSIFICATION_REPORT":{"id":"CLASSIFICATION_REPORT","_parentId":"DANGEROUS_GOODS_MANAGE","label":"危险品分类鉴定数据","sort":3,"alwaysShow":false,"name":"Identify","path":"identify","component":"business/identify/index","isBtn":false,"redirect":null,"meta":{"title":"危险品分类鉴定数据","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_CHEMICAL_ADD":{"id":"SHIP_DANGER_CHEMICAL_ADD","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_EXPORT":{"id":"DICT_MANAGE_EXPORT","_parentId":"DICT_MANAGE","label":"字典导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_ADD":{"id":"PARAM_CONFIG_ADD","_parentId":"PARAM_CONFIG","label":"参数新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_PA_INFO_RESULT":{"id":"CHECK_PA_INFO_RESULT","_parentId":"CHECK_PA_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD":{"id":"FORM_BUILD","_parentId":"SYSTEM_TOOL","label":"表单构建","sort":1,"alwaysShow":false,"name":"Build","path":"build","component":"tool/build/index","isBtn":false,"redirect":null,"meta":{"title":"表单构建","icon":"build","noCache":false,"link":null},"btn":false},"DICT_MANAGE_DELETE":{"id":"DICT_MANAGE_DELETE","_parentId":"DICT_MANAGE","label":"字典删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_MULTIPLE_INNER_EXPORT":{"id":"ICON_MULTIPLE_INNER_EXPORT","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_ADD":{"id":"GAS_BASE_ADD","_parentId":"GAS_BASE","label":"气体基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"TDG_LABEL_OCR_UPDATE":{"id":"TDG_LABEL_OCR_UPDATE","_parentId":"TDG_LABEL_OCR","label":"危险性标签ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DICT_MANAGE_ADD":{"id":"DICT_MANAGE_ADD","_parentId":"DICT_MANAGE","label":"字典新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"TEST11":{"id":"TEST11","_parentId":"IN_CHECK","label":"城市","sort":2,"alwaysShow":false,"name":"Tests","path":"tests","component":"business/checkInInfo/reviewResult","isBtn":false,"redirect":null,"meta":{"title":"城市","icon":"#","noCache":false,"link":null},"btn":false},"CHECK_EA_INFO_RECHECK":{"id":"CHECK_EA_INFO_RECHECK","_parentId":"CHECK_EA_INFO","label":"重新校验","sort":8,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GHS_LABEL_OCR_UPDATE":{"id":"GHS_LABEL_OCR_UPDATE","_parentId":"GHS_LABEL_OCR","label":"危险公示标签ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SYSTEM_INTERFACE":{"id":"SYSTEM_INTERFACE","_parentId":"SYSTEM_TOOL","label":"系统接口","sort":3,"alwaysShow":false,"name":"Swagger","path":"swagger","component":"tool/swagger/index","isBtn":false,"redirect":null,"meta":{"title":"系统接口","icon":"swagger","noCache":false,"link":null},"btn":false},"SHIP_DANGER_GOODS_QUERY":{"id":"SHIP_DANGER_GOODS_QUERY","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_DANGER_GOODS_UPDATE":{"id":"SHIP_DANGER_GOODS_UPDATE","_parentId":"SHIP_DANGER_GOODS","label":"危险品货物管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE_DELETE":{"id":"AIR_PACKAGE_GUIDE_DELETE","_parentId":"AIR_PACKAGE_GUIDE","label":"空运包装导则删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ICON_SPECIAL_INNER_QUERY":{"id":"ICON_SPECIAL_INNER_QUERY","_parentId":"ICON_SPECIAL_INNER","label":"空运特殊内包装基础数据查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_UPDATE":{"id":"ORGANIC_PEROXIDE_UPDATE","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"GAS_BASE_DETAIL":{"id":"GAS_BASE_DETAIL","_parentId":"GAS_BASE","label":"气体基础数据详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE":{"id":"MENU_MANAGE","_parentId":"SYSTEM_MANAGE","label":"菜单管理","sort":3,"alwaysShow":false,"name":"Menu","path":"menu","component":"system/menu/index","isBtn":false,"redirect":null,"meta":{"title":"菜单管理","icon":"tree-table","noCache":false,"link":null},"btn":false},"POST_MANAGE_QUERY":{"id":"POST_MANAGE_QUERY","_parentId":"POST_MANAGE","label":"岗位查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_UPDATE":{"id":"FORM_BUILD_UPDATE","_parentId":"FORM_BUILD","label":"生成修改","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_GROUP_UPDATE":{"id":"CHECK_RULE_GROUP_UPDATE","_parentId":"CHECK_RULE_GROUP","label":"校验规则组修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_MANAGE":{"id":"CHECK_MANAGE","_parentId":"-1","label":"校验管理","sort":9,"alwaysShow":true,"name":"Check","path":"/check","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"校验管理","icon":"checkbox","noCache":false,"link":null},"btn":false},"ORGANIC_PEROXIDE_QUERY":{"id":"ORGANIC_PEROXIDE_QUERY","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_DETAIL":{"id":"CHECK_IN_INFO_DETAIL","_parentId":"CHECK_IN_INFO","label":"进口报关详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_UPDATE":{"id":"USER_MANAGE_UPDATE","_parentId":"USER_MANAGE","label":"用户修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_RESULT":{"id":"CHECK_EA_INFO_RESULT","_parentId":"CHECK_EA_INFO","label":"校验结果","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_ADD":{"id":"CHECK__DATA_ADD","_parentId":"CHECK__DATA","label":"校验数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_ADD":{"id":"MENU_MANAGE_ADD","_parentId":"MENU_MANAGE","label":"菜单新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_QUERY":{"id":"CHECK_IN_INFO_QUERY","_parentId":"CHECK_IN_INFO","label":"进口报关查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_RESET_PASS":{"id":"USER_MANAGE_RESET_PASS","_parentId":"USER_MANAGE","label":"重置密码","sort":7,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ROLE_MANAGE_UPDATE":{"id":"ROLE_MANAGE_UPDATE","_parentId":"ROLE_MANAGE","label":"角色修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"USER_MANAGE_QUERY":{"id":"USER_MANAGE_QUERY","_parentId":"USER_MANAGE","label":"用户查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"PARAM_CONFIG_DELETE":{"id":"PARAM_CONFIG_DELETE","_parentId":"PARAM_CONFIG","label":"参数删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA_DELETE":{"id":"CHECK__DATA_DELETE","_parentId":"CHECK__DATA","label":"校验数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK__DATA":{"id":"CHECK__DATA","_parentId":"CHECK_MANAGE","label":"校验数据","sort":1,"alwaysShow":false,"name":"Info","path":"info","component":"business/info/index","isBtn":false,"redirect":null,"meta":{"title":"校验数据","icon":"#","noCache":false,"link":null},"btn":false},"CLASSIFICATION_REPORT_DELETE":{"id":"CLASSIFICATION_REPORT_DELETE","_parentId":"CLASSIFICATION_REPORT","label":"危险品分类鉴定数据删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_IN_INFO_EXPORT":{"id":"CHECK_IN_INFO_EXPORT","_parentId":"CHECK_IN_INFO","label":"进口报关导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CIQ_DANGER_GOODS_ADD":{"id":"CIQ_DANGER_GOODS_ADD","_parentId":"CIQ_DANGER_GOODS","label":"CIQ危险化学品新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE":{"id":"SHIP_PACKAGE_GUIDE","_parentId":"GUIDELINE_MANAGE","label":"海运包装导则","sort":1,"alwaysShow":false,"name":"PackageRule","path":"packageRule","component":"business/packageRule/index","isBtn":false,"redirect":null,"meta":{"title":"海运包装导则","icon":"#","noCache":false,"link":null},"btn":false},"SHIP_DANGER_CHEMICAL_DELETE":{"id":"SHIP_DANGER_CHEMICAL_DELETE","_parentId":"SHIP_DANGER_CHEMICAL","label":"危化品目录管理删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_EXPORT":{"id":"ORGANIC_PEROXIDE_EXPORT","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SHIP_PACKAGE_GUIDE_ADD":{"id":"SHIP_PACKAGE_GUIDE_ADD","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGEROUS_GOODS_MANAGE":{"id":"DANGEROUS_GOODS_MANAGE","_parentId":"-1","label":"危险品管理","sort":5,"alwaysShow":true,"name":"DangerGoods","path":"/dangerGoods","component":"Layout","isBtn":false,"redirect":"noRedirect","meta":{"title":"危险品管理","icon":"chart","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_UPDATE":{"id":"SHIP_PACKAGE_GUIDE_UPDATE","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SAFE_CERT_OCR":{"id":"SAFE_CERT_OCR","_parentId":"DANGEROUS_GOODS_MANAGE","label":"安全数据单ocr识别结果","sort":7,"alwaysShow":false,"name":"SafeCert","path":"safeCert","component":"business/safeCert/index","isBtn":false,"redirect":null,"meta":{"title":"安全数据单ocr识别结果","icon":"#","noCache":false,"link":null},"btn":false},"PACKAGE_BASE_EXPORT":{"id":"PACKAGE_BASE_EXPORT","_parentId":"PACKAGE_BASE","label":"固体液体数据管理导出","sort":5,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"REVIEW_RESULT_QUERY_QUERY":{"id":"REVIEW_RESULT_QUERY_QUERY","_parentId":"IN_CHECK_QUERY","label":"校验结果查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"DANGER_TYPE_IDENTITY_QUERY":{"id":"DANGER_TYPE_IDENTITY_QUERY","_parentId":"DANGER_TYPE_IDENTITY","label":"危化品危险特性分类鉴别检测信息查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"MENU_MANAGE_DELETE":{"id":"MENU_MANAGE_DELETE","_parentId":"MENU_MANAGE","label":"菜单删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_EA_INFO_QUERY":{"id":"CHECK_EA_INFO_QUERY","_parentId":"CHECK_EA_INFO","label":"电子底账查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"NOTICE_MANAGE_ADD":{"id":"NOTICE_MANAGE_ADD","_parentId":"NOTICE_MANAGE","label":"公告新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"POST_MANAGE_DELETE":{"id":"POST_MANAGE_DELETE","_parentId":"POST_MANAGE","label":"岗位删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ORGANIC_PEROXIDE_DETAIL":{"id":"ORGANIC_PEROXIDE_DETAIL","_parentId":"ORGANIC_PEROXIDE","label":"有机过氧化物详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SAFE_CERT_OCR_UPDATE":{"id":"SAFE_CERT_OCR_UPDATE","_parentId":"SAFE_CERT_OCR","label":"安全数据单ocr识别结果修改","sort":3,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"AIR_PACKAGE_GUIDE":{"id":"AIR_PACKAGE_GUIDE","_parentId":"GUIDELINE_MANAGE","label":"空运包装导则","sort":3,"alwaysShow":false,"name":"IcaoPackageRule","path":"icaoPackageRule","component":"business/icaoPackageRule/index","isBtn":false,"redirect":null,"meta":{"title":"空运包装导则","icon":"#","noCache":false,"link":null},"btn":false},"AIR_DANGER_GOODS_DELETE":{"id":"AIR_DANGER_GOODS_DELETE","_parentId":"AIR_DANGER_GOODS","label":"空运危规危险货物删除","sort":4,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"SERVICE_MONITOR":{"id":"SERVICE_MONITOR","_parentId":"SYSTEM_MONITOR","label":"服务监控","sort":4,"alwaysShow":false,"name":"Server","path":"server","component":"monitor/server/index","isBtn":false,"redirect":null,"meta":{"title":"服务监控","icon":"server","noCache":false,"link":null},"btn":false},"CIQ_DANGER_GOODS":{"id":"CIQ_DANGER_GOODS","_parentId":"DANGEROUS_GOODS_MANAGE","label":"CIQ危险化学品","sort":4,"alwaysShow":false,"name":"DangerGoods","path":"dangerGoods","component":"business/dangerGoods/index","isBtn":false,"redirect":null,"meta":{"title":"CIQ危险化学品","icon":"#","noCache":false,"link":null},"btn":false},"ICON_MULTIPLE_INNER_ADD":{"id":"ICON_MULTIPLE_INNER_ADD","_parentId":"ICON_MULTIPLE_INNER","label":"空运综合内包装基础数据新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"CHECK_RULE_ADD":{"id":"CHECK_RULE_ADD","_parentId":"CHECK_RULE","label":"校验规则新增","sort":2,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"FORM_BUILD_QUERY":{"id":"FORM_BUILD_QUERY","_parentId":"FORM_BUILD","label":"生成查询","sort":1,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true},"ONLINE_USER":{"id":"ONLINE_USER","_parentId":"SYSTEM_MONITOR","label":"在线用户","sort":1,"alwaysShow":false,"name":"Online","path":"online","component":"monitor/online/index","isBtn":false,"redirect":null,"meta":{"title":"在线用户","icon":"online","noCache":false,"link":null},"btn":false},"SHIP_PACKAGE_GUIDE_DETAIL":{"id":"SHIP_PACKAGE_GUIDE_DETAIL","_parentId":"SHIP_PACKAGE_GUIDE","label":"包装导则管理详情","sort":6,"alwaysShow":false,"name":null,"path":null,"component":null,"isBtn":true,"redirect":null,"meta":null,"btn":true}}')},"3ddf":function(e,t,n){},4360:function(e,t,n){"use strict";var a,l,i=n("2b0e"),s=n("2f62"),o=n("852e"),c=n.n(o),r={sidebar:{opened:!c.a.get("sidebarStatus")||!!+c.a.get("sidebarStatus"),withoutAnimation:!1,hide:!1},device:"desktop",size:c.a.get("size")||"medium"},u={TOGGLE_SIDEBAR:function(e){if(e.sidebar.hide)return!1;e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?c.a.set("sidebarStatus",1):c.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){c.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,c.a.set("size",t)},SET_SIDEBAR_HIDE:function(e,t){e.sidebar.hide=t}},d={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,a=t.withoutAnimation;n("CLOSE_SIDEBAR",a)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)},toggleSideBarHide:function(e,t){var n=e.commit;n("SET_SIDEBAR_HIDE",t)}},h={namespaced:!0,state:r,mutations:u,actions:d},f=(n("b0c0"),n("d3b7"),n("498a"),n("7ded")),p=n("5f87"),m={state:{token:Object(p["a"])(),name:"",avatar:"",roles:[],permissions:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t}},actions:{Login:function(e,t){e.commit;return new Promise((function(e,n){Object(f["d"])(t).then((function(t){e()})).catch((function(e){n(e)}))}))},YtLogin:function(e,t){var n=e.commit,a=t.username.trim(),l=t.password,i=t.encryptKey,s=t.encryptIv;return new Promise((function(e,t){Object(f["g"])(a,l,i,s).then((function(t){Object(p["c"])(t.token),n("SET_TOKEN",t.token),e()})).catch((function(e){t(e)}))}))},GetInfo:function(e){var t=e.commit;e.state;return new Promise((function(e,a){Object(f["b"])().then((function(a){var l=a.user,i=""==l.avatar||null==l.avatar?n("4b94"):"./"+l.avatar;a.roles&&a.roles.length>0?(t("SET_ROLES",a.roles),t("SET_PERMISSIONS",a.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",l.userName),t("SET_AVATAR",i),e(a)})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(f["e"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(p["b"])(),e()})).catch((function(e){a(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(p["b"])(),e()}))}}},_=m,b=n("2909"),E=n("3835"),w=n("b85c"),v=(n("caad"),n("2532"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),n("c740"),{visitedViews:[],cachedViews:[]}),g={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta&&!t.meta.noCache&&e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,a=Object(w["a"])(e.visitedViews.entries());try{for(a.s();!(n=a.n()).done;){var l=Object(E["a"])(n.value,2),i=l[0],s=l[1];if(s.path===t.path){e.visitedViews.splice(i,1);break}}}catch(o){a.e(o)}finally{a.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,a=Object(w["a"])(e.visitedViews);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l.path===t.path){l=Object.assign(l,t);break}}}catch(i){a.e(i)}finally{a.f()}},DEL_RIGHT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a<=n||t.meta&&t.meta.affix)return!0;var l=e.cachedViews.indexOf(t.name);return l>-1&&e.cachedViews.splice(l,1),!1})))},DEL_LEFT_VIEWS:function(e,t){var n=e.visitedViews.findIndex((function(e){return e.path===t.path}));-1!==n&&(e.visitedViews=e.visitedViews.filter((function(t,a){if(a>=n||t.meta&&t.meta.affix)return!0;var l=e.cachedViews.indexOf(t.name);return l>-1&&e.cachedViews.splice(l,1),!1})))}},A={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(b["a"])(a.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(b["a"])(a.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(b["a"])(a.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(b["a"])(a.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(b["a"])(a.visitedViews),cachedViews:Object(b["a"])(a.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(b["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(b["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)},delRightTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_RIGHT_VIEWS",t),e(Object(b["a"])(v.visitedViews))}))},delLeftTags:function(e,t){var n=e.commit;return new Promise((function(e){n("DEL_LEFT_VIEWS",t),e(Object(b["a"])(v.visitedViews))}))}},I={namespaced:!0,state:v,mutations:g,actions:A},C=(n("99af"),n("159b"),n("d81d"),n("3ca3"),n("dce4")),y=n("a18c"),S=n("b775"),O=function(){return Object(S["a"])({url:"/getRouters",method:"get"})},T=n("c1f7"),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},R=[],N=n("2877"),k={},D=Object(N["a"])(k,x,R,!1,null,null,null),L=D.exports,P=(n("9911"),{data:function(){return{}},render:function(){var e=arguments[0],t=this.$route.meta.link;if(""==={link:t}.link)return"404";var n={link:t}.link,a=document.documentElement.clientHeight-94.5+"px",l={height:a};return e("div",{style:l},[e("iframe",{attrs:{src:n,frameborder:"no",scrolling:"auto"},style:"width: 100%; height: 100%"})])}}),G=P,M=Object(N["a"])(G,a,l,!1,null,null,null),B=M.exports,H=n("5620"),z={state:{routerMap:H["a"].Menu,routes:[],permissions:[],addRoutes:[],defaultRoutes:[],topbarRouters:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=y["a"].concat(t)},SET_DEFAULT_ROUTES:function(e,t){e.defaultRoutes=y["a"].concat(t)},SET_TOPBAR_ROUTES:function(e,t){e.topbarRouters=t},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=t}},actions:{GenerateRoutes:function(e){var t=e.commit,n=e.state;return new Promise((function(e){O().then((function(a){var l=[],i=[],s=[];a.data.forEach((function(e){n.routerMap[e]&&i.push(n.routerMap[e])})),i.map((function(e){e.isBtn?s.push(e):l.push(e)})),n.permissions=s;var o=U(l,"id"),c=V(o);console.log(c),console.log("sidebarRoutes");var r=K(y["c"]);y["b"].addRoutes(r),t("SET_ROUTES",c),t("SET_SIDEBAR_ROUTERS",y["a"].concat(c)),e(c)}))}))}}};function U(e,t,n,a){var l,i={id:t||"id",_parentId:n||"_parentId",childrenList:a||"children"},s={},o={},c=[],r=Object(w["a"])(e);try{for(r.s();!(l=r.n()).done;){var u=l.value,d=u[i._parentId];null==s[d]&&(s[d]=[]),o[u[i.id]]=u,s[d].push(u)}}catch(g){r.e(g)}finally{r.f()}var h,f=Object(w["a"])(e);try{for(f.s();!(h=f.n()).done;){var p=h.value,m=p[i._parentId];null==o[m]&&c.push(p)}}catch(g){f.e(g)}finally{f.f()}for(var _=0,b=c;_2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return t&&e.children&&(e.children=j(e.children)),e.component&&("Layout"===e.component?e.component=T["a"]:"ParentView"===e.component?e.component=L:"InnerLink"===e.component?e.component=B:e.component=$(e.component)),null!=e.children&&e.children&&e.children.length?e.children=V(e.children,e,t):(delete e["children"],delete e["redirect"]),!0}))}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return e.forEach((function(e,a){e.children&&e.children.length&&"ParentView"===e.component&&!t?e.children.forEach((function(t){t.path=e.path+"/"+t.path,t.children&&t.children.length?n=n.concat(j(t.children,t)):n.push(t)})):(t&&(e.path=t.path+"/"+e.path),n=n.concat(e))})),n}function K(e){var t=[];return e.forEach((function(e){e.permissions?C["a"].hasPermiOr(e.permissions)&&t.push(e):e.roles&&C["a"].hasRoleOr(e.roles)&&t.push(e)})),t}var $=function(e){return function(){return n("9dac")("./".concat(e))}},F=z,Y=n("83d6"),Q=n.n(Y),X=Q.a.sideTheme,q=Q.a.showSettings,W=Q.a.topNav,J=Q.a.tagsView,Z=Q.a.fixedHeader,ee=Q.a.sidebarLogo,te=Q.a.dynamicTitle,ne=JSON.parse(localStorage.getItem("layout-setting"))||"",ae={title:"",theme:ne.theme||"#409EFF",sideTheme:ne.sideTheme||X,showSettings:q,topNav:void 0===ne.topNav?W:ne.topNav,tagsView:void 0===ne.tagsView?J:ne.tagsView,fixedHeader:void 0===ne.fixedHeader?Z:ne.fixedHeader,sidebarLogo:void 0===ne.sidebarLogo?ee:ne.sidebarLogo,dynamicTitle:void 0===ne.dynamicTitle?te:ne.dynamicTitle},le={CHANGE_SETTING:function(e,t){var n=t.key,a=t.value;e.hasOwnProperty(n)&&(e[n]=a)}},ie={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)},setTitle:function(e,t){e.commit;ae.title=t}},se={namespaced:!0,state:ae,mutations:le,actions:ie},oe={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},topbarRouters:function(e){return e.permission.topbarRouters},defaultRoutes:function(e){return e.permission.defaultRoutes},sidebarRouters:function(e){return e.permission.sidebarRouters}},ce=oe;i["default"].use(s["a"]);var re=new s["a"].Store({modules:{app:h,user:_,tagsView:I,permission:F,settings:se},getters:ce});t["a"]=re},4576:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"47b7":function(e,t,n){"use strict";n("4c86")},"482c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},4955:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b5d":function(e,t,n){},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.473f5971.jpg"},"4c86":function(e,t,n){},"4d24":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},5534:function(e,t,n){},5620:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("c1f7");var a=n("3da7");console.log(a),console.log("Menu");var l={Menu:a}},"565c":function(e,t,n){"use strict";n("3ddf")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),l=n("852e"),i=n.n(l),s=n("5c96"),o=n.n(s),c=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),r=[],u=(n("99af"),{name:"App",metaInfo:function(){return{title:this.$store.state.settings.dynamicTitle&&this.$store.state.settings.title,titleTemplate:function(e){return e?"".concat(e," - ").concat("危化品管理系统"):"危化品管理系统"}}}}),d=u,h=(n("0a7d"),n("2877")),f=Object(h["a"])(d,c,r,!1,null,null,null),p=f.exports,m=n("4360"),_=n("a18c"),b=(n("d3b7"),n("caad"),n("2532"),{inserted:function(e,t,n){var a=t.value,l="admin",i=m["a"].getters&&m["a"].getters.roles;if(!(a&&a instanceof Array&&a.length>0))throw new Error('请设置角色权限标签值"');var s=a,o=i.some((function(e){return l===e||s.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),E={inserted:function(e,t,n){var a=t.value,l="*:*:*",i=m["a"].getters&&m["a"].getters.permissions;if(!(a&&a instanceof Array&&a.length>0))throw new Error("请设置操作权限标签值");var s=a,o=i.some((function(e){return l===e||s.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},w=(n("ac1f"),n("5319"),{bind:function(e,t,n,a){var l=t.value;if(0!=l){var i=e.querySelector(".el-dialog__header"),s=e.querySelector(".el-dialog");i.style.cursor="move";var o=s.currentStyle||window.getComputedStyle(s,null);s.style.position="absolute",s.style.marginTop=0;var c=s.style.width;c=c.includes("%")?+document.body.clientWidth*(+c.replace(/\%/g,"")/100):+c.replace(/\px/g,""),s.style.left="".concat((document.body.clientWidth-c)/2,"px"),i.onmousedown=function(e){var t,n,a=e.clientX-i.offsetLeft,l=e.clientY-i.offsetTop;o.left.includes("%")?(t=+document.body.clientWidth*(+o.left.replace(/\%/g,"")/100),n=+document.body.clientHeight*(+o.top.replace(/\%/g,"")/100)):(t=+o.left.replace(/\px/g,""),n=+o.top.replace(/\px/g,"")),document.onmousemove=function(e){var i=e.clientX-a,o=e.clientY-l,c=i+t,r=o+n;s.style.left="".concat(c,"px"),s.style.top="".concat(r,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}}}),v={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 5px; background: inherit; height: 80%; position: absolute; right: 0; top: 0; bottom: 0; margin: auto; z-index: 1; cursor: w-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,l=t.offsetWidth;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a;t.style.width="".concat(l+n,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},g={bind:function(e){var t=e.querySelector(".el-dialog"),n=document.createElement("div");n.style="width: 6px; background: inherit; height: 10px; position: absolute; right: 0; bottom: 0; margin: auto; z-index: 1; cursor: nwse-resize;",n.addEventListener("mousedown",(function(n){var a=n.clientX-e.offsetLeft,l=n.clientY-e.offsetTop,i=t.offsetWidth,s=t.offsetHeight;document.onmousemove=function(e){e.preventDefault();var n=e.clientX-a,o=e.clientY-l;t.style.width="".concat(i+n,"px"),t.style.height="".concat(s+o,"px")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}),!1),t.appendChild(n)}},A=n("b311"),I=n.n(A),C={bind:function(e,t,n){switch(t.arg){case"success":e._vClipBoard_success=t.value;break;case"error":e._vClipBoard_error=t.value;break;default:var a=new I.a(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"}});a.on("success",(function(t){var n=e._vClipBoard_success;n&&n(t)})),a.on("error",(function(t){var n=e._vClipBoard_error;n&&n(t)})),e._vClipBoard=a}},update:function(e,t){"success"===t.arg?e._vClipBoard_success=t.value:"error"===t.arg?e._vClipBoard_error=t.value:(e._vClipBoard.text=function(){return t.value},e._vClipBoard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipBoard_success:"error"===t.arg?delete e._vClipBoard_error:(e._vClipBoard.destroy(),delete e._vClipBoard))}},y=function(e){e.directive("hasRole",b),e.directive("hasPermi",E),e.directive("clipboard",C),e.directive("dialogDrag",w),e.directive("dialogDragWidth",v),e.directive("dialogDragHeight",g)};window.Vue&&(window["hasRole"]=b,window["hasPermi"]=E,Vue.use(y));var S,O=y,T=(n("159b"),n("b0c0"),{refreshPage:function(e){var t=_["b"].currentRoute,n=t.path,a=t.query,l=t.matched;return void 0===e&&l.forEach((function(t){t.components&&t.components.default&&t.components.default.name&&(["Layout","ParentView"].includes(t.components.default.name)||(e={name:t.components.default.name,path:n,query:a}))})),m["a"].dispatch("tagsView/delCachedView",e).then((function(){var t=e,n=t.path,a=t.query;_["b"].replace({path:"/redirect"+n,query:a})}))},closeOpenPage:function(e){if(m["a"].dispatch("tagsView/delView",_["b"].currentRoute),void 0!==e)return _["b"].push(e)},closePage:function(e){return void 0===e?m["a"].dispatch("tagsView/delView",_["b"].currentRoute).then((function(e){var t=e.lastPath;return _["b"].push(t||"/")})):m["a"].dispatch("tagsView/delView",e)},closeAllPage:function(){return m["a"].dispatch("tagsView/delAllViews")},closeLeftPage:function(e){return m["a"].dispatch("tagsView/delLeftTags",e||_["b"].currentRoute)},closeRightPage:function(e){return m["a"].dispatch("tagsView/delRightTags",e||_["b"].currentRoute)},closeOtherPage:function(e){return m["a"].dispatch("tagsView/delOthersViews",e||_["b"].currentRoute)},openPage:function(e,t,n){var a={path:t,meta:{title:e}};return m["a"].dispatch("tagsView/addView",a),_["b"].push({path:t,query:n})},updatePage:function(e){return m["a"].dispatch("tagsView/updateVisitedView",e)}}),x=n("dce4"),R=n("63f0"),N={msg:function(e){s["Message"].info(e)},msgError:function(e){s["Message"].error(e)},msgSuccess:function(e){s["Message"].success(e)},msgWarning:function(e){s["Message"].warning(e)},alert:function(e){s["MessageBox"].alert(e,"系统提示")},alertError:function(e){s["MessageBox"].alert(e,"系统提示",{type:"error"})},alertSuccess:function(e){s["MessageBox"].alert(e,"系统提示",{type:"success"})},alertWarning:function(e){s["MessageBox"].alert(e,"系统提示",{type:"warning"})},notify:function(e){s["Notification"].info(e)},notifyError:function(e){s["Notification"].error(e)},notifySuccess:function(e){s["Notification"].success(e)},notifyWarning:function(e){s["Notification"].warning(e)},confirm:function(e){return s["MessageBox"].confirm(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},prompt:function(e){return s["MessageBox"].prompt(e,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})},loading:function(e){S=s["Loading"].service({lock:!0,text:e,spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"})},closeLoading:function(){S.close()}},k=n("c7eb"),D=n("1da1"),L=n("bc3a"),P=n.n(L),G=n("21a6"),M=n("5f87"),B=n("81ae"),H=n("c38a"),z="./",U={name:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=z+"/common/download?fileName="+encodeURI(e)+"&delete="+n;P()({method:"get",url:a,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(n){var a,l;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(n.data);case 2:a=e.sent,a?(l=new Blob([n.data]),t.saveAs(l,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},resource:function(e){var t=this,n=z+"/common/download/resource?resource="+encodeURI(e);P()({method:"get",url:n,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(n){var a,l;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(n.data);case 2:a=e.sent,a?(l=new Blob([n.data]),t.saveAs(l,decodeURI(n.headers["download-filename"]))):t.printErrMsg(n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},zip:function(e,t){var n=this;e=z+e;P()({method:"get",url:e,responseType:"blob",headers:{Authorization:"Bearer "+Object(M["a"])()}}).then(function(){var e=Object(D["a"])(Object(k["a"])().mark((function e(a){var l,i;return Object(k["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(H["b"])(a.data);case 2:l=e.sent,l?(i=new Blob([a.data],{type:"application/zip"}),n.saveAs(i,t)):n.printErrMsg(a.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},saveAs:function(e,t,n){Object(G["saveAs"])(e,t,n)},printErrMsg:function(e){return Object(D["a"])(Object(k["a"])().mark((function t(){var n,a,l;return Object(k["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.text();case 2:n=t.sent,a=JSON.parse(n),l=B["a"][a.code]||a.msg||B["a"]["default"],s["Message"].error(l);case 6:case"end":return t.stop()}}),t)})))()}},V={install:function(e){e.prototype.$tab=T,e.prototype.$auth=x["a"],e.prototype.$cache=R["a"],e.prototype.$modal=N,e.prototype.$download=U}},j=n("b775"),K=(n("d81d"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),$=[],F=n("61f7"),Y={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(F["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},Q=Y,X=(n("47b7"),Object(h["a"])(Q,K,$,!1,null,"248913c8",null)),q=X.exports;a["default"].component("svg-icon",q);var W=n("23f1"),J=function(e){return e.keys().map(e)};J(W);var Z=n("5530"),ee=n("323e"),te=n.n(ee);n("a5d8");te.a.configure({showSpinner:!1});_["b"].beforeEach((function(e,t,n){te.a.start(),"/login"===e.path?(n(),te.a.done()):0===m["a"].getters.roles.length?(j["c"].show=!0,m["a"].dispatch("GetInfo").then((function(){j["c"].show=!1,m["a"].dispatch("GenerateRoutes").then((function(t){_["b"].addRoutes(t),n(Object(Z["a"])(Object(Z["a"])({},e),{},{replace:!0}))}))})).catch((function(e){m["a"].dispatch("LogOut").then((function(){s["Message"].error(e),n({path:"/"})}))}))):n()})),_["b"].afterEach((function(){te.a.done()}));var ne=n("aa3a"),ae=n("c0c3"),le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,"pager-count":e.pagerCount,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},ie=[];n("a9e3");Math.easeInOutQuad=function(e,t,n,a){return e/=a/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var se=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function oe(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function ce(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function re(e,t,n){var a=ce(),l=e-a,i=20,s=0;t="undefined"===typeof t?500:t;var o=function e(){s+=i;var o=Math.easeInOutQuad(s,a,l,t);oe(o),sthis.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&re(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&re(0,800)}}},de=ue,he=(n("59bf"),Object(h["a"])(de,le,ie,!1,null,"f3d032e2",null)),fe=he.exports,pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"top-right-btn"},[n("el-row",[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.showSearch?"隐藏搜索":"显示搜索",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-search"},on:{click:function(t){return e.toggleSearch()}}})],1),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"刷新",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-refresh"},on:{click:function(t){return e.refresh()}}})],1),e.columns?n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"显隐列",placement:"top"}},[n("el-button",{attrs:{size:"mini",circle:"",icon:"el-icon-menu"},on:{click:function(t){return e.showColumn()}}})],1):e._e()],1),n("el-dialog",{attrs:{title:e.title,visible:e.open,"append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-transfer",{attrs:{titles:["显示","隐藏"],data:e.columns},on:{change:e.dataChange},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)],1)},me=[],_e={name:"RightToolbar",data:function(){return{value:[],title:"显示/隐藏",open:!1}},props:{showSearch:{type:Boolean,default:!0},columns:{type:Array}},created:function(){for(var e in this.columns)!1===this.columns[e].visible&&this.value.push(parseInt(e))},methods:{toggleSearch:function(){this.$emit("update:showSearch",!this.showSearch)},refresh:function(){this.$emit("queryTable")},dataChange:function(e){for(var t in this.columns){var n=this.columns[t].key;this.columns[t].visible=!e.includes(n)}},showColumn:function(){this.open=!0}}},be=_e,Ee=(n("be8c"),Object(h["a"])(be,pe,me,!1,null,"b0cca3be",null)),we=Ee.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["url"==this.type?n("el-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{action:e.uploadUrl,"before-upload":e.handleBeforeUpload,"on-success":e.handleUploadSuccess,"on-error":e.handleUploadError,name:"file","show-file-list":!1,headers:e.headers}}):e._e(),n("div",{ref:"editor",staticClass:"editor",style:e.styles})],1)},ge=[],Ae=n("9339"),Ie=n.n(Ae),Ce=(n("a753"),n("8096"),n("14e1"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null},readOnly:{type:Boolean,default:!1},fileSize:{type:Number,default:5},type:{type:String,default:"url"}},data:function(){return{uploadUrl:".//common/upload",headers:{Authorization:"Bearer "+Object(M["a"])()},Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:this.readOnly}}},computed:{styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=null===e?"":e,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;if(this.Quill=new Ie.a(t,this.options),"url"==this.type){var n=this.Quill.getModule("toolbar");n.addHandler("image",(function(t){e.uploadType="image",t?e.$refs.upload.$children[0].$refs.input.click():e.quill.format("image",!1)}))}this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,a){var l=e.$refs.editor.children[0].innerHTML,i=e.Quill.getText(),s=e.Quill;e.currentValue=l,e.$emit("input",l),e.$emit("on-change",{html:l,text:i,quill:s})})),this.Quill.on("text-change",(function(t,n,a){e.$emit("on-text-change",t,n,a)})),this.Quill.on("selection-change",(function(t,n,a){e.$emit("on-selection-change",t,n,a)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l-1&&(t=e.name.slice(e.name.lastIndexOf(".")+1));var n=this.fileType.some((function(n){return e.type.indexOf(n)>-1||!!(t&&t.indexOf(n)>-1)}));if(!n)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"格式文件!")),!1}if(this.fileSize){var a=e.size/1024/1024-1?e.slice(e.lastIndexOf("/")+1):""},listToString:function(e,t){var n="";for(var a in t=t||",",e)n+=e[a].url+t;return""!=n?n.substr(0,n.length-1):""}}}),Ne=Re,ke=(n("1e13"),Object(h["a"])(Ne,Te,xe,!1,null,"44771c67",null)),De=ke.exports,Le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-upload-image"},[n("el-upload",{class:{hide:this.fileList.length>=this.limit},attrs:{multiple:"",action:e.uploadImgUrl,"list-type":"picture-card","on-success":e.handleUploadSuccess,"before-upload":e.handleBeforeUpload,limit:e.limit,"on-error":e.handleUploadError,"on-exceed":e.handleExceed,name:"file","on-remove":e.handleRemove,"show-file-list":!0,headers:e.headers,"file-list":e.fileList,"on-preview":e.handlePictureCardPreview}},[n("i",{staticClass:"el-icon-plus"})]),e.showTip?n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 请上传 "),e.fileSize?[e._v(" 大小不超过 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileSize)+"MB")])]:e._e(),e.fileType?[e._v(" 格式为 "),n("b",{staticStyle:{color:"#f56c6c"}},[e._v(e._s(e.fileType.join("/")))])]:e._e(),e._v(" 的文件 ")],2):e._e(),n("el-dialog",{attrs:{visible:e.dialogVisible,title:"预览",width:"800","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("img",{staticStyle:{display:"block","max-width":"100%",margin:"0 auto"},attrs:{src:e.dialogImageUrl}})])],1)},Pe=[],Ge={props:{value:[String,Object,Array],limit:{type:Number,default:5},fileSize:{type:Number,default:5},fileType:{type:Array,default:function(){return["png","jpg","jpeg"]}},isShowTip:{type:Boolean,default:!0}},data:function(){return{number:0,uploadList:[],dialogImageUrl:"",dialogVisible:!1,hideUpload:!1,baseUrl:"./",uploadImgUrl:".//common/upload",headers:{Authorization:"Bearer "+Object(M["a"])()},fileList:[]}},watch:{value:{handler:function(e){var t=this;if(!e)return this.fileList=[],[];var n=Array.isArray(e)?e:this.value.split(",");this.fileList=n.map((function(e){return"string"===typeof e&&(e=-1===e.indexOf(t.baseUrl)?{name:t.baseUrl+e,url:t.baseUrl+e}:{name:e,url:e}),e}))},deep:!0,immediate:!0}},computed:{showTip:function(){return this.isShowTip&&(this.fileType||this.fileSize)}},methods:{handleRemove:function(e,t){var n=this.fileList.map((function(e){return e.name})).indexOf(e.name);n>-1&&(this.fileList.splice(n,1),this.$emit("input",this.listToString(this.fileList)))},handleUploadSuccess:function(e){this.uploadList.push({name:e.fileName,url:e.fileName}),this.uploadList.length===this.number&&(this.fileList=this.fileList.concat(this.uploadList),this.uploadList=[],this.number=0,this.$emit("input",this.listToString(this.fileList)),this.$modal.closeLoading())},handleBeforeUpload:function(e){var t=!1;if(this.fileType.length){var n="";e.name.lastIndexOf(".")>-1&&(n=e.name.slice(e.name.lastIndexOf(".")+1)),t=this.fileType.some((function(t){return e.type.indexOf(t)>-1||!!(n&&n.indexOf(t)>-1)}))}else t=e.type.indexOf("image")>-1;if(!t)return this.$modal.msgError("文件格式不正确, 请上传".concat(this.fileType.join("/"),"图片格式文件!")),!1;if(this.fileSize){var a=e.size/1024/10241?t-1:0),a=1;a"),s=[]),(l=e.type[i]).splice.apply(l,[0,Number.MAX_SAFE_INTEGER].concat(Object(Ze["a"])(s))),s.forEach((function(t){a["default"].set(e.label[i],t.value,t.label)})),s}))}var pt=function(e,t){ct(t),e.mixin({data:function(){if(void 0===this.$options||void 0===this.$options.dicts||null===this.$options.dicts)return{};var e=new ht;return e.owner=this,{dict:e}},created:function(){var e=this;this.dict instanceof ht&&(t.onCreated&&t.onCreated(this.dict),this.dict.init(this.$options.dicts).then((function(){t.onReady&&t.onReady(e.dict),e.$nextTick((function(){e.$emit("dictReady",e.dict),e.$options.methods&&e.$options.methods.onDictReady instanceof Function&&e.$options.methods.onDictReady.call(e,e.dict)}))})))}})};function mt(){a["default"].use(pt,{metas:{"*":{labelField:"dictLabel",valueField:"dictValue",request:function(e){return Object(ne["d"])(e.type).then((function(e){return e.data}))}}}})}var _t={install:mt};a["default"].prototype.getDicts=ne["d"],a["default"].prototype.getConfigKey=ae["d"],a["default"].prototype.parseTime=H["f"],a["default"].prototype.resetForm=H["g"],a["default"].prototype.addDateRange=H["a"],a["default"].prototype.selectDictLabel=H["h"],a["default"].prototype.selectDictLabels=H["i"],a["default"].prototype.download=j["b"],a["default"].prototype.handleTree=H["c"],a["default"].component("DictTag",We),a["default"].component("Pagination",fe),a["default"].component("RightToolbar",we),a["default"].component("Editor",Oe),a["default"].component("FileUpload",De),a["default"].component("ImageUpload",He),a["default"].component("ImagePreview",$e),a["default"].use(O),a["default"].use(V),a["default"].use(Je["a"]),_t.install(),a["default"].use(o.a,{size:i.a.get("size")||"medium"}),a["default"].config.productionTip=!1,new a["default"]({el:"#app",router:_["b"],store:m["a"],render:function(e){return e(p)}})},"575e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-online",use:"icon-online-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"57a7":function(e,t,n){},"57fa":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(o);t["default"]=o},"59bf":function(e,t,n){"use strict";n("07f8")},"5aa7":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"5af3":function(e,t,n){"use strict";n("4b5d")},"5d9e":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n("852e"),l=n.n(a),i="Admin-Token";function s(){return l.a.get(i)}function o(e){return l.a.set(i,e)}function c(){return l.a.remove(i)}},"5fda":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("ac1f"),n("00b4"),n("498a"),n("d3b7");function a(e){return/^(https?:|mailto:|tel:)/.test(e)}},"63f0":function(e,t,n){"use strict";n("e9c4");var a={set:function(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get:function(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){sessionStorage.removeItem(e)}},l={set:function(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get:function(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(e){localStorage.removeItem(e)}};t["a"]={session:a,local:l}},"679a":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"69ce":function(e,t,n){"use strict";n("33ae")},7049:function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"737d":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"74a2":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"77fa":function(e,t,n){"use strict";n("5534")},"78b5":function(e,t,n){},7937:function(e,t,n){},"79ea":function(e,t,n){"use strict";n("0400")},"7ded":function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return u}));var a=n("b775");n("869c");function l(e){return console.log(e),console.log("data"),Object(a["a"])({url:"/login",method:"post",data:e})}function i(e,t,n,l){var i={username:e,password:t};return Object(a["a"])({url:"/ytLogin",headers:{isToken:!1},method:"post",data:i})}function s(e){return Object(a["a"])({url:"/register",headers:{isToken:!1},method:"post",data:e})}function o(){return Object(a["a"])({url:"/getInfo",method:"get"})}function c(){return Object(a["a"])({url:"/encrypt",headers:{isToken:!1},method:"get"})}function r(){return Object(a["a"])({url:"/logout",method:"post"})}function u(){return Object(a["a"])({url:"/captchaImage",headers:{isToken:!1},method:"get",timeout:2e4})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.4ef27f05.png"},"81ae":function(e,t,n){"use strict";t["a"]={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},"83d6":function(e,t){e.exports={sideTheme:"theme-dark",showSettings:!1,topNav:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,dynamicTitle:!1,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"869c":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("d3b7"),n("25f0");var a=n("3452"),l=n.n(a);function i(e,t,n){var a,i;t&&(a=l.a.enc.Utf8.parse(t),i=l.a.enc.Utf8.parse(n));var s=l.a.enc.Utf8.parse(e),o=l.a.AES.encrypt(s,a,{iv:i,mode:l.a.mode.CBC,padding:l.a.pad.ZeroPadding});return l.a.enc.Base64.stringify(o.ciphertext)}},"879b":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},8989:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuColor:"#bfcbd9",menuLightColor:"rgba(0, 0, 0, 0.7)",menuColorActive:"#f4f4f5",menuBackground:"#304156",menuLightBackground:"#ffffff",subMenuBackground:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",logoTitleColor:"#ffffff",logoLightTitleColor:"#001529"}},"91be":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});s.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"98ab":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"99ee":function(e,t,n){"use strict";n("1147")},"9a4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9b5e":function(e,t,n){"use strict";n("b18c")},"9cb5":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9d13":function(e,t,n){"use strict";n("7937")},"9dac":function(e,t,n){var a={"./":["1e4b","chunk-2d0b68f8"],"./business/catalogue":["43fa","chunk-2d0c1070"],"./business/catalogue/":["43fa","chunk-2d0c1070"],"./business/catalogue/index":["43fa","chunk-2d0c1070"],"./business/catalogue/index.vue":["43fa","chunk-2d0c1070"],"./business/checkEaInfo":["0697","chunk-ec75af08","chunk-144e43c1"],"./business/checkEaInfo/":["0697","chunk-ec75af08","chunk-144e43c1"],"./business/checkEaInfo/index":["0697","chunk-ec75af08","chunk-144e43c1"],"./business/checkEaInfo/index.vue":["0697","chunk-ec75af08","chunk-144e43c1"],"./business/checkInInfo":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-158b7172"],"./business/checkInInfo/":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-158b7172"],"./business/checkInInfo/index":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-158b7172"],"./business/checkInInfo/index.vue":["4d5b","chunk-ec75af08","chunk-2d216257","chunk-158b7172"],"./business/checkInInfo/reviewResult":["613b","chunk-ec75af08","chunk-7133791f"],"./business/checkInInfo/reviewResult.vue":["613b","chunk-ec75af08","chunk-7133791f"],"./business/checkPaInfo":["dc5f","chunk-ec75af08","chunk-3c6312bc"],"./business/checkPaInfo/":["dc5f","chunk-ec75af08","chunk-3c6312bc"],"./business/checkPaInfo/index":["dc5f","chunk-ec75af08","chunk-3c6312bc"],"./business/checkPaInfo/index.vue":["dc5f","chunk-ec75af08","chunk-3c6312bc"],"./business/checkRule":["63e5","chunk-56014f4c"],"./business/checkRule/":["63e5","chunk-56014f4c"],"./business/checkRule/index":["63e5","chunk-56014f4c"],"./business/checkRule/index.vue":["63e5","chunk-56014f4c"],"./business/dangerGoods":["ba95","chunk-2d21a091"],"./business/dangerGoods/":["ba95","chunk-2d21a091"],"./business/dangerGoods/index":["ba95","chunk-2d21a091"],"./business/dangerGoods/index.vue":["ba95","chunk-2d21a091"],"./business/dangerTypeIdentity":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/index":["9024","chunk-28aa9134"],"./business/dangerTypeIdentity/index.vue":["9024","chunk-28aa9134"],"./business/gasBase":["1f65","chunk-295ab0ce"],"./business/gasBase/":["1f65","chunk-295ab0ce"],"./business/gasBase/index":["1f65","chunk-295ab0ce"],"./business/gasBase/index.vue":["1f65","chunk-295ab0ce"],"./business/goods":["6c1e","chunk-3b20da0c"],"./business/goods/":["6c1e","chunk-3b20da0c"],"./business/goods/detail":["a468","chunk-a1b77432"],"./business/goods/detail.vue":["a468","chunk-a1b77432"],"./business/goods/ibc":["b3d7","chunk-5530cbd8"],"./business/goods/ibc.vue":["b3d7","chunk-5530cbd8"],"./business/goods/index":["6c1e","chunk-3b20da0c"],"./business/goods/index.vue":["6c1e","chunk-3b20da0c"],"./business/icaoGoods":["0a57","chunk-9791b85a"],"./business/icaoGoods/":["0a57","chunk-9791b85a"],"./business/icaoGoods/detail":["acee","chunk-522f4bbc"],"./business/icaoGoods/detail.vue":["acee","chunk-522f4bbc"],"./business/icaoGoods/index":["0a57","chunk-9791b85a"],"./business/icaoGoods/index.vue":["0a57","chunk-9791b85a"],"./business/icaoPackageRule":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/index":["571e","chunk-d4d6063a"],"./business/icaoPackageRule/index.vue":["571e","chunk-d4d6063a"],"./business/iconGas":["747e","chunk-bca7facc"],"./business/iconGas/":["747e","chunk-bca7facc"],"./business/iconGas/index":["747e","chunk-bca7facc"],"./business/iconGas/index.vue":["747e","chunk-bca7facc"],"./business/iconInoutPackage":["b688","chunk-410b99f6"],"./business/iconInoutPackage/":["b688","chunk-410b99f6"],"./business/iconInoutPackage/index":["b688","chunk-410b99f6"],"./business/iconInoutPackage/index.vue":["b688","chunk-410b99f6"],"./business/iconMultipleInner":["6863","chunk-22b58394"],"./business/iconMultipleInner/":["6863","chunk-22b58394"],"./business/iconMultipleInner/index":["6863","chunk-22b58394"],"./business/iconMultipleInner/index.vue":["6863","chunk-22b58394"],"./business/iconSpecialInner":["d040","chunk-190b3930"],"./business/iconSpecialInner/":["d040","chunk-190b3930"],"./business/iconSpecialInner/index":["d040","chunk-190b3930"],"./business/iconSpecialInner/index.vue":["d040","chunk-190b3930"],"./business/identify":["6a89","chunk-2d0da022"],"./business/identify/":["6a89","chunk-2d0da022"],"./business/identify/index":["6a89","chunk-2d0da022"],"./business/identify/index.vue":["6a89","chunk-2d0da022"],"./business/info":["804c","chunk-2d0dd09d"],"./business/info/":["804c","chunk-2d0dd09d"],"./business/info/index":["804c","chunk-2d0dd09d"],"./business/info/index.vue":["804c","chunk-2d0dd09d"],"./business/organicPeroxide":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/index":["01c1","chunk-1b15c49a"],"./business/organicPeroxide/index.vue":["01c1","chunk-1b15c49a"],"./business/packageBase":["c7db","chunk-c720c3c8"],"./business/packageBase/":["c7db","chunk-c720c3c8"],"./business/packageBase/index":["c7db","chunk-c720c3c8"],"./business/packageBase/index.vue":["c7db","chunk-c720c3c8"],"./business/packageRule":["2e8c","chunk-b3606f7e"],"./business/packageRule/":["2e8c","chunk-b3606f7e"],"./business/packageRule/index":["2e8c","chunk-b3606f7e"],"./business/packageRule/index.vue":["2e8c","chunk-b3606f7e"],"./business/peroxideType52Base":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/index":["dcbf","chunk-2d2295f9"],"./business/peroxideType52Base/index.vue":["dcbf","chunk-2d2295f9"],"./business/peroxideTypefBase":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/index":["468b","chunk-2d0c1622"],"./business/peroxideTypefBase/index.vue":["468b","chunk-2d0c1622"],"./business/ruleGroup":["4f84","chunk-102527b9"],"./business/ruleGroup/":["4f84","chunk-102527b9"],"./business/ruleGroup/index":["4f84","chunk-102527b9"],"./business/ruleGroup/index.vue":["4f84","chunk-102527b9"],"./business/specialRule":["3deb","chunk-47128cd2"],"./business/specialRule/":["3deb","chunk-47128cd2"],"./business/specialRule/index":["3deb","chunk-47128cd2"],"./business/specialRule/index.vue":["3deb","chunk-47128cd2"],"./components/icons":["3a7e","chunk-74680cd7"],"./components/icons/":["3a7e","chunk-74680cd7"],"./components/icons/element-icons":["bb49","chunk-2d21a3bb"],"./components/icons/element-icons.js":["bb49","chunk-2d21a3bb"],"./components/icons/index":["3a7e","chunk-74680cd7"],"./components/icons/index.vue":["3a7e","chunk-74680cd7"],"./components/icons/svg-icons":["c7e9","chunk-2d217c9e"],"./components/icons/svg-icons.js":["c7e9","chunk-2d217c9e"],"./dashboard/BarChart":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/BarChart.vue":["9488","chunk-f95fdb36","chunk-2bb7b688"],"./dashboard/LineChart":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/LineChart.vue":["eab4","chunk-f95fdb36","chunk-4b1e4dca"],"./dashboard/PanelGroup":["fbc4","chunk-d6ec12d8"],"./dashboard/PanelGroup.vue":["fbc4","chunk-d6ec12d8"],"./dashboard/PieChart":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/PieChart.vue":["d153","chunk-f95fdb36","chunk-50e312d8"],"./dashboard/RaddarChart":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/RaddarChart.vue":["0a5c","chunk-f95fdb36","chunk-1348daec"],"./dashboard/mixins/resize":["feb2","chunk-2d238605"],"./dashboard/mixins/resize.js":["feb2","chunk-2d238605"],"./error/401":["ec55","chunk-1537fc93"],"./error/401.vue":["ec55","chunk-1537fc93"],"./error/404":["2754","chunk-81a2a40e"],"./error/404.vue":["2754","chunk-81a2a40e"],"./index":["1e4b","chunk-2d0b68f8"],"./index.vue":["1e4b","chunk-2d0b68f8"],"./index_v1":["66ef","chunk-f95fdb36","chunk-b217db68"],"./index_v1.vue":["66ef","chunk-f95fdb36","chunk-b217db68"],"./login":["dd7b","chunk-8eb89780","chunk-7d4afc9c"],"./login.vue":["dd7b","chunk-8eb89780","chunk-7d4afc9c"],"./monitor/cache":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/index.vue":["5911","chunk-f95fdb36","chunk-2b02de32"],"./monitor/cache/list":["9f66","chunk-e1a6d904"],"./monitor/cache/list.vue":["9f66","chunk-e1a6d904"],"./monitor/druid":["5194","chunk-2d0c77ad"],"./monitor/druid/":["5194","chunk-2d0c77ad"],"./monitor/druid/index":["5194","chunk-2d0c77ad"],"./monitor/druid/index.vue":["5194","chunk-2d0c77ad"],"./monitor/job":["3eac","chunk-d9e18ce6"],"./monitor/job/":["3eac","chunk-d9e18ce6"],"./monitor/job/index":["3eac","chunk-d9e18ce6"],"./monitor/job/index.vue":["3eac","chunk-d9e18ce6"],"./monitor/job/log":["0062","chunk-68702101"],"./monitor/job/log.vue":["0062","chunk-68702101"],"./monitor/logininfor":["67ef","chunk-04621586"],"./monitor/logininfor/":["67ef","chunk-04621586"],"./monitor/logininfor/index":["67ef","chunk-04621586"],"./monitor/logininfor/index.vue":["67ef","chunk-04621586"],"./monitor/online":["6b08","chunk-2d0da2ea"],"./monitor/online/":["6b08","chunk-2d0da2ea"],"./monitor/online/index":["6b08","chunk-2d0da2ea"],"./monitor/online/index.vue":["6b08","chunk-2d0da2ea"],"./monitor/operlog":["02f2","chunk-7e203972"],"./monitor/operlog/":["02f2","chunk-7e203972"],"./monitor/operlog/index":["02f2","chunk-7e203972"],"./monitor/operlog/index.vue":["02f2","chunk-7e203972"],"./monitor/server":["2a33","chunk-2d0bce05"],"./monitor/server/":["2a33","chunk-2d0bce05"],"./monitor/server/index":["2a33","chunk-2d0bce05"],"./monitor/server/index.vue":["2a33","chunk-2d0bce05"],"./redirect":["9b8f","chunk-2d0f012d"],"./redirect.vue":["9b8f","chunk-2d0f012d"],"./register":["7803","chunk-cefe2a3a"],"./register.vue":["7803","chunk-cefe2a3a"],"./system/config":["cdb7","chunk-2d22252c"],"./system/config/":["cdb7","chunk-2d22252c"],"./system/config/index":["cdb7","chunk-2d22252c"],"./system/config/index.vue":["cdb7","chunk-2d22252c"],"./system/dept":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dept/index.vue":["5cfa","chunk-5a2f9c7b","chunk-3b0424d2"],"./system/dict":["046a","chunk-582b2a7a"],"./system/dict/":["046a","chunk-582b2a7a"],"./system/dict/data":["bfc4","chunk-d19c1a98"],"./system/dict/data.vue":["bfc4","chunk-d19c1a98"],"./system/dict/index":["046a","chunk-582b2a7a"],"./system/dict/index.vue":["046a","chunk-582b2a7a"],"./system/menu":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/menu/index.vue":["f794","chunk-5a2f9c7b","chunk-74ad0b3a"],"./system/notice":["202d","chunk-2d0b1626"],"./system/notice/":["202d","chunk-2d0b1626"],"./system/notice/index":["202d","chunk-2d0b1626"],"./system/notice/index.vue":["202d","chunk-2d0b1626"],"./system/post":["5788","chunk-2d0c8e18"],"./system/post/":["5788","chunk-2d0c8e18"],"./system/post/index":["5788","chunk-2d0c8e18"],"./system/post/index.vue":["5788","chunk-2d0c8e18"],"./system/role":["70eb","chunk-a662c34e"],"./system/role/":["70eb","chunk-a662c34e"],"./system/role/authUser":["7054","chunk-8ee3fc10"],"./system/role/authUser.vue":["7054","chunk-8ee3fc10"],"./system/role/index":["70eb","chunk-a662c34e"],"./system/role/index.vue":["70eb","chunk-a662c34e"],"./system/role/selectUser":["a17e","chunk-8579d4da"],"./system/role/selectUser.vue":["a17e","chunk-8579d4da"],"./system/user":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/authRole":["6a33","chunk-2727631f"],"./system/user/authRole.vue":["6a33","chunk-2727631f"],"./system/user/index":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/index.vue":["1f34","chunk-5a2f9c7b","chunk-712f179b"],"./system/user/profile":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/index":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/index.vue":["4c1b","chunk-2d0e2366","chunk-7fd190a8"],"./system/user/profile/resetPwd":["ee46","chunk-39413ce8"],"./system/user/profile/resetPwd.vue":["ee46","chunk-39413ce8"],"./system/user/profile/userAvatar":["9429","chunk-2d0e2366","chunk-314784fd"],"./system/user/profile/userAvatar.vue":["9429","chunk-2d0e2366","chunk-314784fd"],"./system/user/profile/userInfo":["1e8b","chunk-3a08d90c"],"./system/user/profile/userInfo.vue":["1e8b","chunk-3a08d90c"],"./tool/build":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/CodeTypeDialog":["a92a","chunk-2d20955d"],"./tool/build/CodeTypeDialog.vue":["a92a","chunk-2d20955d"],"./tool/build/DraggableItem":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/DraggableItem.vue":["4923","chunk-2d212b99","chunk-2d2102b6","chunk-e2ef1232"],"./tool/build/IconsDialog":["d0b2","chunk-56e8e43e"],"./tool/build/IconsDialog.vue":["d0b2","chunk-56e8e43e"],"./tool/build/RightPanel":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/RightPanel.vue":["766b","chunk-2d212b99","chunk-2d2102b6","chunk-9df46cb2","chunk-0d5b0085"],"./tool/build/TreeNodeDialog":["c81a","chunk-2d217a3b"],"./tool/build/TreeNodeDialog.vue":["c81a","chunk-2d217a3b"],"./tool/build/index":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/build/index.vue":["2855","chunk-2d212b99","chunk-2d2102b6","chunk-60006966","chunk-9df46cb2","chunk-22ac05af"],"./tool/gen":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/basicInfoForm":["ed69","chunk-2d230898"],"./tool/gen/basicInfoForm.vue":["ed69","chunk-2d230898"],"./tool/gen/editTable":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/editTable.vue":["76f8","chunk-5a2f9c7b","chunk-2d212b99","chunk-548b6580"],"./tool/gen/genInfoForm":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/genInfoForm.vue":["8586","chunk-5a2f9c7b","chunk-2d0de3b1"],"./tool/gen/importTable":["6f72","chunk-005cb0c7"],"./tool/gen/importTable.vue":["6f72","chunk-005cb0c7"],"./tool/gen/index":["82c8","chunk-5b83c289","chunk-7fa21b9b"],"./tool/gen/index.vue":["82c8","chunk-5b83c289","chunk-7fa21b9b"]};function l(e){if(!n.o(a,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],l=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(l)}))}l.keys=function(){return Object.keys(a)},l.id="9dac",e.exports=l},"9ec1":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a0bf:function(e,t,n){},a17a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o}));n("d3b7"),n("3ca3"),n("ddb0");var a=n("2b0e"),l=n("8c4f"),i=n("c1f7");a["default"].use(l["a"]);var s=[{path:"/redirect",component:i["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d0f012d").then(n.bind(null,"9b8f"))}}]},{path:"/login",component:function(){return Promise.all([n.e("chunk-8eb89780"),n.e("chunk-7d4afc9c")]).then(n.bind(null,"dd7b"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-81a2a40e").then(n.bind(null,"2754"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-1537fc93").then(n.bind(null,"ec55"))},hidden:!0},{path:"/",component:i["a"],redirect:"/login",children:[{path:"login",component:function(){return Promise.all([n.e("chunk-8eb89780"),n.e("chunk-7d4afc9c")]).then(n.bind(null,"dd7b"))},name:"Login",hidden:!0}]},{path:"/dashboard",component:i["a"],redirect:"dashboard/index",children:[{path:"index",component:function(){return n.e("chunk-2d0b68f8").then(n.bind(null,"1e4b"))},name:"Index",meta:{title:"首页",icon:"dashboard",affix:!0}}]},{path:"/user",component:i["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(){return Promise.all([n.e("chunk-2d0e2366"),n.e("chunk-7fd190a8")]).then(n.bind(null,"4c1b"))},name:"Profile",meta:{title:"个人中心",icon:"user"}}]}],o=[{path:"/system/user-auth",component:i["a"],hidden:!0,permissions:["system:user:edit"],children:[{path:"role/:userId(\\d+)",component:function(){return n.e("chunk-2727631f").then(n.bind(null,"6a33"))},name:"AuthRole",meta:{title:"分配角色",activeMenu:"/system/user"}}]},{path:"/system/role-auth",component:i["a"],hidden:!0,permissions:["system:role:edit"],children:[{path:"user/:roleId(\\d+)",component:function(){return n.e("chunk-8ee3fc10").then(n.bind(null,"7054"))},name:"AuthUser",meta:{title:"分配用户",activeMenu:"/system/role"}}]},{path:"/system/dict-data",component:i["a"],hidden:!0,permissions:["system:dict:list"],children:[{path:"index/:dictId(\\d+)",component:function(){return n.e("chunk-d19c1a98").then(n.bind(null,"bfc4"))},name:"Data",meta:{title:"字典数据",activeMenu:"/system/dict"}}]},{path:"/business/goods/good-data",component:i["a"],hidden:!0,permissions:["business:goods:list"],children:[{path:"index/:goodsId(\\d+)",component:function(){return n.e("chunk-a1b77432").then(n.bind(null,"a468"))},name:"goodData",meta:{title:"危险货物包装导则详情",activeMenu:"/business/goods"}},{path:"ibc/:goodsId(\\d+)",component:function(){return n.e("chunk-5530cbd8").then(n.bind(null,"b3d7"))},name:"goodIBCData",meta:{title:"危险货物IBC导则详情",activeMenu:"/business/goods"}}]},{path:"/business/icaoGoods/good-data",component:i["a"],hidden:!0,permissions:["business:icaoGoods:list"],children:[{path:"iac/:goodsId(\\d+)",component:function(){return n.e("chunk-522f4bbc").then(n.bind(null,"acee"))},name:"goodData",meta:{title:"空运危险货物包装导则详情",activeMenu:"/business/icaoGoods"}}]},{path:"/monitor/job-log",component:i["a"],hidden:!0,permissions:["monitor:job:list"],children:[{path:"index",component:function(){return n.e("chunk-68702101").then(n.bind(null,"0062"))},name:"JobLog",meta:{title:"调度日志",activeMenu:"/monitor/job"}}]},{path:"/tool/gen-edit",component:i["a"],hidden:!0,permissions:["tool:gen:edit"],children:[{path:"index/:tableId(\\d+)",component:function(){return Promise.all([n.e("chunk-5a2f9c7b"),n.e("chunk-2d212b99"),n.e("chunk-548b6580")]).then(n.bind(null,"76f8"))},name:"GenEdit",meta:{title:"修改生成配置",activeMenu:"/tool/gen"}}]}],c=l["a"].prototype.push;l["a"].prototype.push=function(e){return c.call(this,e).catch((function(e){return e}))},t["b"]=new l["a"]({mode:"hash",scrollBehavior:function(){return{y:0}},routes:s})},a1ac:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a543:function(e,t,n){},a601:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},a873:function(e,t,n){},aa3a:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return r}));var a=n("b775");function l(e){return Object(a["a"])({url:"/system/dict/data/list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/dict/data",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/dict/data",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/data/"+e,method:"delete"})}},ad41:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},ad64:function(e,t,n){"use strict";n("d464")},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},b11f:function(e,t,n){"use strict";n("57a7")},b181:function(e,t,n){"use strict";n("7049")},b18c:function(e,t,n){},b34b:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},b4dc:function(e,t,n){},b6f9:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return b}));var a,l=n("c7eb"),i=n("1da1"),s=n("53ca"),o=(n("fb6a"),n("e9c4"),n("d3b7"),n("caad"),n("2532"),n("bc3a")),c=n.n(o),r=n("5c96"),u=n("4360"),d=(n("5f87"),n("81ae")),h=n("c38a"),f=n("63f0"),p=n("21a6"),m={show:!1};c.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var _=c.a.create({baseURL:"./",timeout:1e4});function b(e,t,n){return a=r["Loading"].service({text:"正在下载数据,请稍候",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),_.post(e,t,{transformRequest:[function(e){return Object(h["j"])(e)}],headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"blob"}).then(function(){var e=Object(i["a"])(Object(l["a"])().mark((function e(t){var i,s,o,c,u;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["b"])(t);case 2:if(i=e.sent,!i){e.next=8;break}s=new Blob([t]),Object(p["saveAs"])(s,n),e.next=14;break;case 8:return e.next=10,t.text();case 10:o=e.sent,c=JSON.parse(o),u=d["a"][c.code]||c.msg||d["a"]["default"],r["Message"].error(u);case 14:a.close();case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e),r["Message"].error("下载文件出现错误,请联系管理员!"),a.close()}))}_.interceptors.request.use((function(e){(e.headers||{}).isToken;var t=!1===(e.headers||{}).repeatSubmit;if("get"===e.method&&e.params){var n=e.url+"?"+Object(h["j"])(e.params);n=n.slice(0,-1),e.params={},e.url=n}if(!t&&("post"===e.method||"put"===e.method)){var a={url:e.url,data:"object"===Object(s["a"])(e.data)?JSON.stringify(e.data):e.data,time:(new Date).getTime()},l=f["a"].session.getJSON("sessionObj");if(void 0===l||null===l||""===l)f["a"].session.setJSON("sessionObj",a);else{var i=l.url,o=l.data,c=l.time,r=1e3;if(o===a.data&&a.time-c'});s.a.add(o);t["default"]=o},b92c:function(e,t,n){"use strict";n("b4dc")},badf:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-redis-list",use:"icon-redis-list-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},bc7b:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},be8c:function(e,t,n){"use strict";n("2ddf")},c0c3:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return u}));var a=n("b775");function l(e){return Object(a["a"])({url:"/system/config/list",method:"get",params:e})}function i(e){return Object(a["a"])({url:"/system/config/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/system/config",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/config",method:"put",data:e})}function r(e){return Object(a["a"])({url:"/system/config/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/config/refreshCache",method:"delete"})}},c1f7:function(e,t,n){"use strict";var a,l,i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e.sidebar.hide?e._e():n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView,sidebarHide:e.sidebar.hide}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),n("right-panel",[n("settings")],1)],1)],1)},s=[],o=n("5530"),c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},r=[],u=(n("a9e3"),n("ed08")),d={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(u["a"])(document.body,"showRightPanel"):Object(u["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=d,f=(n("b11f"),n("d08d"),n("2877")),p=Object(f["a"])(h,c,r,!1,null,"2b17496a",null),m=p.exports,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},b=[],E={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},w=E,v=(n("69ce"),n("79ea"),Object(f["a"])(w,_,b,!1,null,"f3be4606",null)),g=v.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),e.topNav?e._e():n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),e.topNav?n("top-nav",{staticClass:"topmenu-container",attrs:{id:"topmenu-container"}}):e._e(),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}}),n("screenfull",{staticClass:"right-menu-item hover-effect",attrs:{id:"screenfull"}}),n("el-tooltip",{attrs:{content:"布局大小",effect:"dark",placement:"bottom"}},[n("size-select",{staticClass:"right-menu-item hover-effect",attrs:{id:"size-select"}})],1)]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{nativeOn:{click:function(t){e.setting=!0}}},[n("span",[e._v("布局设置")])]),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},I=[],C=n("c7eb"),y=n("1da1"),S=n("2f62"),O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},T=[],x=(n("2ca0"),n("4de4"),n("d3b7"),n("99af"),n("b0c0"),n("498a"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"Index"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),R=x,N=(n("d20b"),Object(f["a"])(R,O,T,!1,null,"08dd0676",null)),k=N.exports,D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{attrs:{"default-active":e.activeMenu,mode:"horizontal"},on:{select:e.handleSelect}},[e._l(e.topMenus,(function(t,a){return[ae.visibleNumber?n("el-submenu",{style:{"--theme":e.theme},attrs:{index:"more"}},[n("template",{slot:"title"},[e._v("更多菜单")]),e._l(e.topMenus,(function(t,a){return[a>=e.visibleNumber?n("el-menu-item",{key:a,attrs:{index:t.path}},[n("svg-icon",{attrs:{"icon-class":t.meta.icon}}),e._v(" "+e._s(t.meta.title))],1):e._e()]}))],2):e._e()],2)},L=[],P=(n("d81d"),n("7db0"),n("a18c")),G=["/index","/user/profile"],M={data:function(){return{visibleNumber:5,currentIndex:void 0}},computed:{theme:function(){return this.$store.state.settings.theme},topMenus:function(){var e=[];return this.routers.map((function(t){!0!==t.hidden&&("/"===t.path?e.push(t.children[0]):e.push(t))})),e},routers:function(){return this.$store.state.permission.topbarRouters},childrenMenus:function(){var e=this,t=[];return this.routers.map((function(n){for(var a in n.children)void 0===n.children[a].parentPath&&("/"===n.path?n.children[a].path="/"+n.children[a].path:e.ishttp(n.children[a].path)||(n.children[a].path=n.path+"/"+n.children[a].path),n.children[a].parentPath=n.path),t.push(n.children[a])})),P["a"].concat(t)},activeMenu:function(){var e=this.$route.path,t=e;if(void 0!==e&&e.lastIndexOf("/")>0&&-1===G.indexOf(e)){var n=e.substring(1,e.length);t="/"+n.substring(0,n.indexOf("/")),this.$store.dispatch("app/toggleSideBarHide",!1)}else this.$route.children||(t=e,this.$store.dispatch("app/toggleSideBarHide",!0));return this.activeRoutes(t),t}},beforeMount:function(){window.addEventListener("resize",this.setVisibleNumber)},beforeDestroy:function(){window.removeEventListener("resize",this.setVisibleNumber)},mounted:function(){this.setVisibleNumber()},methods:{setVisibleNumber:function(){var e=document.body.getBoundingClientRect().width/3;this.visibleNumber=parseInt(e/85)},handleSelect:function(e,t){this.currentIndex=e;var n=this.routers.find((function(t){return t.path===e}));this.ishttp(e)?window.open(e,"_blank"):n&&n.children?(this.activeRoutes(e),this.$store.dispatch("app/toggleSideBarHide",!1)):(this.$router.push({path:e}),this.$store.dispatch("app/toggleSideBarHide",!0))},activeRoutes:function(e){var t=[];this.childrenMenus&&this.childrenMenus.length>0&&this.childrenMenus.map((function(n){(e==n.parentPath||"index"==e&&""==n.path)&&t.push(n)})),t.length>0&&this.$store.commit("SET_SIDEBAR_ROUTERS",t)},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},B=M,H=(n("9b5e"),Object(f["a"])(B,D,L,!1,null,null,null)),z=H.exports,U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},V=[],j={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},K=j,$=(n("d49d"),Object(f["a"])(K,U,V,!1,null,"49e15297",null)),F=$.exports,Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},Q=[],X=n("93bf"),q=n.n(X),W={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!q.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;q.a.toggle()},change:function(){this.isFullscreen=q.a.isFullscreen},init:function(){q.a.isEnabled&&q.a.on("change",this.change)},destroy:function(){q.a.isEnabled&&q.a.off("change",this.change)}}},J=W,Z=(n("ad64"),Object(f["a"])(J,Y,Q,!1,null,"243c7c0f",null)),ee=Z.exports,te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},ne=[],ae=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),le=ae,ie=Object(f["a"])(le,te,ne,!1,null,null,null),se=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},ce=[],re=n("2909"),ue=n("b85c"),de=(n("841c"),n("0278")),he=n.n(de),fe=n("df7c"),pe=n.n(fe),me={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this,n=e.path;if(this.ishttp(e.path)){var a=n.indexOf("http");window.open(n.substr(a,n.length),"_blank")}else this.$router.push(e.path);this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new he.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=[],i=Object(ue["a"])(e);try{for(i.s();!(t=i.n()).done;){var s=t.value;if(!s.hidden){var o={path:this.ishttp(s.path)?s.path:pe.a.resolve(n,s.path),title:Object(re["a"])(a)};if(s.meta&&s.meta.title&&(o.title=[].concat(Object(re["a"])(o.title),[s.meta.title]),"noRedirect"!==s.redirect&&l.push(o)),s.children){var c=this.generateRoutes(s.children,o.path,o.title);c.length>=1&&(l=[].concat(Object(re["a"])(l),Object(re["a"])(c)))}}}}catch(r){i.e(r)}finally{i.f()}return l},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},_e=me,be=(n("77fa"),Object(f["a"])(_e,oe,ce,!1,null,"55552066",null)),Ee=be.exports,we=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},ve=[],ge={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},Ae=ge,Ie=Object(f["a"])(Ae,we,ve,!1,null,null,null),Ce=Ie.exports,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},Se=[],Oe={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},Te=Oe,xe=Object(f["a"])(Te,ye,Se,!1,null,null,null),Re=xe.exports,Ne={components:{Breadcrumb:k,TopNav:z,Hamburger:F,Screenfull:ee,SizeSelect:se,Search:Ee,RuoYiGit:Ce,RuoYiDoc:Re},computed:Object(o["a"])(Object(o["a"])({},Object(S["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(y["a"])(Object(C["a"])().mark((function t(){return Object(C["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){e.$router.push("/login?redirect=".concat(e.$route.fullPath))}))})).catch((function(){}));case 1:case"end":return t.stop()}}),t)})))()}}},ke=Ne,De=(n("3080"),Object(f["a"])(ke,A,I,!1,null,"0557aae2",null)),Le=De.exports,Pe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawer-container"},[a("div",[a("div",{staticClass:"setting-drawer-content"},[e._m(0),a("div",{staticClass:"setting-drawer-block-checbox"},[a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[a("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),a("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[a("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?a("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[a("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[a("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[a("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("主题颜色")]),a("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),a("el-divider"),a("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 TopNav")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.topNav,callback:function(t){e.topNav=t},expression:"topNav"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("开启 Tags-Views")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("固定 Header")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("显示 Logo")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1),a("div",{staticClass:"drawer-item"},[a("span",[e._v("动态标题")]),a("el-switch",{staticClass:"drawer-switch",model:{value:e.dynamicTitle,callback:function(t){e.dynamicTitle=t},expression:"dynamicTitle"}})],1),a("el-divider"),a("el-button",{attrs:{size:"small",type:"primary",plain:"",icon:"el-icon-document-add"},on:{click:e.saveSetting}},[e._v("保存配置")]),a("el-button",{attrs:{size:"small",plain:"",icon:"el-icon-refresh"},on:{click:e.resetSetting}},[e._v("重置配置")])],1)])},Ge=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},Be=[],He=(n("fb6a"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("159b"),n("a15b"),n("b680"),n("f6f8").version),ze="#409EFF",Ue={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(y["a"])(Object(C["a"])().mark((function n(){return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.setTheme(e);case 2:case"end":return n.stop()}}),n)})))()}},created:function(){this.defaultTheme!==ze&&this.setTheme(this.defaultTheme)},methods:{setTheme:function(e){var t=this;return Object(y["a"])(Object(C["a"])().mark((function n(){var a,l,i,s,o,c,r;return Object(C["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.chalk?t.theme:ze,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(l=t.getThemeCluster(e.replace("#","")),i=t.getThemeCluster(a.replace("#","")),s=function(e,n){return function(){var a=t.getThemeCluster(ze.replace("#","")),i=t.updateStyle(t[e],a,l),s=document.getElementById(n);s||(s=document.createElement("style"),s.setAttribute("id",n),document.head.appendChild(s)),s.innerText=i}},t.chalk){n.next=10;break}return o="https://unpkg.com/element-ui@".concat(He,"/lib/theme-chalk/index.css"),n.next=10,t.getCSSString(o,"chalk");case 10:c=s("chalk","chalk-style"),c(),r=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)})),r.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,i,l))})),t.$emit("change",e);case 15:case"end":return n.stop()}}),n)})))()},updateStyle:function(e,t,n){var a=e;return t.forEach((function(e,t){a=a.replace(new RegExp(e,"ig"),n[t])})),a},getCSSString:function(e,t){var n=this;return new Promise((function(a){var l=new XMLHttpRequest;l.onreadystatechange=function(){4===l.readyState&&200===l.status&&(n[t]=l.responseText.replace(/@font-face{[^}]+}/,""),a())},l.open("GET",e),l.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),l=parseInt(e.slice(4,6),16);return 0===t?[n,a,l].join(","):(n+=Math.round(t*(255-n)),a+=Math.round(t*(255-a)),l+=Math.round(t*(255-l)),n=n.toString(16),a=a.toString(16),l=l.toString(16),"#".concat(n).concat(a).concat(l))},n=function(e,t){var n=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),l=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),a=Math.round((1-t)*a),l=Math.round((1-t)*l),n=n.toString(16),a=a.toString(16),l=l.toString(16),"#".concat(n).concat(a).concat(l)},a=[e],l=0;l<=9;l++)a.push(t(e,Number((l/10).toFixed(2))));return a.push(n(e,.1)),a}}},Ve=Ue,je=(n("ea44"),Object(f["a"])(Ve,Me,Be,!1,null,null,null)),Ke=je.exports,$e={components:{ThemePicker:Ke},data:function(){return{theme:this.$store.state.settings.theme,sideTheme:this.$store.state.settings.sideTheme}},computed:{fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},topNav:{get:function(){return this.$store.state.settings.topNav},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"topNav",value:e}),e||(this.$store.dispatch("app/toggleSideBarHide",!1),this.$store.commit("SET_SIDEBAR_ROUTERS",this.$store.state.permission.defaultRoutes))}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}},dynamicTitle:{get:function(){return this.$store.state.settings.dynamicTitle},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"dynamicTitle",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e}),this.theme=e},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e}),this.sideTheme=e},saveSetting:function(){this.$modal.loading("正在保存到本地,请稍候..."),this.$cache.local.set("layout-setting",'{\n "topNav":'.concat(this.topNav,',\n "tagsView":').concat(this.tagsView,',\n "fixedHeader":').concat(this.fixedHeader,',\n "sidebarLogo":').concat(this.sidebarLogo,',\n "dynamicTitle":').concat(this.dynamicTitle,',\n "sideTheme":"').concat(this.sideTheme,'",\n "theme":"').concat(this.theme,'"\n }')),setTimeout(this.$modal.closeLoading(),1e3)},resetSetting:function(){this.$modal.loading("正在清除设置缓存并刷新,请稍候..."),this.$cache.local.remove("layout-setting"),setTimeout("window.location.reload()",1e3)}}},Fe=$e,Ye=(n("15a7"),Object(f["a"])(Fe,Pe,Ge,!1,null,"84da46fe",null)),Qe=Ye.exports,Xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuColor:e.variables.menuLightColor,"unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},qe=[],We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBackground:e.variables.menuLightBackground}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.logoTitleColor:e.variables.logoLightTitleColor}},[e._v(" "+e._s(e.title)+" ")])])],1)],1)},Je=[],Ze=(n("81a5"),n("8df1")),et=n.n(Ze),tt={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return et.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"危化品管理系统",logo:null}}},nt=tt,at=(n("9d13"),Object(f["a"])(nt,We,Je,!1,null,"4afdff8a",null)),lt=at.exports,it=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item,e.item.children)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path,e.onlyOneChild.query)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},st=[],ot=n("61f7"),ct={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,l=n.title,i=[];return a&&i.push(e("svg-icon",{attrs:{"icon-class":a}})),l&&(l.length>5?i.push(e("span",{slot:"title",attrs:{title:l}},[l])):i.push(e("span",{slot:"title"},[l]))),i}},rt=ct,ut=Object(f["a"])(rt,a,l,!1,null,null,null),dt=ut.exports,ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ft=[],pt={props:{to:{type:[String,Object],required:!0}},computed:{isExternal:function(){return Object(ot["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},mt=pt,_t=Object(f["a"])(mt,ht,ft,!1,null,null,null),bt=_t.exports,Et={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},wt={name:"SidebarItem",components:{Item:dt,AppLink:bt},mixins:[Et],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];n||(n=[]);var a=n.filter((function(e){return!e.hidden&&(t.onlyOneChild=e,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},e),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e,t){if(Object(ot["a"])(e))return e;if(Object(ot["a"])(this.basePath))return this.basePath;if(t){var n=JSON.parse(t);return{path:pe.a.resolve(this.basePath,e),query:n}}return pe.a.resolve(this.basePath,e)}}},vt=wt,gt=Object(f["a"])(vt,it,st,!1,null,null,null),At=gt.exports,It={components:{SidebarItem:At,Logo:lt},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(S["c"])(["settings"])),Object(S["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return et.a},isCollapse:function(){return!this.sidebar.opened}})},Ct=It,yt=Object(f["a"])(Ct,Xe,qe,!1,null,null,null),St=yt.exports,Ot=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-refresh-right"}),e._v(" 刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[n("i",{staticClass:"el-icon-close"}),e._v(" 关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 关闭其他")]),e.isFirstView()?e._e():n("li",{on:{click:e.closeLeftTags}},[n("i",{staticClass:"el-icon-back"}),e._v(" 关闭左侧")]),e.isLastView()?e._e():n("li",{on:{click:e.closeRightTags}},[n("i",{staticClass:"el-icon-right"}),e._v(" 关闭右侧")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[n("i",{staticClass:"el-icon-circle-close"}),e._v(" 全部关闭")])])],1)},Tt=[],xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},Rt=[],Nt=(n("c740"),4),kt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,a=this.scrollWrapper,l=this.$parent.$refs.tag,i=null,s=null;if(l.length>0&&(i=l[0],s=l[l.length-1]),i===e)a.scrollLeft=0;else if(s===e)a.scrollLeft=a.scrollWidth-n;else{var o=l.findIndex((function(t){return t===e})),c=l[o-1],r=l[o+1],u=r.$el.offsetLeft+r.$el.offsetWidth+Nt,d=c.$el.offsetLeft-Nt;u>a.scrollLeft+n?a.scrollLeft=u-n:d1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var l=pe.a.resolve(n,e.path);a.push({fullPath:l,path:l,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var i=t.filterAffixTags(e.children,e.path);i.length>=1&&(a=[].concat(Object(re["a"])(a),Object(re["a"])(i)))}})),a},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(ue["a"])(t);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.name&&this.$store.dispatch("tagsView/addVisitedView",a)}}catch(l){n.e(l)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,a=Object(ue["a"])(t);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(l),l.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(i){a.e(i)}finally{a.f()}}))},refreshSelectedTag:function(e){this.$tab.refreshPage(e)},closeSelectedTag:function(e){var t=this;this.$tab.closePage(e).then((function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a,e)}))},closeRightTags:function(){var e=this;this.$tab.closeRightPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeLeftTags:function(){var e=this;this.$tab.closeLeftPage(this.selectedTag).then((function(t){t.find((function(t){return t.fullPath===e.$route.fullPath}))||e.toLastView(t)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$tab.closeOtherPage(this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$tab.closeAllPage().then((function(n){var a=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(a,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,a=this.$el.getBoundingClientRect().left,l=this.$el.offsetWidth,i=l-n,s=t.clientX-a+15;this.left=s>i?i:s,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},Mt=Gt,Bt=(n("b181"),n("5af3"),Object(f["a"])(Mt,Ot,Tt,!1,null,"2b263a01",null)),Ht=Bt.exports,zt=n("4360"),Ut=document,Vt=Ut.body,jt=992,Kt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(zt["a"].dispatch("app/toggleDevice","mobile"),zt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Vt.getBoundingClientRect();return e.width-1'});s.a.add(o);t["default"]=o},c38a:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return _}));var a=n("c7eb"),l=n("1da1"),i=n("b85c"),s=n("53ca");n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("d3b7"),n("b64b"),n("a15b"),n("1276");function o(e,t){if(0===arguments.length||!e)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(s["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/").replace("T"," ").replace(new RegExp(/\.[\d]{3}/gm),"")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var l={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},i=a.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=l[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return i}function c(e){this.$refs[e]&&this.$refs[e].resetFields()}function r(e,t,n){var a=e;return a.params="object"!==Object(s["a"])(a.params)||null===a.params||Array.isArray(a.params)?{}:a.params,t=Array.isArray(t)?t:[],"undefined"===typeof n?(a.params["beginTime"]=t[0],a.params["endTime"]=t[1]):(a.params["begin"+n]=t[0],a.params["end"+n]=t[1]),a}function u(e,t){if(void 0===t)return"";var n=[];return Object.keys(e).some((function(a){if(e[a].value==""+t)return n.push(e[a].label),!0})),0===n.length&&n.push(t),n.join("")}function d(e,t,n){if(void 0===t)return"";var a=[],l=void 0===n?",":n,i=t.split(l);return Object.keys(t.split(l)).some((function(t){var n=!1;Object.keys(e).some((function(s){e[s].value==""+i[t]&&(a.push(e[s].label+l),n=!0)})),n||a.push(i[t]+l)})),a.join("").substring(0,a.join("").length-1)}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function f(e,t){for(var n in t)try{t[n].constructor==Object?e[n]=f(e[n],t[n]):e[n]=t[n]}catch(a){e[n]=t[n]}return e}function p(e,t,n,a){var l,s={id:t||"id",parentId:n||"parentId",childrenList:a||"children"},o={},c={},r=[],u=Object(i["a"])(e);try{for(u.s();!(l=u.n()).done;){var d=l.value,h=d[s.parentId];null==o[h]&&(o[h]=[]),c[d[s.id]]=d,o[h].push(d)}}catch(g){u.e(g)}finally{u.f()}var f,p=Object(i["a"])(e);try{for(p.s();!(f=p.n()).done;){var m=f.value,_=m[s.parentId];null==c[_]&&r.push(m)}}catch(g){p.e(g)}finally{p.f()}for(var b=0,E=r;b'});s.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d08d:function(e,t,n){"use strict";n("f0ee")},d20b:function(e,t,n){"use strict";n("b7b5")},d464:function(e,t,n){},d49d:function(e,t,n){"use strict";n("da64")},d7a0:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(o);t["default"]=o},d8c8:function(e,t,n){"use strict";n("db55")},da64:function(e,t,n){},da75:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},db55:function(e,t,n){},dc13:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},dce4:function(e,t,n){"use strict";n("d3b7");var a=n("4360");function l(e){var t="*:*:*",n=a["a"].getters&&a["a"].getters.permissions;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}function i(e){var t="admin",n=a["a"].getters&&a["a"].getters.roles;return!!(e&&e.length>0)&&n.some((function(n){return t===n||n===e}))}t["a"]={hasPermi:function(e){return l(e)},hasPermiOr:function(e){return e.some((function(e){return l(e)}))},hasPermiAnd:function(e){return e.every((function(e){return l(e)}))},hasRole:function(e){return i(e)},hasRoleOr:function(e){return e.some((function(e){return i(e)}))},hasRoleAnd:function(e){return e.every((function(e){return i(e)}))}}},df36:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},e218:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},e2a5:function(e,t,n){},e3ff:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},e82a:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},ea44:function(e,t,n){"use strict";n("a543")},ed00:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return d}));n("53ca"),n("ac1f"),n("5319"),n("a15b"),n("d81d"),n("b64b"),n("d3b7"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("6062"),n("ddb0"),n("25f0"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("00b4"),n("c38a");function a(e,t,n){var a,l,i,s,o,c=function c(){var r=+new Date-s;r0?a=setTimeout(c,t-r):(a=null,n||(o=e.apply(i,l),a||(i=l=null)))};return function(){for(var l=arguments.length,r=new Array(l),u=0;u'});s.a.add(o);t["default"]=o},f29d:function(e,t,n){},f71f:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var a=n("e017"),l=n.n(a),i=n("21a1"),s=n.n(i),o=new l.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(o);t["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js.gz similarity index 83% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js.gz rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js.gz index fcb286ea..b9931556 100644 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.30fa67ae.js.gz and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/app.a0b22b0f.js.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js deleted file mode 100644 index 598cb31b..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-05f1d4b6"],{"31f2":function(e,t,r){"use strict";r("9e9c")},"9e9c":function(e,t,r){},dc5f:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申请号",prop:"checkNo"}},[r("el-input",{attrs:{placeholder:"请输入申请号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.checkNo,callback:function(t){e.$set(e.queryParams,"checkNo",t)},expression:"queryParams.checkNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:reInspection"],expression:"['business:checkPaInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkPaInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申请号",align:"center",prop:"checkNo"}}),r("el-table-column",{attrs:{label:"包装容器名称",align:"center",prop:"packContainer"}}),r("el-table-column",{attrs:{label:"包装容器规格",align:"center",prop:"packContainerRule"}}),r("el-table-column",{attrs:{label:"标记及批号",align:"center",prop:"packSignAndProductNo"}}),r("el-table-column",{attrs:{label:"申报类型",align:"center",prop:"applyType"}}),r("el-table-column",{attrs:{label:"数量",align:"center",prop:"quantity"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatus"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatus}})]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:detail"],expression:"['business:checkPaInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:checkAndReviewPaInfo"],expression:"['business:checkPaInfo:checkAndReviewPaInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:reInspection"],expression:"['business:checkPaInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","min-width":"800px","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"130px",disabled:e.disabled}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(e.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(e.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(e.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(e.form.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(e.form.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(e.form.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(e.form.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单位"}},[e._v(e._s(e.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"包装使用单位名称"}},[e._v(e._s(e.form.packUsageCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器名称"}},[e._v(e._s(e.form.packContainer)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器规格"}},[e._v(e._s(e.form.packContainerRule)+" ")]),r("el-descriptions-item",{attrs:{label:"包装生产厂名称"}},[e._v(e._s(e.form.packProductCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"标记及批号"}},[e._v(e._s(e.form.packSignAndProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申报类型"}},[e._v(e._s(e.form.applyType)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(e.form.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"包装性能结果单号"}},[e._v(e._s(e.form.performanceCheckNo)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(e.form.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"拟装货物名称"}},[e._v(e._s(e.form.planGoods)+" ")]),r("el-descriptions-item",{attrs:{label:"联合国编号"}},[e._v(e._s(e.form.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(e.form.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险货物类别"}},[e._v(e._s(e.form.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"建议包装类别"}},[e._v(e._s(e.form.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(e.form.goodsProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(e.form.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(e.form.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(e.form.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(e.form.address)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("随附文件")])]),null==e.form.tblCheckFileLogVo&&null==e.form.tblOcrDangerTypeIdentity&&null==e.form.tblOcrGhsLabel&&null==e.form.tblOcrPackPerformance&&null==e.form.tblOcrSafeCert&&null==e.form.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=e.form.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),"tblCheckFileLogVo"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblCheckFileLogVo"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),"tblOcrDangerTypeIdentity"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrDangerTypeIdentity"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.cnName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"cnName",t)},expression:"form.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.enName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"enName",t)},expression:"form.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.produceCompany,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"produceCompany",t)},expression:"form.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.requirement,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"requirement",t)},expression:"form.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleMsg,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleMsg",t)},expression:"form.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.verificationBasis,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"verificationBasis",t)},expression:"form.tblOcrDangerTypeIdentity.verificationBasis"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleTag,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleTag",t)},expression:"form.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.component,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"component",t)},expression:"form.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleFeatures",t)},expression:"form.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isChemicalsList",t)},expression:"form.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isChemicalsDefineList",t)},expression:"\n form.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isImdgCode,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isImdgCode",t)},expression:"form.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.ghsType,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"ghsType",t)},expression:"form.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.formalName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"formalName",t)},expression:"form.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.unNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"unNo",t)},expression:"form.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.categoryNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"categoryNo",t)},expression:"form.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.packageNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"packageNo",t)},expression:"form.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),"tblOcrGhsLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrGhsLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(e.form.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.pictogramCode,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"pictogramCode",t)},expression:"form.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.signalWord,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"signalWord",t)},expression:"form.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.hazardStatement,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"hazardStatement",t)},expression:"form.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.precautionaryStatement,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"precautionaryStatement",t)},expression:"form.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.supplier,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"supplier",t)},expression:"form.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.transName,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"transName",t)},expression:"form.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.unNo,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"unNo",t)},expression:"form.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),"tblOcrPackPerformance"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrPackPerformance"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.ghsProductIdentifier,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ghsProductIdentifier",t)},expression:"form.tblOcrPackPerformance.ghsProductIdentifier"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.recommendUse,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"recommendUse",t)},expression:"form.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.merchartName,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"merchartName",t)},expression:"form.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.effectiveDate,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"effectiveDate",t)},expression:"form.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.emergencyMsg,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"emergencyMsg",t)},expression:"form.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.riskClassification,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskClassification",t)},expression:"form.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.riskType,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskType",t)},expression:"form.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.targetOrgan,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"targetOrgan",t)},expression:"form.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.pictogram,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"pictogram",t)},expression:"form.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.hazardStatement,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"hazardStatement",t)},expression:"form.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.preventivMeasure,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"preventivMeasure",t)},expression:"form.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.incidentResponse,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"incidentResponse",t)},expression:"form.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.secureStorage,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"secureStorage",t)},expression:"form.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.datasisposal,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"datasisposal",t)},expression:"form.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.compositionInformation,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"compositionInformation",t)},expression:"\n form.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.harmfulSubstances,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"harmfulSubstances",t)},expression:"form.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.content,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"content",t)},expression:"form.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.ghsClassification,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ghsClassification",t)},expression:"form.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.character,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"character",t)},expression:"form.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.appearance,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"appearance",t)},expression:"form.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.evaporationRate,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"evaporationRate",t)},expression:"form.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.smell,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"smell",t)},expression:"form.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.phValue,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"phValue",t)},expression:"form.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.meltingPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"meltingPoint",t)},expression:"form.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.boilingPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"boilingPoint",t)},expression:"form.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.density,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"density",t)},expression:"form.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.relativeVaporDensity,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"relativeVaporDensity",t)},expression:"form.tblOcrPackPerformance.relativeVaporDensity"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.saturatedVaporPressure,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"saturatedVaporPressure",t)},expression:"\n form.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.flashPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"flashPoint",t)},expression:"form.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.ignitionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ignitionTemperature",t)},expression:"form.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"lowerExplosiveLimit",t)},expression:"form.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.upperExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"upperExplosiveLimit",t)},expression:"form.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.solubilityInWater,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"solubilityInWater",t)},expression:"form.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.viscosity,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"viscosity",t)},expression:"form.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.autoignitionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"autoignitionTemperature",t)},expression:"\n form.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.flammability,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"flammability",t)},expression:"form.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.partitionCoefficient,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"partitionCoefficient",t)},expression:"form.tblOcrPackPerformance.partitionCoefficient"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.decompositionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"decompositionTemperature",t)},expression:"\n form.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.unNo,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"unNo",t)},expression:"form.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.unTransportName,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"unTransportName",t)},expression:"form.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.riskClassify,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskClassify",t)},expression:"form.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.packageType,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"packageType",t)},expression:"form.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.regulatoryInformation,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"regulatoryInformation",t)},expression:"form.tblOcrPackPerformance.regulatoryInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),"tblOcrSafeCert"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrSafeCert"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.ghsProductIdentifier,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ghsProductIdentifier",t)},expression:"form.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.recommendUse,callback:function(t){e.$set(e.form.tblOcrSafeCert,"recommendUse",t)},expression:"form.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.merchartName,callback:function(t){e.$set(e.form.tblOcrSafeCert,"merchartName",t)},expression:"form.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.effectiveDate,callback:function(t){e.$set(e.form.tblOcrSafeCert,"effectiveDate",t)},expression:"form.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.emergencyMsg,callback:function(t){e.$set(e.form.tblOcrSafeCert,"emergencyMsg",t)},expression:"form.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.riskClassification,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskClassification",t)},expression:"form.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.riskType,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskType",t)},expression:"form.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.targetOrgan,callback:function(t){e.$set(e.form.tblOcrSafeCert,"targetOrgan",t)},expression:"form.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.pictogram,callback:function(t){e.$set(e.form.tblOcrSafeCert,"pictogram",t)},expression:"form.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.hazardStatement,callback:function(t){e.$set(e.form.tblOcrSafeCert,"hazardStatement",t)},expression:"form.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.preventivMeasure,callback:function(t){e.$set(e.form.tblOcrSafeCert,"preventivMeasure",t)},expression:"form.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.incidentResponse,callback:function(t){e.$set(e.form.tblOcrSafeCert,"incidentResponse",t)},expression:"form.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.secureStorage,callback:function(t){e.$set(e.form.tblOcrSafeCert,"secureStorage",t)},expression:"form.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.datasisposal,callback:function(t){e.$set(e.form.tblOcrSafeCert,"datasisposal",t)},expression:"form.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.compositionInformation,callback:function(t){e.$set(e.form.tblOcrSafeCert,"compositionInformation",t)},expression:"form.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.harmfulSubstances,callback:function(t){e.$set(e.form.tblOcrSafeCert,"harmfulSubstances",t)},expression:"form.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.content,callback:function(t){e.$set(e.form.tblOcrSafeCert,"content",t)},expression:"form.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.ghsClassification,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ghsClassification",t)},expression:"form.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.character,callback:function(t){e.$set(e.form.tblOcrSafeCert,"character",t)},expression:"form.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.appearance,callback:function(t){e.$set(e.form.tblOcrSafeCert,"appearance",t)},expression:"form.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.evaporationRate,callback:function(t){e.$set(e.form.tblOcrSafeCert,"evaporationRate",t)},expression:"form.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.smell,callback:function(t){e.$set(e.form.tblOcrSafeCert,"smell",t)},expression:"form.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.phValue,callback:function(t){e.$set(e.form.tblOcrSafeCert,"phValue",t)},expression:"form.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.meltingPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"meltingPoint",t)},expression:"form.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.boilingPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"boilingPoint",t)},expression:"form.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.density,callback:function(t){e.$set(e.form.tblOcrSafeCert,"density",t)},expression:"form.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.relativeVaporDensity,callback:function(t){e.$set(e.form.tblOcrSafeCert,"relativeVaporDensity",t)},expression:"form.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.saturatedVaporPressure,callback:function(t){e.$set(e.form.tblOcrSafeCert,"saturatedVaporPressure",t)},expression:"form.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.flashPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"flashPoint",t)},expression:"form.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.ignitionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ignitionTemperature",t)},expression:"form.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.lowerExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrSafeCert,"lowerExplosiveLimit",t)},expression:"form.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.upperExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrSafeCert,"upperExplosiveLimit",t)},expression:"form.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.solubilityInWater,callback:function(t){e.$set(e.form.tblOcrSafeCert,"solubilityInWater",t)},expression:"form.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.viscosity,callback:function(t){e.$set(e.form.tblOcrSafeCert,"viscosity",t)},expression:"form.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.autoignitionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"autoignitionTemperature",t)},expression:"form.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.flammability,callback:function(t){e.$set(e.form.tblOcrSafeCert,"flammability",t)},expression:"form.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.partitionCoefficient,callback:function(t){e.$set(e.form.tblOcrSafeCert,"partitionCoefficient",t)},expression:"form.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.decompositionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"decompositionTemperature",t)},expression:"form.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.unNo,callback:function(t){e.$set(e.form.tblOcrSafeCert,"unNo",t)},expression:"form.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.unTransportName,callback:function(t){e.$set(e.form.tblOcrSafeCert,"unTransportName",t)},expression:"form.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.riskClassify,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskClassify",t)},expression:"form.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.packageType,callback:function(t){e.$set(e.form.tblOcrSafeCert,"packageType",t)},expression:"form.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.regulatoryInformation,callback:function(t){e.$set(e.form.tblOcrSafeCert,"regulatoryInformation",t)},expression:"form.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),"tblOcrTdgLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrTdgLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(e.form.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.pictogramCode,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"pictogramCode",t)},expression:"form.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.signalWord,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"signalWord",t)},expression:"form.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.hazardStatement,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"hazardStatement",t)},expression:"form.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.precautionaryStatement,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"precautionaryStatement",t)},expression:"form.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.supplier,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"supplier",t)},expression:"form.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.transName,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"transName",t)},expression:"form.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.unNo,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"unNo",t)},expression:"form.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[r("el-collapse-item",{attrs:{name:"0"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("基础信息")]),""==e.activeNames?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"0"==e.activeNames?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkPaInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkPaInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkPaInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.checkPaInfo.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.checkPaInfo.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkPaInfo.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkPaInfo.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单位"}},[e._v(e._s(this.checkPaInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"包装使用单位名称"}},[e._v(e._s(this.checkPaInfo.packUsageCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器名称"}},[e._v(e._s(this.checkPaInfo.packContainer)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器规格"}},[e._v(e._s(this.checkPaInfo.packContainerRule)+" ")]),r("el-descriptions-item",{attrs:{label:"包装生产厂名称"}},[e._v(e._s(this.checkPaInfo.packProductCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"标记及批号"}},[e._v(e._s(this.checkPaInfo.packSignAndProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申报类型"}},[e._v(e._s(this.checkPaInfo.applyType)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(this.checkPaInfo.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"包装性能结果单号"}},[e._v(e._s(this.checkPaInfo.performanceCheckNo)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(this.checkPaInfo.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"拟装货物名称"}},[e._v(e._s(this.checkPaInfo.planGoods)+" ")]),r("el-descriptions-item",{attrs:{label:"联合国编号"}},[e._v(e._s(this.checkPaInfo.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(this.checkPaInfo.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险货物类别"}},[e._v(e._s(this.checkPaInfo.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"建议包装类别"}},[e._v(e._s(this.checkPaInfo.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(this.checkPaInfo.goodsProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(this.checkPaInfo.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(this.checkPaInfo.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(this.checkPaInfo.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(this.checkPaInfo.address)+" ")])],1)],1)],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"15px","font-weight":"bold"}},[e._v("随附文件")])]),null==this.checkPaInfo.tblCheckFileLogVo&&null==this.checkPaInfo.tblOcrDangerTypeIdentity&&null==this.checkPaInfo.tblOcrGhsLabel&&null==this.checkPaInfo.tblOcrPackPerformance&&null==this.checkPaInfo.tblOcrSafeCert&&null==this.checkPaInfo.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=this.checkPaInfo.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),"tblCheckFileLogVo"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblCheckFileLogVo"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),"tblOcrDangerTypeIdentity"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrDangerTypeIdentity"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.cnName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"cnName",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.enName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"enName",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"produceCompany",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.requirement,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"requirement",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.requirement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleMsg",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.verificationBasis,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"verificationBasis",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity\n .verificationBasis\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleTag",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.component,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"component",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.component\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleFeatures",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isChemicalsList",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isChemicalsDefineList",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isImdgCode",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"ghsType",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.formalName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"formalName",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.formalName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"unNo",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"categoryNo",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"packageNo",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),"tblOcrGhsLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrGhsLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.pictogramCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"pictogramCode",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.signalWord,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"signalWord",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"precautionaryStatement",t)},expression:"\n this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.supplier,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"supplier",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.transName,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"transName",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"unNo",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),"tblOcrPackPerformance"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrPackPerformance"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.ghsProductIdentifier,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ghsProductIdentifier",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.recommendUse,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"recommendUse",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.recommendUse\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.merchartName,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"merchartName",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.merchartName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.effectiveDate,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"effectiveDate",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.effectiveDate\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.emergencyMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"emergencyMsg",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.emergencyMsg\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.riskClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskClassification",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.riskType,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskType",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.targetOrgan,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"targetOrgan",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.pictogram,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"pictogram",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"hazardStatement",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.hazardStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.preventivMeasure,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"preventivMeasure",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.incidentResponse,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"incidentResponse",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.secureStorage,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"secureStorage",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.secureStorage\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.datasisposal,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"datasisposal",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.datasisposal\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.compositionInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"compositionInformation",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .compositionInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"harmfulSubstances",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.content,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"content",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.ghsClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ghsClassification",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.character,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"character",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.appearance,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"appearance",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.evaporationRate,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"evaporationRate",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.evaporationRate\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.smell,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"smell",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.phValue,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"phValue",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.meltingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"meltingPoint",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.meltingPoint\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.boilingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"boilingPoint",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.boilingPoint\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.density,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"density",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.relativeVaporDensity,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"relativeVaporDensity",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .relativeVaporDensity\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.saturatedVaporPressure,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"saturatedVaporPressure",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.flashPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"flashPoint",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"lowerExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"upperExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.solubilityInWater,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"solubilityInWater",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.viscosity,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"viscosity",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.autoignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"autoignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .autoignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.flammability,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"flammability",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.flammability\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.partitionCoefficient,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"partitionCoefficient",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .partitionCoefficient\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.decompositionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"decompositionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"unNo",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.unTransportName,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"unTransportName",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.unTransportName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.riskClassify,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskClassify",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.riskClassify\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.packageType,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"packageType",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.regulatoryInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"regulatoryInformation",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .regulatoryInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),"tblOcrSafeCert"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrSafeCert"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ghsProductIdentifier",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.recommendUse,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"recommendUse",t)},expression:"this.checkPaInfo.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.merchartName,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"merchartName",t)},expression:"this.checkPaInfo.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.effectiveDate,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"effectiveDate",t)},expression:"this.checkPaInfo.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.emergencyMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"emergencyMsg",t)},expression:"this.checkPaInfo.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.riskClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskClassification",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.riskType,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskType",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.targetOrgan,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"targetOrgan",t)},expression:"this.checkPaInfo.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.pictogram,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"pictogram",t)},expression:"this.checkPaInfo.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.preventivMeasure,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"preventivMeasure",t)},expression:"this.checkPaInfo.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.incidentResponse,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"incidentResponse",t)},expression:"this.checkPaInfo.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.secureStorage,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"secureStorage",t)},expression:"this.checkPaInfo.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.datasisposal,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"datasisposal",t)},expression:"this.checkPaInfo.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.compositionInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"compositionInformation",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.compositionInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.harmfulSubstances,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"harmfulSubstances",t)},expression:"this.checkPaInfo.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.content,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"content",t)},expression:"this.checkPaInfo.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.ghsClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ghsClassification",t)},expression:"this.checkPaInfo.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.character,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"character",t)},expression:"this.checkPaInfo.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.appearance,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"appearance",t)},expression:"this.checkPaInfo.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.evaporationRate,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"evaporationRate",t)},expression:"this.checkPaInfo.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.smell,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"smell",t)},expression:"this.checkPaInfo.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.phValue,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"phValue",t)},expression:"this.checkPaInfo.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.meltingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"meltingPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.boilingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"boilingPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.density,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"density",t)},expression:"this.checkPaInfo.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"relativeVaporDensity",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"saturatedVaporPressure",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.flashPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"flashPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.ignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.ignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"lowerExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"upperExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.solubilityInWater,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"solubilityInWater",t)},expression:"this.checkPaInfo.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.viscosity,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"viscosity",t)},expression:"this.checkPaInfo.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"autoignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.flammability,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"flammability",t)},expression:"this.checkPaInfo.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.partitionCoefficient,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"partitionCoefficient",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.partitionCoefficient\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.decompositionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"decompositionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"unNo",t)},expression:"this.checkPaInfo.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.unTransportName,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"unTransportName",t)},expression:"this.checkPaInfo.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.riskClassify,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskClassify",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.packageType,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"packageType",t)},expression:"this.checkPaInfo.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.regulatoryInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"regulatoryInformation",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.regulatoryInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),"tblOcrTdgLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrTdgLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.pictogramCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"pictogramCode",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.signalWord,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"signalWord",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"precautionaryStatement",t)},expression:"\n this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.supplier,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"supplier",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.transName,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"transName",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"unNo",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),""!=e.checkPaInfo.baseCheckResult?r("div",[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"15px","font-weight":"bold"}},[e._v("查验结果")])]),r("el-table",{attrs:{data:e.checkPaInfo.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!1,3396380380)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!1,2322604348)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!1,2490284148)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!1,1168029876)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!1,1338715348)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!1,2983395193)})],1)],1)],1):e._e(),""!=e.checkPaInfo.baseReviewResult?r("div",{staticStyle:{position:"relative",padding:"10px 0"}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"15px","font-weight":"bold"}},[e._v("审单结果")])]),r("p",{staticClass:"jgsm"},[e._v(" 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 ")]),r("el-table",{attrs:{data:e.checkPaInfo.baseReviewResult}},[r("el-table-column",{attrs:{label:"审单类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!1,3396380380)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!1,2322604348)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!1,2490284148)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!1,1168029876)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!1,1338715348)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!1,2983395193)})],1)],1)],1):e._e(),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1)],1)},c=[],o=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("b775"));function l(e){return Object(o["a"])({url:"/business/checkPaInfo/list",method:"get",params:e})}function n(e){return Object(o["a"])({url:"/business/checkPaInfo/"+e,method:"get"})}function s(e){return Object(o["a"])({url:"/business/checkPaInfo",method:"post",data:e})}function i(e){return Object(o["a"])({url:"/business/checkPaInfo",method:"put",data:e})}function m(e){return Object(o["a"])({url:"/business/checkPaInfo/reInspection/"+e,method:"get"})}function f(e){return Object(o["a"])({url:"/business/checkPaInfo/checkAndReviewPaInfo/"+e,method:"get"})}function b(e,t){return Object(o["a"])({url:e,method:"put",data:t})}function p(e){return Object(o["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}var h=r("2b0e"),P={name:"CheckPaInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkPaInfo:{},activeNames:"0",activeTitle:"查看更多",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkPaInfoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,checkNo:null},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,l(this.queryParams).then((function(t){e.checkPaInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,customerArea:null,assign:null,classifyIdentifyReport:null,safeCert:null,checkNo:null,submitTime:null,corpName:null,packUsageCorp:null,packContainer:null,packContainerRule:null,packProductCorp:null,packSignAndProductNo:null,applyType:null,quantity:null,performanceCheckNo:null,transportMode:null,planGoods:null,unitedNo:null,formalTransportName:null,dangerType:null,packType:null,goodsProductNo:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=h["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),m(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加包装类型"},showDetail:function(e){var t=this;this.reset();var r=e.id||this.ids;n(r).then((function(e){t.form=e.data,t.open=!0,t.title="包装类型详情"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?i(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):s(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkPaInfo={}},checkDetail:function(e){var t=this;f(e.id).then((function(e){t.checkPaInfo=e.data,null!=e.data.baseCheckResult&&(t.checkPaInfo.baseCheckResult=JSON.parse(e.data.baseCheckResult.replace(/\'/g,'"'))),null!=e.data.baseReviewResult&&(t.checkPaInfo.baseReviewResult=JSON.parse(e.data.baseReviewResult.replace(/\'/g,'"'))),t.openCheck=!0,t.checkTitle="查看校验结果"}))},hideidt:function(e){this.ocrForm={},this.ocrForm=e},hidputOcr:function(e,t){var r=this;if("tblOcrDangerTypeIdentity"==t)var a="/business/dangerTypeIdentityOcr";if("tblOcrGhsLabel"==t)a="/business/ghsLabel";if("tblOcrPackPerformance"==t)a="/business/packPerformance";if("tblOcrSafeCert"==t)a="/business/safeCert";if("tblOcrTdgLabel"==t)a="/business/tdgLabel";b(a,e).then((function(e){r.$modal.msgSuccess("修改成功"),r.ocrForm={}}))},downloadOcr:function(e){var t=this,r=e.lastIndexOf("/"),a=e.substring(r+1,e.length),c={resource:e};p(c).then((function(e){var r=new Blob([e],{type:"application/pdf"}),c=navigator.userAgent.match(/MSIE\s([\d.]+)/),o=navigator.userAgent.match(/Trident\/7.0/)&&navigator.userAgent.match(/rv:11/),l=navigator.userAgent.match(/Edge/g),n=c?c[1]:o?11:l?12:-1;if(c&&n<10)t.$message.error("No blobs on IE<10");else if(n>-1)window.navigator.msSaveBlob(r,a);else{var s=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",s),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(s)}}))}}},k=P,u=(r("31f2"),r("2877")),O=Object(u["a"])(k,a,c,!1,null,"d4302ce2",null);t["default"]=O.exports}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js.gz deleted file mode 100644 index 56420b07..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-05f1d4b6.fd4f6181.js.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js.gz deleted file mode 100644 index d1932afb..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js similarity index 94% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js index c9216247..44eb7ec3 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-0929751a.43ba0a91.js +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0929751a"],{"0697":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"68px"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申报号",prop:"checkNo"}},[r("el-input",{attrs:{placeholder:"请输入申报号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.checkNo,callback:function(t){e.$set(e.queryParams,"checkNo",t)},expression:"queryParams.checkNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:reInspection"],expression:"['business:checkEaInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkEaInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申报号",align:"center",prop:"customsDeclarationNo"}}),r("el-table-column",{attrs:{label:"申请单证",align:"center",prop:"applyCert"}}),r("el-table-column",{attrs:{label:"申报单位",align:"center",prop:"corpName"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatusInfo.status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"!=t.row.checkStatusInfo.status?r("span",[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatusInfo.status}})],1):e._e(),"1"==t.row.checkStatusInfo.status?r("span",{staticClass:"el-tag el-tag--danger el-tag--medium el-tag--light",staticStyle:{"white-space":"break-spaces",height:"auto","line-height":"20px"}},[e._v("检验不合格 (货物序号:"+e._s(t.row.checkStatusInfo.unPassNos)+")")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:detail"],expression:"['business:checkEaInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:checkAndReviewEaInfo"],expression:"['business:checkEaInfo:checkAndReviewEaInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:reInspection"],expression:"['business:checkEaInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"归档号"}},[e._v(e._s(this.form.fillNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.form.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.form.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报号"}},[e._v(e._s(this.form.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.form.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.form.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},e._l(e.form.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.goodsHsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.amount)+" ")]),r("el-descriptions-item",{attrs:{label:"发货人名称"}},[e._v(e._s(t.sender)+" ")]),r("el-descriptions-item",{attrs:{label:"生产单位"}},[e._v(e._s(t.productCorpCname)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(t.productNo)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(t.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packSign)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据名称"}},[e._v(e._s(t.certName)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据编号"}},[e._v(e._s(t.certNo)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:1}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("关 闭")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkEaInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"归档号"}},[e._v(e._s(this.checkEaInfo.fillNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkEaInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkEaInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.checkEaInfo.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.checkEaInfo.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报号"}},[e._v(e._s(this.checkEaInfo.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkEaInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkEaInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkEaInfo.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkEaInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.goodsHsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.amount)+" ")]),r("el-descriptions-item",{attrs:{label:"发货人名称"}},[e._v(e._s(t.sender)+" ")]),r("el-descriptions-item",{attrs:{label:"生产单位"}},[e._v(e._s(t.productCorpCname)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(t.productNo)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(t.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packSign)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据名称"}},[e._v(e._s(t.certName)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据编号"}},[e._v(e._s(t.certNo)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseCheckResult?r("div",[r("el-descriptions",{attrs:{title:"查验结果"}}),r("el-table",{attrs:{data:t.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e(),""!=t.baseReviewResult?r("div",{staticStyle:{position:"relative",padding:"10px 0"}},[r("el-descriptions",{attrs:{title:"审单结果"}}),r("p",{staticClass:"jgsm"},[e._v(" 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 ")]),r("el-table",{attrs:{data:t.baseReviewResult}},[r("el-table-column",{attrs:{label:"审单类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1)],1)},l=[],c=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("b775"));function o(e){return Object(c["a"])({url:"/business/checkEaInfo/list",method:"get",params:e})}function s(e){return Object(c["a"])({url:"/business/checkEaInfo/"+e,method:"get"})}function n(e){return Object(c["a"])({url:"/business/checkEaInfo",method:"post",data:e})}function i(e){return Object(c["a"])({url:"/business/checkEaInfo",method:"put",data:e})}function m(e){return Object(c["a"])({url:"/business/checkEaInfo/reInspection/"+e,method:"get"})}function b(e){return Object(c["a"])({url:"/business/checkEaInfo/checkAndReviewEaInfo/"+e,method:"get"})}function p(e,t){return Object(c["a"])({url:e,method:"put",data:t})}function f(e){return Object(c["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}var u=r("2b0e"),O={name:"CheckEaInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkEaInfo:{},activeNames:"1",activeNames1:"1",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkEaInfoList:[],infoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,fillNo:null,checkNo:null,goodsNo:null,goodsHsCode:null},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,o(this.queryParams).then((function(t){e.checkEaInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,fillNo:null,customerArea:null,assign:null,dangerTypeIdentity:null,safeCert:null,checkNo:null,applyCert:null,corpName:null,submitTime:null,goodsNo:null,goodsHsCode:null,transportMode:null,goodsName:null,quantity:null,quantityUnit:null,weight:null,weightUnit:null,amount:null,sender:null,productCorpCname:null,productNo:null,goodsAttr:null,formalTransportName:null,dangerType:null,unitedNo:null,packType:null,packSign:null,goodsType:null,certName:null,certNo:null,checkResultTime:null,checkResult:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,resultList:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=u["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),m(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加电子底账"},showDetail:function(e){var t=this;this.reset(),this.activeNames=1;var r=e.id||this.ids;s(r).then((function(e){t.form=e.data,t.open=!0,t.title="电子底账详情"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?i(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):n(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkEaInfo={}},checkDetail:function(e){var t=this;this.activeNames1=1,this.ocrName="0",this.ocrForm={},b(e.id).then((function(e){t.checkEaInfo=e.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))}}},d=O,_=(r("625c"),r("2877")),P=Object(_["a"])(d,a,l,!1,null,"39d25942",null);t["default"]=P.exports},"18c4":function(e,t,r){},"625c":function(e,t,r){"use strict";r("18c4")}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-144e43c1"],{"0697":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"68px"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申报号",prop:"checkNo"}},[r("el-input",{attrs:{placeholder:"请输入申报号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.checkNo,callback:function(t){e.$set(e.queryParams,"checkNo",t)},expression:"queryParams.checkNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:reInspection"],expression:"['business:checkEaInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkEaInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申报号",align:"center",prop:"customsDeclarationNo"}}),r("el-table-column",{attrs:{label:"申请单证",align:"center",prop:"applyCert"}}),r("el-table-column",{attrs:{label:"申报单位",align:"center",prop:"corpName"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatusInfo.status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"!=t.row.checkStatusInfo.status?r("span",[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatusInfo.status}})],1):e._e(),"1"==t.row.checkStatusInfo.status?r("span",{staticClass:"el-tag el-tag--danger el-tag--medium el-tag--light",staticStyle:{"white-space":"break-spaces",height:"auto","line-height":"20px"}},[e._v("检验不合格 (货物序号:"+e._s(t.row.checkStatusInfo.unPassNos)+")")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:detail"],expression:"['business:checkEaInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:checkAndReviewEaInfo"],expression:"['business:checkEaInfo:checkAndReviewEaInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkEaInfo:reInspection"],expression:"['business:checkEaInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"归档号"}},[e._v(e._s(this.form.fillNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.form.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.form.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报号"}},[e._v(e._s(this.form.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.form.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.form.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},e._l(e.form.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.goodsHsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.amount)+" ")]),r("el-descriptions-item",{attrs:{label:"发货人名称"}},[e._v(e._s(t.sender)+" ")]),r("el-descriptions-item",{attrs:{label:"生产单位"}},[e._v(e._s(t.productCorpCname)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(t.productNo)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(t.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packSign)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据名称"}},[e._v(e._s(t.certName)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据编号"}},[e._v(e._s(t.certNo)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:1}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("关 闭")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkEaInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"归档号"}},[e._v(e._s(this.checkEaInfo.fillNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkEaInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkEaInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.checkEaInfo.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.checkEaInfo.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报号"}},[e._v(e._s(this.checkEaInfo.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkEaInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkEaInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkEaInfo.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkEaInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.goodsHsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.amount)+" ")]),r("el-descriptions-item",{attrs:{label:"发货人名称"}},[e._v(e._s(t.sender)+" ")]),r("el-descriptions-item",{attrs:{label:"生产单位"}},[e._v(e._s(t.productCorpCname)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(t.productNo)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(t.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packSign)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据名称"}},[e._v(e._s(t.certName)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据编号"}},[e._v(e._s(t.certNo)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseCheckResult?r("div",[r("el-descriptions",{attrs:{title:"查验结果"}}),r("el-table",{attrs:{data:t.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1)],1)},l=[],c=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("b775"));function o(e){return Object(c["a"])({url:"/business/checkEaInfo/list",method:"get",params:e})}function s(e){return Object(c["a"])({url:"/business/checkEaInfo/"+e,method:"get"})}function n(e){return Object(c["a"])({url:"/business/checkEaInfo",method:"post",data:e})}function i(e){return Object(c["a"])({url:"/business/checkEaInfo",method:"put",data:e})}function m(e){return Object(c["a"])({url:"/business/checkEaInfo/reInspection/"+e,method:"get"})}function b(e){return Object(c["a"])({url:"/business/checkEaInfo/checkAndReviewEaInfo/"+e,method:"get"})}function p(e,t){return Object(c["a"])({url:e,method:"put",data:t})}function f(e){return Object(c["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}var u=r("2b0e"),O={name:"CheckEaInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkEaInfo:{},activeNames:"1",activeNames1:"1",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkEaInfoList:[],infoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,fillNo:null,checkNo:null,goodsNo:null,goodsHsCode:null},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,o(this.queryParams).then((function(t){e.checkEaInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,fillNo:null,customerArea:null,assign:null,dangerTypeIdentity:null,safeCert:null,checkNo:null,applyCert:null,corpName:null,submitTime:null,goodsNo:null,goodsHsCode:null,transportMode:null,goodsName:null,quantity:null,quantityUnit:null,weight:null,weightUnit:null,amount:null,sender:null,productCorpCname:null,productNo:null,goodsAttr:null,formalTransportName:null,dangerType:null,unitedNo:null,packType:null,packSign:null,goodsType:null,certName:null,certNo:null,checkResultTime:null,checkResult:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,resultList:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=u["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),m(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加电子底账"},showDetail:function(e){var t=this;this.reset(),this.activeNames=1;var r=e.id||this.ids;s(r).then((function(e){t.form=e.data,t.open=!0,t.title="电子底账详情"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?i(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):n(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkEaInfo={}},checkDetail:function(e){var t=this;this.activeNames1=1,this.ocrName="0",this.ocrForm={},b(e.id).then((function(e){t.checkEaInfo=e.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))}}},d=O,_=(r("7341"),r("2877")),P=Object(_["a"])(d,a,l,!1,null,"4a0e0ae4",null);t["default"]=P.exports},5060:function(e,t,r){},7341:function(e,t,r){"use strict";r("5060")}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js.gz new file mode 100644 index 00000000..efe9204d Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-144e43c1.8e7f0826.js.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js new file mode 100644 index 00000000..1463e5bc --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-158b7172"],{"1d87":function(e,t,r){},"21bb":function(e,t,r){"use strict";r.d(t,"h",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"i",(function(){return n})),r.d(t,"e",(function(){return i})),r.d(t,"j",(function(){return m})),r.d(t,"c",(function(){return b})),r.d(t,"f",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"g",(function(){return u}));var a=r("b775");function l(e){return Object(a["a"])({url:"/business/checkInInfo/list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/business/checkInInfo/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/business/checkInInfo",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/business/checkInInfo",method:"put",data:e})}function n(e){return Object(a["a"])({url:"/business/checkInInfo/reInspection/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/business/checkInInfo/checkAndReviewInInfo/"+e,method:"get"})}function m(e){return Object(a["a"])({url:"/business/checkInInfo/reviewInInfo",method:"get",params:e})}function b(e){return Object(a["a"])({url:"/business/checkInInfo/flushInInfo",method:"get",params:e})}function p(e,t){return Object(a["a"])({url:e,method:"put",data:t})}function f(e){return Object(a["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}function u(e){return Object(a["a"])({url:"/business/dangerTypeIdentity/listByInfoIds/"+e,method:"get"})}},"4d5b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申请号",prop:"customsDeclarationNo"}},[r("el-input",{attrs:{placeholder:"请输入申请号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.customsDeclarationNo,callback:function(t){e.$set(e.queryParams,"customsDeclarationNo",t)},expression:"queryParams.customsDeclarationNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reInspection"],expression:"['business:checkInInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkInInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申请号",align:"center",prop:"customsDeclarationNo"}}),r("el-table-column",{attrs:{label:"申请单证",align:"center",prop:"applyCert"}}),r("el-table-column",{attrs:{label:"申报单位",align:"center",prop:"corpName"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatusInfo.status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"!=t.row.checkStatusInfo.status?r("span",[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatusInfo.status}})],1):e._e(),"1"==t.row.checkStatusInfo.status?r("span",{staticClass:"el-tag el-tag--danger el-tag--medium el-tag--light",staticStyle:{"white-space":"break-spaces",height:"auto","line-height":"20px"}},[e._v("检验不合格 (货物序号:"+e._s(t.row.checkStatusInfo.unPassNos)+")")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:detail"],expression:"['business:checkInInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reviewInInfo"],expression:"['business:checkInInfo:reviewInInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reInspection"],expression:"['business:checkInInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.form.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.form.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.form.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},e._l(e.form.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.goodsValue)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")]),r("el-descriptions-item",{attrs:{label:"总税款"}},[e._v(e._s(t.totalTax)+" ")]),r("el-descriptions-item",{attrs:{label:"所需单证"}},[e._v(e._s(t.needCert)+" ")]),r("el-descriptions-item",{attrs:{label:"集装箱信息"}},[e._v(e._s(t.containerInfo)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.document)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentSafeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentImportDangerClaim)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentGhsLabel)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"\n item.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"\n item.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"\n item.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"\n item.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"\n item.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"\n item.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"\n item.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"\n item.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"\n item.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"\n item.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("关 闭")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkInInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkInInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkInInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkInInfo.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkInInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkInInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkInInfo.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkInInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.goodsValue)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")]),r("el-descriptions-item",{attrs:{label:"总税款"}},[e._v(e._s(t.totalTax)+" ")]),r("el-descriptions-item",{attrs:{label:"所需单证"}},[e._v(e._s(t.needCert)+" ")]),r("el-descriptions-item",{attrs:{label:"集装箱信息"}},[e._v(e._s(t.containerInfo)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.document)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentSafeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentImportDangerClaim)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentGhsLabel)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"\n item.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"\n item.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"\n item.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"\n item.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"\n item.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"\n item.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"\n item.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"\n item.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"\n item.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"\n item.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseCheckResult?r("div",[r("el-descriptions",{attrs:{title:"查验结果"}}),r("el-table",{attrs:{data:t.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.dataSource&&t.row.dataSource.indexOf("检测信息")>-1?r("span",[e._v(" "+e._s(t.row.dataSource)+" ")]):e._e(),null!=t.row.dataSource&&-1===t.row.dataSource.indexOf("检测信息")?r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}}):e._e()]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData.slice(0,10))+"... ")]):e._e(),"A1"!=t.row.checkType?r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")]):e._e()],1)],1):r("div",["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData)+" ")]):e._e(),"A1"!=t.row.checkType?r("span",[e._v(e._s(t.row.standardData))]):e._e()],1)]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1),r("el-dialog",{ref:"creditQrCodeShare",attrs:{title:"危化品危险特性分类鉴别检测信息",visible:e.listByInfoIdsopen,width:"60%","append-to-body":"",id:"view"},on:{"update:visible":function(t){e.listByInfoIdsopen=t},close:e.cancelChecks}},[r("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.listByInfoIdsactiveName,callback:function(t){e.listByInfoIdsactiveName=t},expression:"listByInfoIdsactiveName"}},e._l(e.listByInfoIds,(function(t,a){return r("el-tab-pane",{key:a,attrs:{label:t.infoId,name:"infoId"+a}},[r("el-form",{ref:"listByInfoIdsform",refInFor:!0,attrs:{model:t,size:"mini","label-width":"175px"}},[r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"样品名称及型号"}},[e._v(" "+e._s(t.sampleNameModel)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"进口国别/地区"}},[e._v(" "+e._s(t.importCountryRegion)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"进口收货人/消费使用单位"}},[e._v(" "+e._s(t.importConsigneeConsumer)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"生产商/发货人"}},[e._v(" "+e._s(t.manufacturerHipper)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"成分/组分"}},[e._v(" "+e._s(t.composition)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"危险类别"}},[e._v(" "+e._s(t.dangerType)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"联合国编号"}},[e._v(" "+e._s(t.unNo)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"建议包装类别"}},[r("dict-tag",{attrs:{options:e.dict.type.package_grade,value:t.packageClass}})],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"数据来源"}},[e._v(" "+e._s(t.dataSource)+" ")])],1)],1)],1)],1)})),1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary"},on:{click:e.saveImage}},[e._v("下载图片")]),r("el-button",{on:{click:e.cancelChecks}},[e._v("关 闭")])],1)],1)],1)},l=[],c=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("21bb")),o=r("2b0e"),s=r("c0e9"),n=r.n(s),i={name:"CheckInInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkInInfo:{},activeNames:"",activeNames1:"",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkInInfoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,customsDeclarationNo:null,ciqCode:null,checkStatus:null},form:{},rules:{},ocrForm:{},ocrName:"0",listByInfoIdsactiveName:"infoId0",listByInfoIds:[],listByInfoIdsopen:!1,infoIdindex:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,Object(c["h"])(this.queryParams).then((function(t){e.checkInInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,customerArea:null,assign:null,customsDeclarationNo:null,applyCert:null,corpName:null,submitTime:null,goodsNo:null,hsCode:null,ciqCode:null,transportMode:null,goodsName:null,quantity:null,quantityUnit:null,weight:null,weightUnit:null,goodsValue:null,receiver:null,goodsAttr:null,dangerType:null,unitedNo:null,packType:null,packRule:null,goodsType:null,useIn:null,totalTax:null,needCert:null,containerInfo:null,document:null,documentSafeCert:null,documentImportDangerClaim:null,documentGhsLabel:null,checkResultTime:null,checkResult:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,resultList:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=o["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),Object(c["i"])(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加进口报关"},showDetail:function(e){var t=this;this.reset();var r=e.id||this.ids;Object(c["d"])(r).then((function(e){t.form=e.data,t.open=!0,t.title="进口报关详情",t.activeNames=1}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?Object(c["k"])(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):Object(c["a"])(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkInInfo={}},checkDetail:function(e){var t=this;Object(c["e"])(e.id).then((function(e){t.checkInInfo=e.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))},handleClick:function(e,t){this.infoIdindex=e.index},cancelChecks:function(){this.listByInfoIds=[],this.listByInfoIdsopen=!1,this.listByInfoIdsactiveName="infoId0"},listByInfoId:function(e){var t=this,r=e.standardData;Object(c["g"])(r).then((function(e){t.listByInfoIds=e.rows,t.listByInfoIdsopen=!0}))},saveImage:function(){var e=this;n()(document.getElementById("view"),{useCORS:!0,backgroundColor:"#ececec"}).then((function(t){var r=t.toDataURL("image/png");e.downLoadFile(e.infoIdindex,r)}))},downLoadFile:function(e,t){var r=document.createElement("a");r.href=t,r.download=e,r.click()}}},m=i,b=(r("c57d"),r("2877")),p=Object(b["a"])(m,a,l,!1,null,"70023e2c",null);t["default"]=p.exports},c57d:function(e,t,r){"use strict";r("1d87")}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js.gz new file mode 100644 index 00000000..90cf8b44 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-158b7172.e41cd3f3.js.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js new file mode 100644 index 00000000..4754d985 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3c6312bc"],{4071:function(e,t,r){"use strict";r("62eb")},"62eb":function(e,t,r){},dc5f:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申请号",prop:"checkNo"}},[r("el-input",{attrs:{placeholder:"请输入申请号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.checkNo,callback:function(t){e.$set(e.queryParams,"checkNo",t)},expression:"queryParams.checkNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:reInspection"],expression:"['business:checkPaInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkPaInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申请号",align:"center",prop:"checkNo"}}),r("el-table-column",{attrs:{label:"包装容器名称",align:"center",prop:"packContainer"}}),r("el-table-column",{attrs:{label:"包装容器规格",align:"center",prop:"packContainerRule"}}),r("el-table-column",{attrs:{label:"标记及批号",align:"center",prop:"packSignAndProductNo"}}),r("el-table-column",{attrs:{label:"申报类型",align:"center",prop:"applyType"}}),r("el-table-column",{attrs:{label:"数量",align:"center",prop:"quantity"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatus"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatus}})]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:detail"],expression:"['business:checkPaInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:checkAndReviewPaInfo"],expression:"['business:checkPaInfo:checkAndReviewPaInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkPaInfo:reInspection"],expression:"['business:checkPaInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","min-width":"800px","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"130px",disabled:e.disabled}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(e.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(e.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(e.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(e.form.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(e.form.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(e.form.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(e.form.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单位"}},[e._v(e._s(e.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"包装使用单位名称"}},[e._v(e._s(e.form.packUsageCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器名称"}},[e._v(e._s(e.form.packContainer)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器规格"}},[e._v(e._s(e.form.packContainerRule)+" ")]),r("el-descriptions-item",{attrs:{label:"包装生产厂名称"}},[e._v(e._s(e.form.packProductCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"标记及批号"}},[e._v(e._s(e.form.packSignAndProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申报类型"}},[e._v(e._s(e.form.applyType)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(e.form.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"包装性能结果单号"}},[e._v(e._s(e.form.performanceCheckNo)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(e.form.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"拟装货物名称"}},[e._v(e._s(e.form.planGoods)+" ")]),r("el-descriptions-item",{attrs:{label:"联合国编号"}},[e._v(e._s(e.form.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(e.form.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险货物类别"}},[e._v(e._s(e.form.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"建议包装类别"}},[e._v(e._s(e.form.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(e.form.goodsProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(e.form.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(e.form.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(e.form.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(e.form.address)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("随附文件")])]),null==e.form.tblCheckFileLogVo&&null==e.form.tblOcrDangerTypeIdentity&&null==e.form.tblOcrGhsLabel&&null==e.form.tblOcrPackPerformance&&null==e.form.tblOcrSafeCert&&null==e.form.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=e.form.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),"tblCheckFileLogVo"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblCheckFileLogVo"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),"tblOcrDangerTypeIdentity"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrDangerTypeIdentity"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.cnName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"cnName",t)},expression:"form.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.enName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"enName",t)},expression:"form.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.produceCompany,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"produceCompany",t)},expression:"form.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.requirement,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"requirement",t)},expression:"form.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleMsg,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleMsg",t)},expression:"form.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.verificationBasis,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"verificationBasis",t)},expression:"form.tblOcrDangerTypeIdentity.verificationBasis"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleTag,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleTag",t)},expression:"form.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.component,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"component",t)},expression:"form.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"sampleFeatures",t)},expression:"form.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isChemicalsList",t)},expression:"form.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isChemicalsDefineList",t)},expression:"\n form.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.isImdgCode,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"isImdgCode",t)},expression:"form.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.ghsType,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"ghsType",t)},expression:"form.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.formalName,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"formalName",t)},expression:"form.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.unNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"unNo",t)},expression:"form.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.categoryNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"categoryNo",t)},expression:"form.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==e.form.tblOcrDangerTypeIdentity?r("el-input",{model:{value:e.form.tblOcrDangerTypeIdentity.packageNo,callback:function(t){e.$set(e.form.tblOcrDangerTypeIdentity,"packageNo",t)},expression:"form.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=e.form.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(e.form.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),"tblOcrGhsLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrGhsLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(e.form.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.pictogramCode,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"pictogramCode",t)},expression:"form.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.signalWord,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"signalWord",t)},expression:"form.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.hazardStatement,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"hazardStatement",t)},expression:"form.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.precautionaryStatement,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"precautionaryStatement",t)},expression:"form.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.supplier,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"supplier",t)},expression:"form.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.transName,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"transName",t)},expression:"form.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrGhsLabel?r("el-input",{model:{value:e.form.tblOcrGhsLabel.unNo,callback:function(t){e.$set(e.form.tblOcrGhsLabel,"unNo",t)},expression:"form.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrGhsLabel?r("span",[e._v(e._s(e.form.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),"tblOcrPackPerformance"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrPackPerformance"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.ghsProductIdentifier,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ghsProductIdentifier",t)},expression:"form.tblOcrPackPerformance.ghsProductIdentifier"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.recommendUse,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"recommendUse",t)},expression:"form.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.merchartName,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"merchartName",t)},expression:"form.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.effectiveDate,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"effectiveDate",t)},expression:"form.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.emergencyMsg,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"emergencyMsg",t)},expression:"form.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.riskClassification,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskClassification",t)},expression:"form.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.riskType,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskType",t)},expression:"form.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.targetOrgan,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"targetOrgan",t)},expression:"form.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.pictogram,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"pictogram",t)},expression:"form.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.hazardStatement,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"hazardStatement",t)},expression:"form.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.preventivMeasure,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"preventivMeasure",t)},expression:"form.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.incidentResponse,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"incidentResponse",t)},expression:"form.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.secureStorage,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"secureStorage",t)},expression:"form.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.datasisposal,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"datasisposal",t)},expression:"form.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.compositionInformation,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"compositionInformation",t)},expression:"\n form.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.harmfulSubstances,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"harmfulSubstances",t)},expression:"form.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.content,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"content",t)},expression:"form.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrPackPerformance.ghsClassification,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ghsClassification",t)},expression:"form.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.character,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"character",t)},expression:"form.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.appearance,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"appearance",t)},expression:"form.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.evaporationRate,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"evaporationRate",t)},expression:"form.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.smell,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"smell",t)},expression:"form.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.phValue,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"phValue",t)},expression:"form.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.meltingPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"meltingPoint",t)},expression:"form.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.boilingPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"boilingPoint",t)},expression:"form.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.density,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"density",t)},expression:"form.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.relativeVaporDensity,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"relativeVaporDensity",t)},expression:"form.tblOcrPackPerformance.relativeVaporDensity"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.saturatedVaporPressure,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"saturatedVaporPressure",t)},expression:"\n form.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.flashPoint,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"flashPoint",t)},expression:"form.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.ignitionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"ignitionTemperature",t)},expression:"form.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"lowerExplosiveLimit",t)},expression:"form.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.upperExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"upperExplosiveLimit",t)},expression:"form.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.solubilityInWater,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"solubilityInWater",t)},expression:"form.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.viscosity,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"viscosity",t)},expression:"form.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.autoignitionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"autoignitionTemperature",t)},expression:"\n form.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.flammability,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"flammability",t)},expression:"form.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.partitionCoefficient,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"partitionCoefficient",t)},expression:"form.tblOcrPackPerformance.partitionCoefficient"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.decompositionTemperature,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"decompositionTemperature",t)},expression:"\n form.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.unNo,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"unNo",t)},expression:"form.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.unTransportName,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"unTransportName",t)},expression:"form.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.riskClassify,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"riskClassify",t)},expression:"form.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.packageType,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"packageType",t)},expression:"form.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==e.form.tblOcrPackPerformance?r("el-input",{model:{value:e.form.tblOcrPackPerformance.regulatoryInformation,callback:function(t){e.$set(e.form.tblOcrPackPerformance,"regulatoryInformation",t)},expression:"form.tblOcrPackPerformance.regulatoryInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrPackPerformance?r("span",[e._v(e._s(e.form.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),"tblOcrSafeCert"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrSafeCert"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(e.form.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.ghsProductIdentifier,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ghsProductIdentifier",t)},expression:"form.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.recommendUse,callback:function(t){e.$set(e.form.tblOcrSafeCert,"recommendUse",t)},expression:"form.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.merchartName,callback:function(t){e.$set(e.form.tblOcrSafeCert,"merchartName",t)},expression:"form.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.effectiveDate,callback:function(t){e.$set(e.form.tblOcrSafeCert,"effectiveDate",t)},expression:"form.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.emergencyMsg,callback:function(t){e.$set(e.form.tblOcrSafeCert,"emergencyMsg",t)},expression:"form.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.riskClassification,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskClassification",t)},expression:"form.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.riskType,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskType",t)},expression:"form.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.targetOrgan,callback:function(t){e.$set(e.form.tblOcrSafeCert,"targetOrgan",t)},expression:"form.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.pictogram,callback:function(t){e.$set(e.form.tblOcrSafeCert,"pictogram",t)},expression:"form.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.hazardStatement,callback:function(t){e.$set(e.form.tblOcrSafeCert,"hazardStatement",t)},expression:"form.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.preventivMeasure,callback:function(t){e.$set(e.form.tblOcrSafeCert,"preventivMeasure",t)},expression:"form.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.incidentResponse,callback:function(t){e.$set(e.form.tblOcrSafeCert,"incidentResponse",t)},expression:"form.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.secureStorage,callback:function(t){e.$set(e.form.tblOcrSafeCert,"secureStorage",t)},expression:"form.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.datasisposal,callback:function(t){e.$set(e.form.tblOcrSafeCert,"datasisposal",t)},expression:"form.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.compositionInformation,callback:function(t){e.$set(e.form.tblOcrSafeCert,"compositionInformation",t)},expression:"form.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.harmfulSubstances,callback:function(t){e.$set(e.form.tblOcrSafeCert,"harmfulSubstances",t)},expression:"form.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.content,callback:function(t){e.$set(e.form.tblOcrSafeCert,"content",t)},expression:"form.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:e.form.tblOcrSafeCert.ghsClassification,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ghsClassification",t)},expression:"form.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.character,callback:function(t){e.$set(e.form.tblOcrSafeCert,"character",t)},expression:"form.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.appearance,callback:function(t){e.$set(e.form.tblOcrSafeCert,"appearance",t)},expression:"form.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.evaporationRate,callback:function(t){e.$set(e.form.tblOcrSafeCert,"evaporationRate",t)},expression:"form.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.smell,callback:function(t){e.$set(e.form.tblOcrSafeCert,"smell",t)},expression:"form.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.phValue,callback:function(t){e.$set(e.form.tblOcrSafeCert,"phValue",t)},expression:"form.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.meltingPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"meltingPoint",t)},expression:"form.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.boilingPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"boilingPoint",t)},expression:"form.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.density,callback:function(t){e.$set(e.form.tblOcrSafeCert,"density",t)},expression:"form.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.relativeVaporDensity,callback:function(t){e.$set(e.form.tblOcrSafeCert,"relativeVaporDensity",t)},expression:"form.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.saturatedVaporPressure,callback:function(t){e.$set(e.form.tblOcrSafeCert,"saturatedVaporPressure",t)},expression:"form.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.flashPoint,callback:function(t){e.$set(e.form.tblOcrSafeCert,"flashPoint",t)},expression:"form.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.ignitionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"ignitionTemperature",t)},expression:"form.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.lowerExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrSafeCert,"lowerExplosiveLimit",t)},expression:"form.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.upperExplosiveLimit,callback:function(t){e.$set(e.form.tblOcrSafeCert,"upperExplosiveLimit",t)},expression:"form.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.solubilityInWater,callback:function(t){e.$set(e.form.tblOcrSafeCert,"solubilityInWater",t)},expression:"form.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.viscosity,callback:function(t){e.$set(e.form.tblOcrSafeCert,"viscosity",t)},expression:"form.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.autoignitionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"autoignitionTemperature",t)},expression:"form.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.flammability,callback:function(t){e.$set(e.form.tblOcrSafeCert,"flammability",t)},expression:"form.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.partitionCoefficient,callback:function(t){e.$set(e.form.tblOcrSafeCert,"partitionCoefficient",t)},expression:"form.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.decompositionTemperature,callback:function(t){e.$set(e.form.tblOcrSafeCert,"decompositionTemperature",t)},expression:"form.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.unNo,callback:function(t){e.$set(e.form.tblOcrSafeCert,"unNo",t)},expression:"form.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.unTransportName,callback:function(t){e.$set(e.form.tblOcrSafeCert,"unTransportName",t)},expression:"form.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.riskClassify,callback:function(t){e.$set(e.form.tblOcrSafeCert,"riskClassify",t)},expression:"form.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.packageType,callback:function(t){e.$set(e.form.tblOcrSafeCert,"packageType",t)},expression:"form.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==e.form.tblOcrSafeCert?r("el-input",{model:{value:e.form.tblOcrSafeCert.regulatoryInformation,callback:function(t){e.$set(e.form.tblOcrSafeCert,"regulatoryInformation",t)},expression:"form.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=e.form.tblOcrSafeCert?r("span",[e._v(e._s(e.form.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=e.form.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),"tblOcrTdgLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrTdgLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(e.form.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(e.form.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=e.form.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.form.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==e.form.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.pictogramCode,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"pictogramCode",t)},expression:"form.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.signalWord,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"signalWord",t)},expression:"form.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.hazardStatement,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"hazardStatement",t)},expression:"form.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.precautionaryStatement,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"precautionaryStatement",t)},expression:"form.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.supplier,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"supplier",t)},expression:"form.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.transName,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"transName",t)},expression:"form.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==e.form.tblOcrTdgLabel?r("el-input",{model:{value:e.form.tblOcrTdgLabel.unNo,callback:function(t){e.$set(e.form.tblOcrTdgLabel,"unNo",t)},expression:"form.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=e.form.tblOcrTdgLabel?r("span",[e._v(e._s(e.form.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[r("el-collapse-item",{attrs:{name:"0"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("基础信息")]),""==e.activeNames?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"0"==e.activeNames?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkPaInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkPaInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkPaInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"分类鉴定编号"}},[e._v(e._s(this.checkPaInfo.classifyIdentifyReport)+" ")]),r("el-descriptions-item",{attrs:{label:"安全数据单编号"}},[e._v(e._s(this.checkPaInfo.safeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkPaInfo.checkNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkPaInfo.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单位"}},[e._v(e._s(this.checkPaInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"包装使用单位名称"}},[e._v(e._s(this.checkPaInfo.packUsageCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器名称"}},[e._v(e._s(this.checkPaInfo.packContainer)+" ")]),r("el-descriptions-item",{attrs:{label:"包装容器规格"}},[e._v(e._s(this.checkPaInfo.packContainerRule)+" ")]),r("el-descriptions-item",{attrs:{label:"包装生产厂名称"}},[e._v(e._s(this.checkPaInfo.packProductCorp)+" ")]),r("el-descriptions-item",{attrs:{label:"标记及批号"}},[e._v(e._s(this.checkPaInfo.packSignAndProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申报类型"}},[e._v(e._s(this.checkPaInfo.applyType)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(this.checkPaInfo.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"包装性能结果单号"}},[e._v(e._s(this.checkPaInfo.performanceCheckNo)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(this.checkPaInfo.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"拟装货物名称"}},[e._v(e._s(this.checkPaInfo.planGoods)+" ")]),r("el-descriptions-item",{attrs:{label:"联合国编号"}},[e._v(e._s(this.checkPaInfo.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"正式运输名称"}},[e._v(e._s(this.checkPaInfo.formalTransportName)+" ")]),r("el-descriptions-item",{attrs:{label:"危险货物类别"}},[e._v(e._s(this.checkPaInfo.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"建议包装类别"}},[e._v(e._s(this.checkPaInfo.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"生产批号"}},[e._v(e._s(this.checkPaInfo.goodsProductNo)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(this.checkPaInfo.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(this.checkPaInfo.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(this.checkPaInfo.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(this.checkPaInfo.address)+" ")])],1)],1)],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"15px","font-weight":"bold"}},[e._v("随附文件")])]),null==this.checkPaInfo.tblCheckFileLogVo&&null==this.checkPaInfo.tblOcrDangerTypeIdentity&&null==this.checkPaInfo.tblOcrGhsLabel&&null==this.checkPaInfo.tblOcrPackPerformance&&null==this.checkPaInfo.tblOcrSafeCert&&null==this.checkPaInfo.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=this.checkPaInfo.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),"tblCheckFileLogVo"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblCheckFileLogVo"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),"tblOcrDangerTypeIdentity"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrDangerTypeIdentity"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.cnName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"cnName",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.enName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"enName",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"produceCompany",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.requirement,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"requirement",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.requirement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleMsg",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.verificationBasis,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"verificationBasis",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity\n .verificationBasis\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleTag",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.component,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"component",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.component\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"sampleFeatures",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isChemicalsList",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isChemicalsDefineList",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"isImdgCode",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"ghsType",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.formalName,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"formalName",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.formalName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"unNo",t)},expression:"this.checkPaInfo.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"categoryNo",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrDangerTypeIdentity?r("el-input",{model:{value:this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrDangerTypeIdentity,"packageNo",t)},expression:"\n this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(this.checkPaInfo.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),"tblOcrGhsLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrGhsLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.pictogramCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"pictogramCode",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.signalWord,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"signalWord",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"precautionaryStatement",t)},expression:"\n this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.supplier,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"supplier",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.transName,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"transName",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrGhsLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrGhsLabel.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrGhsLabel,"unNo",t)},expression:"this.checkPaInfo.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrGhsLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),"tblOcrPackPerformance"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrPackPerformance"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.ghsProductIdentifier,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ghsProductIdentifier",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.recommendUse,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"recommendUse",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.recommendUse\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.merchartName,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"merchartName",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.merchartName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.effectiveDate,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"effectiveDate",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.effectiveDate\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.emergencyMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"emergencyMsg",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.emergencyMsg\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.riskClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskClassification",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.riskType,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskType",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.targetOrgan,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"targetOrgan",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.pictogram,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"pictogram",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"hazardStatement",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.hazardStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.preventivMeasure,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"preventivMeasure",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.incidentResponse,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"incidentResponse",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.secureStorage,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"secureStorage",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.secureStorage\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.datasisposal,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"datasisposal",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.datasisposal\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.compositionInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"compositionInformation",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .compositionInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"harmfulSubstances",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.content,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"content",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrPackPerformance.ghsClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ghsClassification",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.character,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"character",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.appearance,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"appearance",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.evaporationRate,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"evaporationRate",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.evaporationRate\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.smell,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"smell",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.phValue,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"phValue",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.meltingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"meltingPoint",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.meltingPoint\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.boilingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"boilingPoint",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.boilingPoint\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.density,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"density",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.relativeVaporDensity,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"relativeVaporDensity",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .relativeVaporDensity\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.saturatedVaporPressure,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"saturatedVaporPressure",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.flashPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"flashPoint",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"ignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"lowerExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"upperExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.solubilityInWater,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"solubilityInWater",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.viscosity,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"viscosity",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.autoignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"autoignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .autoignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.flammability,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"flammability",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.flammability\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.partitionCoefficient,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"partitionCoefficient",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .partitionCoefficient\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.decompositionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"decompositionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"unNo",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.unTransportName,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"unTransportName",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.unTransportName\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.riskClassify,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"riskClassify",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance.riskClassify\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.packageType,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"packageType",t)},expression:"this.checkPaInfo.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==this.checkPaInfo.tblOcrPackPerformance?r("el-input",{model:{value:this.checkPaInfo.tblOcrPackPerformance.regulatoryInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrPackPerformance,"regulatoryInformation",t)},expression:"\n this.checkPaInfo.tblOcrPackPerformance\n .regulatoryInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrPackPerformance?r("span",[e._v(e._s(this.checkPaInfo.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),"tblOcrSafeCert"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrSafeCert"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ghsProductIdentifier",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.recommendUse,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"recommendUse",t)},expression:"this.checkPaInfo.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.merchartName,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"merchartName",t)},expression:"this.checkPaInfo.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.effectiveDate,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"effectiveDate",t)},expression:"this.checkPaInfo.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.emergencyMsg,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"emergencyMsg",t)},expression:"this.checkPaInfo.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.riskClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskClassification",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.riskType,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskType",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.targetOrgan,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"targetOrgan",t)},expression:"this.checkPaInfo.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.pictogram,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"pictogram",t)},expression:"this.checkPaInfo.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.preventivMeasure,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"preventivMeasure",t)},expression:"this.checkPaInfo.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.incidentResponse,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"incidentResponse",t)},expression:"this.checkPaInfo.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.secureStorage,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"secureStorage",t)},expression:"this.checkPaInfo.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.datasisposal,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"datasisposal",t)},expression:"this.checkPaInfo.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.compositionInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"compositionInformation",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.compositionInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.harmfulSubstances,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"harmfulSubstances",t)},expression:"this.checkPaInfo.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.content,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"content",t)},expression:"this.checkPaInfo.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:this.checkPaInfo.tblOcrSafeCert.ghsClassification,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ghsClassification",t)},expression:"this.checkPaInfo.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.character,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"character",t)},expression:"this.checkPaInfo.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.appearance,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"appearance",t)},expression:"this.checkPaInfo.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.evaporationRate,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"evaporationRate",t)},expression:"this.checkPaInfo.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.smell,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"smell",t)},expression:"this.checkPaInfo.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.phValue,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"phValue",t)},expression:"this.checkPaInfo.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.meltingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"meltingPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.boilingPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"boilingPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.density,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"density",t)},expression:"this.checkPaInfo.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"relativeVaporDensity",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"saturatedVaporPressure",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.flashPoint,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"flashPoint",t)},expression:"this.checkPaInfo.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.ignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"ignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.ignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"lowerExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"upperExplosiveLimit",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.solubilityInWater,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"solubilityInWater",t)},expression:"this.checkPaInfo.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.viscosity,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"viscosity",t)},expression:"this.checkPaInfo.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"autoignitionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.flammability,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"flammability",t)},expression:"this.checkPaInfo.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.partitionCoefficient,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"partitionCoefficient",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.partitionCoefficient\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.decompositionTemperature,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"decompositionTemperature",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"unNo",t)},expression:"this.checkPaInfo.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.unTransportName,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"unTransportName",t)},expression:"this.checkPaInfo.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.riskClassify,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"riskClassify",t)},expression:"this.checkPaInfo.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.packageType,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"packageType",t)},expression:"this.checkPaInfo.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==this.checkPaInfo.tblOcrSafeCert?r("el-input",{model:{value:this.checkPaInfo.tblOcrSafeCert.regulatoryInformation,callback:function(t){e.$set(this.checkPaInfo.tblOcrSafeCert,"regulatoryInformation",t)},expression:"\n this.checkPaInfo.tblOcrSafeCert.regulatoryInformation\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrSafeCert?r("span",[e._v(e._s(this.checkPaInfo.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=this.checkPaInfo.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),"tblOcrTdgLabel"!=e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),"tblOcrTdgLabel"==e.ocrName?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hideidt(this.checkPaInfo.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.hidputOcr(this.checkPaInfo.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.pictogramCode,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"pictogramCode",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.signalWord,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"signalWord",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.hazardStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"hazardStatement",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"precautionaryStatement",t)},expression:"\n this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement\n "}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.supplier,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"supplier",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.transName,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"transName",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==this.checkPaInfo.tblOcrTdgLabel?r("el-input",{model:{value:this.checkPaInfo.tblOcrTdgLabel.unNo,callback:function(t){e.$set(this.checkPaInfo.tblOcrTdgLabel,"unNo",t)},expression:"this.checkPaInfo.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=this.checkPaInfo.tblOcrTdgLabel?r("span",[e._v(e._s(this.checkPaInfo.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=this.checkPaInfo.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(t){return e.downloadOcr(e.checkPaInfo.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==this.checkPaInfo.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),""!=e.checkPaInfo.baseCheckResult?r("div",[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"15px","font-weight":"bold"}},[e._v("查验结果")])]),r("el-table",{attrs:{data:e.checkPaInfo.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!1,3396380380)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!1,2322604348)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!1,2490284148)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!1,1168029876)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!1,1338715348)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!1,2983395193)})],1)],1)],1):e._e(),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1)],1)},c=[],o=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("b775"));function l(e){return Object(o["a"])({url:"/business/checkPaInfo/list",method:"get",params:e})}function n(e){return Object(o["a"])({url:"/business/checkPaInfo/"+e,method:"get"})}function s(e){return Object(o["a"])({url:"/business/checkPaInfo",method:"post",data:e})}function i(e){return Object(o["a"])({url:"/business/checkPaInfo",method:"put",data:e})}function m(e){return Object(o["a"])({url:"/business/checkPaInfo/reInspection/"+e,method:"get"})}function f(e){return Object(o["a"])({url:"/business/checkPaInfo/checkAndReviewPaInfo/"+e,method:"get"})}function b(e,t){return Object(o["a"])({url:e,method:"put",data:t})}function p(e){return Object(o["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}var h=r("2b0e"),P={name:"CheckPaInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkPaInfo:{},activeNames:"0",activeTitle:"查看更多",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkPaInfoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,checkNo:null},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,l(this.queryParams).then((function(t){e.checkPaInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,customerArea:null,assign:null,classifyIdentifyReport:null,safeCert:null,checkNo:null,submitTime:null,corpName:null,packUsageCorp:null,packContainer:null,packContainerRule:null,packProductCorp:null,packSignAndProductNo:null,applyType:null,quantity:null,performanceCheckNo:null,transportMode:null,planGoods:null,unitedNo:null,formalTransportName:null,dangerType:null,packType:null,goodsProductNo:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=h["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),m(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加包装类型"},showDetail:function(e){var t=this;this.reset();var r=e.id||this.ids;n(r).then((function(e){t.form=e.data,t.open=!0,t.title="包装类型详情"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?i(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):s(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkPaInfo={}},checkDetail:function(e){var t=this;f(e.id).then((function(e){t.checkPaInfo=e.data,null!=e.data.baseCheckResult&&(t.checkPaInfo.baseCheckResult=JSON.parse(e.data.baseCheckResult.replace(/\'/g,'"'))),null!=e.data.baseReviewResult&&(t.checkPaInfo.baseReviewResult=JSON.parse(e.data.baseReviewResult.replace(/\'/g,'"'))),t.openCheck=!0,t.checkTitle="查看校验结果"}))},hideidt:function(e){this.ocrForm={},this.ocrForm=e},hidputOcr:function(e,t){var r=this;if("tblOcrDangerTypeIdentity"==t)var a="/business/dangerTypeIdentityOcr";if("tblOcrGhsLabel"==t)a="/business/ghsLabel";if("tblOcrPackPerformance"==t)a="/business/packPerformance";if("tblOcrSafeCert"==t)a="/business/safeCert";if("tblOcrTdgLabel"==t)a="/business/tdgLabel";b(a,e).then((function(e){r.$modal.msgSuccess("修改成功"),r.ocrForm={}}))},downloadOcr:function(e){var t=this,r=e.lastIndexOf("/"),a=e.substring(r+1,e.length),c={resource:e};p(c).then((function(e){var r=new Blob([e],{type:"application/pdf"}),c=navigator.userAgent.match(/MSIE\s([\d.]+)/),o=navigator.userAgent.match(/Trident\/7.0/)&&navigator.userAgent.match(/rv:11/),l=navigator.userAgent.match(/Edge/g),n=c?c[1]:o?11:l?12:-1;if(c&&n<10)t.$message.error("No blobs on IE<10");else if(n>-1)window.navigator.msSaveBlob(r,a);else{var s=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",s),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(s)}}))}}},k=P,u=(r("4071"),r("2877")),O=Object(u["a"])(k,a,c,!1,null,"75a6d495",null);t["default"]=O.exports}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js.gz new file mode 100644 index 00000000..c18cb07c Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-3c6312bc.0cb1a8f8.js.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js deleted file mode 100644 index d2ce50aa..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47a4302e"],{"21bb":function(e,t,r){"use strict";r.d(t,"h",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"i",(function(){return n})),r.d(t,"e",(function(){return i})),r.d(t,"j",(function(){return m})),r.d(t,"c",(function(){return b})),r.d(t,"f",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"g",(function(){return u}));var a=r("b775");function l(e){return Object(a["a"])({url:"/business/checkInInfo/list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/business/checkInInfo/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/business/checkInInfo",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/business/checkInInfo",method:"put",data:e})}function n(e){return Object(a["a"])({url:"/business/checkInInfo/reInspection/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/business/checkInInfo/checkAndReviewInInfo/"+e,method:"get"})}function m(e){return Object(a["a"])({url:"/business/checkInInfo/reviewInInfo",method:"get",params:e})}function b(e){return Object(a["a"])({url:"/business/checkInInfo/flushInInfo",method:"get",params:e})}function p(e,t){return Object(a["a"])({url:e,method:"put",data:t})}function f(e){return Object(a["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}function u(e){return Object(a["a"])({url:"/business/dangerTypeIdentity/listByInfoIds/"+e,method:"get"})}},"2fbc":function(e,t,r){"use strict";r("7e7f")},"613b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"报关单号",prop:"customsDeclarationNo"}},[r("el-input",{attrs:{placeholder:"请输入报关单号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.customsDeclarationNo,callback:function(t){e.$set(e.queryParams,"customsDeclarationNo",t)},expression:"queryParams.customsDeclarationNo"}})],1),r("el-form-item",[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reviewInInfo"],expression:"['business:checkInInfo:reviewInInfo']"}],attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")]),1==e.open?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:flushInInfo"],expression:"['business:checkInInfo:flushInInfo']"}],attrs:{type:"primary",icon:"el-icon-refresh",size:"mini"},on:{click:e.flushgetList}},[e._v("报关单数据更新 ")]):e._e()],1)],1),1==e.open?r("div",{staticClass:"userselect"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkInInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkInInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkInInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkInInfo.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkInInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkInInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkInInfo.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(this.checkInInfo.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(this.checkInInfo.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(this.checkInInfo.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(this.checkInInfo.address)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkInInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseReviewResult?r("div",{staticStyle:{position:"relative",padding:"10px 0"}},[r("el-descriptions",{attrs:{title:"审单结果"}}),r("p",{staticClass:"jgsm"},[e._v(" 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 ")]),r("el-table",{attrs:{data:t.baseReviewResult}},[r("el-table-column",{attrs:{label:"审单类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1)],1):e._e()],1)},l=[],c=(r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("21bb")),o=r("2b0e"),s={name:"CheckInInfo",dicts:["check_status","check_review_result","data_source","check_type"],data:function(){return{checkInInfo:{},activeNames:1,activeNames1:1,disabled:!0,loading:!1,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkInInfoList:[],title:"",open:!1,queryParams:{customsDeclarationNo:""},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){""!=this.queryParams.customsDeclarationNo&&this.getList()},methods:{getList:function(){var e=this;""!=this.queryParams.customsDeclarationNo?(this.activeNames1=1,Object(c["j"])(this.queryParams).then((function(t){e.open=!0,e.checkInInfo=t.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))},hidputOcr:function(e,t){var r=this;if("tblOcrDangerTypeIdentity"==t)var a="/business/dangerTypeIdentityOcr";if("tblOcrGhsLabel"==t)a="/business/ghsLabel";if("tblOcrPackPerformance"==t)a="/business/packPerformance";if("tblOcrSafeCert"==t)a="/business/safeCert";if("tblOcrTdgLabel"==t)a="/business/tdgLabel";Object(c["f"])(a,e).then((function(e){r.$modal.msgSuccess("修改成功"),r.ocrForm={}}))}}},n=s,i=(r("2fbc"),r("2877")),m=Object(i["a"])(n,a,l,!1,null,"f37c0404",null);t["default"]=m.exports},"7e7f":function(e,t,r){}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js.gz deleted file mode 100644 index 67b2645f..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-47a4302e.1801adfe.js.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js.gz deleted file mode 100644 index b771bd0f..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js deleted file mode 100644 index 3eaa6188..00000000 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6493d4ec"],{"21bb":function(e,t,r){"use strict";r.d(t,"h",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"i",(function(){return n})),r.d(t,"e",(function(){return i})),r.d(t,"j",(function(){return m})),r.d(t,"c",(function(){return b})),r.d(t,"f",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"g",(function(){return u}));var a=r("b775");function l(e){return Object(a["a"])({url:"/business/checkInInfo/list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/business/checkInInfo/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/business/checkInInfo",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/business/checkInInfo",method:"put",data:e})}function n(e){return Object(a["a"])({url:"/business/checkInInfo/reInspection/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/business/checkInInfo/checkAndReviewInInfo/"+e,method:"get"})}function m(e){return Object(a["a"])({url:"/business/checkInInfo/reviewInInfo",method:"get",params:e})}function b(e){return Object(a["a"])({url:"/business/checkInInfo/flushInInfo",method:"get",params:e})}function p(e,t){return Object(a["a"])({url:e,method:"put",data:t})}function f(e){return Object(a["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}function u(e){return Object(a["a"])({url:"/business/dangerTypeIdentity/listByInfoIds/"+e,method:"get"})}},"4d5b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"编号",prop:"inspectionNo"}},[r("el-input",{attrs:{placeholder:"请输入编号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.inspectionNo,callback:function(t){e.$set(e.queryParams,"inspectionNo",t)},expression:"queryParams.inspectionNo"}})],1),r("el-form-item",{attrs:{label:"申请号",prop:"customsDeclarationNo"}},[r("el-input",{attrs:{placeholder:"请输入申请号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.customsDeclarationNo,callback:function(t){e.$set(e.queryParams,"customsDeclarationNo",t)},expression:"queryParams.customsDeclarationNo"}})],1),r("el-form-item",{attrs:{label:"校验状态",prop:"checkStatus"}},[r("el-select",{attrs:{placeholder:"请选择",clearable:""},on:{change:e.handleQuery},model:{value:e.queryParams.checkStatus,callback:function(t){e.$set(e.queryParams,"checkStatus",t)},expression:"queryParams.checkStatus"}},e._l(e.dict.type.data_check_status,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")])],1)],1),r("el-row",{staticClass:"mb8",attrs:{gutter:10}},[r("el-col",{attrs:{span:1.5}},[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reInspection"],expression:"['business:checkInInfo:reInspection']"}],attrs:{type:"primary",plain:"",icon:"el-icon-refresh",size:"mini",disabled:e.multiple},on:{click:e.reInspectionfun}},[e._v("批量再校验 ")])],1),r("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"userselect",attrs:{data:e.checkInInfoList},on:{"selection-change":e.handleSelectionChange}},[r("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),r("el-table-column",{attrs:{label:"编号",align:"center",prop:"inspectionNo"}}),r("el-table-column",{attrs:{label:"关区",align:"center",prop:"customerArea"}}),r("el-table-column",{attrs:{label:"检验人员",align:"center",prop:"assign"}}),r("el-table-column",{attrs:{label:"申请号",align:"center",prop:"customsDeclarationNo"}}),r("el-table-column",{attrs:{label:"申请单证",align:"center",prop:"applyCert"}}),r("el-table-column",{attrs:{label:"申报单位",align:"center",prop:"corpName"}}),r("el-table-column",{attrs:{label:"申请日期",align:"center",prop:"submitTime"}}),r("el-table-column",{attrs:{label:"校验日期",align:"center",prop:"updateTime"}}),r("el-table-column",{attrs:{label:"校验状态",align:"center",prop:"checkStatusInfo.status"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"!=t.row.checkStatusInfo.status?r("span",[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkStatusInfo.status}})],1):e._e(),"1"==t.row.checkStatusInfo.status?r("span",{staticClass:"el-tag el-tag--danger el-tag--medium el-tag--light",staticStyle:{"white-space":"break-spaces",height:"auto","line-height":"20px"}},[e._v("检验不合格 (货物序号:"+e._s(t.row.checkStatusInfo.unPassNos)+")")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200px",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:detail"],expression:"['business:checkInInfo:detail']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.showDetail(t.row)}}},[e._v("详情 ")]),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reviewInInfo"],expression:"['business:checkInInfo:reviewInInfo']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.checkDetail(t.row)}}},[e._v("校验结果 ")]):e._e(),t.row.checkStatus&&"9"!==t.row.checkStatus?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reInspection"],expression:"['business:checkInInfo:reInspection']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.reInspectionfun(t.row)}}},[e._v("重新校验 ")]):e._e()]}}])})],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),r("el-dialog",{attrs:{title:e.title,visible:e.open,width:"80%","append-to-body":"","before-close":e.cancel},on:{"update:visible":function(t){e.open=t}}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.form.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.form.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.form.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.form.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.form.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.form.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.form.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},e._l(e.form.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.goodsValue)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")]),r("el-descriptions-item",{attrs:{label:"总税款"}},[e._v(e._s(t.totalTax)+" ")]),r("el-descriptions-item",{attrs:{label:"所需单证"}},[e._v(e._s(t.needCert)+" ")]),r("el-descriptions-item",{attrs:{label:"集装箱信息"}},[e._v(e._s(t.containerInfo)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.document)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentSafeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentImportDangerClaim)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentGhsLabel)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"\n item.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"\n item.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"\n item.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"\n item.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"\n item.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"\n item.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"\n item.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"\n item.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"\n item.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"\n item.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1)],1)],1)],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancel}},[e._v("关 闭")])],1)],1),r("el-dialog",{attrs:{title:e.checkTitle,visible:e.openCheck,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.openCheck=t},close:e.cancelCheck}},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkInInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkInInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkInInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkInInfo.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkInInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkInInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkInInfo.submitTime)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{attrs:{accordion:""},model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkInInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"运输方式"}},[e._v(e._s(t.transportMode)+" ")]),r("el-descriptions-item",{attrs:{label:"货物名称"}},[e._v(e._s(t.goodsName)+" ")]),r("el-descriptions-item",{attrs:{label:"数量"}},[e._v(e._s(t.quantity)+" ")]),r("el-descriptions-item",{attrs:{label:"数量单位"}},[e._v(e._s(t.quantityUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"重量"}},[e._v(e._s(t.weight)+" ")]),r("el-descriptions-item",{attrs:{label:"重量单位"}},[e._v(e._s(t.weightUnit)+" ")]),r("el-descriptions-item",{attrs:{label:"货物总值"}},[e._v(e._s(t.goodsValue)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")]),r("el-descriptions-item",{attrs:{label:"总税款"}},[e._v(e._s(t.totalTax)+" ")]),r("el-descriptions-item",{attrs:{label:"所需单证"}},[e._v(e._s(t.needCert)+" ")]),r("el-descriptions-item",{attrs:{label:"集装箱信息"}},[e._v(e._s(t.containerInfo)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.document)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentSafeCert)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentImportDangerClaim)+" ")]),r("el-descriptions-item",{attrs:{label:"随附单据"}},[e._v(e._s(t.documentGhsLabel)+" ")]),r("el-descriptions-item",{attrs:{label:"查检结果登记时间"}},[e._v(e._s(t.checkResultTime)+" ")]),r("el-descriptions-item",{attrs:{label:"检验结果"}},[e._v(e._s(t.checkResult)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(t.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(t.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(t.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(t.address)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v(" 无随附文件 ")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"\n item.tblOcrDangerTypeIdentity.produceCompany\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"\n item.tblOcrDangerTypeIdentity.sampleFeatures\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity\n .isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"\n item.tblOcrPackPerformance.riskClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"\n item.tblOcrPackPerformance.preventivMeasure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"\n item.tblOcrPackPerformance.incidentResponse\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"\n item.tblOcrPackPerformance.harmfulSubstances\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"\n item.tblOcrPackPerformance.ghsClassification\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.ignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.lowerExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"\n item.tblOcrPackPerformance.upperExplosiveLimit\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"\n item.tblOcrPackPerformance.solubilityInWater\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance\n .decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"\n item.tblOcrSafeCert.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"\n item.tblOcrSafeCert.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseCheckResult?r("div",[r("el-descriptions",{attrs:{title:"查验结果"}}),r("el-table",{attrs:{data:t.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.dataSource&&t.row.dataSource.indexOf("检测信息")>-1?r("span",[e._v(" "+e._s(t.row.dataSource)+" ")]):e._e(),null!=t.row.dataSource&&-1===t.row.dataSource.indexOf("检测信息")?r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}}):e._e()]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData.slice(0,10))+"... ")]):e._e(),"A1"!=t.row.checkType?r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")]):e._e()],1)],1):r("div",["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData)+" ")]):e._e(),"A1"!=t.row.checkType?r("span",[e._v(e._s(t.row.standardData))]):e._e()],1)]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e(),""!=t.baseReviewResult?r("div",{staticStyle:{position:"relative",padding:"10px 0"}},[r("el-descriptions",{attrs:{title:"审单结果"}}),r("p",{staticClass:"jgsm"},[e._v(" 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 ")]),r("el-table",{attrs:{data:t.baseReviewResult}},[r("el-table-column",{attrs:{label:"审单类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.standardData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.cancelCheck}},[e._v("关闭")])],1)],1),r("el-dialog",{ref:"creditQrCodeShare",attrs:{title:"危化品危险特性分类鉴别检测信息",visible:e.listByInfoIdsopen,width:"60%","append-to-body":"",id:"view"},on:{"update:visible":function(t){e.listByInfoIdsopen=t},close:e.cancelChecks}},[r("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.listByInfoIdsactiveName,callback:function(t){e.listByInfoIdsactiveName=t},expression:"listByInfoIdsactiveName"}},e._l(e.listByInfoIds,(function(t,a){return r("el-tab-pane",{key:a,attrs:{label:t.infoId,name:"infoId"+a}},[r("el-form",{ref:"listByInfoIdsform",refInFor:!0,attrs:{model:t,size:"mini","label-width":"175px"}},[r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"样品名称及型号"}},[e._v(" "+e._s(t.sampleNameModel)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"进口国别/地区"}},[e._v(" "+e._s(t.importCountryRegion)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"进口收货人/消费使用单位"}},[e._v(" "+e._s(t.importConsigneeConsumer)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"生产商/发货人"}},[e._v(" "+e._s(t.manufacturerHipper)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"成分/组分"}},[e._v(" "+e._s(t.composition)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"危险类别"}},[e._v(" "+e._s(t.dangerType)+" ")])],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"联合国编号"}},[e._v(" "+e._s(t.unNo)+" ")])],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"建议包装类别"}},[r("dict-tag",{attrs:{options:e.dict.type.package_grade,value:t.packageClass}})],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"数据来源"}},[e._v(" "+e._s(t.dataSource)+" ")])],1)],1)],1)],1)})),1),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary"},on:{click:e.saveImage}},[e._v("下载图片")]),r("el-button",{on:{click:e.cancelChecks}},[e._v("关 闭")])],1)],1)],1)},l=[],c=(r("d81d"),r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("21bb")),o=r("2b0e"),s=r("c0e9"),n=r.n(s),i={name:"CheckInInfo",dicts:["check_status","check_review_result","check_type","data_source","data_check_status"],data:function(){return{checkInInfo:{},activeNames:"",activeNames1:"",disabled:!0,loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkInInfoList:[],title:"",checkTitle:"",open:!1,openCheck:!1,queryParams:{pageNum:1,pageSize:20,inspectionNo:null,customsDeclarationNo:null,ciqCode:null,checkStatus:null},form:{},rules:{},ocrForm:{},ocrName:"0",listByInfoIdsactiveName:"infoId0",listByInfoIds:[],listByInfoIdsopen:!1,infoIdindex:"0"}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,Object(c["h"])(this.queryParams).then((function(t){e.checkInInfoList=t.rows,e.total=t.total,e.loading=!1}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={id:null,type:null,inspectionNo:null,customerArea:null,assign:null,customsDeclarationNo:null,applyCert:null,corpName:null,submitTime:null,goodsNo:null,hsCode:null,ciqCode:null,transportMode:null,goodsName:null,quantity:null,quantityUnit:null,weight:null,weightUnit:null,goodsValue:null,receiver:null,goodsAttr:null,dangerType:null,unitedNo:null,packType:null,packRule:null,goodsType:null,useIn:null,totalTax:null,needCert:null,containerInfo:null,document:null,documentSafeCert:null,documentImportDangerClaim:null,documentGhsLabel:null,checkResultTime:null,checkResult:null,contacts:null,contactsTel:null,town:null,address:null,createId:null,createTime:null,updateId:null,updateTime:null,batchNo:null,resultList:null,checkStatus:"0",version:null,rsv1:null,rsv2:null,rsv3:null},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.inspectionNo})),this.single=1!==e.length,this.multiple=!e.length},reInspectionfun:function(e){var t,r=e.inspectionNo||this.ids,a=this;t=o["default"].prototype.$loading({lock:!0,text:"重新校验中...",target:"html",background:"rgba(0, 0, 0, 0.2)"}),Object(c["i"])(r).then((function(e){setTimeout((function(){a.getList(),t.close()}),3e3)}))},handleAdd:function(){this.reset(),this.open=!0,this.title="添加进口报关"},showDetail:function(e){var t=this;this.reset();var r=e.id||this.ids;Object(c["d"])(r).then((function(e){t.form=e.data,t.open=!0,t.title="进口报关详情",t.activeNames=1}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(null!=e.form.id?Object(c["k"])(e.form).then((function(t){e.$modal.msgSuccess("修改成功"),e.open=!1,e.getList()})):Object(c["a"])(e.form).then((function(t){e.$modal.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},cancelCheck:function(){this.openCheck=!1,this.checkInInfo={}},checkDetail:function(e){var t=this;Object(c["e"])(e.id).then((function(e){t.checkInInfo=e.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))},handleClick:function(e,t){this.infoIdindex=e.index},cancelChecks:function(){this.listByInfoIds=[],this.listByInfoIdsopen=!1,this.listByInfoIdsactiveName="infoId0"},listByInfoId:function(e){var t=this,r=e.standardData;Object(c["g"])(r).then((function(e){t.listByInfoIds=e.rows,t.listByInfoIdsopen=!0}))},saveImage:function(){var e=this;n()(document.getElementById("view"),{useCORS:!0,backgroundColor:"#ececec"}).then((function(t){var r=t.toDataURL("image/png");e.downLoadFile(e.infoIdindex,r)}))},downLoadFile:function(e,t){var r=document.createElement("a");r.href=t,r.download=e,r.click()}}},m=i,b=(r("746a"),r("2877")),p=Object(b["a"])(m,a,l,!1,null,"c5127f6a",null);t["default"]=p.exports},"746a":function(e,t,r){"use strict";r("8204")},8204:function(e,t,r){}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js.gz deleted file mode 100644 index 77b008e2..00000000 Binary files a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-6493d4ec.3f89aa19.js.gz and /dev/null differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js new file mode 100644 index 00000000..fc124b84 --- /dev/null +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7133791f"],{"21bb":function(e,t,r){"use strict";r.d(t,"h",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return o})),r.d(t,"k",(function(){return s})),r.d(t,"i",(function(){return n})),r.d(t,"e",(function(){return i})),r.d(t,"j",(function(){return m})),r.d(t,"c",(function(){return b})),r.d(t,"f",(function(){return p})),r.d(t,"b",(function(){return f})),r.d(t,"g",(function(){return u}));var a=r("b775");function l(e){return Object(a["a"])({url:"/business/checkInInfo/list",method:"get",params:e})}function c(e){return Object(a["a"])({url:"/business/checkInInfo/"+e,method:"get"})}function o(e){return Object(a["a"])({url:"/business/checkInInfo",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/business/checkInInfo",method:"put",data:e})}function n(e){return Object(a["a"])({url:"/business/checkInInfo/reInspection/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/business/checkInInfo/checkAndReviewInInfo/"+e,method:"get"})}function m(e){return Object(a["a"])({url:"/business/checkInInfo/reviewInInfo",method:"get",params:e})}function b(e){return Object(a["a"])({url:"/business/checkInInfo/flushInInfo",method:"get",params:e})}function p(e,t){return Object(a["a"])({url:e,method:"put",data:t})}function f(e){return Object(a["a"])({url:"business/checkEaInfo/download/resource",method:"get",params:e,responseType:"blob"})}function u(e){return Object(a["a"])({url:"/business/dangerTypeIdentity/listByInfoIds/"+e,method:"get"})}},"2ff9":function(e,t,r){},"613b":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"app-container"},[r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,size:"small",inline:!0,"label-width":"auto"}},[r("el-form-item",{attrs:{label:"报关单号",prop:"customsDeclarationNo"}},[r("el-input",{attrs:{placeholder:"请输入报关单号",clearable:""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.customsDeclarationNo,callback:function(t){e.$set(e.queryParams,"customsDeclarationNo",t)},expression:"queryParams.customsDeclarationNo"}})],1),r("el-form-item",[r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:reviewInInfo"],expression:"['business:checkInInfo:reviewInInfo']"}],attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索 ")]),r("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置 ")]),1==e.open?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:checkInInfo:flushInInfo"],expression:"['business:checkInInfo:flushInInfo']"}],attrs:{type:"primary",icon:"el-icon-refresh",size:"mini"},on:{click:e.flushgetList}},[e._v("报关单数据更新 ")]):e._e()],1)],1),1==e.open?r("div",{staticClass:"userselect"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("基本信息")])]),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"",column:3}},[r("el-descriptions-item",{attrs:{label:"编号"}},[e._v(e._s(this.checkInInfo.inspectionNo)+" ")]),r("el-descriptions-item",{attrs:{label:"关区"}},[e._v(e._s(this.checkInInfo.customerArea)+" ")]),r("el-descriptions-item",{attrs:{label:"检验人员"}},[e._v(e._s(this.checkInInfo.assign)+" ")]),r("el-descriptions-item",{attrs:{label:"申请号"}},[e._v(e._s(this.checkInInfo.customsDeclarationNo)+" ")]),r("el-descriptions-item",{attrs:{label:"申请单证"}},[e._v(e._s(this.checkInInfo.applyCert)+" ")]),r("el-descriptions-item",{attrs:{label:"申报单位"}},[e._v(e._s(this.checkInInfo.corpName)+" ")]),r("el-descriptions-item",{attrs:{label:"申请日期"}},[e._v(e._s(this.checkInInfo.submitTime)+" ")]),r("el-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(this.checkInInfo.contacts)+" ")]),r("el-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(this.checkInInfo.contactsTel)+" ")]),r("el-descriptions-item",{attrs:{label:"存储乡镇街道"}},[e._v(e._s(this.checkInInfo.town)+" ")]),r("el-descriptions-item",{attrs:{label:"仓库地址"}},[e._v(e._s(this.checkInInfo.address)+" ")])],1)],1),r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticStyle:{"font-size":"17px","font-weight":"bold"}},[e._v("商品信息")])]),r("el-collapse",{model:{value:e.activeNames1,callback:function(t){e.activeNames1=t},expression:"activeNames1"}},e._l(e.checkInInfo.resultList,(function(t,a){return r("div",{key:a},[r("el-collapse-item",{attrs:{name:a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"16px","font-weight":"bold"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.goodsNo)+". "+e._s(t.goodsName))]),e.activeNames1!=a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.activeNames1==a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-descriptions",{staticClass:"margin-top",attrs:{column:3}},[r("el-descriptions-item",{attrs:{label:"货物序号"}},[e._v(e._s(t.goodsNo)+" ")]),r("el-descriptions-item",{attrs:{label:"HS编码"}},[e._v(e._s(t.hsCode)+" ")]),r("el-descriptions-item",{attrs:{label:"CIQ代码"}},[e._v(e._s(t.ciqCode)+" ")]),r("el-descriptions-item",{attrs:{label:"收货人名称"}},[e._v(e._s(t.receiver)+" ")]),r("el-descriptions-item",{attrs:{label:"货物属性"}},[e._v(e._s(t.goodsAttr)+" ")]),r("el-descriptions-item",{attrs:{label:"危险类别"}},[e._v(e._s(t.dangerType)+" ")]),r("el-descriptions-item",{attrs:{label:"UN编码"}},[e._v(e._s(t.unitedNo)+" ")]),r("el-descriptions-item",{attrs:{label:"包装类别"}},[e._v(e._s(t.packType)+" ")]),r("el-descriptions-item",{attrs:{label:"包装规格"}},[e._v(e._s(t.packRule)+" ")]),r("el-descriptions-item",{attrs:{label:"货物分类"}},[e._v(e._s(t.goodsType)+" ")]),r("el-descriptions-item",{attrs:{label:"用途"}},[e._v(e._s(t.useIn)+" ")])],1),r("el-descriptions",{staticClass:"margin-top",attrs:{title:"随附文件",column:3}}),null==t.tblCheckFileLogVo&&null==t.tblOcrDangerTypeIdentity&&null==t.tblOcrGhsLabel&&null==t.tblOcrPackPerformance&&null==t.tblOcrSafeCert&&null==t.tblOcrTdgLabel?r("div",{staticStyle:{"border-top":"1px solid #e6ebf5"}},[r("h3",{staticStyle:{width:"100%","text-align":"center","font-weight":"bold"}},[e._v("无随附文件")])]):e._e(),null!=t.tblCheckFileLogVo?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblCheckFileLogVo"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险化学品生产企业符合性声明")]),e.ocrName!="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblCheckFileLogVo"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblCheckFileLogVo.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblCheckFileLogVo.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblCheckFileLogVo.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrDangerTypeIdentity?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrDangerTypeIdentity"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("分类鉴定报告")]),e.ocrName!="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrDangerTypeIdentity"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrDangerTypeIdentity)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentityOcr:edit"],expression:"['business:dangerTypeIdentityOcr:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrDangerTypeIdentity,"tblOcrDangerTypeIdentity")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称cn"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.cnName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"cnName",r)},expression:"item.tblOcrDangerTypeIdentity.cnName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.cnName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品名称en"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.enName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"enName",r)},expression:"item.tblOcrDangerTypeIdentity.enName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.enName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生产单位"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.produceCompany,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"produceCompany",r)},expression:"item.tblOcrDangerTypeIdentity.produceCompany"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.produceCompany))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分析/试验要求"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.requirement,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"requirement",r)},expression:"item.tblOcrDangerTypeIdentity.requirement"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.requirement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品数量/重量"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleMsg,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleMsg",r)},expression:"item.tblOcrDangerTypeIdentity.sampleMsg"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"校验依据"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.verificationBasis,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"verificationBasis",r)},expression:"\n item.tblOcrDangerTypeIdentity.verificationBasis\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.verificationBasis))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品标识"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleTag,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleTag",r)},expression:"item.tblOcrDangerTypeIdentity.sampleTag"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleTag))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"组分"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.component,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"component",r)},expression:"item.tblOcrDangerTypeIdentity.component"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.component))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"样品性状"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.sampleFeatures,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"sampleFeatures",r)},expression:"item.tblOcrDangerTypeIdentity.sampleFeatures"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.sampleFeatures))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)列明的化学品",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsList",r)},expression:"item.tblOcrDangerTypeIdentity.isChemicalsList"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[r("el-tooltip",{attrs:{content:"是否属于《危险化学品目录》(2015版)中关于 ‘危险化学品的定义和确定原则’",placement:"top"}},[r("i",{staticClass:"el-icon-question"})]),e._v(" 是否属于"),r("br"),e._v("《危险化学品目录》 ")],1),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isChemicalsDefineList,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isChemicalsDefineList",r)},expression:"\n item.tblOcrDangerTypeIdentity.isChemicalsDefineList\n "}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isChemicalsDefineList))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 是否属于IMDG"),r("br"),e._v("CODE分类的危险货物 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.isImdgCode,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"isImdgCode",r)},expression:"item.tblOcrDangerTypeIdentity.isImdgCode"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.isImdgCode))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.ghsType,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"ghsType",r)},expression:"item.tblOcrDangerTypeIdentity.ghsType"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.ghsType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 正式运输名称"),r("br"),e._v("技术名称 ")]),e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.formalName,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"formalName",r)},expression:"item.tblOcrDangerTypeIdentity.formalName"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.formalName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.unNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"unNo",r)},expression:"item.tblOcrDangerTypeIdentity.unNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险货物类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.categoryNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"categoryNo",r)},expression:"item.tblOcrDangerTypeIdentity.categoryNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.categoryNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"建议包装类别"}},[e.ocrForm==t.tblOcrDangerTypeIdentity?r("el-input",{model:{value:t.tblOcrDangerTypeIdentity.packageNo,callback:function(r){e.$set(t.tblOcrDangerTypeIdentity,"packageNo",r)},expression:"item.tblOcrDangerTypeIdentity.packageNo"}}):e._e(),e.ocrForm!=t.tblOcrDangerTypeIdentity?r("span",[e._v(e._s(t.tblOcrDangerTypeIdentity.packageNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrDangerTypeIdentity.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrDangerTypeIdentity.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrDangerTypeIdentity.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrGhsLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrGhsLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险公示标签")]),e.ocrName!="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrGhsLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrGhsLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrGhsLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrGhsLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ghsLabel:edit"],expression:"['business:ghsLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrGhsLabel,"tblOcrGhsLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrGhsLabel,"pictogramCode",r)},expression:"item.tblOcrGhsLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.signalWord,callback:function(r){e.$set(t.tblOcrGhsLabel,"signalWord",r)},expression:"item.tblOcrGhsLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"hazardStatement",r)},expression:"item.tblOcrGhsLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrGhsLabel,"precautionaryStatement",r)},expression:"item.tblOcrGhsLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.supplier,callback:function(r){e.$set(t.tblOcrGhsLabel,"supplier",r)},expression:"item.tblOcrGhsLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.transName,callback:function(r){e.$set(t.tblOcrGhsLabel,"transName",r)},expression:"item.tblOcrGhsLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrGhsLabel?r("el-input",{model:{value:t.tblOcrGhsLabel.unNo,callback:function(r){e.$set(t.tblOcrGhsLabel,"unNo",r)},expression:"item.tblOcrGhsLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrGhsLabel?r("span",[e._v(e._s(t.tblOcrGhsLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrGhsLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrGhsLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrGhsLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrPackPerformance?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrPackPerformance"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("包装性能检验结果单")]),e.ocrName!="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrPackPerformance"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrPackPerformance.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrPackPerformance)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrPackPerformance?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:packPerformance:edit"],expression:"['business:packPerformance:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrPackPerformance,"tblOcrPackPerformance")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsProductIdentifier",r)},expression:"\n item.tblOcrPackPerformance.ghsProductIdentifier\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.recommendUse,callback:function(r){e.$set(t.tblOcrPackPerformance,"recommendUse",r)},expression:"item.tblOcrPackPerformance.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.merchartName,callback:function(r){e.$set(t.tblOcrPackPerformance,"merchartName",r)},expression:"item.tblOcrPackPerformance.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.effectiveDate,callback:function(r){e.$set(t.tblOcrPackPerformance,"effectiveDate",r)},expression:"item.tblOcrPackPerformance.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.emergencyMsg,callback:function(r){e.$set(t.tblOcrPackPerformance,"emergencyMsg",r)},expression:"item.tblOcrPackPerformance.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassification",r)},expression:"item.tblOcrPackPerformance.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.riskType,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskType",r)},expression:"item.tblOcrPackPerformance.riskType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.targetOrgan,callback:function(r){e.$set(t.tblOcrPackPerformance,"targetOrgan",r)},expression:"item.tblOcrPackPerformance.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.pictogram,callback:function(r){e.$set(t.tblOcrPackPerformance,"pictogram",r)},expression:"item.tblOcrPackPerformance.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.hazardStatement,callback:function(r){e.$set(t.tblOcrPackPerformance,"hazardStatement",r)},expression:"item.tblOcrPackPerformance.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.preventivMeasure,callback:function(r){e.$set(t.tblOcrPackPerformance,"preventivMeasure",r)},expression:"item.tblOcrPackPerformance.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.incidentResponse,callback:function(r){e.$set(t.tblOcrPackPerformance,"incidentResponse",r)},expression:"item.tblOcrPackPerformance.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.secureStorage,callback:function(r){e.$set(t.tblOcrPackPerformance,"secureStorage",r)},expression:"item.tblOcrPackPerformance.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.datasisposal,callback:function(r){e.$set(t.tblOcrPackPerformance,"datasisposal",r)},expression:"item.tblOcrPackPerformance.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.compositionInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"compositionInformation",r)},expression:"\n item.tblOcrPackPerformance.compositionInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.harmfulSubstances,callback:function(r){e.$set(t.tblOcrPackPerformance,"harmfulSubstances",r)},expression:"item.tblOcrPackPerformance.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.content,callback:function(r){e.$set(t.tblOcrPackPerformance,"content",r)},expression:"item.tblOcrPackPerformance.content"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrPackPerformance.ghsClassification,callback:function(r){e.$set(t.tblOcrPackPerformance,"ghsClassification",r)},expression:"item.tblOcrPackPerformance.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.character,callback:function(r){e.$set(t.tblOcrPackPerformance,"character",r)},expression:"item.tblOcrPackPerformance.character"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.appearance,callback:function(r){e.$set(t.tblOcrPackPerformance,"appearance",r)},expression:"item.tblOcrPackPerformance.appearance"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.evaporationRate,callback:function(r){e.$set(t.tblOcrPackPerformance,"evaporationRate",r)},expression:"item.tblOcrPackPerformance.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.smell,callback:function(r){e.$set(t.tblOcrPackPerformance,"smell",r)},expression:"item.tblOcrPackPerformance.smell"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.phValue,callback:function(r){e.$set(t.tblOcrPackPerformance,"phValue",r)},expression:"item.tblOcrPackPerformance.phValue"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.meltingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"meltingPoint",r)},expression:"item.tblOcrPackPerformance.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.boilingPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"boilingPoint",r)},expression:"item.tblOcrPackPerformance.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.density,callback:function(r){e.$set(t.tblOcrPackPerformance,"density",r)},expression:"item.tblOcrPackPerformance.density"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrPackPerformance,"relativeVaporDensity",r)},expression:"\n item.tblOcrPackPerformance.relativeVaporDensity\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrPackPerformance,"saturatedVaporPressure",r)},expression:"\n item.tblOcrPackPerformance.saturatedVaporPressure\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flashPoint,callback:function(r){e.$set(t.tblOcrPackPerformance,"flashPoint",r)},expression:"item.tblOcrPackPerformance.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.ignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"ignitionTemperature",r)},expression:"item.tblOcrPackPerformance.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"lowerExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrPackPerformance,"upperExplosiveLimit",r)},expression:"item.tblOcrPackPerformance.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.solubilityInWater,callback:function(r){e.$set(t.tblOcrPackPerformance,"solubilityInWater",r)},expression:"item.tblOcrPackPerformance.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.viscosity,callback:function(r){e.$set(t.tblOcrPackPerformance,"viscosity",r)},expression:"item.tblOcrPackPerformance.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"autoignitionTemperature",r)},expression:"\n item.tblOcrPackPerformance.autoignitionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.flammability,callback:function(r){e.$set(t.tblOcrPackPerformance,"flammability",r)},expression:"item.tblOcrPackPerformance.flammability"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.partitionCoefficient,callback:function(r){e.$set(t.tblOcrPackPerformance,"partitionCoefficient",r)},expression:"\n item.tblOcrPackPerformance.partitionCoefficient\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.decompositionTemperature,callback:function(r){e.$set(t.tblOcrPackPerformance,"decompositionTemperature",r)},expression:"\n item.tblOcrPackPerformance.decompositionTemperature\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unNo,callback:function(r){e.$set(t.tblOcrPackPerformance,"unNo",r)},expression:"item.tblOcrPackPerformance.unNo"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.unTransportName,callback:function(r){e.$set(t.tblOcrPackPerformance,"unTransportName",r)},expression:"item.tblOcrPackPerformance.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.riskClassify,callback:function(r){e.$set(t.tblOcrPackPerformance,"riskClassify",r)},expression:"item.tblOcrPackPerformance.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.packageType,callback:function(r){e.$set(t.tblOcrPackPerformance,"packageType",r)},expression:"item.tblOcrPackPerformance.packageType"}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrPackPerformance?r("el-input",{model:{value:t.tblOcrPackPerformance.regulatoryInformation,callback:function(r){e.$set(t.tblOcrPackPerformance,"regulatoryInformation",r)},expression:"\n item.tblOcrPackPerformance.regulatoryInformation\n "}}):e._e(),e.ocrForm!=t.tblOcrPackPerformance?r("span",[e._v(e._s(t.tblOcrPackPerformance.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrPackPerformance.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrPackPerformance.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrPackPerformance.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrSafeCert?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrSafeCert"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("安全数据单")]),e.ocrName!="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrSafeCert"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"编号"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrSafeCert.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrSafeCert)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrSafeCert?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:safeCert:edit"],expression:"['business:safeCert:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrSafeCert,"tblOcrSafeCert")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"化学品中文名"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ghsProductIdentifier,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsProductIdentifier",r)},expression:"item.tblOcrSafeCert.ghsProductIdentifier"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsProductIdentifier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"推荐用途"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.recommendUse,callback:function(r){e.$set(t.tblOcrSafeCert,"recommendUse",r)},expression:"item.tblOcrSafeCert.recommendUse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.recommendUse))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 制造商/进口商"),r("br"),e._v("分销商代表公司 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.merchartName,callback:function(r){e.$set(t.tblOcrSafeCert,"merchartName",r)},expression:"item.tblOcrSafeCert.merchartName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.merchartName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"生效日期"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.effectiveDate,callback:function(r){e.$set(t.tblOcrSafeCert,"effectiveDate",r)},expression:"item.tblOcrSafeCert.effectiveDate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.effectiveDate))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"应急信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.emergencyMsg,callback:function(r){e.$set(t.tblOcrSafeCert,"emergencyMsg",r)},expression:"item.tblOcrSafeCert.emergencyMsg"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.emergencyMsg))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassification",r)},expression:"item.tblOcrSafeCert.riskClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.riskType,callback:function(r){e.$set(t.tblOcrSafeCert,"riskType",r)},expression:"item.tblOcrSafeCert.riskType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskType))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"靶器官"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.targetOrgan,callback:function(r){e.$set(t.tblOcrSafeCert,"targetOrgan",r)},expression:"item.tblOcrSafeCert.targetOrgan"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.targetOrgan))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.pictogram,callback:function(r){e.$set(t.tblOcrSafeCert,"pictogram",r)},expression:"item.tblOcrSafeCert.pictogram"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.pictogram))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.hazardStatement,callback:function(r){e.$set(t.tblOcrSafeCert,"hazardStatement",r)},expression:"item.tblOcrSafeCert.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.hazardStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"预防措施"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.preventivMeasure,callback:function(r){e.$set(t.tblOcrSafeCert,"preventivMeasure",r)},expression:"item.tblOcrSafeCert.preventivMeasure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.preventivMeasure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"事故响应"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.incidentResponse,callback:function(r){e.$set(t.tblOcrSafeCert,"incidentResponse",r)},expression:"item.tblOcrSafeCert.incidentResponse"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.incidentResponse))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"安全储存"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.secureStorage,callback:function(r){e.$set(t.tblOcrSafeCert,"secureStorage",r)},expression:"item.tblOcrSafeCert.secureStorage"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.secureStorage))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"废弃处理"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.datasisposal,callback:function(r){e.$set(t.tblOcrSafeCert,"datasisposal",r)},expression:"item.tblOcrSafeCert.datasisposal"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.datasisposal))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"成分信息"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.compositionInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"compositionInformation",r)},expression:"item.tblOcrSafeCert.compositionInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.compositionInformation))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"有害物成分"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.harmfulSubstances,callback:function(r){e.$set(t.tblOcrSafeCert,"harmfulSubstances",r)},expression:"item.tblOcrSafeCert.harmfulSubstances"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.harmfulSubstances))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"含量"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.content,callback:function(r){e.$set(t.tblOcrSafeCert,"content",r)},expression:"item.tblOcrSafeCert.content"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.content))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"GHS分类"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{attrs:{placeholder:"多个值#分隔对应"},model:{value:t.tblOcrSafeCert.ghsClassification,callback:function(r){e.$set(t.tblOcrSafeCert,"ghsClassification",r)},expression:"item.tblOcrSafeCert.ghsClassification"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ghsClassification))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"性状"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.character,callback:function(r){e.$set(t.tblOcrSafeCert,"character",r)},expression:"item.tblOcrSafeCert.character"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.character))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"外观"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.appearance,callback:function(r){e.$set(t.tblOcrSafeCert,"appearance",r)},expression:"item.tblOcrSafeCert.appearance"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.appearance))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"蒸发率"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.evaporationRate,callback:function(r){e.$set(t.tblOcrSafeCert,"evaporationRate",r)},expression:"item.tblOcrSafeCert.evaporationRate"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.evaporationRate))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"气味"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.smell,callback:function(r){e.$set(t.tblOcrSafeCert,"smell",r)},expression:"item.tblOcrSafeCert.smell"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.smell))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"ph值"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.phValue,callback:function(r){e.$set(t.tblOcrSafeCert,"phValue",r)},expression:"item.tblOcrSafeCert.phValue"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.phValue))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"熔点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.meltingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"meltingPoint",r)},expression:"item.tblOcrSafeCert.meltingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.meltingPoint))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"沸点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.boilingPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"boilingPoint",r)},expression:"item.tblOcrSafeCert.boilingPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.boilingPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"密度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.density,callback:function(r){e.$set(t.tblOcrSafeCert,"density",r)},expression:"item.tblOcrSafeCert.density"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.density))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"相对蒸气密度(空气=1)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.relativeVaporDensity,callback:function(r){e.$set(t.tblOcrSafeCert,"relativeVaporDensity",r)},expression:"item.tblOcrSafeCert.relativeVaporDensity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.relativeVaporDensity))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"饱和蒸气压(kPa)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.saturatedVaporPressure,callback:function(r){e.$set(t.tblOcrSafeCert,"saturatedVaporPressure",r)},expression:"item.tblOcrSafeCert.saturatedVaporPressure"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.saturatedVaporPressure))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"闪点(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flashPoint,callback:function(r){e.$set(t.tblOcrSafeCert,"flashPoint",r)},expression:"item.tblOcrSafeCert.flashPoint"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flashPoint))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"引燃温度(℃)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.ignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"ignitionTemperature",r)},expression:"item.tblOcrSafeCert.ignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.ignitionTemperature))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸下限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.lowerExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"lowerExplosiveLimit",r)},expression:"item.tblOcrSafeCert.lowerExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.lowerExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"爆炸上限%(V/V)"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.upperExplosiveLimit,callback:function(r){e.$set(t.tblOcrSafeCert,"upperExplosiveLimit",r)},expression:"item.tblOcrSafeCert.upperExplosiveLimit"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.upperExplosiveLimit))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"水中溶解度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.solubilityInWater,callback:function(r){e.$set(t.tblOcrSafeCert,"solubilityInWater",r)},expression:"item.tblOcrSafeCert.solubilityInWater"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.solubilityInWater))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"粘度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.viscosity,callback:function(r){e.$set(t.tblOcrSafeCert,"viscosity",r)},expression:"item.tblOcrSafeCert.viscosity"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.viscosity))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"自燃温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.autoignitionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"autoignitionTemperature",r)},expression:"item.tblOcrSafeCert.autoignitionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.autoignitionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"可燃性"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.flammability,callback:function(r){e.$set(t.tblOcrSafeCert,"flammability",r)},expression:"item.tblOcrSafeCert.flammability"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.flammability))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"辛醇/水分配系数"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.partitionCoefficient,callback:function(r){e.$set(t.tblOcrSafeCert,"partitionCoefficient",r)},expression:"item.tblOcrSafeCert.partitionCoefficient"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.partitionCoefficient))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"分解温度"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.decompositionTemperature,callback:function(r){e.$set(t.tblOcrSafeCert,"decompositionTemperature",r)},expression:"item.tblOcrSafeCert.decompositionTemperature"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.decompositionTemperature))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unNo,callback:function(r){e.$set(t.tblOcrSafeCert,"unNo",r)},expression:"item.tblOcrSafeCert.unNo"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unNo))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国正式运输名称"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.unTransportName,callback:function(r){e.$set(t.tblOcrSafeCert,"unTransportName",r)},expression:"item.tblOcrSafeCert.unTransportName"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.unTransportName))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"运输危险类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.riskClassify,callback:function(r){e.$set(t.tblOcrSafeCert,"riskClassify",r)},expression:"item.tblOcrSafeCert.riskClassify"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.riskClassify))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"包装类别"}},[e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.packageType,callback:function(r){e.$set(t.tblOcrSafeCert,"packageType",r)},expression:"item.tblOcrSafeCert.packageType"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.packageType))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[r("span",{staticStyle:{"line-height":"18px",display:"block"},attrs:{slot:"label"},slot:"label"},[e._v(" 针对识别列入"),r("br"),e._v("情况部分内容 ")]),e.ocrForm==t.tblOcrSafeCert?r("el-input",{model:{value:t.tblOcrSafeCert.regulatoryInformation,callback:function(r){e.$set(t.tblOcrSafeCert,"regulatoryInformation",r)},expression:"item.tblOcrSafeCert.regulatoryInformation"}}):e._e(),e.ocrForm!=t.tblOcrSafeCert?r("span",[e._v(e._s(t.tblOcrSafeCert.regulatoryInformation))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrSafeCert.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrSafeCert.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrSafeCert.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),null!=t.tblOcrTdgLabel?r("el-collapse",{attrs:{accordion:""},model:{value:e.ocrName,callback:function(t){e.ocrName=t},expression:"ocrName"}},[r("el-collapse-item",{attrs:{name:"tblOcrTdgLabel"+a+1}},[r("span",{staticClass:"collapse-title",staticStyle:{"font-size":"15px","font-weight":"bold","padding-left":"32px"},attrs:{slot:"title"},slot:"title"},[e._v("危险性标签")]),e.ocrName!="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("展开")]):e._e(),e.ocrName=="tblOcrTdgLabel"+a+1?r("span",{staticStyle:{color:"rgb(64, 158, 255)"},attrs:{slot:"title"},slot:"title"},[e._v("收起")]):e._e(),r("el-form",{attrs:{"label-width":"160px"}},[r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"产品名称"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.number))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"类型"}},[r("span",[e._v(e._s(t.tblOcrTdgLabel.type))])])],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:""}},[e.ocrForm!=t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hideidt(t.tblOcrTdgLabel)}}},[e._v("修改 ")]):e._e(),e.ocrForm==t.tblOcrTdgLabel?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:tdgLabel:edit"],expression:"['business:tdgLabel:edit']"}],attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.hidputOcr(t.tblOcrTdgLabel,"tblOcrTdgLabel")}}},[e._v("保存 ")]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"象形图编码"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.pictogramCode,callback:function(r){e.$set(t.tblOcrTdgLabel,"pictogramCode",r)},expression:"item.tblOcrTdgLabel.pictogramCode"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.pictogramCode))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"信号词"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.signalWord,callback:function(r){e.$set(t.tblOcrTdgLabel,"signalWord",r)},expression:"item.tblOcrTdgLabel.signalWord"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.signalWord))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"危险性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.hazardStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"hazardStatement",r)},expression:"item.tblOcrTdgLabel.hazardStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.hazardStatement))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"防范性说明"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.precautionaryStatement,callback:function(r){e.$set(t.tblOcrTdgLabel,"precautionaryStatement",r)},expression:"item.tblOcrTdgLabel.precautionaryStatement"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.precautionaryStatement))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"供应商"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.supplier,callback:function(r){e.$set(t.tblOcrTdgLabel,"supplier",r)},expression:"item.tblOcrTdgLabel.supplier"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.supplier))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"正确货物运输品名"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.transName,callback:function(r){e.$set(t.tblOcrTdgLabel,"transName",r)},expression:"item.tblOcrTdgLabel.transName"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.transName))]):e._e()],1)],1)],1),r("el-row",[r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"联合国编号"}},[e.ocrForm==t.tblOcrTdgLabel?r("el-input",{model:{value:t.tblOcrTdgLabel.unNo,callback:function(r){e.$set(t.tblOcrTdgLabel,"unNo",r)},expression:"item.tblOcrTdgLabel.unNo"}}):e._e(),e.ocrForm!=t.tblOcrTdgLabel?r("span",[e._v(e._s(t.tblOcrTdgLabel.unNo))]):e._e()],1)],1),r("el-col",{attrs:{span:8}},[r("el-form-item",{staticStyle:{"margin-bottom":"10px"},attrs:{label:"文件预览"}},[null!=t.tblOcrTdgLabel.localFilePath?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:ocrDownload:resource"],expression:"['business:ocrDownload:resource']"}],attrs:{type:"text",size:"mini"},on:{click:function(r){return e.downloadOcr(t.tblOcrTdgLabel.localFilePath)}}},[e._v("下载预览 ")]):e._e(),null==t.tblOcrTdgLabel.localFilePath?r("span",[e._v("无文件")]):e._e()],1)],1)],1)],1)],1)],1):e._e(),""!=t.baseCheckResult?r("div",[r("el-descriptions",{attrs:{title:"查验结果"}}),r("el-table",{attrs:{data:t.baseCheckResult}},[r("el-table-column",{attrs:{label:"查验类型",align:"center",prop:"checkType"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_type,value:t.row.checkType}})]}}],null,!0)}),r("el-table-column",{attrs:{label:"数据源",align:"center",prop:"dataSource"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.dataSource&&t.row.dataSource.indexOf("检测信息")>-1?r("span",[e._v(" "+e._s(t.row.dataSource)+" ")]):e._e(),null!=t.row.dataSource&&-1===t.row.dataSource.indexOf("检测信息")?r("dict-tag",{attrs:{options:e.dict.type.data_source,value:t.row.dataSource}}):e._e()]}}],null,!0)}),r("el-table-column",{attrs:{label:"准则数据",align:"center",prop:"standardData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.standardData&&void 0!=t.row.standardData&&t.row.standardData.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.standardData))])]),r("el-link",{attrs:{type:"primary"}},["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData.slice(0,10))+"... ")]):e._e(),"A1"!=t.row.checkType?r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.standardData.slice(0,10))+"...")]):e._e()],1)],1):r("div",["A1"==t.row.checkType?r("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["business:dangerTypeIdentity:list"],expression:"['business:dangerTypeIdentity:list']"}],attrs:{size:"mini",type:"text"},on:{click:function(r){return e.listByInfoId(t.row)}}},[e._v(e._s(t.row.standardData)+" ")]):e._e(),"A1"!=t.row.checkType?r("span",[e._v(e._s(t.row.standardData))]):e._e()],1)]}}],null,!0)}),r("el-table-column",{attrs:{label:"企业申报数据",align:"center",prop:"reportData"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.reportData&&t.row.reportData.length>10&&void 0!=t.row.reportData?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.reportData))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.reportData.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.reportData))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"备注",align:"center",prop:"remarks"},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.remarks&&void 0!=t.row.remarks&&t.row.remarks.length>10?r("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"top"}},[r("div",{attrs:{slot:"content"},slot:"content"},[r("span",{staticStyle:{width:"200px",display:"inline-block"}},[e._v(e._s(t.row.remarks))])]),r("el-link",{attrs:{type:"primary"}},[r("span",{staticStyle:{color:"#000"}},[e._v(e._s(t.row.remarks.slice(0,10))+"...")])])],1):r("span",[e._v(e._s(t.row.remarks))])]}}],null,!0)}),r("el-table-column",{attrs:{label:"对比结果",align:"center",prop:"checkResult"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("dict-tag",{attrs:{options:e.dict.type.check_review_result,value:t.row.checkResult}})]}}],null,!0)})],1)],1):e._e()],1),r("span")],1)})),0)],1)],1):e._e()],1)},l=[],c=(r("ac1f"),r("5319"),r("466d"),r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("9861"),r("21bb")),o=r("2b0e"),s={name:"CheckInInfo",dicts:["check_status","check_review_result","data_source","check_type"],data:function(){return{checkInInfo:{},activeNames:1,activeNames1:1,disabled:!0,loading:!1,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,checkInInfoList:[],title:"",open:!1,queryParams:{customsDeclarationNo:""},form:{},rules:{},ocrForm:{},ocrName:"0"}},created:function(){""!=this.queryParams.customsDeclarationNo&&this.getList()},methods:{getList:function(){var e=this;""!=this.queryParams.customsDeclarationNo?(this.activeNames1=1,Object(c["j"])(this.queryParams).then((function(t){e.open=!0,e.checkInInfo=t.data;for(var r=0;r-1)window.navigator.msSaveBlob(r,a);else{var n=URL.createObjectURL(r),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("target","_blank"),i.click(),URL.revokeObjectURL(n)}}))},hidputOcr:function(e,t){var r=this;if("tblOcrDangerTypeIdentity"==t)var a="/business/dangerTypeIdentityOcr";if("tblOcrGhsLabel"==t)a="/business/ghsLabel";if("tblOcrPackPerformance"==t)a="/business/packPerformance";if("tblOcrSafeCert"==t)a="/business/safeCert";if("tblOcrTdgLabel"==t)a="/business/tdgLabel";Object(c["f"])(a,e).then((function(e){r.$modal.msgSuccess("修改成功"),r.ocrForm={}}))}}},n=s,i=(r("8a00"),r("2877")),m=Object(i["a"])(n,a,l,!1,null,"1b5d5926",null);t["default"]=m.exports},"8a00":function(e,t,r){"use strict";r("2ff9")}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js.gz new file mode 100644 index 00000000..27182645 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7133791f.7141e07e.js.gz differ diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js similarity index 53% rename from chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js rename to chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js index 4b404b54..73f79260 100644 --- a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-5a266cd8.10b6dd71.js +++ b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a266cd8"],{c7e7:function(e,t,o){},dd7b:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"login"},[o("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules}},[o("h3",{staticClass:"title"},[e._v("危化品管理系统")]),o("el-form-item",{attrs:{prop:"username"}},[o("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),o("el-form-item",{attrs:{prop:"password"}},[o("el-input",{attrs:{type:e.flagType,"auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"}),"text"==this.flagType?o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"suffix","icon-class":"eye-open"},on:{click:function(t){return e.getFlageye()}},slot:"suffix"}):e._e(),"password"==this.flagType?o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"suffix","icon-class":"eye"},on:{click:function(t){return e.getFlagopen()}},slot:"suffix"}):e._e()],1)],1),e.captchaOnOff?o("el-form-item",{attrs:{prop:"code"}},[o("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.code,callback:function(t){e.$set(e.loginForm,"code",t)},expression:"loginForm.code"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),o("div",{staticClass:"login-code"},[o("img",{staticClass:"login-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),o("el-form-item",{staticStyle:{width:"100%"}},[o("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin(t)}}},[e.loading?o("span",[e._v("登 录 中...")]):o("span",[e._v("登 录")])]),e.register?o("div",{staticStyle:{float:"right"}},[o("router-link",{staticClass:"link-type",attrs:{to:"/register"}},[e._v("立即注册")])],1):e._e()],1)],1)],1)},i=[],s=(o("d3b7"),o("3ca3"),o("ddb0"),o("9861"),o("7ded")),a=(o("852e"),o("720d")),r=o.n(a);function l(e,t){var o=new r.a;return o.setPublicKey(e),o.encrypt(t)}var c=o("5620"),u={name:"Login",data:function(){return{flag:!1,flagType:"password",codeUrl:"",pwd:"",loginForm:{username:"admin",password:"Admin1234",code:"",uuid:""},loginRules:{username:[{required:!0,trigger:"blur",message:"请输入您的账号"}],password:[{required:!0,trigger:"blur",message:"请输入您的密码"}],code:[{required:!0,trigger:"change",message:"请输入验证码"}]},loading:!1,captchaOnOff:!0,register:!1,redirect:void 0,publicKey:""}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},created:function(){this.getKeyiv(),this.getCode(),console.log(" console.log(routerMap)"),console.log(c["routerMap"]),this.toLogin()},methods:{getKeyiv:function(){var e=this;Object(s["c"])().then((function(t){e.publicKey=t.data}))},toLogin:function(){var e=window.location.href,t=e.split("?")[1],o=new URLSearchParams("?"+t),n=o.get("content");null!=n&&void 0!=n&&this.ythandleLogin(n)},getFlageye:function(){this.flagType="password"},getFlagopen:function(){this.flagType="text"},getCode:function(){var e=this;Object(s["a"])().then((function(t){e.captchaOnOff=void 0===t.captchaOnOff||t.captchaOnOff,e.captchaOnOff&&(e.codeUrl="data:image/gif;base64,"+t.img,e.loginForm.uuid=t.uuid)}))},ythandleLogin:function(e){var t=this,o={content:e};this.$store.dispatch("Login",o).then((function(){t.$router.push({path:"/checkInInfo/reviewResult"}).catch((function(){}))})).catch((function(){}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(t){t&&(e.loading=!0,e.pwd=e.loginForm.password,console.log(e.loginForm.password+","+(new Date).getTime()),e.loginForm.password=l(e.publicKey,e.loginForm.password+","+(new Date).getTime()),console.log(e.loginForm.password),console.log("console.log(this.loginForm.password)"),e.$store.dispatch("Login",e.loginForm).then((function(){e.$router.push({path:e.redirect||"/dashboard/index"}).catch((function(){}))})).catch((function(t){e.loading=!1,e.loginForm.password=e.pwd,e.captchaOnOff&&e.getCode()})))}))}}},d=u,p=(o("fee6"),o("2877")),g=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=g.exports},fee6:function(e,t,o){"use strict";o("c7e7")}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d4afc9c"],{b6f6:function(e,t,o){},dd7b:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"login"},[o("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules}},[o("h3",{staticClass:"title"},[e._v("危化品管理系统")]),o("el-form-item",{attrs:{prop:"username"}},[o("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),o("el-form-item",{attrs:{prop:"password"}},[o("el-input",{attrs:{type:e.flagType,"auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"}),"text"==this.flagType?o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"suffix","icon-class":"eye-open"},on:{click:function(t){return e.getFlageye()}},slot:"suffix"}):e._e(),"password"==this.flagType?o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"suffix","icon-class":"eye"},on:{click:function(t){return e.getFlagopen()}},slot:"suffix"}):e._e()],1)],1),e.captchaOnOff?o("el-form-item",{attrs:{prop:"code"}},[o("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.code,callback:function(t){e.$set(e.loginForm,"code",t)},expression:"loginForm.code"}},[o("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),o("div",{staticClass:"login-code"},[o("img",{staticClass:"login-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),o("el-form-item",{staticStyle:{width:"100%"}},[o("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin(t)}}},[e.loading?o("span",[e._v("登 录 中...")]):o("span",[e._v("登 录")])]),e.register?o("div",{staticStyle:{float:"right"}},[o("router-link",{staticClass:"link-type",attrs:{to:"/register"}},[e._v("立即注册")])],1):e._e()],1)],1)],1)},i=[],s=(o("d3b7"),o("3ca3"),o("ddb0"),o("9861"),o("7ded")),a=o("720d"),r=o.n(a);function l(e,t){var o=new r.a;return o.setPublicKey(e),o.encrypt(t)}var c=o("5620"),u={name:"Login",data:function(){return{flag:!1,flagType:"password",codeUrl:"",pwd:"",loginForm:{username:"",password:"",code:"",uuid:""},loginRules:{username:[{required:!0,trigger:"blur",message:"请输入您的账号"}],password:[{required:!0,trigger:"blur",message:"请输入您的密码"}],code:[{required:!0,trigger:"change",message:"请输入验证码"}]},loading:!1,captchaOnOff:!0,register:!1,redirect:void 0,publicKey:""}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},created:function(){this.getKeyiv(),this.getCode(),console.log(" console.log(routerMap)"),console.log(c["routerMap"]),this.toLogin()},methods:{getKeyiv:function(){var e=this;Object(s["c"])().then((function(t){e.publicKey=t.data}))},toLogin:function(){var e=window.location.href,t=e.split("?")[1],o=new URLSearchParams("?"+t),n=o.get("content");null!=n&&void 0!=n&&this.ythandleLogin(n)},getFlageye:function(){this.flagType="password"},getFlagopen:function(){this.flagType="text"},getCode:function(){var e=this;Object(s["a"])().then((function(t){e.captchaOnOff=void 0===t.captchaOnOff||t.captchaOnOff,e.captchaOnOff&&(e.codeUrl="data:image/gif;base64,"+t.img,e.loginForm.uuid=t.uuid)}))},ythandleLogin:function(e){var t=this,o={content:e};this.$store.dispatch("Login",o).then((function(){t.$router.push({path:"/checkInInfo/reviewResult"}).catch((function(){}))})).catch((function(){}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(t){t&&(e.loading=!0,e.pwd=e.loginForm.password,console.log(e.loginForm.password+","+(new Date).getTime()),e.loginForm.password=l(e.publicKey,e.loginForm.password+","+(new Date).getTime()),console.log(e.loginForm.password),console.log("console.log(this.loginForm.password)"),e.$store.dispatch("Login",e.loginForm).then((function(){e.$router.push({path:e.redirect||"/dashboard/index"}).catch((function(){}))})).catch((function(t){e.loading=!1,e.loginForm.password=e.pwd,e.captchaOnOff&&e.getCode()})))}))}}},d=u,p=(o("ee06"),o("2877")),g=Object(p["a"])(d,n,i,!1,null,null,null);t["default"]=g.exports},ee06:function(e,t,o){"use strict";o("b6f6")}}]); \ No newline at end of file diff --git a/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js.gz b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js.gz new file mode 100644 index 00000000..886923d3 Binary files /dev/null and b/chemical/chemical-master/chemical-admin/src/main/resources/public/static/js/chunk-7d4afc9c.56caaf30.js.gz differ diff --git a/chemical/chemical-master/chemical-ui/pom.xml b/chemical/chemical-master/chemical-ui/pom.xml index 8bbdf0ee..775b567b 100644 --- a/chemical/chemical-master/chemical-ui/pom.xml +++ b/chemical/chemical-master/chemical-ui/pom.xml @@ -4,7 +4,7 @@ com.jiuyv chemical-console - 2.0.4-SNAPSHOT + 2.0.6-SNAPSHOT chemical-ui chemical-ui diff --git a/chemical/chemical-master/chemical-ui/src/views/business/checkEaInfo/index.vue b/chemical/chemical-master/chemical-ui/src/views/business/checkEaInfo/index.vue index d66449d0..8fc4ca2f 100644 --- a/chemical/chemical-master/chemical-ui/src/views/business/checkEaInfo/index.vue +++ b/chemical/chemical-master/chemical-ui/src/views/business/checkEaInfo/index.vue @@ -4720,127 +4720,7 @@ -
    - -

    - 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 -

    - - - - - - - - - - - - - - - - - - - - -
    + diff --git a/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/index.vue b/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/index.vue index 99e79334..5a33b1d3 100644 --- a/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/index.vue +++ b/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/index.vue @@ -5283,139 +5283,7 @@ -
    - -

    - 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 -

    - - - - - - - - - - - - - - - - - - - - -
    + diff --git a/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/reviewResult.vue b/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/reviewResult.vue index eb4eea34..513fd683 100644 --- a/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/reviewResult.vue +++ b/chemical/chemical-master/chemical-ui/src/views/business/checkInInfo/reviewResult.vue @@ -2312,86 +2312,123 @@ -
    - -

    - 进口危险化学品企业符合性声明需要比对:(1)“化学品正式名称”与《1---2015危险化学品目录》化学品名称栏的名称一致。(2)危险种类栏内容,应与分类鉴定报告或安全数据单的GHS危险性类别一致。 -

    - - + +
    + + + - +