{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dataScreen\\dataScreenCopy\\components\\ModelTitle.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dataScreen\\dataScreenCopy\\components\\ModelTitle.vue","mtime":1667326394935},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\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\nexport default {\n props: {\n show: Boolean,\n value: String,\n isShowYear: Boolean,\n year: String,\n yearMouth: String\n },\n data: function data() {\n return {\n data: [{\n id: 1,\n name: '月'\n }, {\n id: 2,\n name: '年'\n }],\n index: 2,\n isShow: this.show,\n isShowYear_: this.isShowYear,\n showYear: ''\n };\n },\n watch: {\n value: function value(newValue) {\n this.value = newValue;\n },\n yearMouth: function yearMouth(newValue) {\n this.showYear = newValue;\n // console.log(newValue, 'rrrrrrrrrrrrrrrrrr')\n }\n },\n created: function created() {\n this.showYear = new Date().getFullYear(); //获取完整的年份(4位)\n },\n\n methods: {\n handleYearClick: function handleYearClick(data) {\n this.index = data.id;\n if (data.id == 2) {\n this.showYear = this.yearMouth.slice(0, 4);\n } else {\n this.showYear = this.yearMouth;\n }\n console.log(this.showYear, \"this.showYear\");\n // 模块,时间,年/年月\n this.$emit('BizChange', this.value, this.showYear, data.id);\n }\n }\n};",null]}