jianggs 5 hodín pred
rodič
commit
8e4b5f93ad
100 zmenil súbory, kde vykonal 6 pridanie a 577 odobranie
  1. 0 1
      web/.eslintignore
  2. 1 0
      web/.gitignore
  3. 1 4
      web/index.html
  4. 1 1
      web/mock/demo/crud.mock.js
  5. 1 1
      web/mock/demo/file.mock.js
  6. 1 1
      web/mock/oca/oca.mock.js
  7. 1 1
      web/mock/oca/uaa.mock.js
  8. 0 1
      web/package.json
  9. 0 451
      web/public/static/TinyMceEditor.html
  10. 0 106
      web/public/static/aiManageWeb.html
  11. BIN
      web/public/static/cmaps/78-EUC-H.bcmap
  12. BIN
      web/public/static/cmaps/78-EUC-V.bcmap
  13. BIN
      web/public/static/cmaps/78-H.bcmap
  14. BIN
      web/public/static/cmaps/78-RKSJ-H.bcmap
  15. BIN
      web/public/static/cmaps/78-RKSJ-V.bcmap
  16. BIN
      web/public/static/cmaps/78-V.bcmap
  17. BIN
      web/public/static/cmaps/78ms-RKSJ-H.bcmap
  18. BIN
      web/public/static/cmaps/78ms-RKSJ-V.bcmap
  19. BIN
      web/public/static/cmaps/83pv-RKSJ-H.bcmap
  20. BIN
      web/public/static/cmaps/90ms-RKSJ-H.bcmap
  21. BIN
      web/public/static/cmaps/90ms-RKSJ-V.bcmap
  22. BIN
      web/public/static/cmaps/90msp-RKSJ-H.bcmap
  23. BIN
      web/public/static/cmaps/90msp-RKSJ-V.bcmap
  24. BIN
      web/public/static/cmaps/90pv-RKSJ-H.bcmap
  25. BIN
      web/public/static/cmaps/90pv-RKSJ-V.bcmap
  26. BIN
      web/public/static/cmaps/Add-H.bcmap
  27. BIN
      web/public/static/cmaps/Add-RKSJ-H.bcmap
  28. BIN
      web/public/static/cmaps/Add-RKSJ-V.bcmap
  29. BIN
      web/public/static/cmaps/Add-V.bcmap
  30. BIN
      web/public/static/cmaps/Adobe-CNS1-0.bcmap
  31. BIN
      web/public/static/cmaps/Adobe-CNS1-1.bcmap
  32. BIN
      web/public/static/cmaps/Adobe-CNS1-2.bcmap
  33. BIN
      web/public/static/cmaps/Adobe-CNS1-3.bcmap
  34. BIN
      web/public/static/cmaps/Adobe-CNS1-4.bcmap
  35. BIN
      web/public/static/cmaps/Adobe-CNS1-5.bcmap
  36. BIN
      web/public/static/cmaps/Adobe-CNS1-6.bcmap
  37. BIN
      web/public/static/cmaps/Adobe-CNS1-UCS2.bcmap
  38. BIN
      web/public/static/cmaps/Adobe-GB1-0.bcmap
  39. BIN
      web/public/static/cmaps/Adobe-GB1-1.bcmap
  40. BIN
      web/public/static/cmaps/Adobe-GB1-2.bcmap
  41. BIN
      web/public/static/cmaps/Adobe-GB1-3.bcmap
  42. BIN
      web/public/static/cmaps/Adobe-GB1-4.bcmap
  43. BIN
      web/public/static/cmaps/Adobe-GB1-5.bcmap
  44. BIN
      web/public/static/cmaps/Adobe-GB1-UCS2.bcmap
  45. BIN
      web/public/static/cmaps/Adobe-Japan1-0.bcmap
  46. BIN
      web/public/static/cmaps/Adobe-Japan1-1.bcmap
  47. BIN
      web/public/static/cmaps/Adobe-Japan1-2.bcmap
  48. BIN
      web/public/static/cmaps/Adobe-Japan1-3.bcmap
  49. BIN
      web/public/static/cmaps/Adobe-Japan1-4.bcmap
  50. BIN
      web/public/static/cmaps/Adobe-Japan1-5.bcmap
  51. BIN
      web/public/static/cmaps/Adobe-Japan1-6.bcmap
  52. BIN
      web/public/static/cmaps/Adobe-Japan1-UCS2.bcmap
  53. BIN
      web/public/static/cmaps/Adobe-Korea1-0.bcmap
  54. BIN
      web/public/static/cmaps/Adobe-Korea1-1.bcmap
  55. BIN
      web/public/static/cmaps/Adobe-Korea1-2.bcmap
  56. BIN
      web/public/static/cmaps/Adobe-Korea1-UCS2.bcmap
  57. BIN
      web/public/static/cmaps/B5-H.bcmap
  58. BIN
      web/public/static/cmaps/B5-V.bcmap
  59. BIN
      web/public/static/cmaps/B5pc-H.bcmap
  60. BIN
      web/public/static/cmaps/B5pc-V.bcmap
  61. BIN
      web/public/static/cmaps/CNS-EUC-H.bcmap
  62. BIN
      web/public/static/cmaps/CNS-EUC-V.bcmap
  63. BIN
      web/public/static/cmaps/CNS1-H.bcmap
  64. BIN
      web/public/static/cmaps/CNS1-V.bcmap
  65. BIN
      web/public/static/cmaps/CNS2-H.bcmap
  66. 0 3
      web/public/static/cmaps/CNS2-V.bcmap
  67. BIN
      web/public/static/cmaps/ETHK-B5-H.bcmap
  68. BIN
      web/public/static/cmaps/ETHK-B5-V.bcmap
  69. BIN
      web/public/static/cmaps/ETen-B5-H.bcmap
  70. BIN
      web/public/static/cmaps/ETen-B5-V.bcmap
  71. 0 3
      web/public/static/cmaps/ETenms-B5-H.bcmap
  72. BIN
      web/public/static/cmaps/ETenms-B5-V.bcmap
  73. BIN
      web/public/static/cmaps/EUC-H.bcmap
  74. BIN
      web/public/static/cmaps/EUC-V.bcmap
  75. BIN
      web/public/static/cmaps/Ext-H.bcmap
  76. BIN
      web/public/static/cmaps/Ext-RKSJ-H.bcmap
  77. BIN
      web/public/static/cmaps/Ext-RKSJ-V.bcmap
  78. BIN
      web/public/static/cmaps/Ext-V.bcmap
  79. BIN
      web/public/static/cmaps/GB-EUC-H.bcmap
  80. BIN
      web/public/static/cmaps/GB-EUC-V.bcmap
  81. 0 4
      web/public/static/cmaps/GB-H.bcmap
  82. BIN
      web/public/static/cmaps/GB-V.bcmap
  83. BIN
      web/public/static/cmaps/GBK-EUC-H.bcmap
  84. BIN
      web/public/static/cmaps/GBK-EUC-V.bcmap
  85. BIN
      web/public/static/cmaps/GBK2K-H.bcmap
  86. BIN
      web/public/static/cmaps/GBK2K-V.bcmap
  87. BIN
      web/public/static/cmaps/GBKp-EUC-H.bcmap
  88. BIN
      web/public/static/cmaps/GBKp-EUC-V.bcmap
  89. BIN
      web/public/static/cmaps/GBT-EUC-H.bcmap
  90. BIN
      web/public/static/cmaps/GBT-EUC-V.bcmap
  91. BIN
      web/public/static/cmaps/GBT-H.bcmap
  92. BIN
      web/public/static/cmaps/GBT-V.bcmap
  93. BIN
      web/public/static/cmaps/GBTpc-EUC-H.bcmap
  94. BIN
      web/public/static/cmaps/GBTpc-EUC-V.bcmap
  95. BIN
      web/public/static/cmaps/GBpc-EUC-H.bcmap
  96. BIN
      web/public/static/cmaps/GBpc-EUC-V.bcmap
  97. BIN
      web/public/static/cmaps/H.bcmap
  98. BIN
      web/public/static/cmaps/HKdla-B5-H.bcmap
  99. BIN
      web/public/static/cmaps/HKdla-B5-V.bcmap
  100. BIN
      web/public/static/cmaps/HKdlb-B5-H.bcmap

