refactor(temperatures): added crudmodel autoload for temperatures
This commit is contained in:
parent
8bdb02c0fc
commit
c7558dfb0b
|
@ -120,6 +120,12 @@
|
|||
url="Thermographs/getThermographModels"
|
||||
data="thermographModels">
|
||||
</vn-crud-model>
|
||||
<vn-crud-model
|
||||
vn-id="temperaturesModel"
|
||||
url="Temperatures"
|
||||
data="Temperatures"
|
||||
auto-load="true">
|
||||
</vn-crud-model>
|
||||
<vn-dialog class="edit"
|
||||
vn-id="newThermographDialog"
|
||||
on-accept="$ctrl.onNewThermographAccept()"
|
||||
|
@ -158,7 +164,6 @@
|
|||
required="true"
|
||||
label="Temperature"
|
||||
ng-model="$ctrl.newThermograph.temperatureFk"
|
||||
url="Temperatures"
|
||||
data='Temperatures'
|
||||
show-field="name"
|
||||
value-field="code">
|
||||
|
|
Loading…
Reference in New Issue