{"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\\bigScreen\\components\\Title.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\bigScreen\\components\\Title.vue","mtime":1709144045087},{"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":["import \"core-js/modules/es6.number.constructor\";\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//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: 'Title',\n props: {\n text: {\n type: String,\n request: true\n },\n isRight: {\n type: Boolean,\n default: false\n },\n isRightYear: {\n type: Boolean,\n default: false\n },\n rightText: {\n type: String,\n default: ''\n },\n rightNum: {\n type: Number,\n default: 0\n }\n },\n data: function data() {\n return {\n year: new Date().getFullYear(),\n mouth: new Date().getMonth(),\n active: 'mouth',\n times: [],\n value: '1',\n options: [{\n value: '1',\n label: '本月'\n }, {\n value: '2',\n label: '上月'\n }]\n };\n },\n created: function created() {\n var year = this.year,\n mouth = this.mouth;\n var lastDate = this.getLastDay(year, mouth);\n mouth = mouth + 1;\n this.times = [{\n key: 'year',\n name: '年',\n value: [\"\".concat(year, \"-01-01\"), \"\".concat(year, \"-12-31\")]\n }, {\n key: 'mouth',\n name: '月',\n value: [\"\".concat(year, \"-\").concat(mouth > 10 ? mouth : '0' + mouth, \"-01\"), \"\".concat(year, \"-\").concat(mouth > 10 ? mouth : '0' + mouth, \"-\").concat(lastDate)]\n }];\n },\n methods: {\n // 获取某一个月最后一天\n getLastDay: function getLastDay(year, month) {\n var date1 = new Date(year, month, 0);\n return date1.getDate();\n },\n handleTime: function handleTime(item) {\n this.active = item.key;\n this.$emit('changeTime', item.value);\n }\n }\n};",null]}