1
0
Fork 0
medical-record-server/public/h5/static/js/pages-index-index.dbf0b2d4.js

1 line
1.6 KiB
JavaScript

(self["webpackChunkuniapp"]=self["webpackChunkuniapp"]||[]).push([[58],{2052:function(t,a,e){var n=e(4374);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var i=e(5472).Z;i("03310569",n,!0,{sourceMap:!1,shadowMode:!1})},2185:function(t,a,e){"use strict";e.r(a),e.d(a,{default:function(){return f}});var n,i={uButton:e(7344).Z},c=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"page"},[e("v-uni-view",{staticClass:"btns"},t._l(t.list,(function(a){return e("v-uni-view",{key:a.id,staticClass:"btn"},[e("u-button",{attrs:{icon:"../../static/"+a.key+".png",text:a.name,size:"large"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.itemClick(a.id)}}})],1)})),1)],1)},s=[],u={data:function(){return{list:[]}},onLoad:function(){var t=this,a={_action:"getData"};this.$ajax.get("/admin-api/category",{params:a}).then((function(a){0==a.status&&(t.list=a.data.items)}))},methods:{itemClick:function(t){uni.setStorageSync("medical_record_treat_type_id",t),uni.navigateTo({url:"/pages/patient/index"})}}},r=u,o=(e(2052),e(1503)),d=(0,o.Z)(r,c,s,!1,null,"ef0b7fcc",null,!1,i,n),f=d.exports},4374:function(t,a,e){"use strict";e.r(a);var n=e(2916),i=e.n(n),c=e(3282),s=e.n(c),u=s()(i());u.push([t.id,".page[data-v-ef0b7fcc] .u-grid{margin-top:%?400?%;background:#fff}.page[data-v-ef0b7fcc] .u-grid-item{padding:15px 0}.page[data-v-ef0b7fcc] .grid-text{margin-top:10px}.btns[data-v-ef0b7fcc]{margin-top:%?400?%;display:flex;flex-direction:column;align-items:center}.btns .btn[data-v-ef0b7fcc]{width:90%;margin-top:20px}",""]),a["default"]=u}}]);