調整 _graphManagement.html
This commit is contained in:
parent
59cefd5c9a
commit
525b79cd44
@ -128,7 +128,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary" id="accManSendBtn">儲存</button>
|
||||
<button type="button" class="btn btn-primary" id="accManSendBtn">儲存</button>
|
||||
<button type="button" class="btn btn-danger" id="close" data-dismiss="modal">取消</button>
|
||||
</div>
|
||||
</form>
|
||||
@ -183,7 +183,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary" id="accManSendBtn">儲存</button>
|
||||
<button type="submit" class="btn btn-primary" id="editManSendBtn">儲存</button>
|
||||
<button type="button" class="btn btn-danger" id="close" data-dismiss="modal">取消</button>
|
||||
</div>
|
||||
</form>
|
||||
@ -245,8 +245,9 @@
|
||||
onEvent('click', '#accManSendBtn', function () {
|
||||
|
||||
let url = baseApiUrl + "/GraphManage/SaveGraMan";
|
||||
|
||||
var myCode = (+new Date());
|
||||
let fd = new FormData();
|
||||
fd.append("code", myCode);
|
||||
fd.append("main_system_tag", $("#upSelMain").val());
|
||||
fd.append("sub_system_tag", $("#upSelSub").val());
|
||||
fd.append("name", $("#upPicName").val());
|
||||
@ -266,9 +267,8 @@
|
||||
beforeSend: function (xhr) { xhr.setRequestHeader('Authorization', "Bearer " + localStorage.getItem("JWT-Authorization")) },
|
||||
success: function (res) {
|
||||
if (!res || res.code != "0000" || !res.data) {
|
||||
|
||||
} else {
|
||||
console.log("ERROR: POST fd");
|
||||
// console.log("ERROR: ", res.data, res.code);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user