将所有出现的“中国联通智慧供应链平台”替换为“中远海运集团采购信息系统”。更新weboffice界面样式和接口地址;
This commit is contained in:
@ -6,7 +6,7 @@ function init(readonly, DocfileCode) {
|
||||
ntko.Menubar = false;//隐藏窗体左上侧文件菜单
|
||||
ntko.TitleBar = false;//隐藏窗体左上图标
|
||||
$.ajax({
|
||||
url: "/api/doc/v1.0/files/queryReturn",
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/queryReturn",
|
||||
type: "POST",
|
||||
contentType: "application/json;charset=UTF-8",
|
||||
data: JSON.stringify([DocfileCode]),
|
||||
@ -20,11 +20,11 @@ function init(readonly, DocfileCode) {
|
||||
if (result.success) {
|
||||
if (result.data.length > 0) {
|
||||
$.ajax({
|
||||
url: "/api/doc/api/data-service-document-center/outer/v1.0/files/getSecretKey?fileId=" + result.data[0].fileId,//获取密钥
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/getSecretKey?fileId=" + result.data[0].fileId,//获取密钥
|
||||
type: "GET",
|
||||
contentType: "application/json;charset=UTF-8",
|
||||
success: function (response) {
|
||||
ntko.BeginOpenFromURL("/api/doc/api/data-service-document-center/outer/v1.0/files/getDownload?fileId=" + result.data[0].fileId + "&documentSecretKey=" + response.data);
|
||||
ntko.BeginOpenFromURL("/api/sys-manager-ebtp-project/v1.0/files/getDownload?fileId=" + result.data[0].fileId + "&documentSecretKey=" + response.data);
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@ -51,12 +51,12 @@ function init(readonly, DocfileCode) {
|
||||
//通用上传
|
||||
function ntkoUpload(type, objectId, fileName) {
|
||||
if (objectId !== null && objectId !== void 0 && objectId !== "") {
|
||||
var path = "/api/doc/v1.0/files/upload";
|
||||
var path = "/api/sys-manager-ebtp-project/v1.0/files/upload";
|
||||
var fileUploadName = "multipartFiles";
|
||||
var params = "appCode=ebtp-cloud-frontend&objectId=" + objectId;
|
||||
var msg
|
||||
$.ajax({
|
||||
url: "/api/doc/v1.0/files/queryReturn",
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/queryReturn",
|
||||
type: "POST",
|
||||
async: false,
|
||||
contentType: "application/json;charset=UTF-8",
|
||||
@ -67,7 +67,7 @@ function ntkoUpload(type, objectId, fileName) {
|
||||
for (let i = 0; i < result.data.length; i++) {
|
||||
const ele = result.data[i];
|
||||
$.ajax({
|
||||
url: "/api/doc/v1.0/files/disk" + "?fileId=" + ele.fileId,
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/disk" + "?fileId=" + ele.fileId,
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
})
|
||||
@ -91,7 +91,7 @@ function ntkoUpdateFile(objectId, fileName) {
|
||||
if (objectId !== null && objectId !== void 0 && objectId !== "") {
|
||||
var msg;
|
||||
$.ajax({
|
||||
url: "/api/doc/v1.0/files/queryReturn",
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/queryReturn",
|
||||
type: "POST",
|
||||
async: false,
|
||||
contentType: "application/json;charset=UTF-8",
|
||||
@ -100,7 +100,7 @@ function ntkoUpdateFile(objectId, fileName) {
|
||||
if (result.success) {
|
||||
if (result.data.length > 0) {
|
||||
$.ajax({
|
||||
url: "/api/doc/v1.0/files/update",
|
||||
url: "/api/sys-manager-ebtp-project/v1.0/files/update",
|
||||
type: "POST",
|
||||
async: false,
|
||||
contentType: "application/json;charset=UTF-8",
|
||||
|
Reference in New Issue
Block a user