{"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\\imglist.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\tripartite\\buildBigScreen\\src\\page\\group\\imglist.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/es6.string.link\";\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 { imgOption } from '@/tripartite/buildBigScreen/src/option/config';\nexport default {\n data: function data() {\n return {\n imgVisible: false,\n imgObj: '',\n type: '',\n imgActive: 0,\n imgOption: imgOption,\n imgTabs: [],\n token: ''\n };\n },\n created: function created() {\n this.getToken();\n },\n computed: {\n styleName: function styleName() {\n if (this.type === 'background') {\n return {\n width: '200px'\n };\n }\n\n return {};\n },\n //获取token值\n headers: function headers() {\n return {\n \"Authorization\": this.token\n };\n }\n },\n watch: {\n type: {\n handler: function handler() {\n if (this.type === 'background') {\n this.imgActive = 0;\n } else if (this.type == 'border') {\n this.imgActive = 1;\n } else {\n this.imgActive = 2;\n }\n },\n immediate: true\n }\n },\n methods: {\n onSuccess: function onSuccess(res) {\n var url = res.data.link;\n this.imgOption[this.imgActive].unshift({\n label: url,\n value: url\n });\n },\n openImg: function openImg(item, type) {\n this.type = type;\n this.imgObj = item;\n this.imgVisible = true;\n },\n handleSetimg: function handleSetimg(item) {\n this.imgVisible = false;\n this.$emit('change', item, this.imgObj);\n },\n //获取tokren\n getToken: function getToken() {\n if (window.sessionStorage['currentUser']) {\n var currentUserInfo = eval('(' + window.sessionStorage['currentUser'] + ')'); // console.log(currentUserInfo.token);\n\n this.token = 'Bearer ' + currentUserInfo.token; // console.log(queryData.token)\n\n return currentUserInfo.token;\n } else {\n return 'Bearer ';\n }\n }\n }\n};",null]}