Commit cdea2221 by fengshuonan

修复查询树bug

parent b60c7b3e
...@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () { ...@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () { $('#pName').click(function () {
var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName"); var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName");
var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid"); var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree"); var treeUrl = encodeURIComponent("/dept/tree");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () { ...@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () { $('#pName').click(function () {
var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName"); var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName");
var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid"); var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree"); var treeUrl = encodeURIComponent("/dept/tree");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -45,7 +45,7 @@ layui.use(['form', 'ax'], function () { ...@@ -45,7 +45,7 @@ layui.use(['form', 'ax'], function () {
$('#parentName').click(function () { $('#parentName').click(function () {
var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName"); var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName");
var formId = encodeURIComponent("parent.DictInfoDlg.data.parentId"); var formId = encodeURIComponent("parent.DictInfoDlg.data.parentId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dict/ztree?dictTypeId=" + $("#dictTypeId").val()); var treeUrl = encodeURIComponent("/dict/ztree?dictTypeId=" + $("#dictTypeId").val());
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -48,7 +48,7 @@ layui.use(['form', 'ax'], function () { ...@@ -48,7 +48,7 @@ layui.use(['form', 'ax'], function () {
$('#parentName').click(function () { $('#parentName').click(function () {
var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName"); var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName");
var formId = encodeURIComponent("parent.DictInfoDlg.data.parentId"); var formId = encodeURIComponent("parent.DictInfoDlg.data.parentId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dict/ztree?dictTypeId=" + $("#dictTypeId").val() + "&dictId=" + $("#dictId").val()); var treeUrl = encodeURIComponent("/dict/ztree?dictTypeId=" + $("#dictTypeId").val() + "&dictId=" + $("#dictId").val());
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () { ...@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#pcodeName').click(function () { $('#pcodeName').click(function () {
var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName"); var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName");
var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid"); var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/menu/selectMenuTreeList"); var treeUrl = encodeURIComponent("/menu/selectMenuTreeList");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () { ...@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#pcodeName').click(function () { $('#pcodeName').click(function () {
var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName"); var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName");
var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid"); var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/menu/selectMenuTreeList"); var treeUrl = encodeURIComponent("/menu/selectMenuTreeList");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () { ...@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () { $('#pName').click(function () {
var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName"); var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName");
var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid"); var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/role/roleTreeList"); var treeUrl = encodeURIComponent("/role/roleTreeList");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () { ...@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () { $('#pName').click(function () {
var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName"); var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName");
var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid"); var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/role/roleTreeList"); var treeUrl = encodeURIComponent("/role/roleTreeList");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () { ...@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#deptName').click(function () { $('#deptName').click(function () {
var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName"); var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName");
var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId"); var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree"); var treeUrl = encodeURIComponent("/dept/tree");
layer.open({ layer.open({
type: 2, type: 2,
......
...@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () { ...@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#deptName').click(function () { $('#deptName').click(function () {
var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName"); var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName");
var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId"); var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree"); var treeUrl = encodeURIComponent("/dept/tree");
layer.open({ layer.open({
type: 2, type: 2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment