diff --git a/src/main.js b/src/main.js index 27b3929..253d885 100644 --- a/src/main.js +++ b/src/main.js @@ -129,7 +129,7 @@ Vue.prototype.getGuid = (text) => { return `${t4 + t3 + t2 + t1}-${t6 + t5}-${t8 + t7}-${t9}-${t10}` } ///50350000-3e2c-0016-eb4c-08db926b69d6/Image/84410000-3e10-0016-d156-08da242403fe/50350000-3e2c-0016-414e-08db926d9135/50350000-3e2c-0016-fd9d-08db926d9137/1.2.156.110002.21.2019.1.9.84822154.1/1.3.12.2.1107.5.1.4.73793.30000019010509500386600308609/1.3.12.2.1107.5.1.4.73793.30000019010509500386600308616/7fba7d7e-b3b3-d989-fa54-82e41f87a6ed -Vue.prototype.getGuid('1.2.156.110002.21.2019.1.9.84822154.11.3.12.2.1107.5.1.4.73793.300000190105095003866003086091.3.12.2.1107.5.1.4.73793.3000001901050950038660030861650350000-3e2c-0016-eb4c-08db926b69d6') +// Vue.prototype.getGuid('1.2.156.110002.21.2019.1.9.84822154.11.3.12.2.1107.5.1.4.73793.300000190105095003866003086091.3.12.2.1107.5.1.4.73793.3000001901050950038660030861650350000-3e2c-0016-eb4c-08db926b69d6') //7fba7d7e-b3b3-d989-fa54-82e41f87a6ed Vue.prototype.$validatePassword = (rule, value, callback) => { var lang = zzSessionStorage.getItem('lang') ? zzSessionStorage.getItem('lang') : 'zh' diff --git a/src/utils/request.js b/src/utils/request.js index af78fca..3c48c3f 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -60,7 +60,7 @@ service.interceptors.response.use( type: 'warning', showCancelButton: false, callback: action => { - if(res.Code === 6) { + if (res.Code === 6) { window.close() } } @@ -75,7 +75,7 @@ service.interceptors.response.use( var message = '' if (error && error.response) { const status = error.response.status - if (error.response.data && error.response.data.Code === -1) { + if (error.response.data && (error.response.data.Code === -1 || error.response.data.Code === -2)) { store.dispatch('user/logout').then(() => { router.push(`/login`) this.$i18n.locale = 'zh' diff --git a/src/views/system/dicomAE/index.vue b/src/views/system/dicomAE/index.vue index 8db9554..290993f 100644 --- a/src/views/system/dicomAE/index.vue +++ b/src/views/system/dicomAE/index.vue @@ -224,7 +224,7 @@ const defaultSearchData = () => { Port: null, PacsTypeEnum: null, PageIndex: 1, - PageSize: 10, + PageSize: 20, SortField: 'CreateTime', Asc: false, } diff --git a/src/views/trials/trials-inspection/index.vue b/src/views/trials/trials-inspection/index.vue index 1a78298..d33e0b1 100644 --- a/src/views/trials/trials-inspection/index.vue +++ b/src/views/trials/trials-inspection/index.vue @@ -349,7 +349,7 @@ const defaultSearchData = () => { EndPushTime: null, SortField: 'LatestPushTime', PageIndex: 1, - PageSize: 10, + PageSize: 20, } } export default { diff --git a/src/views/trials/trials-panel/setting/medical-audit/index.vue b/src/views/trials/trials-panel/setting/medical-audit/index.vue index 353c790..a1474c5 100644 --- a/src/views/trials/trials-panel/setting/medical-audit/index.vue +++ b/src/views/trials/trials-panel/setting/medical-audit/index.vue @@ -355,7 +355,7 @@ const searchDataDefault = () => { Type: '', IsEnable: null, PageIndex: 1, - PageSize: 10 + PageSize: 20 } } export default { diff --git a/src/views/trials/trials-panel/subject/subject-list/components/patient-list.vue b/src/views/trials/trials-panel/subject/subject-list/components/patient-list.vue index 39c2c4a..d70e304 100644 --- a/src/views/trials/trials-panel/subject/subject-list/components/patient-list.vue +++ b/src/views/trials/trials-panel/subject/subject-list/components/patient-list.vue @@ -199,7 +199,7 @@ const defaultSearchData = () => { Asc: false, SortField: "LatestPushTime", PageIndex: 1, - PageSize: 10, + PageSize: 20, }; }; export default {