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