You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.3 KiB
1 lines
2.3 KiB
{"remainingRequest":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js??ref--0-2!D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js","mtime":1729046406587},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js","mtime":1729046413411},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js","mtime":1729046409925}],"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//\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\r\nimport {getConfig2, submitConfig} from '@/api/setting';\r\n\r\nexport default {\r\n data() {\r\n return {\r\n\r\n tableSeatsList: [],\r\n modal: false,\r\n formData: {\r\n baoxiang: 2,\r\n kazuo: '1',\r\n santai: '1',\r\n tongzhuo: '1',\r\n },\r\n id: 0,\r\n number: 1,\r\n };\r\n },\r\n created() {\r\n this.getConfig();\r\n\r\n },\r\n methods: {\r\n getConfig() {\r\n getConfig2('store_table_confi111g').then((res) => {\r\n if (res.data.constructor.name === 'Array') {\r\n return;\r\n }\r\n this.formData = res.data;\r\n });\r\n },\r\n\r\n // 提交桌码配置\r\n handleSubmit(name) {\r\n this.$refs[name].validate((valid) => {\r\n if (valid) {\r\n submitConfig('store_table_code', this.formData).then((res) => {\r\n this.$Message.success(res.msg);\r\n });\r\n }\r\n });\r\n },\r\n\r\n },\r\n};\r\n",null]} |