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.
11 lines
2.9 KiB
11 lines
2.9 KiB
8 months ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/common-popup"],{"40ad":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("8f59"),o={REFUSE_ORDER:{title:"拒绝接单",desc:"请确认是否拒绝接单",text:"确认拒绝"},CANCEL_ORDER:{title:"取消订单",desc:"请确认是否取消订单,取消后将无法恢复",text:"确认取消"},DELETE_ORDER:{title:"删除订单",desc:"请确认是否删除订单,删除后将无法恢复",text:"确认删除"},CANCEL_REFUND_ORDER:{title:"取消退款",desc:"请确认是否取消退款",text:"确认取消"},NO_PASS_REFUND:{title:"拒绝退款",desc:"请确认是否拒绝退款",text:"确认拒绝"},HX_CODE:{title:"核销码",desc:"请出示二维码给核销人员"},HX_ORDER:{title:"核销订单",desc:"请确认是否核销订单",text:"确认核销"}},c={components:{},props:{maskClick:{type:Boolean,default:function(){return!1}},type:{type:String,default:function(){return"CANCEL_ORDER"}},title:{type:String,default:function(){return""}},desc:{type:String,default:function(){return""}},info:{type:Object,default:function(){return{}}},button:{type:Array,default:function(){return[{title:"取消",type:"cancel"},{title:"确定取消",type:"confirm"}]}},imgSize:{type:String,default:function(){return""}}},created:function(){this.init()},data:function(){return{ptitle:"",pdesc:"",pbutton:[]}},computed:(0,i.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{init:function(){var t=this.type;if(o[t]){if(this.ptitle=this.title||o[t].title,this.pdesc=this.desc||o[t].desc,this.pbutton=this.button,!o[t].text)return;this.pbutton[1].title=o[t].text}},open:function(){this.$refs.common_popup.open()},close:function(){this.$refs.common_popup.close()},toEmit:function(t){var e=this.button[t].type;"cancel"==e?this.close():this.$emit(e)}}};e.default=c},"851e":function(t,e,n){"use strict";n.r(e);var i=n("adb4"),o=n("f0cc");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);var u=n("828b"),r=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"ba4fec8e",null,!1,i["a"],void 0);e["default"]=r.exports},adb4:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},f0cc:function(t,e,n){"use strict";n.r(e);var i=n("40ad"),o=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=o.a}}]);
|
||
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||
|
'components/common-popup-create-component',
|
||
|
{
|
||
|
'components/common-popup-create-component':(function(module, exports, __webpack_require__){
|
||
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("851e"))
|
||
|
})
|
||
|
},
|
||
|
[['components/common-popup-create-component']]
|
||
|
]);
|