{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/qrcodeDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/qrcodeDialog.vue","mtime":1739760944322},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.split\";\nimport QRCode from 'qrcodejs2';\nexport default {\n props: ['showQrcodeDialog'],\n watch: {\n showQrcodeDialog: function showQrcodeDialog(newVal) {\n var _this = this;\n this.employeeId = localStorage.getItem('employeeId');\n this.organizationsId = localStorage.getItem('domainId');\n var domainUrl = window.location.href.split('/')[2];\n // this.inviteUrl = `https://v5qy.te.baibaodun.com.cn/static/signon/fronts/#/register?shareEmployeeId=${this.employeeId}&shareOrganizationId=${this.organizationsId}`;\n this.inviteUrl = \"https://\".concat(domainUrl, \"/static/signon/fronts/#/register?shareEmployeeId=\").concat(this.employeeId, \"&shareOrganizationId=\").concat(this.organizationsId);\n this.showDialog = newVal;\n newVal ? setTimeout(function () {\n _this.generateInviteCodeInDialog();\n }, 500) : null;\n }\n },\n data: function data() {\n return {\n showDialog: false,\n employeeId: '',\n organizationsId: '',\n inviteUrl: ''\n };\n },\n methods: {\n generateInviteCodeInDialog: function generateInviteCodeInDialog() {\n document.getElementById('qrcodedialog').innerHTML = ''; // 避免重复生成二维码 \n var qrcode = new QRCode(document.getElementById('qrcodedialog'), {\n text: this.inviteUrl,\n width: 360,\n height: 360,\n colorDark: '#333333',\n colorLight: '#FFFFFF',\n correctLevel: QRCode.CorrectLevel.H\n });\n },\n closeQrcodeDialog: function closeQrcodeDialog() {\n this.$emit('closeQrcodeDialog');\n }\n }\n};",null]}