{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/src/components/shared/NewKnowledgeHTML.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/src/components/shared/NewKnowledgeHTML.vue","mtime":1742796810168},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/babel.config.js","mtime":1742796810089},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import _defineProperty from \"/data/jenkins/workspace/badp-bcxin-web-5.x-kms/src/badp-bcxin-5.x/obpm-kms-web/kmspc/node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js\";\nexport default {\n name: \"newKnowledgeHTML\",\n props: [\"getFiledData\", \"personDataKnowledge\"],\n data: function data() {\n var _myConfig;\n\n return {\n content: '',\n //富文本编辑器内容\n titleControl: '',\n //标题\n activeId: 1,\n //步奏\n status: 'initiate',\n //状态值\n myConfig: (_myConfig = {\n // 工具栏\n toolbars: [[\"undo\", //撤销\n \"redo\", //重做\n \"bold\", //加粗\n \"indent\", //首行缩进\n \"italic\", //斜体\n \"underline\", //下划线\n \"strikethrough\", //删除线\n \"formatmatch\", //格式刷\n \"horizontal\", //分隔线\n \"removeformat\", //清除格式\n \"link\", //超链接\n \"unlink\", //取消链接\n \"inserttable\", //插入表格\n \"insertrow\", //前插入行\n \"insertcol\", //前插入列\n \"mergeright\", //右合并单元格\n \"mergedown\", //下合并单元格\n \"deleterow\", //删除行\n \"deletecol\", //删除列\n \"splittorows\", //拆分成行\n \"splittocols\", //拆分成列\n \"splittocells\", //完全拆分单元格\n \"deletecaption\", //删除表格标题\n \"inserttitle\", //插入标题\n \"mergecells\", //合并多个单元格\n \"deletetable\", //删除表格\n \"fontfamily\", //字体\n \"fontsize\", //字号\n \"simpleupload\", //单图上传\n \"emotion\", //表情\n \"justifyleft\", //居左对齐\n \"justifyright\", //居右对齐\n \"justifycenter\", //居中对齐\n \"justifyjustify\", //两端对齐\n \"forecolor\", //字体颜色\n \"backcolor\", //背景色\n \"insertorderedlist\", //有序列表\n \"insertunorderedlist\", //无序列表\n \"lineheight\", //行间距\n \"edittip \" //编辑提示\n ]],\n // 编辑器不自动被内容撑高\n autoHeightEnabled: true,\n // 初始容器高度\n initialFrameHeight: 240\n }, _defineProperty(_myConfig, \"autoHeightEnabled\", false), _defineProperty(_myConfig, \"autoFloatEnabled\", false), _defineProperty(_myConfig, \"initialFrameWidth\", \"100%\"), _defineProperty(_myConfig, \"serverUrl\", \"http://localhost:8085/\"), _defineProperty(_myConfig, \"UEDITOR_HOME_URL\", process.env.NODE_ENV === \"production\" ? \"UEditor/\" : \"/UEditor/\"), _myConfig)\n };\n },\n methods: {\n fn: function fn(data) {\n this.content = data.content;\n this.titleControl = data.title; //判断步奏\n\n if (data.status) {\n this.status = data.status; //赋值状态值\n\n switch (data.status) {\n case \"initiate\":\n //新建/维护\n this.activeId = 1;\n break;\n\n case \"standard\":\n //指标\n this.activeId = 2;\n break;\n\n case \"edit\":\n //编辑\n this.activeId = 3;\n break;\n\n case \"review\":\n //审核\n this.activeId = 4;\n break;\n\n case \"pass\":\n //审定\n this.activeId = 5;\n break;\n\n case \"release\":\n //已发布\n this.activeId = 6;\n break;\n }\n }\n }\n },\n watch: {\n /**\n * 获取传进来的value绑定content\n */\n getFiledData: function getFiledData(value) {\n this.content = value;\n },\n personDataKnowledge: function personDataKnowledge(data) {\n var _this = this;\n\n var timer = setInterval(function () {\n // 判断文档和所有子资源(图片、音视频等)已完成加载\n if (document.readyState === 'complete') {\n //执行方法\n _this.fn(data);\n\n window.clearInterval(timer);\n }\n }, 500);\n }\n }\n};",null]}