提交 872372b6 编写于 作者: Skyeye云's avatar Skyeye云

【小程序设计器】小程序设计器模块拆分

上级 0a6b474e
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "rmTypeId",
url: reqBasePath + "common001",
url: sysMainMation.rmprogramBasePath + "common001",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -34,7 +34,7 @@ layui.config({
icon: $("#rmGroupIcon").val(),
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx009", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx009", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......@@ -57,5 +57,4 @@ layui.config({
});
});
});
\ No newline at end of file
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmxcx011",
url: sysMainMation.rmprogramBasePath + "rmxcx011",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmgroup/rmgroupeditTemplate.tpl'),
......@@ -22,7 +22,7 @@ layui.config({
ajaxSendAfter:function (json) {
showGrid({
id: "rmTypeId",
url: reqBasePath + "common001",
url: sysMainMation.rmprogramBasePath + "common001",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -45,7 +45,7 @@ layui.config({
icon: $("#rmGroupIcon").val(),
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx012", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx012", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -15,7 +15,7 @@ layui.config({
showGrid({
id: "rmTypeId",
url: reqBasePath + "common001",
url: sysMainMation.rmprogramBasePath + "common001",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -39,9 +39,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmxcx008',
where:{rmGroupName:$("#rmGroupName").val(), rmTypeId:$("#rmTypeId").val()},
even:true,
url: sysMainMation.rmprogramBasePath + 'rmxcx008',
where: {rmGroupName:$("#rmGroupName").val(), rmTypeId:$("#rmTypeId").val()},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
limit: 8,
......@@ -81,7 +81,7 @@ layui.config({
var msg = obj ? '确认删除分组【' + obj.data.rmGroupName + '】吗?' : '确认删除选中数据吗?';
layer.confirm(msg, { icon: 3, title: '删除分组' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmxcx010", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx010", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -90,7 +90,7 @@ layui.config({
//上移
function topOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx013", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx013", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -98,7 +98,7 @@ layui.config({
//下移
function lowerOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx014", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx014", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -14,7 +14,7 @@ layui.config({
// 加载标签属性
showGrid({
id: "propertyList",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/checkbox-property.tpl'),
......@@ -25,7 +25,7 @@ layui.config({
var params = {
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx039", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx039", params: params, type: 'json', callback: function (json) {
if(json.total != 0){
for(var i in json.rows){
$('input:checkbox[rowId="' + json.rows[i].propertyId + '"]').attr("checked", true);
......@@ -51,7 +51,7 @@ layui.config({
rowId: parent.rowId,
propertyIds: propertyIds
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx038", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx038", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -96,7 +96,7 @@ layui.config({
showGrid({
id: "rmTypeId",
url: reqBasePath + "common001",
url: sysMainMation.rmprogramBasePath + "common001",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -145,7 +145,7 @@ layui.config({
img: json1.bean.picUrl
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx016", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx016", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -14,7 +14,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmxcx020",
url: sysMainMation.rmprogramBasePath + "rmxcx020",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmgroupmember/rmgroupmembereditTemplate.tpl'),
......@@ -123,7 +123,7 @@ layui.config({
params.img = $("#printsPicUrl").find("input[type='hidden'][name='upload']").attr("oldurl");
AjaxPostUtil.request({url: reqBasePath + "rmxcx021", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx021", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -30,7 +30,7 @@ layui.config({
showGrid({
id: "rmTypeId",
url: reqBasePath + "common001",
url: sysMainMation.rmprogramBasePath + "common001",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -65,7 +65,7 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmxcx015',
url: sysMainMation.rmprogramBasePath + 'rmxcx015',
where: getTableParams(),
even:true,
page: true,
......@@ -228,7 +228,7 @@ layui.config({
function del(data, obj){
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index){
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmxcx019", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx019", params:{rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -237,7 +237,7 @@ layui.config({
// 上移
function topOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx017", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx017", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -245,7 +245,7 @@ layui.config({
// 下移
function lowerOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx018", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx018", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -20,7 +20,7 @@ layui.config({
proDesc: $("#proDesc").val()
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx023", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx023", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmxcx025",
url: sysMainMation.rmprogramBasePath + "rmxcx025",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmmysmpro/mysmproeditTemplate.tpl'),
......@@ -30,7 +30,7 @@ layui.config({
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx026", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx026", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,9 +18,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmxcx022',
where:{proName: $("#proName").val()},
even:true,
url: sysMainMation.rmprogramBasePath + 'rmxcx022',
where: {proName: $("#proName").val()},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
limit: 8,
......@@ -63,7 +63,7 @@ layui.config({
var msg = obj ? '确认删除项目【' + obj.data.proName + '】吗?' : '确认删除选中数据吗?';
layer.confirm(msg, { icon: 3, title: '删除项目' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmxcx024", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx024", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -21,7 +21,7 @@ layui.config({
rowId: parent.proId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx030", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx030", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmxcx033",
url: sysMainMation.rmprogramBasePath + "rmxcx033",
params: {rowId: parent.pageId},
pagination: false,
template: getFileContent('tpl/rmmysmpropage/projectpageeditTemplate.tpl'),
......@@ -29,7 +29,7 @@ layui.config({
fileName: $("#fileName").val(),
rowId: parent.pageId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx034", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx034", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -24,7 +24,7 @@ layui.config({
//初始化加载该项目的所有页面
showGrid({
id: "pageList",
url: reqBasePath + "rmxcx029",
url: sysMainMation.rmprogramBasePath + "rmxcx029",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmmysmpropage/pageTemplate.tpl'),
......@@ -42,7 +42,7 @@ layui.config({
$("#pageList>li:eq(" + index + ")").addClass("check-item-shoose");
editPageModelSelectId = row.id;
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
});
......@@ -51,7 +51,7 @@ layui.config({
$("#pageList>li:eq(" + index + ")").addClass("check-item-shoose");
editPageModelSelectId = row.id;
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
}
......@@ -70,7 +70,7 @@ layui.config({
//重置中间模块
editPageModelSelectId = "";
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
}});
......@@ -80,12 +80,12 @@ layui.config({
proId: proId,
rowId: row.id
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx031", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx031", params: params, type: 'json', callback: function (json) {
refreshGrid("pageList", {params:{rowId: proId}});
//重置中间模块
editPageModelSelectId = "";
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
}});
......@@ -95,12 +95,12 @@ layui.config({
proId: proId,
rowId: row.id
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx032", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx032", params: params, type: 'json', callback: function (json) {
refreshGrid("pageList", {params:{rowId: proId}});
//重置中间模块
editPageModelSelectId = "";
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
}});
......@@ -113,13 +113,13 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '删除小程序页面' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmxcx035", params:{rowId: row.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx035", params: {rowId: row.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
refreshGrid("pageList", {params:{rowId: proId}});
//重置中间模块
editPageModelSelectId = "";
editPageModelSelectChange = false;
AjaxPostUtil.request({url: reqBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx036", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
showDataUseHandlebars("centerText", getFileContent('tpl/rmmysmpropage/pagemodelTemplate.tpl'), json);
}});
}});
......@@ -131,7 +131,7 @@ layui.config({
//初始化加载小程序组件分组
showGrid({
id: "groupMember",
url: reqBasePath + "rmxcx027",
url: sysMainMation.rmprogramBasePath + "rmxcx027",
params: {},
pagination: false,
template: getFileContent('tpl/rmmysmpropage/groupTemplate.tpl'),
......@@ -179,7 +179,7 @@ layui.config({
var title = $(this).data('name');
showGrid({
id: "memberList",
url: reqBasePath + "rmxcx028",
url: sysMainMation.rmprogramBasePath + "rmxcx028",
params: {rowId: id},
pagination: false,
template: getFileContent('tpl/rmmysmpropage/groupMemberTemplate.tpl'),
......@@ -279,7 +279,7 @@ layui.config({
$(this).parent().find(".check-item-operation").show();//显示当前选中的组件的操作
var memberId = $(this).parent().attr("rowId");
//获取组件的标签属性
AjaxPostUtil.request({url: reqBasePath + "rmxcx040", params:{rowId: memberId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx040", params: {rowId: memberId}, type: 'json', callback: function (json) {
if(json.total != 0){
var str = "";
var jsRelyOn = "";
......@@ -363,7 +363,7 @@ layui.config({
};
list.push(s);
});
AjaxPostUtil.request({url: reqBasePath + "rmxcx037", params:{jsonData: JSON.stringify(list), pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx037", params: {jsonData: JSON.stringify(list), pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
winui.window.msg("保存成功", {icon: 1, time: 2000});
}});
} else {
......@@ -374,7 +374,7 @@ layui.config({
//导出选中页为H5
$('body').on('click', '#exportChoosePageToH5', function() {
if(!isNull(editPageModelSelectId)){//要编辑的模板页面id不为空
AjaxPostUtil.request({url: reqBasePath + "rmxcx041", params:{pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx041", params: {pageId: editPageModelSelectId}, type: 'json', callback: function (json) {
winui.window.msg("导出成功", {icon: 1, time: 2000});
const link = document.createElement('a');
link.style.display = 'none';
......
......@@ -160,7 +160,7 @@ layui.config({
params.displayTemplateId = "";
}
AjaxPostUtil.request({url: reqBasePath + "rmproperty002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmproperty002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmproperty004",
url: sysMainMation.rmprogramBasePath + "rmproperty004",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmproperty/rmpropertyeditTemplate.tpl'),
......@@ -190,7 +190,7 @@ layui.config({
params.displayTemplateId = "";
}
AjaxPostUtil.request({url: reqBasePath + "rmproperty005", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmproperty005", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -20,9 +20,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmproperty001',
where:{title: $("#title").val(), propertyTag: $("#propertyTag").val(), dsFormContentId: $("#dsFormContentId").val()},
even:true,
url: sysMainMation.rmprogramBasePath + 'rmproperty001',
where: {title: $("#title").val(), propertyTag: $("#propertyTag").val(), dsFormContentId: $("#dsFormContentId").val()},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
limit: 8,
......@@ -161,7 +161,7 @@ layui.config({
layer.confirm(msg, { icon: 3, title: '删除样式属性' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmproperty003", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmproperty003", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -16,7 +16,7 @@ layui.config({
// 属性标签
showGrid({
id: "propertyId",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -35,7 +35,7 @@ layui.config({
propertyId: $("#propertyId").val()
};
AjaxPostUtil.request({url: reqBasePath + "rmpropertyvalue002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmpropertyvalue002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -12,7 +12,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmpropertyvalue004",
url: sysMainMation.rmprogramBasePath + "rmpropertyvalue004",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmpropertyvalue/rmpropertyvalueeditTemplate.tpl'),
......@@ -25,7 +25,7 @@ layui.config({
//属性标签
showGrid({
id: "propertyId",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -47,7 +47,7 @@ layui.config({
rowId:parent.rowId,
};
AjaxPostUtil.request({url: reqBasePath + "rmpropertyvalue005", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmpropertyvalue005", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -18,9 +18,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmpropertyvalue001',
where:{title: $("#title").val(), propertyValue: $("#propertyValue").val(), propertyId: $("#propertyId").val()},
even:true,
url: sysMainMation.rmprogramBasePath + 'rmpropertyvalue001',
where: {title: $("#title").val(), propertyValue: $("#propertyValue").val(), propertyId: $("#propertyId").val()},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
limit: 8,
......@@ -50,7 +50,7 @@ layui.config({
//属性标签
showGrid({
id: "propertyId",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -75,7 +75,7 @@ layui.config({
var msg = obj ? '确认删除标签属性值【' + obj.data.title + '】吗?' : '确认删除选中数据吗?';
layer.confirm(msg, { icon: 3, title: '删除标签属性值' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmpropertyvalue003", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmpropertyvalue003", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -18,7 +18,7 @@ layui.config({
var params = {
rmTypeName: $("#rmTypeName").val(),
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx002", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -13,7 +13,7 @@ layui.config({
showGrid({
id: "showForm",
url: reqBasePath + "rmxcx004",
url: sysMainMation.rmprogramBasePath + "rmxcx004",
params: {rowId: parent.rowId},
pagination: false,
template: getFileContent('tpl/rmtype/rmtypeeditTemplate.tpl'),
......@@ -28,7 +28,7 @@ layui.config({
rmTypeName: $("#rmTypeName").val(),
rowId: parent.rowId
};
AjaxPostUtil.request({url: reqBasePath + "rmxcx005", params: params, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx005", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
......
......@@ -17,9 +17,9 @@ layui.config({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: reqBasePath + 'rmxcx001',
where:{rmTypeName:$("#rmTypeName").val()},
even:true,
url: sysMainMation.rmprogramBasePath + 'rmxcx001',
where: {rmTypeName:$("#rmTypeName").val()},
even: true,
page: true,
limits: [8, 16, 24, 32, 40, 48, 56],
limit: 8,
......@@ -62,7 +62,7 @@ layui.config({
var msg = obj ? '确认删除分类【' + obj.data.rmTypeName + '】吗?' : '确认删除选中数据吗?';
layer.confirm(msg, { icon: 3, title: '删除分类' }, function (index) {
layer.close(index);
AjaxPostUtil.request({url: reqBasePath + "rmxcx003", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx003", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -71,7 +71,7 @@ layui.config({
//上移
function topOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx006", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx006", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......@@ -79,7 +79,7 @@ layui.config({
//下移
function lowerOne(data){
AjaxPostUtil.request({url: reqBasePath + "rmxcx007", params:{rowId: data.id}, type: 'json', callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.rmprogramBasePath + "rmxcx007", params: {rowId: data.id}, type: 'json', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
......
......@@ -15,7 +15,7 @@ showGrid({
//下拉框模板 属性标签
showGrid({
id: "propertyId",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/select-option.tpl'),
......@@ -29,7 +29,7 @@ showGrid({
//多选框模板 属性标签
showGrid({
id: "limitRequire",
url: reqBasePath + "rmproperty006",
url: sysMainMation.rmprogramBasePath + "rmproperty006",
params: {},
pagination: false,
template: getFileContent('tpl/template/checkbox-property.tpl'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册