+ 0 - 1
web/.eslintignore

@@ -10,7 +10,6 @@ src/components
 src/router
 src/router
 src/config
 src/config
 src/store
 src/store
-src/views/pagefactory
 src/views/framework
 src/views/framework
 public
 public
 src/views/@xdjf/oca-web/config
 src/views/@xdjf/oca-web/config

+ 1 - 0
web/.gitignore

@@ -32,3 +32,4 @@ auto-imports.d.ts
 dist/
 dist/
 dist.zip
 dist.zip
 *.trae
 *.trae
+*.claude

+ 1 - 4
web/index.html

@@ -1,5 +1,5 @@
 <!--
 <!--
- * @Author: qfkong kongqf@yusys.com.cn
+ * @Author: qfkong kongqf
  * @Date: 2024-03-26 15:54:56
  * @Date: 2024-03-26 15:54:56
  * @LastEditors: zhanglin3
  * @LastEditors: zhanglin3
  * @LastEditTime: 2024-10-16 09:42:29
  * @LastEditTime: 2024-10-16 09:42:29
@@ -21,9 +21,6 @@
     <script type="text/javascript" src="/static/libs/echarts.min.js"></script>
     <script type="text/javascript" src="/static/libs/echarts.min.js"></script>
     <script src="/static/libs/crypto-js.js"></script>
     <script src="/static/libs/crypto-js.js"></script>
     <script src="/static/libs/sm2.js"></script>
     <script src="/static/libs/sm2.js"></script>
