1 line
15 KiB
JSON
1 line
15 KiB
JSON
|
|
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\weekfood\\menu\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\weekfood\\menu\\index.vue","mtime":1740461297003},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.regexp.split\";\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//\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\nimport Paging from \"@/views/Public/paging.vue\";\nimport { Foodlist, DeleteWeekfood, CaiexportByExcel, CaiimportByExcel, Own, getWeeKCookBook, delFood, getLabel } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n components: {\n Paging: Paging,\n Popup: Popup\n },\n data: function data() {\n return {\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n row: {},\n fileList: [],\n validation: false,\n completeTitle: \"删除\",\n nav: \"是否删除?\",\n food_name: \"\",\n formInline: {\n value1: ''\n },\n startWeek: '',\n startDay: '',\n choosenYear: '',\n choosenWeek: '',\n isEditMenu: true,\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n },\n downloadLoading: false,\n tableData: [{\n week: '周一',\n date: '',\n morning: [],\n noon: [],\n evening: []\n }, {\n week: '周二',\n date: '',\n morning: [],\n noon: [],\n evening: []\n }, {\n week: '周三',\n date: '',\n morning: [],\n noon: [],\n evening: []\n }, {\n week: '周四',\n date: '',\n morning: [],\n noon: [],\n evening: []\n }, {\n week: '周五',\n date: '',\n morning: [],\n noon: [],\n evening: []\n }],\n foodsAttr: []\n };\n },\n created: function created() {},\n mounted: function mounted() {\n this.createLoad();\n this.setDeafaultTimeQuery();\n // console.log(this.getMon())\n // if (this.$route.params.index) {\n // this.currentChanges(this.$route.params.index);\n // } else {\n // this.getlist();\n // }\n },\n methods: {\n //设置默认当前日期\n setDeafaultTimeQuery: function setDeafaultTimeQuery() {\n var currentDate = new Date();\n var year = currentDate.getFullYear();\n var month = currentDate.getMonth() + 1;\n var date = currentDate.getDate();\n console.log(year + '-' + month + '-' + date);\n var week = this.getWeek();\n this.startWeek = week;\n var start0 = this.getMon(year + '-' + month + '-' + date);\n var start = start0 + '-' + this.startWeek;\n this.formInline.value1 = start;\n this.choosenYear = this.formInline.value1.split('-')[0];\n
|