diff --git a/irc_vue_drone.yml b/irc_vue_drone.yml index 0a20aeec..da70bd16 100644 --- a/irc_vue_drone.yml +++ b/irc_vue_drone.yml @@ -1,32 +1,4 @@ -kind: pipeline -type: ssh -name: ssh-linux-uat-irc-publish -platform: - os: Linux - arch: 386 - -clone: - disable: true #禁用默认克隆 - -server: - host: 47.117.164.182 - user: root - password: - from_secret: local_pwd - -steps: -- name: uat-branch-publish-irc-vue - commands: - - cd /opt/1panel/vue-devops/Uat_IRC/Uat-To-Uat - - sh uat-to-uat.sh v${DRONE_BUILD_NUMBER} - -trigger: - branch: - - uat - ---- - kind: pipeline type: ssh name: ssh-linux-test-irc-publish @@ -45,12 +17,17 @@ server: from_secret: local_pwd steps: -- name: publish-test-irc-vue - commands: - - echo start publish test-irc-vue - - cd /opt/1panel/hang/vue/test-irc - - sh test-irc.sh v${DRONE_BUILD_NUMBER} - + - name: publish-test-irc-web + commands: + - bash /opt/1panel/xc-deploy-new/devops-center/build-vue-then-publish.sh IRC_Web main + - name: notify-wecom + commands: + - echo $DRONE_COMMIT_AUTHOR "$DRONE_COMMIT_MESSAGE" + - bash /opt/1panel/xc-deploy-new/devops-center/drone-notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "Test_IRC_WEB" "irc.test.extimaging.com" + when: + status: + - success + - failure trigger: branch: - main diff --git a/package.json b/package.json index 7d51a5db..4182c9ca 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@cornerstonejs/core": "^2.19.7", "@cornerstonejs/dicom-image-loader": "^2.19.7", "@cornerstonejs/tools": "^2.19.7", + "@fingerprintjs/fingerprintjs": "^4.6.2", "@icr/polyseg-wasm": "^0.4.0", "@microsoft/signalr": "^8.0.7", "@riophae/vue-treeselect": "^0.4.0", diff --git a/public/cease.html b/public/cease.html index 0357ff3d..5498beee 100644 --- a/public/cease.html +++ b/public/cease.html @@ -10,7 +10,7 @@ - IRC Imaging System + EIC lmaging Trial Management System diff --git a/public/error.html b/public/error.html index 4c05b498..f069d1bf 100644 --- a/public/error.html +++ b/public/error.html @@ -31,7 +31,7 @@
- +
{{message}}
@@ -63,7 +63,7 @@

关于

- IRC Imaging System + EIC lmaging Trial Management System

V1.3.0.001 diff --git a/public/errorEN.html b/public/errorEN.html index b1139766..5ae08f68 100644 --- a/public/errorEN.html +++ b/public/errorEN.html @@ -31,7 +31,7 @@

- +
{{message}}
diff --git a/public/screen.pdf b/public/screen.pdf new file mode 100644 index 00000000..b759276c Binary files /dev/null and b/public/screen.pdf differ diff --git a/src/App.vue b/src/App.vue index ee93660f..91f9b2de 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,12 +1,7 @@ @@ -163,11 +94,15 @@ import { } from '@/api/dictionary/dictionary' import { getTrialExtralConfig } from '@/api/trials' import feedBack from '@/views/trials/trials-layout/components/feedBack' +// import timeTag from '@/components/timeTag' import Vue from 'vue' import i18n from './lang' export default { name: 'App', - components: { feedBack }, + components: { + feedBack, + // timeTag + }, data() { return { drawer: false, @@ -180,7 +115,8 @@ export default { } }, mounted() { - this.show = process.env.VUE_APP_OSS_PATH === '/test/dist' + // this.show = process.env.VUE_APP_OSS_PATH === '/test/dist' + this.show = false Vue.prototype.$openI18n = this.openI18n }, // watch: { @@ -366,13 +302,16 @@ export default { \ No newline at end of file diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 50c958bd..1e1122bd 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -2,9 +2,17 @@ - {{ item.meta.title }} - {{ item.meta.title }} - {{ item.meta.title }} + + + {{ item.meta.i18n ? $t(item.meta.i18n) : item.meta.title }} + + + + {{ item.meta.i18n ? $t(item.meta.i18n) : item.meta.title }} + + + {{ item.meta.i18n ? $t(item.meta.i18n) : item.meta.title }} + @@ -35,6 +43,7 @@ export default { item.meta.title = this.$route.query.trialCode // 暂时处理 } }) + this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) }, isDashboard(route) { diff --git a/src/components/MFA/index.vue b/src/components/MFA/index.vue index dcbd7f1d..a85dc293 100644 --- a/src/components/MFA/index.vue +++ b/src/components/MFA/index.vue @@ -1,25 +1,11 @@ @@ -86,6 +64,7 @@ export default { IdentityUserId: null, EMail: null, username: null, + isRemember: true }, rules: { Code: [ @@ -112,6 +91,18 @@ export default { }, }; }, + mounted() { + this.flag = true; + this.second = 60; + this.timer = setInterval(() => { + this.second--; + if (this.second <= 0) { + this.flag = false; + clearInterval(this.timer); + this.timer = null; + } + }, 1000); + }, methods: { open(data) { let { UserId, status, username, EMail } = data; @@ -189,6 +180,21 @@ export default { }; diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 920e1a4c..7f08671f 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -34,9 +34,11 @@ + + + sortable v-else /> @@ -66,7 +68,7 @@ + + \ No newline at end of file diff --git a/src/components/timeTag/index.vue b/src/components/timeTag/index.vue new file mode 100644 index 00000000..6c2bf40d --- /dev/null +++ b/src/components/timeTag/index.vue @@ -0,0 +1,134 @@ + + + \ No newline at end of file diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index d0c9c48e..8ab4536a 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -10,9 +10,11 @@ - + + + - + - + diff --git a/src/views/dictionary/template/components/CriterionsBaseData.vue b/src/views/dictionary/template/components/CriterionsBaseData.vue index 01854a2b..7a2a1813 100644 --- a/src/views/dictionary/template/components/CriterionsBaseData.vue +++ b/src/views/dictionary/template/components/CriterionsBaseData.vue @@ -3,27 +3,22 @@ - + - + - + + + + + @@ -31,9 +26,10 @@ import OrgansTbl from './OrgansTbl' import EfficacyAssessment from './EfficacyAssessment' import CriterionDictionary from './CriterionDictionary' +import KeyDocument from './KeyDocument' export default { name: 'CriterionsBaseData', - components: { OrgansTbl, EfficacyAssessment, CriterionDictionary }, + components: { OrgansTbl, EfficacyAssessment, CriterionDictionary, KeyDocument }, props: { criterionId: { type: String, diff --git a/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue b/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue index f388d67a..dd753315 100644 --- a/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue +++ b/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue @@ -1,6 +1,6 @@