{"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\\subgroup.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\page\\group\\subgroup.vue","mtime":1675071992663},{"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\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { addUrlParam } from '@/tripartite/buildBigScreen/src/utils/utils';\nimport crypto from '@/tripartite/buildBigScreen/src/utils/crypto';\nimport { dynamicSql } from '@/tripartite/buildBigScreen/src/api/db';\nimport common from '@/tripartite/buildBigScreen/src/config';\nexport default {\n  name: 'subgroup',\n  inject: [\"contain\", 'container'],\n  provide: function provide() {\n    return {\n      contain: this.contain,\n      container: this.container\n    };\n  },\n  props: {\n    nav: {\n      type: Array,\n      default: function _default() {\n        return [];\n      }\n    }\n  },\n  data: function data() {\n    return {\n      sqlFormatter: dynamicSql,\n      common: common\n    };\n  },\n  methods: {\n    getFunction: function getFunction(fun, def) {\n      if (!this.validatenull(fun)) {\n        try {\n          return eval(fun);\n        } catch (_unused) {\n          return function () {};\n        }\n      }\n\n      if (def) return function () {};\n    },\n    getJson: function getJson(str) {\n      if (this.validatenull(str)) return {};\n\n      if (typeof str == \"string\") {\n        try {\n          return JSON.parse(str);\n        } catch (_unused2) {\n          return {};\n        }\n      }\n\n      return str;\n    },\n    //点击事件交互\n    handleClick: function handleClick(_ref) {\n      var _this = this;\n\n      var type = _ref.type,\n          child = _ref.child,\n          value = _ref.value;\n\n      if (type === 'tabs') {\n        var indexList = child.index;\n        indexList.forEach(function (index) {\n          var paramName = child.paramName;\n\n          var item = _this.contain.findlist(index);\n\n          if (!item.url) return;\n          var params = {};\n\n          if (item.dataQuery) {\n            params = _this.getJson(item.dataQuery);\n          } else {\n            params = {};\n          }\n\n          params[paramName] = value;\n          item.dataQuery = JSON.stringify(params);\n\n          _this.$refs[_this.common.NAME + index].forEach(function (ele) {\n            ele.updateData();\n          });\n        });\n      }\n    },\n    handleRes: function handleRes() {\n      return this.$refs[this.common.NAME + this.contain.activeObj.index][0];\n    },\n    //刷新数据\n    handleRefresh: function handleRefresh() {\n      return this.$refs[this.common.NAME + this.contain.activeObj.index][0].updateData();\n    },\n    //获取对象\n    handleGetObj: function handleGetObj(val) {\n      return this.$refs[\"\".concat(this.common.DEAFNAME).concat(val)];\n    },\n    handleOver: function handleOver(_ref2) {\n      var index = _ref2.index;\n      this.contain.overactive = index;\n    },\n    handleFocus: function handleFocus(_ref3) {\n      var index = _ref3.index;\n      this.container.gradeFlag = true;\n\n      if (this.contain.keys.ctrl) {\n        if (!Array.isArray(this.contain.active)) {\n          this.contain.handleInitActive();\n        }\n\n        this.contain.active.push(index);\n      } else if (!this.contain.active.includes(index)) {\n        this.contain.active = [index];\n      }\n    },\n    handleBlur: function handleBlur(_ref4) {\n      var left = _ref4.left,\n          top = _ref4.top,\n          width = _ref4.width,\n          height = _ref4.height;\n      if (Array.isArray(this.contain.activeObj)) return;\n      this.container.gradeFlag = false;\n      this.$set(this.contain.activeObj.component, 'width', width);\n      this.$set(this.contain.activeObj.component, 'height', height);\n      this.$set(this.contain.activeObj, 'left', left);\n      this.$set(this.contain.activeObj, 'top', top);\n    }\n  }\n};",null]}