-    <script src="/static/tinymce5/tinymce.min.js" referrerpolicy="origin"></script>
-    <script scr="/static/tinymce5/plugins/AI-plugin/plugin.min.js"></script>
-    <script scr="/static/tinymce5/plugins/indicator-configuration/plugin.min.js"></script>
     <!-- use依赖js -->
     <!-- use依赖js -->
     <!-- <script src="/static/libs/mxgraph/libs/init.js"></script>
     <!-- <script src="/static/libs/mxgraph/libs/init.js"></script>
     <script src="/static/libs/mxgraph/mxClient.js"></script>
     <script src="/static/libs/mxgraph/mxClient.js"></script>

+ 1 - 1
web/mock/demo/crud.mock.js

@@ -6,7 +6,7 @@
  * @Description: 增删改查模拟接口定义
  * @Description: 增删改查模拟接口定义
  *
  *
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
- * 更详细的文档请参考:https://github.com/pengzhanbo/vite-plugin-mock-dev-server
+ * 更详细的文档请参考:
  */
  */
 
 
 import { defineMock, backend, normalResponse, paginationReponse } from '@/../mock/shared/utils.js';
 import { defineMock, backend, normalResponse, paginationReponse } from '@/../mock/shared/utils.js';

+ 1 - 1
web/mock/demo/file.mock.js

@@ -6,7 +6,7 @@
  * @Description: 定义模拟文件上传与下载API接口
  * @Description: 定义模拟文件上传与下载API接口
  *
  *
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
- * 更详细的文档请参考:https://github.com/pengzhanbo/vite-plugin-mock-dev-server
+ * 更详细的文档请参考:
  */
  */
 
 
 import { createReadStream } from 'node:fs';
 import { createReadStream } from 'node:fs';

+ 1 - 1
web/mock/oca/oca.mock.js

