|
@ -102,6 +102,15 @@ layui.use('element', function () {
|
|
if (isStop == 0) {
|
|
if (isStop == 0) {
|
|
$("#span_font"+val[i].planId).html("已中止")
|
|
$("#span_font"+val[i].planId).html("已中止")
|
|
$("#span_font"+val[i].planId).addClass("cgre")
|
|
$("#span_font"+val[i].planId).addClass("cgre")
|
|
|
|
$("#progress_"+val[i].planId).css({
|
|
|
|
"background-color": "gray"
|
|
|
|
})
|
|
|
|
$("#stopBtn_"+val[i].planId).html("激活计划")
|
|
|
|
}else{
|
|
|
|
$("#progress_"+val[i].planId).css({
|
|
|
|
"background-color": "#ff9526"
|
|
|
|
})
|
|
|
|
$("#stopBtn_"+val[i].planId).html("终止计划")
|
|
}
|
|
}
|
|
|
|
|
|
var progressNum = Math.ceil((allFinishCount / allCount) * 100)
|
|
var progressNum = Math.ceil((allFinishCount / allCount) * 100)
|
|
@ -177,7 +186,7 @@ layui.use('element', function () {
|
|
vm.planid = data.planId
|
|
vm.planid = data.planId
|
|
console.log(data.planId)
|
|
console.log(data.planId)
|
|
conFirm("确定终止该计划吗", data.status, vm.isStop, vm.planid, vm.getDatas)
|
|
conFirm("确定终止该计划吗", data.status, vm.isStop, vm.planid, vm.getDatas)
|
|
|
|
|
|
|
|
|
|
console.log(vm.isStop)
|
|
console.log(vm.isStop)
|
|
|
|
|
|
},
|
|
},
|