2020-07-01 15:22:07 +08:00

28 lines
977 B
JavaScript

import BaseEditRoute from '../base-edit';
export default BaseEditRoute.extend({
perm: 'PERM_VIEW_CAMPAIGN_EDIT',
afterModel(model) {
this.set('breadcrumbs',
[{route: 'calling-list.list', text: '拨打列表'},
{text: '编辑拨打名单'}]);
model.timeList=[{value:'25200', text:'7:00'},
{value:'28800', text:'8:00'},
{value:'32400', text:'9:00'},
{value:'36000', text:'10:00'},
{value:'39600', text:'11:00'},
{value:'43200', text:'12:00'},
{value:'46800', text:'13:00'},
{value:'50400', text:'14:00'},
{value:'54000', text:'15:00'},
{value:'57600', text:'16:00'},
{value:'61200', text:'17:00'},
{value:'64800', text:'18:00'},
{value:'68400', text:'19:00'},
{value:'72000', text:'20:00'},
{value:'75600', text:'21:00'},
{value:'79200', text:'22:00'},
{value:'82800', text:'23:00'}
]
}
});