@@ -6,7 +6,7 @@
  * @Description: 菜单和控制点接口模拟定义
  * @Description: 菜单和控制点接口模拟定义
  *
  *
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
- * 更详细的文档请参考:https://github.com/pengzhanbo/vite-plugin-mock-dev-server
+ * 更详细的文档请参考:
  */
  */
 import { defineMock, backend, normalResponse } from '@/../mock/shared/utils.js';
 import { defineMock, backend, normalResponse } from '@/../mock/shared/utils.js';
 import {
 import {

+ 1 - 1
web/mock/oca/uaa.mock.js

@@ -6,7 +6,7 @@
  * @Description: UAA相关接口模拟定义
  * @Description: UAA相关接口模拟定义
  *
  *
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
  * 模拟接口文件路径遵循规范:`/mock/[模块名]/[功能名].mock.js`
- * 更详细的文档请参考:https://github.com/pengzhanbo/vite-plugin-mock-dev-server
+ * 更详细的文档请参考:
  */
  */
 import { createReadStream, readFileSync } from 'node:fs';
 import { createReadStream, readFileSync } from 'node:fs';
 import { Base64 } from 'js-base64';
 import { Base64 } from 'js-base64';

+ 0 - 1
web/package.json

@@ -183,7 +183,6 @@
     "!src/config/**/*": "echo 'Skipping eslint-config directory'",
     "!src/config/**/*": "echo 'Skipping eslint-config directory'",
     "!src/store/**/*": "echo 'Skipping eslint-config directory'",
     "!src/store/**/*": "echo 'Skipping eslint-config directory'",
     "!src/router/**/*": "echo 'Skipping eslint-config directory'",
     "!src/router/**/*": "echo 'Skipping eslint-config directory'",
-    "!src/views/pagefactory/**/*": "echo 'Skipping eslint-config directory'",
     "!node_modules/**/*": "echo 'Skipping eslint-config directory'"
     "!node_modules/**/*": "echo 'Skipping eslint-config directory'"
   },
   },
   "config": {
   "config": {

+ 0 - 451
web/public/static/TinyMceEditor.html

@@ -1,451 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <style>
-      *[data-param] {
-        background-color: yellow;
-        padding: 3px 5px;
-      }
-      .trace {
-        border: 1px solid #2877ff;
-        position: relative;
-        display: inline-block;
-        cursor: pointer;
-      }
-      .trace::after {
-        content: '';
-        position: absolute;
-        width: 0px;
-        height: 0px;
-        z-index: 1;
-        bottom: 0px;
-        right: 0px;
-        border-top: 3px solid transparent;
-        border-left: 3px solid transparent;
-        border-right: 3px solid #2877ff;
-        border-bottom: 3px solid #2877ff;
-      }
-      .trace.popover {
-        border: 1px solid #67c23a;
-        position: relative;
-        cursor: pointer;
-      }
-      .trace.popover::after {
-        border-right-color: #67c23a;
-        border-bottom-color: #67c23a;
-      }
-    </style>
-    <script src="./tinymce5/tinymce.min.js" referrerpolicy="origin"></script>
-    <script scr="./tinymce5/plugins/AI-plugin/plugin.min.js"></script>
-    <script scr="./tinymce5/plugins/indicator-configuration/plugin.min.js"></script>
-
-    <script>
-      // head标题存储
-      let headings = [];
-      // 窗口页面滚动定时器
-      let scrollTimer = null;
-      // 窗口页面滚动定时器时间间隔
-      const debounceInterval = 500;
-
-      // 忽略的(不需要渲染上标的)变量名集合
-      const ignoreParams = ['Discribe1'];
-
-      // 指标配置所在节点
-      let indicatorNode = null;
-
-      // 获取父元素
-      function getParentElement(element) {
-        if (element.parentNode && element.parentNode.className.includes('Heading-')) {
-          return getParentElement(element.parentNode);
-        } else {
-          return element.className.includes('Heading-') ? element : null;
-        }
-      }
-
-      const example_image_upload_handler = (blobInfo, progress) =>
-        new Promise((resolve, reject) => {
-          resolve(blobInfo.blob());
-          // const formData = new FormData();
-          // formData.append('file', blobInfo.blob(), blobInfo.filename());
-        });
-
-      // 上标鼠标悬停移动事件
-      function traceElementMousemove(e) {
-        const target = e.target || e.srcElement;
-        if (target) {
-          const computedStyle = window.getComputedStyle(target);
-          window.parent.postMessage({
-            purpose: 'trace-element-mousemove',
-            payload: {
-              screenPosition: { x: e.clientX, y: e.clientY },
-              targetHTML: target.outerHTML,
-              targetRect: target.getBoundingClientRect(),
-            },
-          });
-        }
-      }
-
-      // 上标鼠标点击事件
-      function traceElementClick(e) {
-        const target = e.target || e.srcElement;
-        if (target) {
-          let variable = '';
-          if (target.nodeName === 'SPAN') {
-            const span = document.createElement('SPAN');
-            span.innerHTML = target.outerHTML;
-            variable = span.querySelector('span[data-variable]').getAttribute('data-variable');
-          } else if (target.nodeName === 'IMG') {
-            variable = target.getAttribute('data-variable');
-          }
-          if (variable) {
-            window.parent.postMessage({
-              purpose: 'trace-element-click',
-              payload: { variable },
-            });
-          }
-        }
-      }
-
-      // 提示弹出框
-      function tooltip(text, duration = 2000) {
-        const tooltipContainer = document.querySelector('.AI-tooltip-container');
-        if (!tooltipContainer) {
-          const container = document.createElement('DIV');
-          const mask = document.createElement('DIV');
-          const content = document.createElement('SPAN');
-          container.className = 'AI-tooltip-container';
-          content.innerText = text || '';
-          container.style.position = 'fixed';
-          container.style.top = '50%';
-          container.style.left = '50%';
-          container.style.height = '60px';
-          container.style.lineHeight = '60px';
-          container.style.padding = '0 18px';
-          container.style.textAlign = 'center';
-          container.style.borderRadius = '8px';
-          container.style.background = 'transparent';
-          container.style.transform = 'translate(-50%, -50%)';
-
-          mask.style.position = 'absolute';
-          mask.style.top = '0';
-          mask.style.left = '0';
-          mask.style.zIndex = '1';
-          mask.style.width = '100%';
-          mask.style.height = '100%';
-          mask.style.background = 'rgb(0 0 0 / 80%)';
-          mask.style.opacity = '0.7';
-          mask.style.borderRadius = '8px';
-
-          content.style.position = 'relative';
-          content.style.zIndex = '2';
-          content.style.fontSize = '14px';
-          content.style.color = '#fff';
-
-          container.appendChild(mask);
-          container.appendChild(content);
-          document.body.appendChild(container);
-
-          setTimeout(() => {
-            document.body.removeChild(container);
-          }, duration);
-        }
-      }
-
-      const initConfig = {
-        selector: '.editor-content',
-        license_key: 'gpl',
-        menubar: false,
-        statusbar: false,
-        inline: true,
-        resize_img_proportional: false,
-        language: 'zh_CN',
-        toolbar_mode: 'sliding',
-        toolbar_location: 'top',
-        toolbar_persist: false,
-        content_style: 'body { padding-top: 20px; }',
-        plugins: ['link', 'lists', 'autolink', 'image', 'table', 'AI-plugin'],
-        toolbar: [
-          'undo redo bold italic underline fontfamily fontsize forecolor backcolor alignleft aligncenter alignright alignfull image numlist bullist outdent indent table AI',
-        ],
-        images_upload_handler: example_image_upload_handler,
-        powerpaste_word_import: 'clean',
-        powerpaste_html_import: 'clean',
-        setup: (editor) => {
-          editor.on('click', (e) => {
-            const target = e.target || e.srcElement;
-            const nodeName = target.nodeName;
-            const url = target.getAttribute('data-url');
-            let source = target.getAttribute('data-source');
-            const innerHTML = nodeName === 'IMG' ? target.src : target.innerHTML;
-            if (source && typeof source === 'string' && source.includes('[') && source !== '[]') {
-              try {
-                source = JSON.parse(source);
-                if (source && source.constructor === Array && source.length) {
-                  window.parent.postMessage({
-                    purpose: 'element-click',
-                    payload: { source, url, nodeName, innerHTML },
-                  });
-                }
-              } catch (err) {
-                console.log(err);
-              }
-            }
-            // 元素通用的点击
-            window.parent.postMessage({
-              purpose: 'element-common-click',
-              payload: {
-                className: target.className,
-                nodeName: target.nodeName,
-                nodeType: target.nodeType,
-                nodeValue: target.nodeValue,
-                rect: target.getBoundingClientRect(),
-              },
-            });
-          });
-          editor.on('input', () => {
-            window.parent.postMessage({ purpose: 'editor-content-upload', payload: editor.getContent() });
-          });
-          editor.on('Redo', () => {
-            window.parent.postMessage({ purpose: 'editor-content-upload', payload: editor.getContent() });
-          });
-          editor.on('Undo', () => {
-            window.parent.postMessage({ purpose: 'editor-content-upload', payload: editor.getContent() });
-          });
-          editor.on('ScrollWindow', (e) => {
-            let target = e.target || e.srcElement;
-            if (target.nodeName === '#document') {
-              target = target.querySelector('body')
-            }
-            if (indicatorNode) {
-              target = indicatorNode;
-            }
-            const collapsed = editor.selection?.getRng().collapsed;
-            let selectionRect = null;
-
-            if (!collapsed) {
-              // 获取选中文本的边界矩形
-              selectionRect = editor.selection?.getRng().getBoundingClientRect();
-            }
-
-            window.parent.postMessage({
-              purpose: 'container-scroll',
-              payload: {
-                outerHTML: target.outerHTML,
-                selectionRect,
-                nodeRect: indicatorNode ? indicatorNode.getBoundingClientRect() : null,
-              },
-            });
-            // if (scrollTimer) clearTimeout(scrollTimer)
-            // scrollTimer = setTimeout(() => {
-            //   const scrollTop = e.target.body.parentNode.scrollTop
-            //   const list = []
-            //   headings.forEach((head, h) => {
-            //     list.push({ distance: head.offsetTop - scrollTop, dom: head, id: h + 1 })
-            //   })
-            //   const min = Math.min(...list.map(i => Math.abs(i.distance)))
-            //   const target = list.find(i => i.distance === min)
-            //   if (target) {
-            //     console.log('target: ', target)
-            //     window.parent.postMessage({
-            //       purpose: 'element-scroll-to-view',
-            //       payload: {
-            //         id: target.id,
-            //         dom: tinymce.dom.Serializer().serialize(target.dom)
-            //       }
-            //     })
-            //   }
-            // }, debounceInterval)
-          });
-          editor.on('AI', (event) => {
-            const { target, data } = event;
-            if (target && data) {
-              const isCollapsed = data.isCollapsed;
-              if (isCollapsed) {
-                tooltip('请先选中优化的文案');
-                // // 未选中文本内容
-                // window.parent.postMessage({ purpose: 'AI-plugin-click-selection-is-collapse' })
-              } else {
-                const range = data.range;
-                if (range) {
-                  window.parent.postMessage({
-                    purpose: 'get-range-rect',
-                    payload: {
-                      collapsed: range.collapsed,
-                      endOffset: range.endOffset,
-                      startOffset: range.startOffset,
-                      content: range.toString(),
-                      rect: range.getBoundingClientRect(),
-                      startContainer: {
-                        className: range.startContainer.className,
-                        nodeName: range.startContainer.nodeName,
-                        nodeType: range.startContainer.nodeType,
-                        nodeValue: range.startContainer.nodeValue,
-                      },
-                      endContainer: {
-                        className: range.endContainer.className,
-                        nodeName: range.endContainer.nodeName,
-                        nodeType: range.endContainer.nodeType,
-                        nodeValue: range.endContainer.nodeValue,
-                      },
-                    },
-                  });
-                }
-              }
-            }
-          });
-
-          editor.on('indicator-configuration', (event) => {
-            const { target, data } = event;
-            if (target && data) {
-              const { node, selection } = data;
-              indicatorNode = node;
-              window.parent.postMessage({
-                purpose: 'indicator-configuration',
-                payload: {
-                  node: node.outerHTML,
-                  nodeRect: node.getBoundingClientRect(),
-                },
-              });
-            }
-          });
-        },
-        init_instance_callback: (editor) => {
-          const elementList = editor.dom.select('*[data-type]');
-          if (elementList && elementList.length) {
-            Array.from(elementList).forEach((element, index) => {
-              element.setAttribute('data-variable', element.getAttribute('data-param'));
-              const isPopover = element.getAttribute('data-type') === 'popover';
-              const isClick = element.getAttribute('data-type') === 'click';
-              let className = element.className;
-              if (className.includes('trace')) {
-                className.replace(' trace', '').replace('trace ', '').replace(' trace ', '');
-                className.replace(' popover', '').replace('popover ', '').replace(' popover ', '');
-              }
-              className += className ? ' trace' : 'trace';
-              if (isPopover) {
-                className += ' popover';
-              }
-              className += ' remove-class-when-submit';
-              element.setAttribute('class', className);
-              if (isPopover) {
-                element.removeEventListener('mousemove', traceElementMousemove);
-                element.addEventListener('mousemove', traceElementMousemove);
-              } else if (isClick) {
-                element.removeEventListener('click', traceElementClick);
-                element.addEventListener('click', traceElementClick);
-              }
-            });
-          }
-
-          const { bodyElement } = tinymce.activeEditor;
-          window.parent.postMessage({
-            purpose: 'editor-instance-loaded',
-            payload: { html: tinymce.activeEditor.save(), height: getComputedStyle(bodyElement, null).height },
-          });
-          window.parent.postMessage({ purpose: 'content-setting', payload: false });
-          window.parent.postMessage({ purpose: 'editor-content-upload', payload: editor.getContent() });
-          headings = Array.from(editor.bodyElement.querySelectorAll('p[class^=Heading-]')).filter(
-            (item) => !item.parentNode || !['TH', 'TD'].includes(item.parentNode.nodeName),
-          );
-        },
-      };
-
-      window.addEventListener('message', handleMessage, false);
-      // 接收方的 message event handler
-      function handleMessage({ data }) {
-        const { purpose, payload } = data;
-        if (purpose === 'set-content') {
-          if (!payload) return;
-          window.parent.postMessage({ purpose: 'content-setting', payload: true });
-          if (payload && Array.isArray(payload)) {
-            const fragment = document.createDocumentFragment();
-            payload.forEach((item) => {
-              const content = item.replace(/\n/g, '');
-              const body_match = content.match(/\<body.+\>.+[\<\/body\>]{0,1}/);
-              let body = body_match && body_match[0] ? body_match[0] : '';
-              const container = document.createElement('div');
-              container.className = 'editor-container';
-              container.innerHTML = body.replace('<body>', '').replace('</body>', '');
-              fragment.appendChild(container);
-            });
-            document.body.querySelector('.editor-content').appendChild(fragment);
-            tinymce.init(initConfig);
-          } else {
-            let { content, config } = payload;
-            if (content && Array.isArray(content)) {
-              const fragment = document.createDocumentFragment();
-              content.forEach((item) => {
-                const value = item.replace(/\n/g, '');
-                const body_match = value.match(/\<body.+\>.+[\<\/body\>]{0,1}/);
-                let body = body_match && body_match[0] ? body_match[0] : '';
-                const container = document.createElement('div');
-                container.className = 'editor-container';
-                container.innerHTML = body.replace('<body>', '').replace('</body>', '');
-                fragment.appendChild(container);
-              });
-              document.body.querySelector('.editor-content').appendChild(fragment);
-            }
-            let finalConfig = initConfig;
-            if (config) {
-              finalConfig = Object.assign(finalConfig, config);
-            }
-            tinymce.init(finalConfig);
-          }
-        } else if (purpose === 'get-document') {
-          // 获取document
-          const body = tinymce.activeEditor.contentDocument.body;
-          window.parent.postMessage({ purpose: 'get-document', payload: tinymce.dom.Serializer().serialize(body) });
-        } else if (purpose === 'anchor-label') {
-          // 锚定到label
-          if (!payload || !tinymce) return;
-          if (!tinymce.DOM) return;
-          if (!tinymce.DOM.doc) return;
-          if (!tinymce.DOM.doc.body) return;
-          const doc = tinymce.DOM.doc;
-          const list = payload.split('&');
-          const level = list.find((i) => i.includes('level=')).replace('level=', '');
-          const label = list.find((i) => i.includes('label=')).replace('label=', '');
-          const targetElement = getElement({ level, label, container: tinymce.DOM.doc.body });
-          if (targetElement) targetElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'nearest' });
-        } else if (purpose === 'sync-catalogue') {
-          // 同步目录
-        } else if (purpose === 'clear-indicator-node') {
-          indicatorNode = null;
-        } else if (purpose === 'set-read-only') {
-          // 设置是否只读
-          if (tinymce.activeEditor && tinymce.activeEditor.mode) {
-            tinymce.activeEditor.mode.set(payload ? 'readonly' : 'design');
-          }
-        }
-      }
-
-      function getElement({ level, label, container } = {}) {
-        if (!level || !label || !container) return null;
-        let element;
-        if (
-          container.innerText === label &&
-          (!container.parentNode ||
-            container.className === `Heading-${level}` ||
-            container.parentNode.className === `Heading-${level}`)
-        ) {
-          element = container;
-        }
-        if (element) return element;
-        else {
-          if (container.children.length) {
-            for (let i = 0; i < container.children.length; i++) {
-              element = getElement({ level, label, container: container.children[i] });
-              if (element) break;
-            }
-            if (element) return element;
-          }
-        }
-      }
-    </script>
-  </head>
-  <body>
-    <div class="editor-content"></div>
-  </body>
-</html>

