|
|
|
@ -376,7 +376,9 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
$('.cancel-shift-btn').on({
|
|
|
|
|
click: function() {
|
|
|
|
|
var id = $(this).parents('tr').eq(0).attr('data-id')
|
|
|
|
|
var tr = $(this).parents('tr').eq(0)
|
|
|
|
|
var id = tr.attr('data-id')
|
|
|
|
|
var parentId = tr.attr('data-parent-id')
|
|
|
|
|
var shiftType = $(this).attr('data-promote-shift-type')
|
|
|
|
|
var shiftTypeName = getShiftTypeName(shiftType)
|
|
|
|
|
layer.confirm('是否要取消' + shiftTypeName, {icon: 3, title:'提示'}, function(index){
|
|
|
|
|