{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowNodeHelp.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\flow\\FlowNodeHelp.vue","mtime":1675071991803},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport { Message } from 'element-ui';\r\nimport req from \"@/request.js\";\r\nexport default {\r\n  name: \"FlowNodeHelp\",\r\n  components:{},\r\n  props: {\r\n    title: {\r\n      type: String,\r\n      required: true,\r\n      default: \"任务帮助提示\"\r\n    },\r\n    //帮助内容\r\n    value: {\r\n      type: String,\r\n      required: true\r\n    },\r\n    //任务ID\r\n    nodeId: {\r\n      type: String,\r\n      required: true\r\n    }\r\n  },\r\n  data() {\r\n    return {\r\n      myConfig: {\r\n        initialFrameHeight: 240,\r\n        UEDITOR_HOME_URL: window.location.origin +'/'+ window.location.pathname.split('/')[1]+'/static/ueditor/',\r\n        toolbars: [\r\n          [\r\n            // 'source', //源代码\r\n            'undo', //撤销\r\n            'bold', //加粗\r\n            'indent', //首行缩进\r\n            'italic', //斜体\r\n            'underline', //下划线\r\n            'strikethrough', //删除线\r\n            'subscript', //下标\r\n            'fontborder', //字符边框\r\n            'superscript', //上标\r\n            'formatmatch', //格式刷\r\n            'forecolor',//字体颜色\r\n            'justifyleft', //居左对齐\r\n            'justifycenter', //居中对齐\r\n            'justifyright', //居右对齐\r\n            'justifyjustify', //两端对齐\r\n            'fontfamily', //字体\r\n            'fontsize', //字号\r\n            'insertorderedlist', //有序列表\r\n            'insertunorderedlist', //无序列表\r\n            'lineheight',//行间距\r\n            'inserttable', //插入表格\r\n            'link', //超链接\r\n            'simpleupload', //单图上传\r\n            'insertimage', //多图上传\r\n            'attachment', //附件\r\n          ]\r\n        ],\r\n        // 初始容器宽度\r\n        initialFrameWidth: \"100%\",\r\n        zIndex:9999,\r\n        enableAutoSave: false,\r\n        readonly : false\r\n      },\r\n      dialogVisible:false,//是否显示对话框\r\n      helpValue:\"\",//帮助内容\r\n    }\r\n  },\r\n  methods: {\r\n    //显示对话框\r\n    showDialog() {\r\n      this.dialogVisible=true;\r\n      this.helpValue=this.value;\r\n    },\r\n    //确认对话框\r\n    handleSave(){\r\n      let Base64 = require('js-base64').Base64;\r\n      this.dialogVisible = false;\r\n      //发布确认事件\r\n      this.$emit(\"handle-save\",Base64.encode(this.helpValue))\r\n    },\r\n    //关闭对话框\r\n    handleClose() {\r\n      this.dialogVisible = false;\r\n    }\r\n  },\r\n}\r\n",null]}