diff --git a/PC/InterFace.Dash/public/config.js b/PC/InterFace.Dash/public/config.js index 4e25ab5..d026a2e 100644 --- a/PC/InterFace.Dash/public/config.js +++ b/PC/InterFace.Dash/public/config.js @@ -1,6 +1,7 @@ // dev_win window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:60068' window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-configuration' +window.SITE_CONFIG['columnsApiNamesZh'] = 'Z' window.SITE_CONFIG['isAutoLogin'] = true window.SITE_CONFIG['isSinglePage'] = false window.SITE_CONFIG['userNameOrEmailAddress'] = 'admin' diff --git a/PC/InterFace.Dash/src/App.vue b/PC/InterFace.Dash/src/App.vue index 99de5f8..b84602c 100644 --- a/PC/InterFace.Dash/src/App.vue +++ b/PC/InterFace.Dash/src/App.vue @@ -10,6 +10,7 @@ export default { } localStorage.setItem('base',window.SITE_CONFIG['base']) localStorage.setItem('columnsApiNames',window.SITE_CONFIG['columnsApiNames']) +localStorage.setItem('columnsApiNamesZh',window.SITE_CONFIG['columnsApiNamesZh']) localStorage.setItem('isAutoLogin',window.SITE_CONFIG['isAutoLogin']) localStorage.setItem('isSinglePage',window.SITE_CONFIG['isSinglePage']) localStorage.setItem('userNameOrEmailAddress',window.SITE_CONFIG['userNameOrEmailAddress']) diff --git a/PC/InterFace.Dash/src/api/wms-api.js b/PC/InterFace.Dash/src/api/wms-api.js index 27e2da8..4cd4c8c 100644 --- a/PC/InterFace.Dash/src/api/wms-api.js +++ b/PC/InterFace.Dash/src/api/wms-api.js @@ -23,9 +23,11 @@ export function postCreate(data, url) { //编辑 export function postUpdate(data, id, url) { return request({ - url: baseURL + url + '/' + id, + // url: baseURL + url + '/' + id, + url: baseURL + url, method: 'put', - data + data, + params:{id:id} }) } //申请流程 @@ -47,8 +49,10 @@ export function postDetailUpdate(data, id, UrlData, url) { //删除 export function postDelete(id, url) { return request({ - url: baseURL + url + '/' + id, + // url: baseURL + url + '/' + id, + url: baseURL + url, method: 'delete', + params:{id:id} }) } //子表删除 diff --git a/PC/InterFace.Dash/src/components/umyTable/index.vue b/PC/InterFace.Dash/src/components/umyTable/index.vue index 22a3612..8e0fff9 100644 --- a/PC/InterFace.Dash/src/components/umyTable/index.vue +++ b/PC/InterFace.Dash/src/components/umyTable/index.vue @@ -368,7 +368,8 @@ label="值" >