newProduct.js.map 14 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?61b4","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?e4dc","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?9ca9","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?432f","uni-app:///pages/newProduct/newProduct.vue","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?2bfd","webpack:///D:/company/RedDragonfly/pages/newProduct/newProduct.vue?c619"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","BeginSingle","FinishSingle","name","created","methods","change","getData","uni","title","startTime","endTime","num","page","accessToken","account","res","search"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,mBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACc;;;AAGvE;AACgN;AAChN,gBAAgB,0NAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,gZAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA;AAAA;AAAA;AAAA;AAAw0B,CAAgB,q1BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;ACwC51B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAH;IACA;EACA;EACAI;IACA;EACA;EACAC;IACAC;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;kBACAC;gBACA;gBAAA;gBAAA,OACA;kBACAC;kBACAC;kBACAR;kBACAS;kBACAC;kBACAC;kBACAC;gBACA;cAAA;gBARAC;gBASAR;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAS;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC9EA;AAAA;AAAA;AAAA;AAAuiD,CAAgB,w/CAAG,EAAC,C;;;;;;;;;;;ACA3jD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/newProduct/newProduct.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/newProduct/newProduct.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./newProduct.vue?vue&type=template&id=24a69be6&\"\nvar renderjs\nimport script from \"./newProduct.vue?vue&type=script&lang=js&\"\nexport * from \"./newProduct.vue?vue&type=script&lang=js&\"\nimport style0 from \"./newProduct.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/newProduct/newProduct.vue\"\nexport default component.exports","export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./newProduct.vue?vue&type=template&id=24a69be6&\"","var components\ntry {\n components = {\n uniDatetimePicker: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker\" */ \"@/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.data.length\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./newProduct.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./newProduct.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"product\">\n\t\t<view class=\"header\">\r\n\t\t\t<uni-datetime-picker type=\"date\" :clear-icon=\"false\" start-placeholder='BeginSingle'\r\n\t\t\t\tv-model=\"BeginSingle\" @change='change' />\r\n\t\t\t\t至\r\n\t\t\t<uni-datetime-picker type=\"date\" :clear-icon=\"false\" start-placeholder='FinishSingle'\r\n\t\t\t\tv-model=\"FinishSingle\" @change='change' />\r\n\t\t</view>\r\n\t\t<view class=\"search\">\r\n\t\t\t<input class=\"uni-input\" v-model=\"name\" placeholder=\"请输入姓名\" @input=\"input\"/>\r\n\t\t\t<view class=\"btn\" @click=\"search()\">搜索</view>\r\n\t\t</view>\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"hint\" v-if=\"data.length <= 0\">\r\n\t\t\t\t暂无记录\r\n\t\t\t</view>\r\n\t\t\t<view class=\"list\" v-for=\"(v,i) in data\" :key=\"i\">\r\n\t\t\t\t<view class=\"top\">\r\n\t\t\t\t\t<view class=\"name\">\r\n\t\t\t\t\t\t姓名: {{v.name}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tlee\">\r\n\t\t\t\t\t\t电话: {{v.phone}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"bom\">\r\n\t\t\t\t\t<view class=\"time\">\r\n\t\t\t\t\t\t时间: {{v.opTime}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"code\">\r\n\t\t\t\t\t\t瓶码: {{v.bottleId}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\r\n\timport {record} from '../../api/product.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tBeginSingle: '2023-04-24', // 开始时间\r\n\t\t\t\tFinishSingle: '2023-04-24', // 结束时间\r\n\t\t\t\tname: '', // 搜索\r\n\t\t\t\tdata:''\n\t\t\t};\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.getData(this.BeginSingle,this.FinishSingle,this.name)\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tchange(){\r\n\t\t\t\tthis.getData(this.BeginSingle,this.FinishSingle,this.name)\r\n\t\t\t},\r\n\t\t\tasync getData(beginTime,finishTime,name){\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '加载中'\r\n\t\t\t\t});\r\n\t\t\t\tconst res = await record({\r\n\t\t\t\t\tstartTime: beginTime,\r\n\t\t\t\t\tendTime: finishTime,\r\n\t\t\t\t\tname: name,\r\n\t\t\t\t\tnum: 10,\r\n\t\t\t\t\tpage: 1,\r\n\t\t\t\t\taccessToken: uni.getStorageSync('tokenInfo'),\r\n\t\t\t\t\taccount: uni.getStorageSync('account')\r\n\t\t\t\t})\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tthis.data = res.data.list\r\n\t\t\t},\r\n\t\t\t// 搜索\r\n\t\t\tsearch(){\r\n\t\t\t\tthis.getData(this.beginTime,this.finishTime,this.name)\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n.product{\r\n\theight: 100%;\r\n\tpadding: 20rpx;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\t.header{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\t.search{\r\n\t\theight: 80rpx;\r\n\t\tdisplay: flex;\r\n\t\tborder: 1rpx solid #dfdfdf;\r\n\t\tmargin: 20rpx 0;\r\n\t\t.uni-input{\r\n\t\t\tflex: 1;\r\n\t\t\theight: 100%;\r\n\t\t\tpadding-left: 20rpx;\r\n\t\t}\r\n\t\t.btn{\r\n\t\t\twidth: 20%;\r\n\t\t\theight: 100%;\r\n\t\t\tline-height: 80rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tbackground-color: #aaaaaa;\r\n\t\t}\r\n\t}\r\n\t.content{\r\n\t\tflex: 1;\r\n\t\toverflow-y: scroll;\r\n\t\t.hint{\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\t\t.list{\r\n\t\t\tborder-bottom: 1px solid #dfdfdf;\r\n\t\t\t.top,.bom{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tpadding: 20rpx 0;\r\n\t\t\t\tview{\r\n\t\t\t\t\twidth: 50%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n}\n</style>\n","import mod from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./newProduct.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./newProduct.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1693280596374\n var cssReload = require(\"D:/Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}