From 115dae48c767d356e5f9877ec8aa4b81a2b87029 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 6 May 2024 14:27:30 +0800 Subject: [PATCH 001/173] 1 --- .env.usa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.usa b/.env.usa index b1d35930..a510c10c 100644 --- a/.env.usa +++ b/.env.usa @@ -2,7 +2,7 @@ ENV = 'production' NODE_ENV = 'production' # base public path -VUE_APP_BASE_PATH = 'https://ei-code-prod.s3.amazonaws.com/2024-04-29/' +VUE_APP_BASE_PATH = 'https://ei-code-prod.s3.amazonaws.com/2024-04-30/' # 是否开启登陆限制 true:是 false:否 VUE_APP_LOGIN_FOR_PERMISSION = false From 16a5f4866d16f25fb9859883917fd9caf2d893d0 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Mon, 6 May 2024 14:29:37 +0800 Subject: [PATCH 002/173] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Fusion/js/initCornerstoneDICOMImageLoader.js | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/js/initCornerstoneDICOMImageLoader.js b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/js/initCornerstoneDICOMImageLoader.js index 4af21a97..69f3f464 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/js/initCornerstoneDICOMImageLoader.js +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/js/initCornerstoneDICOMImageLoader.js @@ -7,7 +7,7 @@ cornerstone.init({ gpuTier: intel, rendering: { // useCPURendering: false, - useNorm16Texture: true + useNorm16Texture: false } }) cornerstone.Settings.getRuntimeSettings().set('useCursors', false) diff --git a/vue.config.js b/vue.config.js index c25c05cb..f01862eb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -64,7 +64,7 @@ module.exports = { // target: 'http://123.56.94.154:8079', // 国内测试环境2 // target: 'http://123.56.94.154:7000', // 国内测试环境2 // target: 'http://123.56.94.154:30668', - target: 'http://123.56.94.154:30000', + target: 'http://106.14.89.110:30000', // target: 'http://123.56.181.144:7000', changeOrigin: true, secure: false, From e868d50893da5003839ffde83368a2c20f1b06ec Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 6 May 2024 15:43:58 +0800 Subject: [PATCH 003/173] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 2 +- src/store/modules/user.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/permission.js b/src/permission.js index c1d1f2d5..db67208e 100644 --- a/src/permission.js +++ b/src/permission.js @@ -34,7 +34,7 @@ router.beforeEach(async(to, from, next) => { NProgress.done() } else { OSSclient() - const hasGetUserInfo = store.getters.name + const hasGetUserInfo = store.getters.userId if (hasGetUserInfo) { next() } else { diff --git a/src/store/modules/user.js b/src/store/modules/user.js index cb033368..4055495a 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -107,6 +107,7 @@ const actions = { zzSessionStorage.setItem('userName', data.BasicInfo.UserName) commit('SET_TOKEN', data.JWTStr) commit('SET_NAME', data.BasicInfo.RealName) + zzSessionStorage.setItem('realName', data.BasicInfo.RealName) zzSessionStorage.setItem('isTestUser', data.BasicInfo.IsTestUser) commit('SET_ISTESTUSER', data.BasicInfo.IsTestUser) commit('SET_USERNAME', data.BasicInfo.UserName) @@ -161,7 +162,7 @@ const actions = { commit('SET_PERMISSIONS', JSON.parse(zzSessionStorage.getItem('permissions'))) commit('SET_ISTESTUSER', zzSessionStorage.getItem('isTestUser')) const user = JSON.parse(userString) - commit('SET_NAME', user.realName) + commit('SET_NAME', zzSessionStorage.getItem('realName')) commit('SET_USERID', user.id) commit('SET_USERNAME', zzSessionStorage.getItem('userName')) commit('SET_NEED_SIGN_SYSTEM_DOC_COUNT', parseInt(zzSessionStorage.getItem('TotalNeedSignSystemDocCount'))) From 75f8018fc8ae0d8a9c317579fbcc58207ed09d32 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 6 May 2024 15:57:58 +0800 Subject: [PATCH 004/173] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=89=93=E5=8C=85=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- irc_vue_drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irc_vue_drone.yml b/irc_vue_drone.yml index 6dbcef8e..e62410c1 100644 --- a/irc_vue_drone.yml +++ b/irc_vue_drone.yml @@ -10,7 +10,7 @@ clone: disable: true #禁用默认克隆 server: - host: 192.168.3.68 + host: 106.14.89.110 user: root password: from_secret: local_pwd @@ -19,7 +19,7 @@ steps: - name: publish-test-irc-vue commands: - echo start publish test-irc-vue - - cd /opt/hang/vue/test-irc + - cd /opt/1panel/hang/vue/test-irc - sh test-irc.sh v${DRONE_BUILD_NUMBER} trigger: @@ -41,7 +41,7 @@ clone: disable: true #禁用默认克隆 server: - host: 123.56.94.154 + host: 106.14.89.110 user: root password: from_secret: local_pwd From 5cc38ada717a8929f2e1eefd2c69c49b7f5695e9 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 9 May 2024 10:13:26 +0800 Subject: [PATCH 005/173] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dicom/DicomViewer.vue | 4 +-- .../trials-panel/reading/dicoms/index.vue | 26 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/Dicom/DicomViewer.vue b/src/components/Dicom/DicomViewer.vue index dc396c66..8a7e83e2 100644 --- a/src/components/Dicom/DicomViewer.vue +++ b/src/components/Dicom/DicomViewer.vue @@ -393,7 +393,7 @@ export default { this.customWwc = { visible: false, title: this.$t('DicomViewer:data:customWwc') } this.rotateList[0] = '1' this.colorList[0] = '' - this.wwwcList[0] = '1' + this.wwwcList[0] = '-1' this.colormapsList = cornerstone.colors.getColormapsList() this.currentDicomCanvas = this.$refs['dicomCanvas0'] }, @@ -444,7 +444,7 @@ export default { this.colorList[this.currentDicomCanvasIndex] = '' } if (!this.wwwcList[this.currentDicomCanvasIndex]) { - this.wwwcList[this.currentDicomCanvasIndex] = '1' + this.wwwcList[this.currentDicomCanvasIndex] = '-1' } } }, diff --git a/src/views/trials/trials-panel/reading/dicoms/index.vue b/src/views/trials/trials-panel/reading/dicoms/index.vue index 32c6a026..9add7fb0 100644 --- a/src/views/trials/trials-panel/reading/dicoms/index.vue +++ b/src/views/trials/trials-panel/reading/dicoms/index.vue @@ -301,19 +301,19 @@ export default { this.isShow = false this.visitTaskId = res.Result.VisitTaskId // DicomEvent.$emit('getCustomTableQuestionAnswer', res.Result.VisitTaskId) - if (this.subjectId !== res.Result.SubjectId) { - store.dispatch('reading/resetVisitTasks') - var token = getToken() - window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}&isNewSubject=1` - return - } else if (!this.isReadingTaskViewInOrder || res.Result.ReadingCategory !== 1) { - store.dispatch('reading/resetVisitTasks') - if (this.firstTaskReadingCategory) { - const token = getToken() - window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}` - return - } - } + // if (this.subjectId !== res.Result.SubjectId) { + // store.dispatch('reading/resetVisitTasks') + // var token = getToken() + // window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}&isNewSubject=1` + // return + // } else if (!this.isReadingTaskViewInOrder || res.Result.ReadingCategory !== 1) { + // store.dispatch('reading/resetVisitTasks') + // if (this.firstTaskReadingCategory) { + // const token = getToken() + // window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}` + // return + // } + // } this.subjectId = res.Result.SubjectId this.subjectCode = res.Result.SubjectCode this.taskBlindName = res.Result.TaskBlindName From bd1ee8a520006bba351b5377f6423dc085ae3bbf Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 9 May 2024 11:27:30 +0800 Subject: [PATCH 006/173] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- src/views/trials/trials-myinfo/account.vue | 247 +++++++++ src/views/trials/trials-myinfo/index.vue | 505 ++++++------------ src/views/trials/trials-myinfo/mine.vue | 198 +++++++ src/views/trials/trials-myinfo/password.vue | 160 ++++++ .../trial-summary/login-log/index.vue | 177 +++--- src/views/user/editInfo.vue | 266 +-------- 7 files changed, 867 insertions(+), 688 deletions(-) create mode 100644 src/views/trials/trials-myinfo/account.vue create mode 100644 src/views/trials/trials-myinfo/mine.vue create mode 100644 src/views/trials/trials-myinfo/password.vue diff --git a/src/router/index.js b/src/router/index.js index 34f8e9ae..79497526 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -262,7 +262,7 @@ export const constantRoutes = [ children: [{ path: 'baiscInfo', name: 'BaiscInfo', - component: () => import('@/views/user/myInfo') + component: () => import('@/views/user/editInfo') } ] } diff --git a/src/views/trials/trials-myinfo/account.vue b/src/views/trials/trials-myinfo/account.vue new file mode 100644 index 00000000..0c4fe747 --- /dev/null +++ b/src/views/trials/trials-myinfo/account.vue @@ -0,0 +1,247 @@ + + \ No newline at end of file diff --git a/src/views/trials/trials-myinfo/index.vue b/src/views/trials/trials-myinfo/index.vue index 0933ba69..f95be96c 100644 --- a/src/views/trials/trials-myinfo/index.vue +++ b/src/views/trials/trials-myinfo/index.vue @@ -1,390 +1,187 @@ - diff --git a/src/views/trials/trials-myinfo/mine.vue b/src/views/trials/trials-myinfo/mine.vue new file mode 100644 index 00000000..5ad63bc1 --- /dev/null +++ b/src/views/trials/trials-myinfo/mine.vue @@ -0,0 +1,198 @@ + + \ No newline at end of file diff --git a/src/views/trials/trials-myinfo/password.vue b/src/views/trials/trials-myinfo/password.vue new file mode 100644 index 00000000..4734c4da --- /dev/null +++ b/src/views/trials/trials-myinfo/password.vue @@ -0,0 +1,160 @@ + + \ No newline at end of file diff --git a/src/views/trials/trials-panel/trial-summary/login-log/index.vue b/src/views/trials/trials-panel/trial-summary/login-log/index.vue index 52c5ac1a..23e2bfdf 100644 --- a/src/views/trials/trials-panel/trial-summary/login-log/index.vue +++ b/src/views/trials/trials-panel/trial-summary/login-log/index.vue @@ -1,12 +1,16 @@ - + --> + + + + - + /> --> - + /> --> - + /> --> - + /> --> @@ -112,31 +112,31 @@ prop="NeedConfirmedUserTypes" :label="$t('trials:attachment:table:userType')" show-overflow-tooltip - width="160" + min-width="100" > - + /> --> - {{ $fd('EmailUrgent',scope.row.EmailUrgentEnum) }} - + --> @@ -161,7 +161,7 @@ - {{ $fd('YesOrNo', scope.row.IsReturnRequired) }} - + --> - {{ $fd('YesOrNo', scope.row.IsAutoSend) }} - + --> --> - + @@ -241,21 +242,6 @@ min-width="150" sortable="custom" /> - - - - + + + + - - - - - - {{ $fd('YesOrNo', scope.row.IsOverTime) }} + + {{ $fd('YesOrNo', scope.row.IsClosed) }} - - - + + + + + + diff --git a/src/views/trials/trials-panel/visit/qc-question/index.vue b/src/views/trials/trials-panel/visit/qc-question/index.vue index 9c65cd77..93d81d29 100644 --- a/src/views/trials/trials-panel/visit/qc-question/index.vue +++ b/src/views/trials/trials-panel/visit/qc-question/index.vue @@ -124,7 +124,7 @@ prop="TrialSiteCode" :label="$t('trials:qcQuality:table:siteId')" show-overflow-tooltip - min-width="100" + width="100" sortable="custom" /> @@ -132,7 +132,7 @@ prop="SubjectCode" :label="$t('trials:qcQuality:table:subjectId')" show-overflow-tooltip - min-width="120" + width="120" sortable="custom" /> @@ -140,14 +140,14 @@ prop="VisitName" :label="$t('trials:qcQuality:table:visitName')" show-overflow-tooltip - width="130" + width="120" sortable="custom" /> diff --git a/src/views/trials/trials-panel/reading/reading-tracking/index.vue b/src/views/trials/trials-panel/reading/reading-tracking/index.vue index 5c24fdd2..02862cd7 100644 --- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue +++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue @@ -3,6 +3,18 @@ - + - - - - - + + + + + + + {{ $fd('ReadingCategory', scope.row.ReadingCategory) }} + + + + {{ $fd('ArmEnum', scope.row.ArmEnum) }} - - - - - + + + + + - + + + + + + + + + + + + + + + @@ -889,11 +931,13 @@ import { getTrialSiteSelect,setTaskUrgent } from '@/api/trials' import { getTrialCriterionList, PMSetTaskBack, getInfluencedTaskList, getReReadingOrBackInfluenceTaskList, getReadingTaskList, configTrialReadingTaskViewRule, getDoctorUserSelectList, applyReReading } from '@/api/trials/reading' import { getToken } from '@/utils/auth' +import { changeURLStatic } from '@/utils/history.js' import BaseContainer from '@/components/BaseContainer' import Pagination from '@/components/Pagination' import RefereeRules from './components/RefereeRules.vue' import exportList from './components/exportList.vue' -import ClinicalData from "../../subject/reading-period/components/ClinicalData"; +import ClinicalData from "../../subject/reading-period/components/ClinicalData" +import RecordList from './components/RecordList.vue' const searchDataDefault = () => { return { PageIndex: 1, @@ -915,12 +959,15 @@ const searchDataDefault = () => { ReadingTaskState: null, CompleteClinicalDataEnum: null, BeginSignTime: null, - EndSignTime: null + EndSignTime: null, + IsEffect: true, + TrialReadingCriterionId: null + // ArmEnum: null } } export default { name: 'TrialsNotice', - components: { BaseContainer, Pagination, RefereeRules, ClinicalData, exportList }, + components: { BaseContainer, Pagination, RefereeRules, ClinicalData, exportList, RecordList }, props: { AllocationReadingCategory: { type: String @@ -989,14 +1036,25 @@ export default { TrialReadingCriterionId: null, urgentVisible: false, urgentForm: { VisitTaskId: '', IsUrgent: null,TaskUrgentType:null,TaskUrgentRemake:null }, - dialogLoading:false, - openWindow:null + dialogLoading: false, + openWindow: null, + recordVisible: false } }, mounted() { this.searchData.ReadingCategory = this.AllocationReadingCategory this.searchData.SubjectCode = this.AllocationSubjectCode - console.log(this.searchData.SubjectCode, this.searchData.ReadingCategory) + if (this.$route.query.SubjectCode) { + this.searchData.SubjectCode = this.$route.query.SubjectCode + this.searchData.TrialReadingCriterionId = this.$route.query.TrialReadingCriterionId ? this.$route.query.TrialReadingCriterionId : null + this.searchData.DoctorUserId = this.$route.query.DoctorUserId ? this.$route.query.DoctorUserId : null + this.searchData.TaskName = this.$route.query.TaskName ? this.$route.query.TaskName : null + changeURLStatic('SubjectCode', '') + changeURLStatic('TrialReadingCriterionId', '') + changeURLStatic('TaskName', '') + changeURLStatic('DoctorUserId', '') + } + this.searchData.ReadingCategory = this.AllocationReadingCategory this.getList() this.getSite() this.getDoctorUserSelectList() @@ -1168,6 +1226,9 @@ export default { this.total = res.Result.TotalCount }).catch(() => { this.loading = false }) }, + handleViewRecord() { + this.recordVisible = true + }, handleSearch() { this.searchData.PageIndex = 1 this.getList() From 35abb4d5739239a5ef750726b1eca6bb4543af45 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 15 May 2024 14:17:05 +0800 Subject: [PATCH 013/173] =?UTF-8?q?PM=E5=8C=BB=E5=AD=A6=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RecordList.vue | 517 ++++++++++++++++++ .../reading/pm-medical-feedback/index.vue | 34 +- .../reading/reading-tracking/index.vue | 2 +- 3 files changed, 545 insertions(+), 8 deletions(-) create mode 100644 src/views/trials/trials-panel/reading/pm-medical-feedback/components/RecordList.vue diff --git a/src/views/trials/trials-panel/reading/pm-medical-feedback/components/RecordList.vue b/src/views/trials/trials-panel/reading/pm-medical-feedback/components/RecordList.vue new file mode 100644 index 00000000..aae2d852 --- /dev/null +++ b/src/views/trials/trials-panel/reading/pm-medical-feedback/components/RecordList.vue @@ -0,0 +1,517 @@ +/* eslint-disable */ + + diff --git a/src/views/trials/trials-panel/reading/pm-medical-feedback/index.vue b/src/views/trials/trials-panel/reading/pm-medical-feedback/index.vue index ee6e626c..8103c164 100644 --- a/src/views/trials/trials-panel/reading/pm-medical-feedback/index.vue +++ b/src/views/trials/trials-panel/reading/pm-medical-feedback/index.vue @@ -88,11 +88,11 @@ - + - - {{$t('trials:pmMedicalReview:button:setInvalid')}} + + + {{$t('common:button:failureRecord')}} + @@ -466,6 +467,19 @@ > + + + + @@ -479,6 +493,7 @@ import AssignMedicalReviewTask from './components/AssignMedicalReviewTask' import ReAssignMedicalReviewTask from './components/ReAssignMedicalReviewTask' import GenerateMedicalReviewTaskList from './components/GenerateMedicalReviewTaskList' import MedicalAudit from '@/views/trials/trials-panel/reading/mim-medical-audit/components/MedicalAudit' +import RecordList from './components/RecordList.vue' const searchDataDefault = () => { return { PageIndex: 1, @@ -504,11 +519,12 @@ const searchDataDefault = () => { EndSignTime: null, AuditAdviceEnum: null, DoctorUserIdeaEnum: null, + IsEffect: true } } export default { name: 'TrialsNotice', - components: { BaseContainer, Pagination, AddOrEditFilter, AssignMedicalReviewTask, GenerateMedicalReviewTaskList, MedicalAudit, ReAssignMedicalReviewTask }, + components: { BaseContainer, Pagination, AddOrEditFilter, AssignMedicalReviewTask, GenerateMedicalReviewTaskList, MedicalAudit, ReAssignMedicalReviewTask, RecordList }, data() { return { auditVisible: null, @@ -536,7 +552,8 @@ export default { distributionInfo: {}, currentRow: {}, trialCriterionList:[], - timeList:[] + timeList:[], + recordVisible: false } }, mounted() { @@ -650,6 +667,9 @@ export default { return true } }, + handleViewRecord() { + this.recordVisible = true + }, generateMedicalReviewTask() { this.$confirm('确定要应用吗?').then(() => { this.loading = true diff --git a/src/views/trials/trials-panel/reading/reading-tracking/index.vue b/src/views/trials/trials-panel/reading/reading-tracking/index.vue index 02862cd7..350bbb06 100644 --- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue +++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue @@ -111,7 +111,7 @@ {{ $t('common:button:export') }} - {{ $t('common:button:record') }} + {{ $t('common:button:failureRecord') }} From c3be34124794370ad1aa2b7ffdeef8660c97a472 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 15 May 2024 16:12:42 +0800 Subject: [PATCH 014/173] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.js | 12 ++++++------ src/views/user/myInfo.vue | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 3fc0a4eb..3563527e 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -1,5 +1,5 @@ import { getToken, setToken, removeToken, setName, removeName } from '@/utils/auth' -import { login,loginOut,getUserMenuTree, getUserPermissions } from '@/api/user' +import { login, loginOut, getUserMenuTree, getUserPermissions } from '@/api/user' import { resetRouter } from '@/router' import md5 from 'js-md5' @@ -167,8 +167,8 @@ const actions = { commit('SET_USERNAME', zzSessionStorage.getItem('userName')) commit('SET_NEED_SIGN_SYSTEM_DOC_COUNT', parseInt(zzSessionStorage.getItem('TotalNeedSignSystemDocCount'))) commit('SET_NEED_SIGN_TRIALS_DOC_COUNT', parseInt(zzSessionStorage.getItem('TotalNeedSignTrialDocCount'))) - console.log( zzSessionStorage.getItem('TotalNeedSignSystemDocCount')) - console.log( zzSessionStorage.getItem('TotalNeedSignTrialDocCount')) + console.log(zzSessionStorage.getItem('TotalNeedSignSystemDocCount')) + console.log(zzSessionStorage.getItem('TotalNeedSignTrialDocCount')) zzSessionStorage.setItem('userName', user.name) zzSessionStorage.setItem('userId', user.id) zzSessionStorage.setItem('userTypeShortName', user.userTypeShortName) @@ -180,14 +180,14 @@ const actions = { }, // user logout async logout({ commit, state }) { - try{ + try { + await loginOut() removeToken() // must remove token first resetRouter() removeName() zzSessionStorage.clear() commit('RESET_STATE') - await loginOut() - }catch(e){ + } catch (e) { console.log(e) } }, diff --git a/src/views/user/myInfo.vue b/src/views/user/myInfo.vue index 4496b4a5..2dfecd78 100644 --- a/src/views/user/myInfo.vue +++ b/src/views/user/myInfo.vue @@ -342,7 +342,7 @@ export default { } - diff --git a/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue b/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue index 9b742f0f..9275155c 100644 --- a/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue +++ b/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue @@ -6,7 +6,7 @@ v-loading="loading" :model="form" label-width="280px" - style="width:800px;" + style="width: 800px" :rules="rules" size="small" > @@ -40,7 +40,7 @@ style="min-height: 90px" :disabled="form.IsTrialBasicLogicConfirmed && !isEdit" type="textarea" - :autosize="{ minRows: 4, maxRows: 6}" + :autosize="{ minRows: 4, maxRows: 6 }" maxlength="250" show-word-limit /> @@ -174,8 +174,8 @@ - {{ $t('common:button:save') }} + {{ $t("common:button:save") }} - {{ $t('trials:trialCfg:button:confirm') }} + {{ $t("trials:trialCfg:button:confirm") }} - {{ $t('trials:trialCfg:button:update') }} + {{ $t("trials:trialCfg:button:update") }} - {{ $t('trials:trialCfg:button:updateAndConfirm') }} + {{ $t("trials:trialCfg:button:updateAndConfirm") }} - {{ $t('common:button:cancel') }} + {{ $t("common:button:cancel") }} @@ -301,12 +319,7 @@ custom-class="base-dialog-wrapper" >
- +
-