1
This commit is contained in:
parent
ea4368a797
commit
7df0dabb0d
@ -169,9 +169,9 @@
|
|||||||
<!-- <div class="img-box" title="共享">
|
<!-- <div class="img-box" title="共享">
|
||||||
<img src="./static/img/fenxiang.png" />
|
<img src="./static/img/fenxiang.png" />
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="img-box shezhi" title="设置">
|
<!-- <div class="img-box shezhi" title="设置">
|
||||||
<img src="./static/img/shezhi.png" />
|
<img src="./static/img/shezhi.png" />
|
||||||
</div>
|
</div> -->
|
||||||
<div class="img-box baobiao" title="报表" style="display: none;">
|
<div class="img-box baobiao" title="报表" style="display: none;">
|
||||||
<img src="./static/img/baobiao2.png">
|
<img src="./static/img/baobiao2.png">
|
||||||
</div>
|
</div>
|
||||||
@ -337,7 +337,7 @@
|
|||||||
<a href="javascript:;" class="fontcolor mykanban"> <img src="./static/img/wenjian.png" data-id="{{item._id}}"/><span>{{item.name}}</span> </a>
|
<a href="javascript:;" class="fontcolor mykanban"> <img src="./static/img/wenjian.png" data-id="{{item._id}}"/><span>{{item.name}}</span> </a>
|
||||||
{{# layui.each(item.children, function(indexs, items){ }}
|
{{# layui.each(item.children, function(indexs, items){ }}
|
||||||
<dl class="layui-nav-child modeify-layui-nav-child">
|
<dl class="layui-nav-child modeify-layui-nav-child">
|
||||||
<dd class="layui-left-dd" data-id="{{items._id}}" data-authority="{{item.authority}}"><a href="javascript:;" class="fontcolor second category"><span>{{items.name}} </span>
|
<dd class="layui-left-dd" data-id="{{items._id}}" data-authority="{{item.authority}}" data-userid="{{item.user_id}}"><a href="javascript:;" class="fontcolor second category"><span>{{items.name}} </span>
|
||||||
<img src="./static/img/gengduo.png" alt=""> </a></dd>
|
<img src="./static/img/gengduo.png" alt=""> </a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
@ -349,7 +349,7 @@
|
|||||||
<img class='kanbanwenjianimg' src="./static/img/gengduo.png"/></a>
|
<img class='kanbanwenjianimg' src="./static/img/gengduo.png"/></a>
|
||||||
{{# layui.each(item.children, function(indexs, items){ }}
|
{{# layui.each(item.children, function(indexs, items){ }}
|
||||||
<dl class="layui-nav-child modeify-layui-nav-child">
|
<dl class="layui-nav-child modeify-layui-nav-child">
|
||||||
<dd class="layui-left-dd" data-authority="{{item.authority}}" data-id="{{items._id}}"><a href="javascript:;" class="fontcolor second category"><span>{{items.name}}</span>
|
<dd class="layui-left-dd" data-authority="{{item.authority}}" data-id="{{items._id}}" data-userid="{{item.user_id}}"><a href="javascript:;" class="fontcolor second category"><span>{{items.name}}</span>
|
||||||
<img src="./static/img/gengduo.png" alt=""> </a></dd>
|
<img src="./static/img/gengduo.png" alt=""> </a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
@ -373,7 +373,7 @@
|
|||||||
<dl class="layui-nav-child modeify-layui-nav-child sidebarslide" id="sidebar-boxhuadong">
|
<dl class="layui-nav-child modeify-layui-nav-child sidebarslide" id="sidebar-boxhuadong">
|
||||||
{{# layui.each(item.children, function(indexs, items){ }}
|
{{# layui.each(item.children, function(indexs, items){ }}
|
||||||
{{# if(items.onclick == 1 && index == 0){ }}
|
{{# if(items.onclick == 1 && index == 0){ }}
|
||||||
<dd class="layui-left-dd layui-this" data-authority="{{item.authority}}" data-id="{{items._id}}" data-kjid="{{item._id}}">
|
<dd class="layui-left-dd layui-this" data-authority="{{item.authority}}" data-id="{{items._id}}" data-kjid="{{item._id}}" data-userid="{{items.user_id}}">
|
||||||
<a href="javascript:;" class="fontcolor second category">
|
<a href="javascript:;" class="fontcolor second category">
|
||||||
<span class="tuodong" data-id="{{item._id}}">{{items.name}}</span>
|
<span class="tuodong" data-id="{{item._id}}">{{items.name}}</span>
|
||||||
{{# if(item.authority == "rw"){ }}
|
{{# if(item.authority == "rw"){ }}
|
||||||
@ -382,7 +382,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</dd>
|
</dd>
|
||||||
{{# } else { }}
|
{{# } else { }}
|
||||||
<dd class="layui-left-dd" data-authority="{{item.authority}}" data-id="{{items._id}}" data-kjid="{{item._id}}">
|
<dd class="layui-left-dd" data-authority="{{item.authority}}" data-id="{{items._id}}" data-kjid="{{item._id}}" data-userid="{{items.user_id}}">
|
||||||
<a href="javascript:;" class="fontcolor second category">
|
<a href="javascript:;" class="fontcolor second category">
|
||||||
<span class="tuodong" data-id="{{item._id}}">{{items.name}}</span>
|
<span class="tuodong" data-id="{{item._id}}">{{items.name}}</span>
|
||||||
{{# if(item.authority == "rw"){ }}
|
{{# if(item.authority == "rw"){ }}
|
||||||
|
7
web/src/x.min.js
vendored
7
web/src/x.min.js
vendored
@ -6015,7 +6015,7 @@ var X = window.X || {
|
|||||||
$(document).off('click','.layui-left-dd').on('click','.layui-left-dd',function(){
|
$(document).off('click','.layui-left-dd').on('click','.layui-left-dd',function(){
|
||||||
var authority = $(this).attr("data-authority");
|
var authority = $(this).attr("data-authority");
|
||||||
X.DATA.authority = authority;
|
X.DATA.authority = authority;
|
||||||
if(authority == "rw"){
|
if(authority == "rw" && X.DATA['userinfo']['userid'] == $(this).attr("data-userid")){
|
||||||
$(".baobiao").show();
|
$(".baobiao").show();
|
||||||
}else{
|
}else{
|
||||||
$(".baobiao").hide();
|
$(".baobiao").hide();
|
||||||
@ -6305,7 +6305,7 @@ var X = window.X || {
|
|||||||
shadeClose: true,
|
shadeClose: true,
|
||||||
skin: 'yourclass',
|
skin: 'yourclass',
|
||||||
url: 'search'
|
url: 'search'
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).off('click','.tab-right-box .shezhi').on("click",".tab-right-box .shezhi",function(){
|
$(document).off('click','.tab-right-box .shezhi').on("click",".tab-right-box .shezhi",function(){
|
||||||
@ -8723,8 +8723,8 @@ var X = window.X || {
|
|||||||
$(document).off('click','.dropdownlist-list').on('click','.dropdownlist-list',function(){
|
$(document).off('click','.dropdownlist-list').on('click','.dropdownlist-list',function(){
|
||||||
var index = $(this).attr("data-index");
|
var index = $(this).attr("data-index");
|
||||||
var dataArr = listdata[index];
|
var dataArr = listdata[index];
|
||||||
me.callback && me.callback(dataArr);
|
|
||||||
layer.closeAll(0);
|
layer.closeAll(0);
|
||||||
|
me.callback && me.callback(dataArr);
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -10643,6 +10643,7 @@ var X = window.X || {
|
|||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
// srczip/logic/ltvmodel.js
|
// srczip/logic/ltvmodel.js
|
||||||
(function(){
|
(function(){
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
$(document).off('click','.layui-left-dd').on('click','.layui-left-dd',function(){
|
$(document).off('click','.layui-left-dd').on('click','.layui-left-dd',function(){
|
||||||
var authority = $(this).attr("data-authority");
|
var authority = $(this).attr("data-authority");
|
||||||
X.DATA.authority = authority;
|
X.DATA.authority = authority;
|
||||||
if(authority == "rw"){
|
if(authority == "rw" && X.DATA['userinfo']['userid'] == $(this).attr("data-userid")){
|
||||||
$(".baobiao").show();
|
$(".baobiao").show();
|
||||||
}else{
|
}else{
|
||||||
$(".baobiao").hide();
|
$(".baobiao").hide();
|
||||||
@ -375,7 +375,7 @@
|
|||||||
shadeClose: true,
|
shadeClose: true,
|
||||||
skin: 'yourclass',
|
skin: 'yourclass',
|
||||||
url: 'search'
|
url: 'search'
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).off('click','.tab-right-box .shezhi').on("click",".tab-right-box .shezhi",function(){
|
$(document).off('click','.tab-right-box .shezhi').on("click",".tab-right-box .shezhi",function(){
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
$(document).off('click','.dropdownlist-list').on('click','.dropdownlist-list',function(){
|
$(document).off('click','.dropdownlist-list').on('click','.dropdownlist-list',function(){
|
||||||
var index = $(this).attr("data-index");
|
var index = $(this).attr("data-index");
|
||||||
var dataArr = listdata[index];
|
var dataArr = listdata[index];
|
||||||
me.callback && me.callback(dataArr);
|
|
||||||
layer.closeAll(0);
|
layer.closeAll(0);
|
||||||
|
me.callback && me.callback(dataArr);
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -36,4 +36,5 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
Loading…
Reference in New Issue
Block a user