24 lines
653 B
JavaScript
24 lines
653 B
JavaScript
import Ember from 'ember';
|
|
import BaseListRoute from './../base-list';
|
|
|
|
export default BaseListRoute.extend({
|
|
breadcrumbs: [{text: 'Customer Application'}],
|
|
// model(params) {
|
|
// return this.get('store').ajaxGet('customer-property/app-list', params);
|
|
// }
|
|
actions: {
|
|
showContent(app) {
|
|
this.get('dialog').dialog({
|
|
title: app.name,
|
|
message: `<p>${app.content}</p>`,
|
|
buttons: {
|
|
ok: {
|
|
label: 'OK',
|
|
className: 'btn-info'
|
|
}
|
|
}
|
|
});
|
|
}
|
|
}
|
|
});
|