|
@@ -21,7 +21,7 @@ TalentTypeChangeInfoDlg.initFileTable = function (){
|
|
|
queryData['type'] = $("#type").val();
|
|
|
queryData['project'] = CONFIG.project_levelchange;
|
|
|
$("#fileTable").bootstrapTable({
|
|
|
- url: Feng.ctxPath + "/api/talentInfo/findUnCommonFileType",
|
|
|
+ url: Feng.ctxPath + "/common/api/findCommonFileType",
|
|
|
method: 'POST',
|
|
|
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
|
|
|
search: false, // 是否显示表格搜索,此搜索是客户端搜索,不会进服务端
|
|
@@ -54,7 +54,7 @@ TalentTypeChangeInfoDlg.initFileTable = function (){
|
|
|
$("#fileTable").bootstrapTable('expandAllRows');
|
|
|
},
|
|
|
onExpandRow: function (index, row, $detail) {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/api/talentInfo/listTalentFile", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/common/api/listTalentCommonFile", function (data) {
|
|
|
if(data==null||data.length==0){
|
|
|
return;
|
|
|
}
|
|
@@ -86,7 +86,7 @@ TalentTypeChangeInfoDlg.initFileTable = function (){
|
|
|
});
|
|
|
var queryData = {};
|
|
|
queryData["mainId"] = $("#id").val();
|
|
|
- queryData["fileTypeId"] = row.id;
|
|
|
+ queryData["typeId"] = row.id;
|
|
|
ajax.set(queryData);
|
|
|
ajax.start();
|
|
|
}
|