+ 0 - 106
web/public/static/aiManageWeb.html

@@ -1,106 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="UTF-8">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <title>流水分析</title>
-  <style>
-    html {
-      min-height: 100vh;
-      padding: 0;
-      margin: 0;
-      box-sizing: border-box;
-    }
-    body {
-      min-height: 100vh;
-      padding: 0;
-      margin: 0;
-      box-sizing: border-box;
-      iframe {
-        width: 100%;
-        height: calc(100vh - 5px);
-      }
-    }
-  </style>
-</head>
-<body>
-  <iframe id="iframe" frameborder="0"></iframe>
-  <script>
-    
-    window.addEventListener('message', receiveMessage, false);
-    
-    let flowFilePage = null;
-    let flowReportPage = null;
-
-    function receiveMessage({ data } = {}) {
-      const { purpose, payload } = data;
-      const { surveyId, file } = payload;
-      if (purpose === 'file') {
-        flowFilePage = new FlowFilePage(surveyId, file);
-        flowFilePage.init();
-      } else {
-        flowReportPage = new FlowReportPage(surveyId, purpose);
-        flowReportPage.init();
-      }
-    }
-
-    // 流水页面类
-    class FlowPage {
-      // 页面路由地址
-      // static origin = 'http://210.12.198.139:9090/ai-manage-web';
-      static origin = `${location.origin}/ai-manage-web`;
-      static channelNo = 'znjd';
-      constructor(surveyId) {
-        // 尽调任务id
-        this.surveyId = surveyId;
-        // 组织跳转地址路由
-        this.generatePath = ({ type, file } = {}) => {
-          let path = '';
-          if (type === 'file') {
-            path = file && file.fileId ? `${FlowPage.origin}/#/content/trandetail/reportGenerateJd/index?channelNo=${FlowPage.channelNo}&surveyId=${this.surveyId}&fileId=${file.fileId}` : '';
-          } else if (type === 'generate') {
-            path = `${FlowPage.origin}/#/content/trandetail/reportGenerateJd/index?to=making&channelNo=${FlowPage.channelNo}&surveyId=${this.surveyId}`;
-          } else if (type === 'detail') {
-            path = `${FlowPage.origin}/#/content/trandetail/reportGenerateJd/index?to=finished&channelNo=${FlowPage.channelNo}&surveyId=${this.surveyId}`;
-          }
-          return path;
-        };
-      }
-      init() {
-        this.iframe = document.getElementById('iframe');
-      }
-    }
-
-    // 流水文件页面类
-    class FlowFilePage extends FlowPage {
-      constructor(surveyId, file) {
-        super(surveyId);
-        this.file = file;
-      }
-      init() {
-        super.init();
-        if (this.iframe) {
-          // 设置跳转流水页面的具体路由地址
-          this.iframe.src = this.generatePath({ type: 'file', file: this.file });
-        }
-      }
-    }
-
-    // 流水报告页面类
-    class FlowReportPage extends FlowPage {
-      constructor(surveyId, type) {
-        super(surveyId);
-        this.type = type;
-      }
-      init() {
-        super.init();
-        if (this.iframe) {
-          // 设置跳转流水页面的具体路由地址
-          this.iframe.src = this.generatePath({ type: this.type, file: this.file });
-          console.log(this.iframe.src)
-        }
-      }
-    }
-  </script>
-</body>
-</html>

