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.
10 lines
4.1 KiB
10 lines
4.1 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["priceAdjustmentTask/components/details"],{"18ea":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{details:{type:Object,default:null}},data:function(){return{priceData:[{lable:"发改委价格",price:"marketPrice",oldePrice:"oldMarketPrice"},{lable:"油站价格",price:"sitePrice",oldePrice:"oldSitePrice"},{lable:"企业价",price:"enterprisePrice",oldePrice:"oldEnterprisePrice"},{lable:"底价",price:"floorPrice",oldePrice:"oldFloorPrice"},{lable:"结算价",price:"settlementPrice",oldePrice:"oldSettlementPrice"}]}},watch:{details:function(e,t){e&&console.log(this.details,"*********************")}},mounted:function(){var e=this;console.log(this.details,"******/***"),setTimeout((function(){console.log(e.details,"*********")}),1e3)},created:function(){},filters:{state:function(e){switch(Number(e)){case 0:return"即时";case 1:return"预约";default:return"---"}},typeText:function(e){switch(Number(e)){case 0:return"等待执行";case 1:return"执行成功";case-1:return"执行失败";case-2:return"任务撤回";default:return"---"}},applyStatus:function(e){switch(Number(e)){case 1:return"审核通过";case 2:return"等待执行";case 3:return"执行成功";case 0:return"等待审核";case-1:return"审核失败";case-2:return"已撤回";case-3:return"执行失败";case-4:return"已撤销"}}},methods:{icontype:function(e){return console.log(this.details[e.price],this.details[e.oldePrice],"////////"),Number(this.details[e.price])>Number(this.details[e.oldePrice])?"icona-shangzhang1":Number(this.details[e.price])<Number(this.details[e.oldePrice])?"icona-xiadie2":"iconchiping"},iconFn:function(e){return Number(this.details[e.price])>Number(this.details[e.oldePrice])?"#ff5555":Number(this.details[e.price])<Number(this.details[e.oldePrice])?"#2CE308":"#f9d06f"},typeColor:function(e){switch(Number(e)){case 0:return"#E8CD30";case 1:return"#17A00E";case-1:return"#EC4545";case-2:return"#bbbbbb";default:return""}},typeBackground:function(e){switch(Number(e)){case 0:return"#E8CD3026";case 1:return"#17A00E26";case-1:return"#EC454526";case-2:return"#bbbbbb26";default:return""}}}};t.default=i},"3ff3":function(e,t,r){"use strict";r.r(t);var i=r("18ea"),n=r.n(i);for(var c in i)"default"!==c&&function(e){r.d(t,e,(function(){return i[e]}))}(c);t["default"]=n.a},5884:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return c})),r.d(t,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([r.e("common/vendor"),r.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(r.bind(null,"65b9"))}},n=function(){var e=this,t=e.$createElement,r=(e._self._c,e.typeBackground(e.details.taskExecutStatus)),i=e.typeColor(e.details.taskExecutStatus),n=e.typeColor(e.details.taskExecutStatus),c=e._f("typeText")(e.details.taskExecutStatus),u=e._f("state")(e.details.effectiveMode),a=e.__map(e.priceData,(function(t,r){var i=e.__get_orig(t),n=Number(e.details[t.price]),c=n?Number(e.details[t.price]).toFixed("底价"==t.lable?4:2):null,u=e.iconFn(t),a=e.icontype(t),s=Number(e.details[t.oldePrice]),o=s?Number(e.details[t.oldePrice]).toFixed("底价"==t.lable?4:2):null;return{$orig:i,m3:n,g0:c,m4:u,m5:a,m6:s,g1:o}}));e.$mp.data=Object.assign({},{$root:{m0:r,m1:i,m2:n,f0:c,f1:u,l0:a}})},c=[]},"65d8":function(e,t,r){},"72d6":function(e,t,r){"use strict";var i=r("65d8"),n=r.n(i);n.a},"92ae":function(e,t,r){"use strict";r.r(t);var i=r("5884"),n=r("3ff3");for(var c in n)"default"!==c&&function(e){r.d(t,e,(function(){return n[e]}))}(c);r("72d6");var u,a=r("f0c5"),s=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,"18e82cdd",null,!1,i["a"],u);t["default"]=s.exports}}]); |
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ |
|
'priceAdjustmentTask/components/details-create-component', |
|
{ |
|
'priceAdjustmentTask/components/details-create-component':(function(module, exports, __webpack_require__){ |
|
__webpack_require__('543d')['createComponent'](__webpack_require__("92ae")) |
|
}) |
|
}, |
|
[['priceAdjustmentTask/components/details-create-component']] |
|
]);
|
|
|