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
6.7 KiB
1 lines
6.7 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-bad-comments-box"],{"12c3":function(t,i,n){"use strict";n.r(i);var e=n("29e0"),a=n.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=a.a},"29e0":function(t,i,n){"use strict";n("6a54");var e=n("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,n("0c26");var a=e(n("2634")),o=e(n("2fdc")),s=n("8f59"),c={data:function(){return{orderInfo:{},content:""}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.initIndex()},methods:{initIndex:function(){var t=arguments,i=this;return(0,o.default)((0,a.default)().mark((function n(){var e;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e=t.length>0&&void 0!==t[0]&&t[0],e||!i.$jweixin.isWechat()){n.next=5;break}return n.next=4,i.$jweixin.initJssdk();case 4:i.$jweixin.wxReady((function(){i.$jweixin.hideOptionMenu()}));case 5:case"end":return n.stop()}}),n)})))()},bindInput:function(t){this.$nextTick((function(){this.content=t.detail.value}))},confirm:function(){var t=this,i=this.content,n=this.orderInfo;return i.trim()?n.id?(this.$util.showLoading(),void this.$api.technician.addAppeal({content:i,order_code:n.order_code}).then((function(i){t.$util.hideAll(),t.$util.goUrl({openType:"redirectTo",url:"/technician/pages/bad-comments/success"})}))):this.$util.showToast({title:"请选择关联订单"}):this.$util.showToast({title:"请输入申诉理由"})}}};i.default=c},4214:function(t,i,n){var e=n("c86c");i=e(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-44743d22]{background-color:#fff}body.?%PAGE?%[data-v-44743d22]{background-color:#fff}.box-item .box-item-title[data-v-44743d22]{padding-top:%?40?%}.box-item .box-item-cont[data-v-44743d22]{min-height:%?110?%}.box-item .c-5A677E[data-v-44743d22]{color:#5a677e}.box-item .item-image[data-v-44743d22]{width:%?155?%;height:%?155?%;overflow:hidden;vertical-align:bottom}',""]),t.exports=i},"6ac5":function(t,i,n){"use strict";n.r(i);var e=n("baef"),a=n("12c3");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("8608");var s=n("828b"),c=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,"44743d22",null,!1,e["a"],void 0);i["default"]=c.exports},8608:function(t,i,n){"use strict";var e=n("e210"),a=n.n(e);a.a},baef:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{staticClass:"box "},[n("v-uni-view",{staticClass:"pl-lg pr-lg"},[n("v-uni-view",{staticClass:"box-item"},[n("v-uni-view",{staticClass:"box-item-title f-paragraph pb-lg text-bold flex"},[n("v-uni-text",{staticClass:"c-warning f-sm-title"},[t._v("*")]),n("v-uni-text",[t._v("选择关联订单")])],1),n("v-uni-view",{staticClass:"fill-body radius-16",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$util.goUrl({url:"/technician/pages/bad-comments/choice?id="+(t.orderInfo.id||0)})}}},[n("v-uni-view",{staticClass:"ml-lg mr-lg f-mini-title flex-between box-item-cont",class:t.orderInfo.id&&"b-1px-b"},[n("v-uni-text",{staticClass:"c-5A677E"},[t._v("关联订单")]),n("v-uni-view",{staticClass:"flex-y-center"},[n("v-uni-text",{staticClass:"pr-md"},[t._v(t._s(t.orderInfo.id?"重新选择":"请选择"))]),n("i",{staticClass:"iconfont icon-right text-bold"})],1)],1),t.orderInfo.id?n("blcok",t._l(t.orderInfo.order_goods,(function(i,e){return n("v-uni-view",{key:e,staticClass:"flex-y-center pt-lg pl-md pr-md pb-lg"},[n("v-uni-image",{staticClass:"item-image radius-16",attrs:{mode:"aspectFill",src:i.goods_cover}}),n("v-uni-view",{staticClass:"pl-md"},[n("v-uni-view",{staticClass:"f-mini-title text-bold"},[t._v(t._s(i.goods_name))]),n("v-uni-view",{staticClass:"c-caption f-caption pt-md pb-md"},[n("v-uni-text",{staticClass:"pr-md"},[t._v("预约时间")]),n("v-uni-text",[t._v(t._s(t.orderInfo.start_time))])],1),n("v-uni-view",{staticClass:"flex-y-center c-warning",staticStyle:{"line-height":"1"}},[n("v-uni-text",{staticClass:"text-bold f-icontext"},[t._v("¥")]),n("v-uni-text",{staticClass:"f-sm-title text-bold"},[t._v(t._s(i.true_price))])],1)],1)],1)})),1):t._e()],1)],1),n("v-uni-view",{staticClass:"box-item pt-md"},[n("v-uni-view",{staticClass:"box-item-title f-paragraph pb-lg text-bold flex"},[n("v-uni-text",{staticClass:"c-warning f-sm-title"},[t._v("*")]),n("v-uni-text",[t._v("申诉理由")])],1),n("v-uni-view",{staticClass:"pd-lg radius-16 fill-body",staticStyle:{overflow:"hidden"}},[n("v-uni-textarea",{staticClass:"c-paragraph",staticStyle:{width:"100%"},attrs:{cols:"30",rows:"10",placeholder:"请输入申诉理由",value:t.content,maxlength:"1000"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.bindInput.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"pt-md text-right c-5A677E f-paragraph"},[t._v(t._s(t.content.length>1e3?1e3:t.content.length)+" / 1000")])],1)],1)],1),n("v-uni-view",{staticClass:"space-max-footer"}),n("fix-bottom-button",{attrs:{text:[{text:"申诉记录",type:"cancel"},{text:"提交申诉",type:"confirm",isAuth:!0}],bgColor:"#fff",classType:2},on:{cancel:function(i){arguments[0]=i=t.$handleEvent(i),t.$util.goUrl({url:"/technician/pages/bad-comments/list"})},confirm:function(i){arguments[0]=i=t.$handleEvent(i),t.confirm.apply(void 0,arguments)}}})],1)},a=[]},e210:function(t,i,n){var e=n("4214");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("967d").default;a("ee2a4faa",e,!0,{sourceMap:!1,shadowMode:!1})}}]); |