前端
This commit is contained in:
parent
24fe19b3e6
commit
1c1579792c
111
pmcalendar.php
111
pmcalendar.php
@ -414,7 +414,8 @@ if ($act == 'newevent') {
|
||||
|
||||
<style>
|
||||
.fc-event {
|
||||
border: none
|
||||
border: none;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.data_box {
|
||||
@ -424,7 +425,8 @@ if ($act == 'newevent') {
|
||||
.data_tab {
|
||||
width: 450px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
flex-flow: row wrap;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
top: 18px;
|
||||
@ -438,6 +440,7 @@ if ($act == 'newevent') {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.data-box img {
|
||||
@ -751,7 +754,7 @@ if ($act == 'newevent') {
|
||||
<!-- <div class='fujian xz' id='xzfujianname' ></div> -->
|
||||
<div class="tijaioanniu">
|
||||
<div style=" position: relative; display: none" class="upfujian" id="upfujian_cp">
|
||||
<img class='tianjia' src='./assets/images/jiahao.png'/>
|
||||
<img class='tianjia' src='./assets/images/jia.png'/>
|
||||
<iframe id="_hideiframe" name="_hideiframe" style="display: none;"></iframe>
|
||||
<form method="post" id="uploader" style="display: block; clear: both; margin-top: 10px;;"
|
||||
target="_hideiframe" action="" enctype="multipart/form-data">
|
||||
@ -789,7 +792,7 @@ if ($act == 'newevent') {
|
||||
</div> -->
|
||||
<div class="tijaioanniu">
|
||||
<div style=" position: relative;display: none;" class="upfujian" id="upfujian_yy">
|
||||
<img class='tianjia' src='./assets/images/jiahao.png'/>
|
||||
<img class='tianjia' src='./assets/images/jia.png'/>
|
||||
<iframe id="_hideiframe2" name="_hideiframe" style="display: none;"></iframe>
|
||||
<form method="post" id="uploader_yy" style="display: block; clear: both; margin-top: 10px;;"
|
||||
target="_hideiframe" action="" enctype="multipart/form-data">
|
||||
@ -911,6 +914,7 @@ if ($act == 'newevent') {
|
||||
var starttime, endtime;
|
||||
var dstr = ''
|
||||
var dict = {};
|
||||
var bumen;
|
||||
var notid;
|
||||
var arrcp = [];
|
||||
var arryy = [];
|
||||
@ -1135,54 +1139,56 @@ if ($act == 'newevent') {
|
||||
})
|
||||
|
||||
function bianji() {
|
||||
|
||||
if ("<?=$isgxyyerole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yytext').attr('disabled', false)
|
||||
$("#upfujian_yy").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yytext').attr('disabled', true)
|
||||
$("#upfujian_yy").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
console.log("<?=$isgxcperole?>")
|
||||
if ("<?=$isgxcperole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#cptext').attr('disabled', false)
|
||||
$("#upfujian_cp").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#cptext').attr('disabled', true)
|
||||
$("#upfujian_cp").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
if ("<?=$isgxyferole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yftext').attr('disabled', false)
|
||||
$("#upfujian_yf").show();
|
||||
upfujian_yf
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yftext').attr('disabled', true)
|
||||
$("#upfujian_yf").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
|
||||
if ("<?=$isxfyyerole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yytext').attr('disabled', false)
|
||||
$("#upfujian_yy").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yytext').attr('disabled', true)
|
||||
$("#upfujian_yy").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
if(bumen == 'label-danger'){
|
||||
if ("<?=$isgxyyerole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yytext').attr('disabled', false)
|
||||
$("#upfujian_yy").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yytext').attr('disabled', true)
|
||||
$("#upfujian_yy").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
console.log("<?=$isgxcperole?>")
|
||||
if ("<?=$isgxcperole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#cptext').attr('disabled', false)
|
||||
$("#upfujian_cp").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#cptext').attr('disabled', true)
|
||||
$("#upfujian_cp").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
if ("<?=$isgxyferole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yftext').attr('disabled', false)
|
||||
$("#upfujian_yf").show();
|
||||
upfujian_yf
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yftext').attr('disabled', true)
|
||||
$("#upfujian_yf").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
}else {
|
||||
if ("<?=$isxfyyerole?>" == "1") {
|
||||
if (i == 0) {
|
||||
$('#yytext').attr('disabled', false)
|
||||
$("#upfujian_yy").show();
|
||||
i = 1;
|
||||
} else {
|
||||
$('#yytext').attr('disabled', true)
|
||||
$("#upfujian_yy").hide();
|
||||
i = 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function onlyShowGame(o) {
|
||||
@ -1335,6 +1341,7 @@ if ($act == 'newevent') {
|
||||
}
|
||||
,
|
||||
eventClick: function (calEvent, jsEvent, view) {
|
||||
bumen = calEvent.className[0]
|
||||
console.log(calEvent.className[0])
|
||||
notid = calEvent.id;
|
||||
// if ("<?=$canEdit?>" != "1") {
|
||||
|
Loading…
Reference in New Issue
Block a user