From e388ea2543d71d3259953945620eaa5dfc1853e9 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 13 Nov 2024 13:30:31 +0800
Subject: [PATCH 01/12] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=A1=AE=E8=AE=A4?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA=E6=9C=AF=E8=AF=AD=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../trial-config/components/logicalConfig.vue | 70 +++++++++++--------
1 file changed, 41 insertions(+), 29 deletions(-)
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 2e354f36..d0d31b21 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
@@ -1307,6 +1307,16 @@ export default {
// OldVal: this.initialForm.ClinicalDataSetNames.join(', ')
// }
]
+ this.form.TrialObjectNameList.forEach((item) => {
+ let obj = {
+ Name: item.Name,
+ NewVal: item.TrialName,
+ OldVal: this.initialForm.TrialObjectNameList.find(
+ (d) => d.Name === item.Name
+ ).TrialName,
+ }
+ this.confirmData.push(obj)
+ })
},
// 筛选号规则提醒
subjectCodeRuleChange(val) {
@@ -1323,35 +1333,6 @@ export default {
this.form[k] = res[k]
}
}
- if (
- !this.form.TrialObjectNameList ||
- (Array.isArray(this.form.TrialObjectNameList) &&
- this.form.TrialObjectNameList.length <= 0)
- ) {
- this.form.TrialObjectNameList = this.$d.Terminology.map((item) => {
- return {
- Name: item.label,
- TrialName: item.label,
- IsDefault: true,
- }
- })
- } else if (
- Array.isArray(this.form.TrialObjectNameList) &&
- this.form.TrialObjectNameList.length > 0
- ) {
- this.$d.Terminology.forEach((item) => {
- if (
- !this.form.TrialObjectNameList.find((d) => d.Name === item.label)
- ) {
- this.form.TrialObjectNameList.push({
- Name: item.label,
- TrialName: item.label,
- IsDefault: true,
- })
- }
- })
- }
-
let Modalitys = this.form.ModalityList.map((item) => {
return this.$fd('Modality', item.trim())
})
@@ -1373,6 +1354,37 @@ export default {
.replaceAll(',', ' | ')
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
this.initialForm = { ...this.form }
+ this.initialForm.TrialObjectNameList = JSON.parse(
+ JSON.stringify(this.form.TrialObjectNameList)
+ )
+ if (
+ !this.form.TrialObjectNameList ||
+ (Array.isArray(this.form.TrialObjectNameList) &&
+ this.form.TrialObjectNameList.length <= 0)
+ ) {
+ this.form.TrialObjectNameList = this.$d.Terminology.map((item) => {
+ return {
+ Name: item.label,
+ TrialName: item.label,
+ IsDefault: true,
+ }
+ })
+ } else if (
+ Array.isArray(this.form.TrialObjectNameList) &&
+ this.form.TrialObjectNameList.length > 0
+ ) {
+ this.$d.Terminology.forEach((item) => {
+ if (
+ !this.form.TrialObjectNameList.find((d) => d.Name === item.label)
+ ) {
+ this.form.TrialObjectNameList.push({
+ Name: item.label,
+ TrialName: item.label,
+ IsDefault: true,
+ })
+ }
+ })
+ }
this.loading = false
}
},
From 24500fc1a128e5bef97a1365058e9d9168b73da9 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 13 Nov 2024 14:05:53 +0800
Subject: [PATCH 02/12] =?UTF-8?q?=E6=9C=AF=E8=AF=AD=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=97=B6=E6=8A=A5=E9=94=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../setting/trial-config/components/logicalConfig.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
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 d0d31b21..41204385 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
@@ -1308,12 +1308,14 @@ export default {
// }
]
this.form.TrialObjectNameList.forEach((item) => {
+ let old =
+ this.initialForm.TrialObjectNameList.find(
+ (d) => d.Name === item.Name
+ ) || {}
let obj = {
Name: item.Name,
NewVal: item.TrialName,
- OldVal: this.initialForm.TrialObjectNameList.find(
- (d) => d.Name === item.Name
- ).TrialName,
+ OldVal: old.TrialName,
}
this.confirmData.push(obj)
})
From fbbcad359c6985f6ea933730d26c73c2fa20e5d4 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 14 Nov 2024 13:14:31 +0800
Subject: [PATCH 03/12] 1
---
.../template/email/components/EmailForm.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/dictionary/template/email/components/EmailForm.vue b/src/views/dictionary/template/email/components/EmailForm.vue
index dca729b3..0cbc1171 100644
--- a/src/views/dictionary/template/email/components/EmailForm.vue
+++ b/src/views/dictionary/template/email/components/EmailForm.vue
@@ -362,12 +362,12 @@ export default {
BusinessLevelEnum: [
{ required: true, message: 'Please select', trigger: ['blur'] },
],
- ToUserTypeList: [
- { required: true, message: 'Please select', trigger: ['blur'] },
- ],
- EmailCron: [
- { required: true, message: 'Please select', trigger: ['blur'] },
- ],
+ // ToUserTypeList: [
+ // { required: true, message: 'Please select', trigger: ['blur'] },
+ // ],
+ // EmailCron: [
+ // { required: true, message: 'Please select', trigger: ['blur'] },
+ // ],
EmailUrgentEnum: [
{ required: true, message: 'Please select', trigger: ['blur'] },
],
From b076c1edbda15f408c0294ecd28c65f0e2d3d317 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 14 Nov 2024 17:05:38 +0800
Subject: [PATCH 04/12] =?UTF-8?q?=E9=94=81=E5=AE=9A=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E8=A7=A3=E5=86=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main.js | 1 +
src/utils/request.js | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/src/main.js b/src/main.js
index 34c567a5..b1d5fe17 100644
--- a/src/main.js
+++ b/src/main.js
@@ -596,3 +596,4 @@ VueInit()
// });
+export default _vm
\ No newline at end of file
diff --git a/src/utils/request.js b/src/utils/request.js
index 0f122229..f7dfed08 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -1,4 +1,5 @@
import axios from 'axios'
+import _vm from '@/main'
import { Message, MessageBox, Alert } from 'element-ui'
import store from '@/store'
import router from '@/router'
@@ -90,6 +91,9 @@ service.interceptors.response.use(
const status = error.response.status
if (error.response.data && (error.response.data.Code === -1 || error.response.data.Code === -2)) {
store.dispatch('user/logout').then(() => {
+ if (_vm.$msgbox) {
+ _vm.$msgbox.close();
+ }
router.push(`/login`)
this.$i18n.locale = 'zh'
this.setLanguage('zh')
From ab527e235732aa06810b96d0b6cbc4ef4ae817a3 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Mon, 18 Nov 2024 09:13:21 +0800
Subject: [PATCH 05/12] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=82=AE=E4=BB=B6?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E5=8E=BB=E9=99=A4=E9=99=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../setting/email-manage/components/EmailList.vue | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/views/trials/trials-panel/setting/email-manage/components/EmailList.vue b/src/views/trials/trials-panel/setting/email-manage/components/EmailList.vue
index 901a5902..4c0a0ea3 100644
--- a/src/views/trials/trials-panel/setting/email-manage/components/EmailList.vue
+++ b/src/views/trials/trials-panel/setting/email-manage/components/EmailList.vue
@@ -203,7 +203,7 @@
-
-
{{ scope.row.AttachName }}
-
+ -->
- {{ $t("common:button:search") }}
+ {{ $t('common:button:search') }}
- {{ $t("common:button:reset") }}
+ {{ $t('common:button:reset') }}
- {{ $t("trials:consistencyCheck:button:export1") }}
+ {{ $t('trials:consistencyCheck:button:export1') }}
- {{ $t("trials:consistencyCheck:button:export2") }}
+ {{ $t('trials:consistencyCheck:button:export2') }}
- {{ $t("trials:consistencyCheck:button:download") }}
+ {{ $t('trials:consistencyCheck:button:download') }}
@@ -106,7 +106,7 @@
icon="el-icon-upload2"
@click="handleOpenUploadDialog"
>
- {{ $t("trials:consistencyCheck:button:upload") }}
+ {{ $t('trials:consistencyCheck:button:upload') }}
@@ -133,10 +133,10 @@
>
{{
- $fd("YesOrNo", scope.row.IsUrgent)
+ $fd('YesOrNo', scope.row.IsUrgent)
}}
{{
- $fd("YesOrNo", scope.row.IsUrgent)
+ $fd('YesOrNo', scope.row.IsUrgent)
}}
@@ -156,8 +156,8 @@
>
{{
userTypeEnumInt === 2
- ? $fd("CheckChallengeState", 1)
- : $fd("CheckChallengeState", 2)
+ ? $fd('CheckChallengeState', 1)
+ : $fd('CheckChallengeState', 2)
}}
{{
userTypeEnumInt === 2
- ? $fd("CheckChallengeState", 2)
- : $fd("CheckChallengeState", 1)
+ ? $fd('CheckChallengeState', 2)
+ : $fd('CheckChallengeState', 1)
}}
{{
- $fd("CheckChallengeState", scope.row.CheckChallengeState)
+ $fd('CheckChallengeState', scope.row.CheckChallengeState)
}}
@@ -202,7 +202,7 @@
{{ scope.row.VisitName }}
{{
- $t("trials:consistencyCheck:table:back")
+ $t('trials:consistencyCheck:table:back')
}}
@@ -227,8 +227,32 @@
width="140"
sortable="custom"
>
-
+
+
+
+
+ {{
+ scope.row.LatestScanDate
+ ? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
+ : ''
+ }}
+
+
@@ -270,13 +294,13 @@
--
{{
- $fd("CheckState", scope.row.CheckState)
+ $fd('CheckState', scope.row.CheckState)
}}
{{
- $fd("CheckState", scope.row.CheckState)
+ $fd('CheckState', scope.row.CheckState)
}}
{{
- $fd("CheckState", scope.row.CheckState)
+ $fd('CheckState', scope.row.CheckState)
}}
@@ -312,23 +336,23 @@
>
{{
- $fd("RequestBackState", scope.row.RequestBackState * 1)
+ $fd('RequestBackState', scope.row.RequestBackState * 1)
}}
{{
- $fd("RequestBackState", scope.row.RequestBackState * 1)
+ $fd('RequestBackState', scope.row.RequestBackState * 1)
}}
{{
- $fd("RequestBackState", scope.row.RequestBackState * 1)
+ $fd('RequestBackState', scope.row.RequestBackState * 1)
}}
{{
- $fd("RequestBackState", scope.row.RequestBackState * 1)
+ $fd('RequestBackState', scope.row.RequestBackState * 1)
}}
@@ -396,9 +420,9 @@
@@ -435,9 +459,9 @@
width="600px"
>
- {{ $t("common:dialogTitle:sign") }}
+ {{ $t('common:dialogTitle:sign') }}
{{
- `(${$t("common:label:sign")}${currentUser})`
+ `(${$t('common:label:sign')}${currentUser})`
}}
- {{ $t("common:button:cancel") }}
+ {{ $t('common:button:cancel') }}
- {{ $t("common:button:save") }}
+ {{ $t('common:button:save') }}
@@ -573,32 +597,33 @@ import {
closeCheckChallenge,
setCheckPass,
getCheckChallengeDialogList,
-} from "@/api/trials";
-import { DownloadCommonDoc } from "@/api/dictionary";
+} from '@/api/trials'
+import { DownloadCommonDoc } from '@/api/dictionary'
import {
getDicomAndNoneDicomStudyList_Export,
getConsistencyVerificationList_Export,
-} from "@/api/export";
-import { checkBack } from "@/api/trials/visit";
-import BaseContainer from "@/components/BaseContainer";
-import BaseModel from "@/components/BaseModel";
-import ConsistencyCheckForm from "./components/consistencyCheckForm";
-import UploadExcel from "./components/uploadExcel";
-import SignForm from "@/views/trials/components/newSignForm";
-import Pagination from "@/components/Pagination";
-import const_ from "@/const/sign-code";
+} from '@/api/export'
+import { checkBack } from '@/api/trials/visit'
+import BaseContainer from '@/components/BaseContainer'
+import BaseModel from '@/components/BaseModel'
+import ConsistencyCheckForm from './components/consistencyCheckForm'
+import UploadExcel from './components/uploadExcel'
+import SignForm from '@/views/trials/components/newSignForm'
+import Pagination from '@/components/Pagination'
+import const_ from '@/const/sign-code'
+import moment from 'moment'
const searchDataDefault = () => {
return {
- TrialSiteId: "",
- SubjectInfo: "",
+ TrialSiteId: '',
+ SubjectInfo: '',
VisitPlanArray: [],
CheckState: null,
PageIndex: 1,
PageSize: 20,
- };
-};
+ }
+}
export default {
- name: "ConsistencyCheck",
+ name: 'ConsistencyCheck',
components: {
BaseContainer,
Pagination,
@@ -614,6 +639,7 @@ export default {
Reason: null,
Remake: null,
},
+ moment,
searchData: searchDataDefault(),
ReasonVisible: false,
total: 0,
@@ -625,170 +651,170 @@ export default {
currentDialogList: [],
siteOptions: [],
visitPlanOptions: [],
- userTypeEnumInt: zzSessionStorage.getItem("userTypeEnumInt") * 1,
+ userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
upload_cfg: {
visible: false,
- title: this.$t("trials:consistencyCheck:button:upload"),
- width: "500px",
+ title: this.$t('trials:consistencyCheck:button:upload'),
+ width: '500px',
showClose: true,
},
rules: {
Type: [
{
required: true,
- message: this.$t("common:ruleMessage:specify"),
- trigger: "blur",
+ message: this.$t('common:ruleMessage:specify'),
+ trigger: 'blur',
},
],
Remake: [
{
required: true,
- message: this.$t("common:ruleMessage:specify"),
- trigger: "blur",
+ message: this.$t('common:ruleMessage:specify'),
+ trigger: 'blur',
},
],
},
signVisible: false,
signType: 0, // 0代表申请,1代表回退,2通过
- currentUser: zzSessionStorage.getItem("userName"),
+ currentUser: zzSessionStorage.getItem('userName'),
OtherInfo: {},
- signCode: "",
+ signCode: '',
trialId: this.$route.query.trialId,
isReply: false,
ReasonTitle: null,
- };
+ }
},
mounted() {
- this.getList();
- this.getSite();
- this.getVisitPlanOptions();
+ this.getList()
+ this.getSite()
+ this.getVisitPlanOptions()
},
watch: {
chatVisible() {
if (!this.chatVisible) {
- this.$store.state.trials.checkTaskId = null;
+ this.$store.state.trials.checkTaskId = null
}
},
},
methods: {
beforeClose() {
- this.chatVisible = false;
- this.$store.state.trials.checkTaskId = null;
+ this.chatVisible = false
+ this.$store.state.trials.checkTaskId = null
},
handleExport(type) {
if (type === 1) {
getDicomAndNoneDicomStudyList_Export(this.searchData)
.then((res) => {})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
} else {
getConsistencyVerificationList_Export(this.searchData)
.then((res) => {})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
}
},
typeChange(v) {
- if (v === (this.currentRow.type === "pass" ? 4 : 2)) {
- this.QuestionForm.Reason = null;
- this.QuestionForm.Remake = null;
+ if (v === (this.currentRow.type === 'pass' ? 4 : 2)) {
+ this.QuestionForm.Reason = null
+ this.QuestionForm.Remake = null
} else {
this.QuestionForm.Reason = this.$t(
`trials:check:radio:${this.currentRow.type}reason${v}`
- );
+ )
}
},
passOrCloes() {
- if (this.currentRow.type === "pass") {
- this.pass();
+ if (this.currentRow.type === 'pass') {
+ this.pass()
} else {
- this.handleClose(this.currentRow);
+ this.handleClose(this.currentRow)
}
},
handleOpenReason(row, type) {
- if (type === "pass") {
+ if (type === 'pass') {
// 手动通过一次性核查原因
this.ReasonTitle = this.$t(
- "trials:consistencyCheck:dialogTitle:xfpassManually"
- );
+ 'trials:consistencyCheck:dialogTitle:xfpassManually'
+ )
} else {
// 关闭一致性核查原因
this.ReasonTitle = this.$t(
- "trials:consistencyCheck:dialogTitle:xfclose"
- );
+ 'trials:consistencyCheck:dialogTitle:xfclose'
+ )
}
- this.currentRow = { ...row, Reason: null };
- this.currentRow.type = type;
+ this.currentRow = { ...row, Reason: null }
+ this.currentRow.type = type
this.QuestionForm = {
Type: null,
Reason: null,
Remake: null,
- };
- this.ReasonVisible = true;
+ }
+ this.ReasonVisible = true
},
// 获取质疑列表
getList() {
- this.loading = true;
- this.searchData.TrialId = this.trialId;
+ this.loading = true
+ this.searchData.TrialId = this.trialId
getConsistencyVerificationList(this.searchData)
.then((res) => {
- this.loading = false;
- this.list = res.Result.CurrentPageData;
- this.total = res.Result.TotalCount;
- this.OtherInfo = res.OtherInfo;
+ this.loading = false
+ this.list = res.Result.CurrentPageData
+ this.total = res.Result.TotalCount
+ this.OtherInfo = res.OtherInfo
})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
},
// 回复质疑
handleReply(row) {
- this.loading = true;
+ this.loading = true
getCheckChallengeDialogList(row.Id)
.then((res) => {
- this.loading = false;
+ this.loading = false
if (res.IsSuccess) {
- Object.assign(row, res.Result.SubjectVisitCheck);
- this.currentRow = { ...row };
- this.$store.state.trials.checkTaskId = row.Id;
- this.currentDialogList = res.Result.DialogList;
- this.isReply = true;
- this.chatVisible = true;
+ Object.assign(row, res.Result.SubjectVisitCheck)
+ this.currentRow = { ...row }
+ this.$store.state.trials.checkTaskId = row.Id
+ this.currentDialogList = res.Result.DialogList
+ this.isReply = true
+ this.chatVisible = true
}
})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
},
getDialogList() {
- this.loading = true;
- this.$refs["chatForm"].loading = true;
+ this.loading = true
+ this.$refs['chatForm'].loading = true
getCheckChallengeDialogList(this.currentRow.Id)
.then((res) => {
- this.loading = false;
+ this.loading = false
if (res.IsSuccess) {
var i = this.list.findIndex(
(item) => item.Id === this.currentRow.Id
- );
+ )
if (i > -1) {
this.currentRow = Object.assign(
this.list[i],
res.Result.SubjectVisitCheck
- );
- this.currentDialogList = res.Result.DialogList;
- this.$refs["chatForm"].addMessage(
+ )
+ this.currentDialogList = res.Result.DialogList
+ this.$refs['chatForm'].addMessage(
res.Result.DialogList[res.Result.DialogList.length - 1]
- );
+ )
// this.$refs['chatForm'].getMessageList(res.Result.DialogList)
}
}
})
.catch(() => {
- this.loading = false;
- this.$refs["chatForm"].loading = false;
- });
+ this.loading = false
+ this.$refs['chatForm'].loading = false
+ })
},
// 回退
// handleBack(row) {
@@ -799,127 +825,125 @@ export default {
// this.signVisible = true
// },
handleBack() {
- this.signType = 1;
- const { DataFallback } = const_.processSignature;
- this.signCode = DataFallback;
- this.signVisible = true;
+ this.signType = 1
+ const { DataFallback } = const_.processSignature
+ this.signCode = DataFallback
+ this.signVisible = true
},
pass() {
this.$refs.reasonForm.validate((valid) => {
- if (!valid) return;
- this.btnLoading = true;
+ if (!valid) return
+ this.btnLoading = true
if (this.QuestionForm.Type === 4) {
// 问题无法解决强制关闭质疑,已提醒中心下次注意
- this.QuestionForm.Reason = `${this.QuestionForm.Remake}`;
+ this.QuestionForm.Reason = `${this.QuestionForm.Remake}`
}
var params = {
Id: this.currentRow.Id,
ManualPassReason: this.QuestionForm.Reason,
- };
+ }
setCheckPass(this.trialId, params)
.then((res) => {
- this.btnLoading = false;
+ this.btnLoading = false
if (res.IsSuccess) {
- this.getList();
- this.QuestionForm.Type = null;
- this.ReasonVisible = false;
- this.$message.success(
- this.$t("common:message:savedSuccessfully")
- );
+ this.getList()
+ this.QuestionForm.Type = null
+ this.ReasonVisible = false
+ this.$message.success(this.$t('common:message:savedSuccessfully'))
}
})
.catch(() => {
- this.btnLoading = false;
- });
- });
+ this.btnLoading = false
+ })
+ })
},
back(signInfo) {
- this.loading = true;
+ this.loading = true
var params = {
data: { id: this.currentRow.Id },
signInfo: signInfo,
- };
+ }
checkBack(params)
.then((res) => {
- this.loading = false;
+ this.loading = false
if (signInfo) {
- this.$refs["signForm"].btnLoading = false;
- this.signVisible = false;
+ this.$refs['signForm'].btnLoading = false
+ this.signVisible = false
}
if (res.IsSuccess) {
- this.getList();
+ this.getList()
// this.getDialogList()
- this.chatVisible = false;
+ this.chatVisible = false
// 回退成功
this.$message.success(
- this.$t("trials:consistencyCheck:message:fallbackSuccessfully")
- );
+ this.$t('trials:consistencyCheck:message:fallbackSuccessfully')
+ )
}
})
.catch(() => {
- this.loading = false;
+ this.loading = false
if (signInfo) {
- this.$refs["signForm"].btnLoading = false;
+ this.$refs['signForm'].btnLoading = false
}
- });
+ })
},
// 关闭质疑
handleClose(row) {
this.$refs.reasonForm.validate((valid) => {
- if (!valid) return;
- var item = Object.assign({}, row);
- item.CheckChallengeState = 3;
- this.btnLoading = true;
+ if (!valid) return
+ var item = Object.assign({}, row)
+ item.CheckChallengeState = 3
+ this.btnLoading = true
if (this.QuestionForm.Type === 2) {
// 问题无法解决强制关闭质疑,已提醒中心下次注意
this.QuestionForm.Reason = `${this.$t(
- "trials:qcQuality:message:problemNotSolved"
- )}
${this.$t("trials:consistencyCheck:title:note")}${
+ 'trials:qcQuality:message:problemNotSolved'
+ )}
${this.$t('trials:consistencyCheck:title:note')}${
this.QuestionForm.Remake
- }`;
+ }`
}
var params = {
SubjectVisitId: row.Id,
CloseCheckChallenge: this.QuestionForm.Reason,
- };
+ }
closeCheckChallenge(this.trialId, params)
.then((res) => {
- this.btnLoading = false;
+ this.btnLoading = false
if (res.IsSuccess) {
- this.getList();
- this.ReasonVisible = false;
- this.QuestionForm.Type = null;
+ this.getList()
+ this.ReasonVisible = false
+ this.QuestionForm.Type = null
// 关闭成功
this.$message.success(
- this.$t("trials:consistencyCheck:message:closedSuccessfully")
- );
+ this.$t('trials:consistencyCheck:message:closedSuccessfully')
+ )
}
})
.catch(() => {
- this.btnLoading = false;
- });
- });
+ this.btnLoading = false
+ })
+ })
},
handleDownload() {
- this.loading = true;
- DownloadCommonDoc("VisitCheck_Template")
+ this.loading = true
+ DownloadCommonDoc('VisitCheck_Template')
.then((data) => {
- this.loading = false;
+ this.loading = false
})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
},
// 打开上传excel弹窗
handleOpenUploadDialog() {
- this.upload_cfg.visible = true;
- this.upload_cfg.title = this.$t("common:button:upload");
+ this.upload_cfg.visible = true
+ this.upload_cfg.title = this.$t('common:button:upload')
},
// 查看
handleView(row) {
- this.currentRow = { ...row };
- this.isReply = false;
- this.chatVisible = true;
+ this.currentRow = { ...row }
+ this.isReply = false
+ this.chatVisible = true
},
// crc申请回退
// handleApplyBack(row) {
@@ -933,92 +957,92 @@ export default {
// }).catch(() => {})
// },
handleApplyBack() {
- this.$confirm(this.$t("trials:consistencyCheck:message:apply"), {
- type: "warning",
+ this.$confirm(this.$t('trials:consistencyCheck:message:apply'), {
+ type: 'warning',
distinguishCancelAndClose: true,
})
.then(() => {
- this.apply();
+ this.apply()
})
- .catch(() => {});
+ .catch(() => {})
},
apply() {
- this.loading = true;
+ this.loading = true
cRCRequstCheckBack(this.trialId, this.currentRow.Id)
.then((res) => {
- this.loading = false;
+ this.loading = false
if (res.IsSuccess) {
// this.getList()
- this.getDialogList();
+ this.getDialogList()
// 申请成功
// this.$message.success(this.$t('trials:consistencyCheck:message:appledSuccessfully'))
}
})
.catch(() => {
- this.loading = false;
- });
+ this.loading = false
+ })
},
// 关闭签名弹窗
closeSignDialog(isRefresh, signInfo) {
if (!isRefresh) {
- this.signVisible = false;
+ this.signVisible = false
} else {
// 1代表回退,2通过
if (this.signType === 1) {
- this.back(signInfo);
+ this.back(signInfo)
}
}
},
// 通过一致性核查
handlePassCheck(row) {
- this.signType = 2;
- this.currentRow = { ...row };
- const { ConsistencyCheckPassed } = const_.processSignature;
- this.signCode = ConsistencyCheckPassed;
- this.signVisible = true;
+ this.signType = 2
+ this.currentRow = { ...row }
+ const { ConsistencyCheckPassed } = const_.processSignature
+ this.signCode = ConsistencyCheckPassed
+ this.signVisible = true
},
// 重置
handleReset() {
- this.searchData = searchDataDefault();
- this.getList();
+ this.searchData = searchDataDefault()
+ this.getList()
this.$nextTick(() => {
- this.$refs.consistencyTable.clearSort();
- });
+ this.$refs.consistencyTable.clearSort()
+ })
},
// 查询
handleSearch() {
- this.searchData.PageIndex = 1;
- this.getList();
+ this.searchData.PageIndex = 1
+ this.getList()
},
// 排序
handleSortByColumn(column) {
- if (column.order === "ascending") {
- this.searchData.Asc = true;
+ if (column.order === 'ascending') {
+ this.searchData.Asc = true
} else {
- this.searchData.Asc = false;
+ this.searchData.Asc = false
}
- this.searchData.SortField = column.prop;
- this.searchData.PageIndex = 1;
- this.getList();
+ this.searchData.SortField = column.prop
+ this.searchData.PageIndex = 1
+ this.getList()
},
refreshTable() {
- this.upload_cfg.visible = false;
- this.getList();
+ this.upload_cfg.visible = false
+ this.getList()
},
// 获取site下拉框数据
getSite() {
getTrialSiteSelect(this.trialId).then((res) => {
- this.siteOptions = res.Result;
- });
+ this.siteOptions = res.Result
+ })
},
// 获取访视下拉框数据
getVisitPlanOptions() {
getTrialVisitStageSelect(this.trialId).then((res) => {
- this.visitPlanOptions = res.Result;
- });
+ this.visitPlanOptions = res.Result
+ })
},
},
-};
+}
\ No newline at end of file
diff --git a/src/views/reviewers/curriculumVitae/preview.vue b/src/views/reviewers/curriculumVitae/preview.vue
index 7519147e..74db877a 100644
--- a/src/views/reviewers/curriculumVitae/preview.vue
+++ b/src/views/reviewers/curriculumVitae/preview.vue
@@ -81,7 +81,7 @@
{{ $t('curriculumVitae:summarize:title') }}
-
+
{{
isEN
? reviewerData.SummarizeInfo.SummarizeEn
@@ -477,7 +477,7 @@
"
>
{{ $t('curriculumVitae:other:AH') }}
-
+
{{
reviewerData.ResearchPublicationView.AwardsHonors
}}
@@ -963,6 +963,7 @@ export default {
font-size: 18px;
border: none;
background-color: transparent;
+ font-weight: bold;
}
.message {
padding: 20px 0;