BIN
web/public/static/cmaps/78-EUC-H.bcmap


BIN
web/public/static/cmaps/78-EUC-V.bcmap


BIN
web/public/static/cmaps/78-H.bcmap


BIN
web/public/static/cmaps/78-RKSJ-H.bcmap


BIN
web/public/static/cmaps/78-RKSJ-V.bcmap


BIN
web/public/static/cmaps/78-V.bcmap


BIN
web/public/static/cmaps/78ms-RKSJ-H.bcmap


BIN
web/public/static/cmaps/78ms-RKSJ-V.bcmap


BIN
web/public/static/cmaps/83pv-RKSJ-H.bcmap


BIN
web/public/static/cmaps/90ms-RKSJ-H.bcmap


BIN
web/public/static/cmaps/90ms-RKSJ-V.bcmap


BIN
web/public/static/cmaps/90msp-RKSJ-H.bcmap


BIN
web/public/static/cmaps/90msp-RKSJ-V.bcmap


BIN
web/public/static/cmaps/90pv-RKSJ-H.bcmap


BIN
web/public/static/cmaps/90pv-RKSJ-V.bcmap


BIN
web/public/static/cmaps/Add-H.bcmap


BIN
web/public/static/cmaps/Add-RKSJ-H.bcmap


BIN
web/public/static/cmaps/Add-RKSJ-V.bcmap


