buyild
parent
ebbbd80989
commit
b991088ec3
|
|
@ -80,7 +80,7 @@ class CategoryController extends AdminController
|
|||
return $this->baseDetail()->body([
|
||||
amisMake()->TextControl()->name('key')->label(__('category.key'))->static(true),
|
||||
amisMake()->TextControl()->name('name')->label(__('category.name'))->static(true),
|
||||
amisMake()->TextareaControl()->name('content')->label(__('category.content'))->static(),
|
||||
Components::make()->fuEditorControl()->name('content')->label(__('category.content'))->static(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class PatientController extends AdminController
|
|||
amisMake()->DateControl()->name('birthday')->label(__('patient.birthday')),
|
||||
amisMake()->DateControl()->name('treat_at')->label(__('patient.treat_at')),
|
||||
Components::make()->adminUserSelectControl()->name('doctor_id')->label(__('patient.doctor_id')),
|
||||
amisMake()->TextareaControl()->name('illness')->label(__('patient.illness')),
|
||||
Components::make()->fuEditorControl()->name('illness')->label(__('patient.illness')),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ class PatientController extends AdminController
|
|||
amisMake()->DateControl()->name('birthday')->label(__('patient.birthday'))->static(),
|
||||
amisMake()->DateControl()->name('treat_format')->label(__('patient.treat_at'))->static(),
|
||||
amisMake()->TextControl()->name('doctor.name')->label(__('patient.doctor_id'))->static(),
|
||||
amisMake()->TextareaControl()->name('illness')->label(__('patient.illness'))->static(),
|
||||
Components::make()->fuEditorControl()->name('illness')->label(__('patient.illness'))->static(),
|
||||
amisMake()->TextControl()->name('created_at')->label(__('patient.created_at'))->static(),
|
||||
]),
|
||||
amisMake()->Tab()->title('病历记录')->body(amisMake()->Service()
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class PatientRecordController extends AdminController
|
|||
->id('patient_record_form_content_service')
|
||||
->api(amisMake()->BaseApi()->method('get')->url(admin_url('api/category/content?id=${select_type_id}')))
|
||||
->initFetch(false)
|
||||
->body(amisMake()->TextareaControl()->name('content')->label(__('patient-record.content'))),
|
||||
->body(Components::make()->fuEditorControl()->name('content')->label(__('patient-record.content'))),
|
||||
amisMake()->DateTimeControl()->name('next_treat_at')->label(__('patient-record.next_treat_at')),
|
||||
amisMake()->SelectControl()->options($this->getAdminUserOptions())->searchable()->name('notify_user_id')->label(__('patient-record.notify_user_id')),
|
||||
amisMake()->DateTimeControl()->name('notify_at')->label(__('patient-record.notify_at')),
|
||||
|
|
@ -98,7 +98,7 @@ class PatientRecordController extends AdminController
|
|||
amisMake()->TextControl()->name('origin_price')->label(__('patient-record.origin_price'))->static(),
|
||||
amisMake()->TextControl()->name('sell_price')->label(__('patient-record.sell_price'))->static(),
|
||||
amisMake()->SelectControl()->options(OrderStatus::options())->name('order_status')->label(__('patient-record.order_status'))->static(),
|
||||
amisMake()->TextareaControl()->name('content')->label(__('patient-record.content'))->static(),
|
||||
Components::make()->fuEditorControl()->name('content')->label(__('patient-record.content'))->static(),
|
||||
amisMake()->DateTimeControl()->name('next_treat_at')->label(__('patient-record.next_treat_at'))->static(),
|
||||
amisMake()->TextControl()->name('notify_user.name')->label(__('patient-record.notify_user_id'))->static(),
|
||||
amisMake()->DateTimeControl()->name('notify_at')->label(__('patient-record.notify_at'))->static(),
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>宝芝堂</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/h5/static/index.5841170f.css"/><script defer="defer" src="/h5/static/js/chunk-vendors.7032a432.js"></script><script defer="defer" src="/h5/static/js/index.c7de2c51.js"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/h5/static/index.5841170f.css"/><script defer="defer" src="/h5/static/js/chunk-vendors.7032a432.js"></script><script defer="defer" src="/h5/static/js/index.eb21e117.js"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
(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}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue