{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web\\src\\components\\dataTemplate\\templatePreview.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web\\src\\components\\dataTemplate\\templatePreview.vue","mtime":1675214576730},{"path":"D:\\jenkins\\workspace\\xypm-web\\babel.config.js","mtime":1675214572901},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"D:/jenkins/workspace/xypm-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { mapState, mapActions } from \"vuex\";\nimport { Message } from \"element-ui\";\nimport HtCheckbox from \"@/components/control/HtCheckbox.vue\";\nimport HtDialog from \"@/components/control/HtDialog.vue\";\nimport TemplateDynamicView from \"@/components/dataTemplate/TemplateDynamicView.vue\";\nimport HtDialogBtn from \"@/components/control/htDialogBtn.vue\";\nimport VRuntimeTemplate from \"v-runtime-template\";\nimport utils from \"@/utils.js\";\nimport { Base64 } from \"js-base64\";\nexport default {\n  name: \"templatePreview\",\n  props: {\n    templateKey: String,\n    parameterqQuerys: String,\n    single: String,\n    taskType: {\n      default: \"\"\n    },\n    defKey: String,\n    dataView: Object,\n    isJoinFlow: {\n      default: false\n    }\n  },\n  data: function data() {\n    return {\n      html: \"\",\n      templateInfo: {},\n      tableData: {\n        selectRows: [],\n        querys: \"\"\n      },\n      dialogExportVisible: false,\n      exportData: {\n        getType: \"all\",\n        expField: []\n      },\n      displayFields: [],\n      exportSellection: [],\n      searchForm: {\n        F_xb: \"\",\n        F_xm: \"\"\n      },\n      queryForm: {\n        queryData: \"\"\n      },\n      formType: false,\n      labelPosition: \"left\",\n      incons: \"el-icon-arrow-down\",\n      options: {\n        fullscreen: true,\n        lock: true\n      },\n      loadedFail: false,\n      loadComplete: false\n    };\n  },\n  computed: _objectSpread({}, mapState({\n    dialogSubVisible: function dialogSubVisible(state) {\n      return state.form.bpmTemplateSubData.dialogSubVisible;\n    },\n    tabs: function tabs(state) {\n      return state.form.bpmTemplateSubData.tabs;\n    },\n    ents: function ents(state) {\n      return state.form.bpmTemplateSubData.ents;\n    },\n    refId: function refId(state) {\n      return state.form.bpmTemplateSubData.refId;\n    }\n  })),\n  components: {\n    VRuntimeTemplate: VRuntimeTemplate,\n    HtCheckbox: HtCheckbox,\n    HtDialog: HtDialog,\n    HtDialogBtn: HtDialogBtn,\n    TemplateDynamicView: TemplateDynamicView\n  },\n  watch: {\n    templateKey: function templateKey(newVal) {\n      if (newVal) {\n        this.init();\n      }\n    }\n  },\n  created: function created() {\n    this.init();\n  },\n  methods: {\n    // 根据当前formKey初始化\n    init: function init() {\n      var _this = this;\n      var _me = this;\n      this.loadComplete = false;\n      this.$store.dispatch(\"form/getBpmDataTemplateInfo\", {\n        templateKey: this.templateKey\n      }).then(function (result) {\n        if (result.state) {\n          _me.templateInfo = result.value;\n          _this.loadComplete = true;\n        }\n      });\n      this.$store.dispatch(\"form/getTemplateDataListForm\", this.templateKey).then(function (result) {\n        if (result.state) {\n          _me.html = result.value;\n        } else {\n          _this.loadedFail = true;\n        }\n      });\n    }\n  }\n};",null]}