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
17 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?7e84","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?3706","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?b76c","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?9a64","uni-app:///technician/pages/bad-comments/box.vue","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?1344","webpack:///C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/technician/pages/bad-comments/box.vue?7763"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","orderInfo","content","computed","primaryColor","subColor","configInfo","userInfo","onLoad","bg","methods","initIndex","refresh","bindInput","confirm","title","order_code","openType","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,YAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgH;AAChH;AACuD;AACL;AACc;;;AAGhE;AAC4N;AAC5N,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kFAAU;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAA63B,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;AC4Dj5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAKA;EACAC;IACA;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IACA;MACAC;IACA;IACA;EACA;EACAC;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IASA;IACAC;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA,IACAZ,UAEA,KAFAA;QACAD,YACA,KADAA;MAEA;QACA;UACAc;QACA;MACA;MACA;QACA;UACAA;QACA;MACA;MACA;MACA;QACAb;QACAc;MACA;QACA;QACA;QACA;QACA;UACAC;UACAC;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;AClIA;AAAA;AAAA;AAAA;AAA4oD,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;;ACAhqD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"technician/pages/bad-comments/box.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './technician/pages/bad-comments/box.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./box.vue?vue&type=template&id=d5471560&\"\nvar renderjs\nimport script from \"./box.vue?vue&type=script&lang=js&\"\nexport * from \"./box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./box.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/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 = \"technician/pages/bad-comments/box.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./box.vue?vue&type=template&id=d5471560&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.content.length\n var g1 = !(g0 > 1000) ? _vm.content.length : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n return _vm.$util.goUrl({\n url:\n \"/technician/pages/bad-comments/choice?id=\" + (_vm.orderInfo.id || 0),\n })\n }\n _vm.e1 = function ($event) {\n return _vm.$util.goUrl({\n url: \"/technician/pages/bad-comments/list\",\n })\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./box.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./box.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"box \">\r\n\t\t<view class=\"pl-lg pr-lg\">\r\n\t\t\t<view class=\"box-item\">\r\n\t\t\t\t<view class=\"box-item-title f-paragraph pb-lg text-bold flex\">\r\n\t\t\t\t\t<text class=\"c-warning f-sm-title\">*</text>\r\n\t\t\t\t\t<text>选择关联订单</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"fill-body radius-16\"\r\n\t\t\t\t\t@tap=\"$util.goUrl({url:`/technician/pages/bad-comments/choice?id=${orderInfo.id || 0}`})\">\r\n\t\t\t\t\t<view class=\"ml-lg mr-lg f-mini-title flex-between box-item-cont\" :class=\"orderInfo.id && 'b-1px-b'\">\r\n\t\t\t\t\t\t<text class=\"c-5A677E\">关联订单</text>\r\n\t\t\t\t\t\t<view class=\"flex-y-center\">\r\n\t\t\t\t\t\t\t<text class=\"pr-md\">{{ orderInfo.id ? '重新选择':'请选择'}}</text>\r\n\t\t\t\t\t\t\t<i class=\"iconfont icon-right text-bold\"></i>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<blcok v-if=\"orderInfo.id\">\r\n\t\t\t\t\t\t<view class=\"flex-y-center pt-lg pl-md pr-md pb-lg\"\r\n\t\t\t\t\t\t\tv-for=\"(item,index) in orderInfo.order_goods\" :key=\"index\">\r\n\t\t\t\t\t\t\t<image mode=\"aspectFill\" class=\"item-image radius-16\" :src=\"item.goods_cover\"></image>\r\n\t\t\t\t\t\t\t<view class=\"pl-md\">\r\n\t\t\t\t\t\t\t\t<view class=\"f-mini-title text-bold\">{{item.goods_name}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"c-caption f-caption pt-md pb-md\">\r\n\t\t\t\t\t\t\t\t\t<text class=\"pr-md\">预约时间</text>\r\n\t\t\t\t\t\t\t\t\t<text>{{orderInfo.start_time}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"flex-y-center c-warning\" style=\"line-height: 1;\">\r\n\t\t\t\t\t\t\t\t\t<text class=\"text-bold f-icontext\">¥</text>\r\n\t\t\t\t\t\t\t\t\t<text class=\"f-sm-title text-bold\">{{item.true_price}}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</blcok>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"box-item pt-md\">\r\n\t\t\t\t<view class=\"box-item-title f-paragraph pb-lg text-bold flex\">\r\n\t\t\t\t\t<text class=\"c-warning f-sm-title\">*</text>\r\n\t\t\t\t\t<text>申诉理由</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"pd-lg radius-16 fill-body\" style=\"overflow: hidden;\">\r\n\t\t\t\t\t<textarea class=\"c-paragraph\" @input=\"bindInput\" style=\"width: 100%;\" cols=\"30\" rows=\"10\"\r\n\t\t\t\t\t\tplaceholder=\"请输入申诉理由\" :value=\"content\" maxlength=\"1000\"></textarea>\r\n\t\t\t\t\t<view class=\"pt-md text-right c-5A677E f-paragraph\">\r\n\t\t\t\t\t\t{{content.length > 1000 ? 1000 : content.length}} / 1000\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>\r\n\t\t<view class=\"space-max-footer\"></view>\r\n\r\n\t\t<fix-bottom-button @cancel=\"$util.goUrl({url:`/technician/pages/bad-comments/list`})\" @confirm=\"confirm\"\r\n\t\t\t:text=\"[{text:'申诉记录',type:'cancel'},{text:'提交申诉',type:'confirm',isAuth:true}]\" bgColor=\"#fff\"\r\n\t\t\t:classType=\"2\">\r\n\t\t</fix-bottom-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions,\r\n\t\tmapMutations\r\n\t} from \"vuex\"\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\torderInfo: {},\r\n\t\t\t\tcontent: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tsubColor: state => state.config.configInfo.subColor,\r\n\t\t\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t}),\r\n\t\tonLoad() {\r\n\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\tbg: this.primaryColor\r\n\t\t\t})\r\n\t\t\tthis.initIndex()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync initIndex(refresh = false) {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tif (!refresh && this.$jweixin.isWechat()) {\r\n\t\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tbindInput(e) {\r\n\t\t\t\tthis.$nextTick(function() {\r\n\t\t\t\t\tthis.content = e.detail.value;\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tconfirm() {\r\n\t\t\t\tlet {\r\n\t\t\t\t\tcontent,\r\n\t\t\t\t\torderInfo\r\n\t\t\t\t} = this\r\n\t\t\t\tif (!content.trim()) {\r\n\t\t\t\t\treturn this.$util.showToast({\r\n\t\t\t\t\t\ttitle: '请输入申诉理由'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tif (!orderInfo.id) {\r\n\t\t\t\t\treturn this.$util.showToast({\r\n\t\t\t\t\t\ttitle: '请选择关联订单'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tthis.$api.technician.addAppeal({\r\n\t\t\t\t\tcontent,\r\n\t\t\t\t\torder_code: orderInfo.order_code\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\t//this.$util.showToast({title: '提交成功'})\r\n\t\t\t\t\t//setTimeout(()=>{this.$util.goUrl({url:1,openType:`navigateBack`})},1500)\r\n\t\t\t\t\tthis.$util.hideAll()\r\n\t\t\t\t\tthis.$util.goUrl({\r\n\t\t\t\t\t\topenType: 'redirectTo',\r\n\t\t\t\t\t\turl: `/technician/pages/bad-comments/success`\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground-color: #fff;\r\n\t}\r\n\r\n\t.box-item {\r\n\t\t.box-item-title {\r\n\t\t\tpadding-top: 40rpx;\r\n\t\t}\r\n\r\n\t\t.box-item-cont {\r\n\t\t\tmin-height: 110rpx;\r\n\t\t}\r\n\r\n\t\t.c-5A677E {\r\n\t\t\tcolor: #5A677E;\r\n\t\t}\r\n\r\n\t\t.item-image {\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\toverflow: hidden;\r\n\t\t\tvertical-align: bottom;\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./box.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./box.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1720663116699\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/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":""}