BIN
web/public/static/cmaps/Add-V.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-0.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-1.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-2.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-3.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-4.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-5.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-6.bcmap


BIN
web/public/static/cmaps/Adobe-CNS1-UCS2.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-0.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-1.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-2.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-3.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-4.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-5.bcmap


BIN
web/public/static/cmaps/Adobe-GB1-UCS2.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-0.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-1.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-2.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-3.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-4.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-5.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-6.bcmap


BIN
web/public/static/cmaps/Adobe-Japan1-UCS2.bcmap


BIN
web/public/static/cmaps/Adobe-Korea1-0.bcmap


BIN
web/public/static/cmaps/Adobe-Korea1-1.bcmap


BIN
web/public/static/cmaps/Adobe-Korea1-2.bcmap


BIN
web/public/static/cmaps/Adobe-Korea1-UCS2.bcmap


BIN
web/public/static/cmaps/B5-H.bcmap


BIN
web/public/static/cmaps/B5-V.bcmap


BIN
web/public/static/cmaps/B5pc-H.bcmap


BIN
web/public/static/cmaps/B5pc-V.bcmap


BIN
web/public/static/cmaps/CNS-EUC-H.bcmap


BIN
web/public/static/cmaps/CNS-EUC-V.bcmap


BIN
web/public/static/cmaps/CNS1-H.bcmap


