|
@@ -264,6 +264,7 @@ $(function(){
|
|
var chb1 = "";
|
|
var chb1 = "";
|
|
var chb2 = "";
|
|
var chb2 = "";
|
|
var chb3 = "";
|
|
var chb3 = "";
|
|
|
|
+ var chb4 = "";
|
|
for (i in power){
|
|
for (i in power){
|
|
if(power[i]=="1"){
|
|
if(power[i]=="1"){
|
|
chb1='checked="checked"';
|
|
chb1='checked="checked"';
|
|
@@ -274,6 +275,9 @@ $(function(){
|
|
if(power[i]=="3"){
|
|
if(power[i]=="3"){
|
|
chb3='checked="checked"';
|
|
chb3='checked="checked"';
|
|
}
|
|
}
|
|
|
|
+ if (power[i]=="4"){
|
|
|
|
+ chb4='checked="checked"';
|
|
|
|
+ }
|
|
}
|
|
}
|
|
str = '';
|
|
str = '';
|
|
//if(freeze==-1){
|
|
//if(freeze==-1){
|
|
@@ -283,7 +287,8 @@ $(function(){
|
|
//}
|
|
//}
|
|
str +='<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox1" '+chb1+' onclick="power(this,\''+id+'\')" id="inlineCheckbox1" value="1">订阅Pro</label></div>'+
|
|
str +='<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox1" '+chb1+' onclick="power(this,\''+id+'\')" id="inlineCheckbox1" value="1">订阅Pro</label></div>'+
|
|
'<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox2" '+chb2+' onclick="power(this,\''+id+'\')" id="inlineCheckbox2" value="2">接口1</label></div>'+
|
|
'<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox2" '+chb2+' onclick="power(this,\''+id+'\')" id="inlineCheckbox2" value="2">接口1</label></div>'+
|
|
- '<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox3" '+chb3+' onclick="power(this,\''+id+'\')" id="inlineCheckbox3" value="3">接口2</label></div></div>'
|
|
|
|
|
|
+ '<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox3" '+chb3+' onclick="power(this,\''+id+'\')" id="inlineCheckbox3" value="3">接口2</label></div>'+
|
|
|
|
+ '<div class="checkbox" style="display: block;"><label><input type="checkbox" name="checkbox4" '+chb4+' onclick="power(this,\''+id+'\')" id="inlineCheckbox4" value="4">接口3</label></div></div>'
|
|
return str
|
|
return str
|
|
}else{
|
|
}else{
|
|
return '<div style="margin-left: 10px;">-</div>'
|
|
return '<div style="margin-left: 10px;">-</div>'
|