hz-zhhq-web/node_modules/.cache/babel-loader/94c7ee6a551d7db9757fb16ecf6...

1 line
12 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"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\\food\\addWeekFood\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\weekfood\\food\\addWeekFood\\index.vue","mtime":1737610069453},{"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.regexp.replace\";\nimport \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/web.dom.iterable\";\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\nimport { UpdataWeekfood, AddWeekfood, getLabel, Uploading } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nimport { constants } from \"crypto\";\nexport default {\n components: {\n Popup: Popup\n },\n data: function data() {\n var rawMaterialsVa = function rawMaterialsVa(rule, value, callback) {\n var reg = /^([A-Z,a-z,0-9,\\u4e00-\\u9fa5]+,?)+$/;\n if (reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"只能以逗号隔开或不能有中文逗号\"));\n }\n };\n var foodNameVa = function foodNameVa(rule, value, callback) {\n var reg = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (!reg.test(value)) {\n callback();\n } else {\n callback(new Error(\"不支持输入@#¥%……...等特殊字符 \"));\n }\n };\n return {\n indexCall: this.$route.query.index ? this.$route.query.index : window.localStorage.getItem(\"foodIndex\"),\n validation: false,\n completeTitle: \"\",\n nav: \"\",\n imgData: {},\n dialogImageUrl: \"\",\n dialogVisible: false,\n view: false,\n timeUpdate: \"\",\n ruleForm: {\n foodName: \"\",\n features: \"\",\n rawMaterials: \"\",\n mainMaterials: \"\",\n nutritiveValue: \"\",\n label: [],\n dietAdvice: \"\",\n picture: \"\"\n },\n nutritionList: [],\n aa: \"\",\n til: \"添加\",\n id: \"\",\n rules: {\n foodName: [{\n required: true,\n message: \"请输入菜品名称\",\n trigger: \"blur\"\n }, {\n validator: foodNameVa,\n trigger: \"blur\"\n }],\n features: [{\n required: true,\n message: \"请输入菜品特性\",\n trigger: \"blur\"\n }],\n rawMaterials: [{\n required: true,\n message: \"请输入菜品原料\",\n trigger: \"blur\"\n }, {\n validator: rawMaterialsVa,\n trigger: \"blur\"\n }],\n mainMaterials: [{\n required: true,\n message: \"请输入菜品主材\",\n trigger: \"blur\"\n }],\n nutritiveValue: [{\n required: true,\n message: \"请输入营养价值\",\n trigger: \"blur\"\n }],\n dietAdvice: [{\n required: true,\n