This commit is contained in:
wuhao 2020-12-10 19:34:28 +08:00
parent 5b147c1609
commit f1fe972c21

View File

@ -2,7 +2,7 @@
$user = SESS::get('EVENTUserInfo');
// if(isn($user))exit();
$user = json_decode($user, true);
// $user['name'] = "魏晶";
// $user['name'] = "罗松柏";
$canEdit = in_array($user['name'], $ROLES);
$isgxvrole ='1'; //in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限
$isgxyyerole = in_array($user['name'], $GXYYEROLES);//更新运营中心编辑权限
@ -311,7 +311,7 @@ if ($act == 'newevent') {
<div id="gamesbtn" style="padding:0 11px 15px 11px;">
<!-- 筛选: -->
<?php if ($canEdit) { ?><a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a><? } ?>
<!-- <a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a> -->
<!-- <a href="./?app=edit" class='btn btn-minier btn-pink'>编辑游戏</a>-->
<button value='' onclick='onlyShowGame(this)' class='btn btn-minier btn-info'>显示全部</button>
<?php
foreach ($GAMES as $g) {
@ -831,7 +831,7 @@ if ($act == 'newevent') {
<textarea disabled='disabled' id='yftext' placeholder="添加研发中心对本节点的描述"></textarea>
</div>
<div class='fujian-box'>
<!-- 附件 -->
<div class='fujian' id='yffujian'></div>
<!-- <div class='fujian xz' id='yfxzfujian'></div> -->
@ -1433,7 +1433,7 @@ if ($act == 'newevent') {
$("#yftext").attr('placeholder','请填写本次节点修改内容注意事项,内容较多请使用附件');
//console.log($('#uploader').attr('action'))
//console.log($('#uploader').attr('action'))
dict = {};
$.post('./?app=pmcalendar&act=getEventByid', {id: calEvent.id}, function (txt) {
@ -1763,6 +1763,7 @@ if ($act == 'newevent') {
arrcp = [];
arryy = [];
arryf = [];
i = 0;
starts='';
$('#yytext').attr('disabled', false)
$('#cptext').attr('disabled', false)