{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\page\\group\\code.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\page\\group\\code.vue","mtime":1675071992616},{"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":["import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport MonacoEditor from '@/tripartite/buildBigScreen/src/page/components/editor';\nexport default {\n  components: {\n    MonacoEditor: MonacoEditor\n  },\n  data: function data() {\n    return {\n      code: ''\n    };\n  },\n  props: {\n    visible: Boolean,\n    type: String,\n    value: [String, Object, Array]\n  },\n  watch: {\n    value: {\n      handler: function handler(val) {\n        this.code = val;\n      },\n      immediate: true,\n      deep: true\n    }\n  },\n  methods: {\n    handleClose: function handleClose() {\n      this.setVisible(false);\n    },\n    submit: function submit() {\n      var value = this.code;\n\n      try {\n        eval('(' + value + ')');\n\n        if (['query', 'data'].includes(this.type)) {\n          value = eval('(' + value + ')');\n        }\n\n        this.$emit('submit', value);\n        this.setVisible(false);\n      } catch (error) {\n        this.$message.error('数据格式有误');\n      }\n    },\n    setVisible: function setVisible(val) {\n      this.$emit('update:visible', val);\n    }\n  }\n};",null]}