|
|
|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/allBreakeven"],{238:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var i=r(t(239));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},239:function(e,n,t){"use strict";t.r(n);var r=t(240),i=t(242);for(var o in i)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(o);t(244);var c,a=t(32),u=Object(a["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"92ea66da",null,!1,r["components"],c);u.options.__file="pages/user/allBreakeven.vue",n["default"]=u.exports},240:function(e,n,t){"use strict";t.r(n);var r=t(241);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},241:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return o})),t.d(n,"components",(function(){return r}));try{r={uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,386))},uPicker:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-picker/u-picker")]).then(t.bind(null,403))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showPrivateMarket=!0},e.e1=function(n){e.showPrivatePrice=!0},e.e2=function(n){e.showPrivateMarket=!1},e.e3=function(n){e.showPrivatePlate=!1},e.e4=function(n){e.showPrivatePrice=!1})},o=!1,c=[];i._withStripped=!0},242:function(e,n,t){"use strict";t.r(n);var r=t(243),i=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=i.a},243:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{showPrivatePrice:!1,currentPrice:"全部盈亏",currentPriceIndex:"",columnsPrice:[["全部盈亏","盈利个股","亏损个股"]],showPrivatePlate:!1,currentPlate:"全部板块",columnsPlate:[["全部板块","上证指数","深证指数","创业板","科创板"]],showPrivateMarket:!1,currentMarket:"全部大盘",columnsMarket:[[{name:"全部大盘",current:""},{name:"上证指数",current:"SZ"},{name:"深证指数",current:"SH"},{name:"创业板",current:"30"},{name:"科创版",current:"688"}]],currentMarketId:"",list:[],pagenum:1,last_page:null,serchValue:""}},onLoad:function(e){this.rending()},onReachBottom:function(){this.pagenum<this.last_page&&this.getnewGoods()},methods:{rending:function(){var e=this;this.$api.post("/transaction/profitOrLoss",{endDate:"",keyWord:this.serchValue,pageModel:{pageNo:this.pagenum,pageSize:20,sortField:"",sortWay:""},securityType:this.currentMarketId,sortAmount:1,startDate:"",type:this.currentPriceIndex}).then((function(n){n&&(e.list=n.list)})).catch((function(e){console.log(e)}))},confirmPrivateMarket:function(e){this.pagenum=1,this.currentMarket=e.value[0].name,this.currentMarketId=e.value[0].current,this.rending(),this.showPrivateMarket=!1},confirmPrivatePlate:function(e){this.currentPlate=e.value[0],this.showPrivatePlate=!1},confirmPrivatePrice:function(e){this.pagenum=1,this.currentPrice=e.value[0],"全部盈亏"==this.currentPrice?this.currentPriceIndex="":"盈利个股"==this.currentPrice?this.currentPriceIndex=1:this.currentPriceIndex=2,this.rending(),this.showPrivatePrice=!1},getnewGoods:function(){this.pagenum=this.pagenum+1,this.rending
|