BIN
web/public/static/cmaps/CNS1-V.bcmap


BIN
web/public/static/cmaps/CNS2-H.bcmap


+ 0 - 3
web/public/static/cmaps/CNS2-V.bcmap

@@ -1,3 +0,0 @@
-àRCopyright 1990-2009 Adobe Systems Incorporated.
-All rights reserved.
-See ./LICENSEáCNS2-H

BIN
web/public/static/cmaps/ETHK-B5-H.bcmap


BIN
web/public/static/cmaps/ETHK-B5-V.bcmap


BIN
web/public/static/cmaps/ETen-B5-H.bcmap


BIN
web/public/static/cmaps/ETen-B5-V.bcmap


+ 0 - 3
web/public/static/cmaps/ETenms-B5-H.bcmap

@@ -1,3 +0,0 @@
-àRCopyright 1990-2009 Adobe Systems Incorporated.
-All rights reserved.
-See ./LICENSEá	ETen-B5-H` ^

BIN
web/public/static/cmaps/ETenms-B5-V.bcmap


BIN
web/public/static/cmaps/EUC-H.bcmap


BIN
web/public/static/cmaps/EUC-V.bcmap


BIN
web/public/static/cmaps/Ext-H.bcmap


BIN
web/public/static/cmaps/Ext-RKSJ-H.bcmap


BIN
web/public/static/cmaps/Ext-RKSJ-V.bcmap


BIN
web/public/static/cmaps/Ext-V.bcmap


BIN
web/public/static/cmaps/GB-EUC-H.bcmap


BIN
web/public/static/cmaps/GB-EUC-V.bcmap


+ 0 - 4
web/public/static/cmaps/GB-H.bcmap

@@ -1,4 +0,0 @@
-àRCopyright 1990-2009 Adobe Systems Incorporated.
-All rights reserved.
-See ./LICENSE!!�º]aX!!]`�21�>	�p�z�$]‚�"R‚d�-Uƒ7�*„
4„%�+ „Z „{�/…%…<�9K…b�1]†.�"‡‰`]‡,�"]ˆ
-�"]ˆh�"]‰F�"]Š$�"]‹�"]‹`�"]Œ>�"]��"]�z�"]ŽX�"]�6�"]��"]�r�"]‘P�"]’.�"]“�"]“j�"]”H�"]•&�"]–�"]–b�"]—@�"]˜�"]˜|�"]™Z�"]š8�"]›�"]›t�"]œR�"]�0�"]ž�"]žl�"]ŸJ�"] (�"]¡�"]¡d�"]¢B�"]£ �"X£~�']¤W�"]¥5�"]¦�"]¦q�"]§O�"]¨-�"]©�"]©i�"]ªG�"]«%�"]¬�"]¬a�"]­?�"]®�"]®{�"]¯Y�"]°7�"]±�"]±s�"]²Q�"]³/�"]´
�"]´k�"]µI�"]¶'�"]·�"]·c�"]¸A�"]¹�"]¹}�"]º[�"]»9

BIN
web/public/static/cmaps/GB-V.bcmap


BIN
web/public/static/cmaps/GBK-EUC-H.bcmap


BIN
web/public/static/cmaps/GBK-EUC-V.bcmap


BIN
web/public/static/cmaps/GBK2K-H.bcmap


BIN
web/public/static/cmaps/GBK2K-V.bcmap


BIN
web/public/static/cmaps/GBKp-EUC-H.bcmap


BIN
web/public/static/cmaps/GBKp-EUC-V.bcmap


BIN
web/public/static/cmaps/GBT-EUC-H.bcmap


BIN
web/public/static/cmaps/GBT-EUC-V.bcmap


BIN
web/public/static/cmaps/GBT-H.bcmap


BIN
web/public/static/cmaps/GBT-V.bcmap


BIN
web/public/static/cmaps/GBTpc-EUC-H.bcmap


BIN
web/public/static/cmaps/GBTpc-EUC-V.bcmap


BIN
web/public/static/cmaps/GBpc-EUC-H.bcmap


BIN
web/public/static/cmaps/GBpc-EUC-V.bcmap


BIN
web/public/static/cmaps/H.bcmap


BIN
web/public/static/cmaps/HKdla-B5-H.bcmap


BIN
web/public/static/cmaps/HKdla-B5-V.bcmap


BIN
web/public/static/cmaps/HKdlb-B5-H.bcmap


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov