Commit cdea2221 by fengshuonan

修复查询树bug

parent b60c7b3e
......@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () {
var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName");
var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree");
var treeUrl = encodeURIComponent("/dept/tree");
layer.open({
type: 2,
......
......@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () {
var formName = encodeURIComponent("parent.DeptInfoDlg.data.pName");
var formId = encodeURIComponent("parent.DeptInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree");
var treeUrl = encodeURIComponent("/dept/tree");
layer.open({
type: 2,
......
......@@ -45,7 +45,7 @@ layui.use(['form', 'ax'], function () {
$('#parentName').click(function () {
var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName");
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({
type: 2,
......
......@@ -48,7 +48,7 @@ layui.use(['form', 'ax'], function () {
$('#parentName').click(function () {
var formName = encodeURIComponent("parent.DictInfoDlg.data.parentName");
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({
type: 2,
......
......@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#pcodeName').click(function () {
var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName");
var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/menu/selectMenuTreeList");
var treeUrl = encodeURIComponent("/menu/selectMenuTreeList");
layer.open({
type: 2,
......
......@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#pcodeName').click(function () {
var formName = encodeURIComponent("parent.MenuInfoDlg.data.pcodeName");
var formId = encodeURIComponent("parent.MenuInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/menu/selectMenuTreeList");
var treeUrl = encodeURIComponent("/menu/selectMenuTreeList");
layer.open({
type: 2,
......
......@@ -22,7 +22,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () {
var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName");
var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/role/roleTreeList");
var treeUrl = encodeURIComponent("/role/roleTreeList");
layer.open({
type: 2,
......
......@@ -27,7 +27,7 @@ layui.use(['layer', 'form', 'admin', 'ax'], function () {
$('#pName').click(function () {
var formName = encodeURIComponent("parent.RoleInfoDlg.data.pName");
var formId = encodeURIComponent("parent.RoleInfoDlg.data.pid");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/role/roleTreeList");
var treeUrl = encodeURIComponent("/role/roleTreeList");
layer.open({
type: 2,
......
......@@ -23,7 +23,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#deptName').click(function () {
var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName");
var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree");
var treeUrl = encodeURIComponent("/dept/tree");
layer.open({
type: 2,
......
......@@ -28,7 +28,7 @@ layui.use(['layer', 'form', 'admin', 'laydate', 'ax'], function () {
$('#deptName').click(function () {
var formName = encodeURIComponent("parent.UserInfoDlg.data.deptName");
var formId = encodeURIComponent("parent.UserInfoDlg.data.deptId");
var treeUrl = encodeURIComponent(Feng.ctxPath + "/dept/tree");
var treeUrl = encodeURIComponent("/dept/tree");
layer.open({
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