/*
*添加画面处理函数
*/
ProjectmanagementFormatPanel.prototype.addProjectCommonPanel = function(container) {
var projectPanel = this;
var ui = this.editorUi;
var graph = ui.editor.graph;

var div = document.createElement('div');
div.className = "content";
let queryParams = {
page: 1,
limit: 100000,
prjId: "",
creator: "",
token: ""
}
$.ajax({
type: "GET",
url: "",
data: queryParams,
dataType: "json",
async: true, //false代表只有在等待ajax执行完毕后才执行
success: function(res) {
console.log(res);
let data = res.list;
if (data.length > 0) {
let a = "";
for (let item of data) {
a =
'<p><img style="margin-right: 10px;vertical-align:middle;" src="images/imgno.png" /><a style="background-color: lightgray;"><span style="vertical-align:middle;">' +
item.configName +
'</span></a><img style="margin-right: 10px;vertical-align:middle;" src="images/sanjiao.png" /><img style="margin-right: 10px;vertical-align:middle;" src="images/bi.png" /><img style="margin-right: 10px;vertical-align:middle;" src="images/chahao.png" /></p>';
$(".content").append(a);
}
}
},
error: function(e) {
console.log(e);
}
});
container.appendChild(div);
return div
};